diff --git a/chromium_version.txt b/chromium_version.txt index a1a6f0e366..b78a3bab62 100644 --- a/chromium_version.txt +++ b/chromium_version.txt @@ -1 +1 @@ -131.0.6778.264 +132.0.6834.83 diff --git a/devutils/update_lists.py b/devutils/update_lists.py index 6b6fc8d646..4c6cbb7ed5 100755 --- a/devutils/update_lists.py +++ b/devutils/update_lists.py @@ -28,6 +28,8 @@ # Encoding for output files _ENCODING = 'UTF-8' +# pylint: disable=line-too-long + # NOTE: Include patterns have precedence over exclude patterns # pathlib.Path.match() paths to include in binary pruning PRUNING_INCLUDE_PATTERNS = [ @@ -59,6 +61,7 @@ 'third_party/icu/android/icudtl.dat', 'third_party/icu/common/icudtb.dat', # Exclusion for rollup v4.0+ + 'third_party/devtools-frontend/src/node_modules/@rollup/wasm-node/dist/wasm-node/bindings_wasm_bg.wasm', 'third_party/node/node_modules/@rollup/wasm-node/dist/wasm-node/bindings_wasm_bg.wasm', # Exclusion for performance tracing 'third_party/perfetto/src/trace_processor/importers/proto/atoms.descriptor', @@ -110,6 +113,8 @@ 'third_party/blink/renderer/core/dom/document.cc', ] +# pylint: enable=line-too-long + # pathlib.Path.match() patterns to include in domain substitution DOMAIN_INCLUDE_PATTERNS = [ '*.h', '*.hh', '*.hpp', '*.hxx', '*.cc', '*.cpp', '*.cxx', '*.c', '*.h', '*.json', '*.js', @@ -257,7 +262,7 @@ def compute_lists_proc(path, source_tree, search_regex): symlink_set = set() if path.is_file(): relative_path = path.relative_to(source_tree) - if not any(cpath in str(relative_path.as_posix()) for cpath in CONTINGENT_PATHS): + if not any(str(relative_path.as_posix()).startswith(cpath) for cpath in CONTINGENT_PATHS): if path.is_symlink(): try: resolved_relative_posix = path.resolve().relative_to(source_tree).as_posix() diff --git a/domain_substitution.list b/domain_substitution.list index 146087d41a..35270231ea 100644 --- a/domain_substitution.list +++ b/domain_substitution.list @@ -1,34 +1,6 @@ BUILD.gn PRESUBMIT.py PRESUBMIT_test.py -android_webview/browser/aw_asset_domain_list_include_handler.h -android_webview/browser/aw_browser_context.cc -android_webview/browser/aw_content_browser_client.h -android_webview/browser/aw_field_trials.cc -android_webview/browser/aw_javascript_dialog_manager.cc -android_webview/browser/aw_permission_manager_unittest.cc -android_webview/browser/aw_settings.cc -android_webview/browser/enterprise_authentication_app_link_policy_handler.cc -android_webview/browser/metrics/aw_metrics_service_client.cc -android_webview/browser/network_service/aw_web_resource_request.h -android_webview/browser/permission/media_access_permission_request_unittest.cc -android_webview/browser/permission/permission_request_handler_unittest.cc -android_webview/browser/renderer_host/auto_login_parser_unittest.cc -android_webview/browser/safe_browsing/aw_safe_browsing_allowlist_manager.cc -android_webview/browser/safe_browsing/aw_safe_browsing_allowlist_manager.h -android_webview/browser/safe_browsing/aw_safe_browsing_allowlist_manager_unittest.cc -android_webview/common/url_constants.cc -android_webview/js_sandbox/service/js_sandbox_isolate.cc -android_webview/nonembedded/java/res_devui/values/strings.xml -android_webview/test/data/components/fake_component_manifest.json -android_webview/test/data/components/fake_component_update_response.json -android_webview/tools/cts_archive/3pp/fetch.py -android_webview/tools/cts_config/webview_cts_gcs_path.json -android_webview/tools/cts_config/webview_cts_hostside_gcs_path.json -android_webview/tools/record_netlog.py -android_webview/tools/remove_preinstalled_webview.py -android_webview/tools/system_webview_shell/lint-suppressions.xml -android_webview/tools/update_cts.py ash/accelerators/accelerator_notifications.cc ash/accelerators/ash_accelerator_configuration_unittest.cc ash/ambient/ambient_controller.cc @@ -43,6 +15,7 @@ ash/app_list/app_list_controller_impl_unittest.cc ash/app_list/app_list_feature_usage_metrics_unittest.cc ash/app_list/views/app_list_nudge_controller_unittest.cc ash/app_list/views/app_list_view_pixeltest.cc +ash/app_list/views/search_box_view_unittest.cc ash/ash_strings.grd ash/assistant/PRESUBMIT.py ash/assistant/assistant_setup_controller.cc @@ -57,7 +30,6 @@ ash/birch/birch_model_unittest.cc ash/capture_mode/capture_mode_camera_unittests.cc ash/capture_mode/capture_mode_controller.cc ash/capture_mode/capture_mode_unittests.cc -ash/capture_mode/search_results_panel.cc ash/child_accounts/parent_access_controller_impl_unittest.cc ash/clipboard/clipboard_history_controller_unittest.cc ash/clipboard/clipboard_history_menu_model_adapter_unittest.cc @@ -87,18 +59,18 @@ ash/glanceables/tasks/glanceables_tasks_view_unittest.cc ash/glanceables/tasks/test/glanceables_tasks_test_util.cc ash/login/ui/auth_icon_view.cc ash/login/ui/login_remove_account_dialog_unittest.cc -ash/picker/picker_asset_fetcher_impl.cc -ash/picker/picker_controller.cc -ash/picker/picker_controller_unittest.cc -ash/picker/picker_insert_media.cc -ash/picker/search/picker_search_aggregator_unittest.cc -ash/picker/search/picker_search_controller.cc -ash/picker/search/picker_search_controller_unittest.cc -ash/picker/search/picker_search_request.cc -ash/picker/search/picker_search_request_unittest.cc ash/projector/projector_metadata_model.cc ash/public/cpp/android_intent_helper_unittest.cc ash/public/cpp/system_notification_builder_unittest.cc +ash/quick_insert/quick_insert_asset_fetcher_impl.cc +ash/quick_insert/quick_insert_controller.cc +ash/quick_insert/quick_insert_controller_unittest.cc +ash/quick_insert/quick_insert_insert_media.cc +ash/quick_insert/search/quick_insert_search_aggregator_unittest.cc +ash/quick_insert/search/quick_insert_search_controller.cc +ash/quick_insert/search/quick_insert_search_controller_unittest.cc +ash/quick_insert/search/quick_insert_search_request.cc +ash/quick_insert/search/quick_insert_search_request_unittest.cc ash/quick_pair/companion_app/companion_app_broker_impl_unittest.cc ash/quick_pair/fast_pair_handshake/fast_pair_data_encryptor.h ash/quick_pair/fast_pair_handshake/fast_pair_data_encryptor_impl_unittest.cc @@ -121,6 +93,7 @@ ash/quick_pair/ui/fast_pair/fast_pair_presenter_impl.cc ash/resources/PRESUBMIT.py ash/scanner/scanner_action_handler.cc ash/scanner/scanner_action_handler_unittest.cc +ash/scanner/scanner_session_unittest.cc ash/session/fullscreen_controller_unittest.cc ash/shelf/launcher_nudge_controller_unittest.cc ash/shelf/scrollable_shelf_view_pixeltest.cc @@ -188,7 +161,6 @@ ash/webui/camera_app_ui/resources/js/i18n_string.ts ash/webui/camera_app_ui/resources/js/metrics.ts ash/webui/camera_app_ui/resources/js/untrusted_ga_helper.ts ash/webui/camera_app_ui/resources/js/views/camera_intent.ts -ash/webui/camera_app_ui/resources/js/views/dialog.ts ash/webui/camera_app_ui/resources/js/views/document_fix_mode.ts ash/webui/camera_app_ui/resources/js/views/settings/primary.ts ash/webui/camera_app_ui/resources/strings/camera_strings.grd @@ -213,6 +185,7 @@ ash/webui/firmware_update_ui/resources/PRESUBMIT.py ash/webui/graduation/graduation_ui_handler_unittest.cc ash/webui/graduation/resources/js/graduation_takeout_ui.ts ash/webui/graduation/url_constants.cc +ash/webui/graduation/webview_auth_handler_unittest.cc ash/webui/help_app_ui/help_app_kids_magazine_untrusted_ui.cc ash/webui/help_app_ui/resources/js/help_app.d.ts ash/webui/media_app_ui/media_app_guest_ui.cc @@ -467,6 +440,7 @@ build/config/BUILDCONFIG.gn build/config/android/BUILD.gn build/config/android/internal_rules.gni build/config/android/rules.gni +build/config/arm.gni build/config/c++/c++.gni build/config/chrome_build.gni build/config/chromeos/args.gni @@ -492,13 +466,13 @@ build/gn_ast/gn_ast.py build/gn_ast/json_gn_editor.py build/install-build-deps.py build/ios/presubmit_support.py -build/lacros/test_runner.py build/linux/install-chromeos-fonts.py build/linux/sysroot_scripts/sysroots.json build/linux/unbundle/remove_bundled_libraries.py build/mac_toolchain.py build/nocompile.gni build/rust/rustc_wrapper.py +build/rust/std/remap_alloc.cc build/rust/std/rules/BUILD.gn build/sanitizers/lsan_suppressions.cc build/sanitizers/tsan_suppressions.cc @@ -509,7 +483,6 @@ build/toolchain/gcc_toolchain.gni build/toolchain/nacl/BUILD.gn build/toolchain/win/midl.py build/toolchain/win/rc/rc.py -build/util/lib/common/perf_tests_results_helper.py build/util/lib/proto/PRESUBMIT.py build/util/lib/results/result_sink.py build/vs_toolchain.py @@ -571,8 +544,7 @@ chrome/browser/PRESUBMIT.py chrome/browser/about_flags.cc chrome/browser/accessibility/live_caption/live_caption_speech_recognition_host_browsertest.cc chrome/browser/ai/ai_assistant.cc -chrome/browser/ai/ai_assistant_unittest.cc -chrome/browser/ai/ai_test_utils.cc +chrome/browser/ai/ai_data_keyed_service.cc chrome/browser/android/compositor/scene_layer/contextual_search_scene_layer.cc chrome/browser/android/cookies/cookies_fetcher_restore_util_browsertest.cc chrome/browser/android/customtabs/custom_tabs_browsertest.cc @@ -710,7 +682,6 @@ chrome/browser/ash/child_accounts/family_user_device_metrics_browsertest.cc chrome/browser/ash/child_accounts/parent_access_code/parent_access_service_browsertest.cc chrome/browser/ash/child_accounts/time_limits/app_time_limit_utils_unittest.cc chrome/browser/ash/child_accounts/website_approval_notifier_unittest.cc -chrome/browser/ash/crosapi/browser_manager_unittest.cc chrome/browser/ash/crosapi/browser_util_unittest.cc chrome/browser/ash/crosapi/local_printer_ash_unittest.cc chrome/browser/ash/crosapi/network_settings_translation_unittest.cc @@ -720,12 +691,12 @@ chrome/browser/ash/crostini/crostini_installer.h chrome/browser/ash/crostini/crostini_simple_types.h chrome/browser/ash/crostini/crostini_util.h chrome/browser/ash/customization/customization_document.h +chrome/browser/ash/dbus/arc_crosh_service_provider_unittest.cc chrome/browser/ash/dbus/proxy_resolution_service_provider.h chrome/browser/ash/dbus/proxy_resolution_service_provider_browsertest.cc chrome/browser/ash/dbus/proxy_resolution_service_provider_unittest.cc chrome/browser/ash/drive/drivefs_test_support.cc chrome/browser/ash/drive/file_system_util_unittest.cc -chrome/browser/ash/extensions/file_manager/file_manager_private_apitest.cc chrome/browser/ash/extensions/file_manager/system_notification_manager_unittest.cc chrome/browser/ash/extensions/users_private/users_private_apitest.cc chrome/browser/ash/file_manager/file_browser_handlers.h @@ -778,6 +749,7 @@ chrome/browser/ash/login/oobe_quick_start/connectivity/connection_unittest.cc chrome/browser/ash/login/oobe_quick_start/second_device_auth_broker.cc chrome/browser/ash/login/oobe_quick_start/second_device_auth_broker_unittest.cc chrome/browser/ash/login/password_change_browsertest.cc +chrome/browser/ash/login/post_login_deferred_task_browsertest.cc chrome/browser/ash/login/profile_auth_data_unittest.cc chrome/browser/ash/login/reset_browsertest.cc chrome/browser/ash/login/saml/password_sync_token_fetcher.cc @@ -858,12 +830,12 @@ chrome/browser/ash/release_notes/release_notes_notification_unittest.cc chrome/browser/ash/release_notes/release_notes_storage_unittest.cc chrome/browser/ash/scalable_iph/scalable_iph_browsertest.cc chrome/browser/ash/scalable_iph/scalable_iph_delegate_impl.cc +chrome/browser/ash/scanner/scanner_keyed_service.cc chrome/browser/ash/scanning/chrome_scanning_app_delegate_unittest.cc chrome/browser/ash/scheduler_config/scheduler_configuration_manager.h chrome/browser/ash/settings/cros_settings_unittest.cc chrome/browser/ash/settings/device_settings_provider_unittest.cc chrome/browser/ash/smb_client/smb_service_helper.h -chrome/browser/ash/sync/synced_session_client_ash_unittest.cc chrome/browser/ash/system_web_apps/apps/camera_app/camera_app_integration_browsertest.cc chrome/browser/ash/system_web_apps/apps/files_internals_ui_delegate.cc chrome/browser/ash/system_web_apps/apps/help_app/help_app_notification_controller_unittest.cc @@ -888,8 +860,8 @@ chrome/browser/autofill/automated_tests/cache_replayer.cc chrome/browser/autofill/automated_tests/cache_replayer.h chrome/browser/autofill/automated_tests/cache_replayer_unittest.cc chrome/browser/autofill/captured_sites_test_utils.cc -chrome/browser/autofill_prediction_improvements/autofill_prediction_improvements_browsertest.cc -chrome/browser/autofill_prediction_improvements/chrome_autofill_prediction_improvements_client_unittest.cc +chrome/browser/autofill_ai/autofill_ai_browsertest.cc +chrome/browser/autofill_ai/chrome_autofill_ai_client_unittest.cc chrome/browser/background/background_contents_service.cc chrome/browser/background_sync/periodic_background_sync_permission_context.cc chrome/browser/bluetooth/web_bluetooth_browsertest.cc @@ -925,6 +897,7 @@ chrome/browser/cart/fetch_discount_worker_unittest.cc chrome/browser/cart/resources/cart_domain_cart_url_mapping.json chrome/browser/cart/resources/cart_domain_name_mapping.json chrome/browser/chrome_browser_application_mac.mm +chrome/browser/chrome_browser_main_win.cc chrome/browser/chrome_browser_main_win_unittest.cc chrome/browser/chrome_content_browser_client.cc chrome/browser/chrome_content_browser_client_browsertest.cc @@ -938,11 +911,10 @@ chrome/browser/chromeos/cros_apps/api/cros_apps_api_infos.cc chrome/browser/chromeos/enterprise/cloud_storage/one_drive_pref_observer_browsertest.cc chrome/browser/chromeos/extensions/desk_api/desk_api_extension_manager.cc chrome/browser/chromeos/extensions/desk_api/desk_api_extension_manager.h +chrome/browser/chromeos/extensions/login_screen/login/shared_session_handler.cc chrome/browser/chromeos/extensions/odfs_config_private/odfs_config_private_api_unittest.cc chrome/browser/chromeos/extensions/telemetry/api/common/api_guard_delegate_unittest.cc chrome/browser/chromeos/network/network_portal_signin_window_ash_browsertest.cc -chrome/browser/chromeos/platform_keys/extension_key_permissions_service.cc -chrome/browser/chromeos/platform_keys/extension_platform_keys_service.cc chrome/browser/chromeos/policy/default_notifications_setting_browsertest.cc chrome/browser/chromeos/policy/dino_easter_egg_browsertest.cc chrome/browser/chromeos/policy/dlp/data_transfer_dlp_controller_browsertest.cc @@ -954,8 +926,6 @@ chrome/browser/chromeos/policy/dlp/dlp_scoped_file_access_delegate_unittest.cc chrome/browser/chromeos/printing/print_preview/print_settings_converter_unittest.cc chrome/browser/chromeos/reporting/metric_reporting_prefs_unittest.cc chrome/browser/chromeos/tablet_mode/chrome_content_browser_client_tablet_mode_part_unittest.cc -chrome/browser/companion/core/utils.cc -chrome/browser/companion/core/utils_unittest.cc chrome/browser/complex_tasks/task_tab_helper_unittest.cc chrome/browser/component_updater/recovery_component_installer.cc chrome/browser/component_updater/translate_kit_component_installer.cc @@ -1150,6 +1120,7 @@ chrome/browser/extensions/script_injection_tracker_browsertest.cc chrome/browser/extensions/updater/chrome_extension_downloader_factory.cc chrome/browser/extensions/updater/chrome_update_client_config.cc chrome/browser/extensions/updater/extension_updater_unittest.cc +chrome/browser/extensions/user_script_extension_browsertest.cc chrome/browser/extensions/user_script_listener_unittest.cc chrome/browser/extensions/webstore_domain_browsertest.cc chrome/browser/extensions/webstore_installer_browsertest.cc @@ -1199,7 +1170,6 @@ chrome/browser/lacros/app_mode/kiosk_session_service_browsertest.cc chrome/browser/lacros/browser_service_lacros.cc chrome/browser/lacros/net/network_settings_observer_browsertest.cc chrome/browser/lacros/net/network_settings_translation_unittest.cc -chrome/browser/lacros/sync/crosapi_session_sync_favicon_delegate_unittest.cc chrome/browser/lifetime/switch_utils_unittest.cc chrome/browser/loader/keep_alive_url_browsertest.cc chrome/browser/local_discovery/service_discovery_client_mac.mm @@ -1283,9 +1253,9 @@ chrome/browser/new_tab_page/modules/file_suggestion/drive_service.cc chrome/browser/new_tab_page/modules/file_suggestion/drive_service_unittest.cc chrome/browser/new_tab_page/modules/new_tab_page_modules_interactive_uitest.cc chrome/browser/new_tab_page/modules/new_tab_page_modules_unittest.cc +chrome/browser/new_tab_page/modules/v2/calendar/calendar_fake_data_helper.cc chrome/browser/new_tab_page/modules/v2/calendar/google_calendar_page_handler.cc chrome/browser/new_tab_page/modules/v2/calendar/google_calendar_page_handler_unittest.cc -chrome/browser/new_tab_page/modules/v2/calendar/outlook_calendar_page_handler.cc chrome/browser/new_tab_page/modules/v2/most_relevant_tab_resumption/most_relevant_tab_resumption_page_handler.cc chrome/browser/new_tab_page/modules/v2/most_relevant_tab_resumption/most_relevant_tab_resumption_page_handler_unittest.cc chrome/browser/new_tab_page/one_google_bar/one_google_bar_loader_impl.cc @@ -1302,6 +1272,7 @@ chrome/browser/notifications/platform_notification_service_unittest.cc chrome/browser/notifications/win/notification_template_builder.cc chrome/browser/ntp_tiles/ntp_tiles_browsertest.cc chrome/browser/obsolete_system/obsolete_system_linux.cc +chrome/browser/on_device_translation/on_device_translation_browsertest.cc chrome/browser/optimization_guide/chrome_hints_manager_unittest.cc chrome/browser/optimization_guide/hints_fetcher_browsertest.cc chrome/browser/optimization_guide/model_execution/model_execution_browsertest.cc @@ -1416,7 +1387,7 @@ chrome/browser/preloading/preview/preview_navigation_throttle.h chrome/browser/preloading/preview/preview_zoom_controller.h chrome/browser/printing/print_preview_dialog_controller_unittest.cc chrome/browser/privacy/secure_dns_bridge.cc -chrome/browser/privacy_sandbox/privacy_sandbox_service.h +chrome/browser/privacy_sandbox/privacy_sandbox_activity_types_service.h chrome/browser/privacy_sandbox/privacy_sandbox_service_impl.cc chrome/browser/privacy_sandbox/privacy_sandbox_service_impl_unittest.cc chrome/browser/private_network_access/private_network_device_chooser_controller_unittest.cc @@ -1427,6 +1398,7 @@ chrome/browser/profile_resetter/profile_resetter.cc chrome/browser/profile_resetter/profile_resetter_unittest.cc chrome/browser/profile_resetter/reset_report_uploader.cc chrome/browser/profiles/batch_upload/batch_upload_browsertest.cc +chrome/browser/profiles/batch_upload/batch_upload_service_unittest.cc chrome/browser/profiles/gaia_info_update_service_unittest.cc chrome/browser/profiles/profile.h chrome/browser/profiles/profile_attributes_entry.h @@ -1451,6 +1423,7 @@ chrome/browser/push_notification/server_client/push_notification_server_client_d chrome/browser/reading_list/android/reading_list_manager_impl_unittest.cc chrome/browser/renderer_context_menu/link_to_text_menu_observer_interactive_uitest.cc chrome/browser/renderer_context_menu/render_view_context_menu_browsertest.cc +chrome/browser/renderer_context_menu/render_view_context_menu_interactive_uitest.cc chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc chrome/browser/renderer_host/chrome_navigation_ui_data.h chrome/browser/request_header_integrity/request_header_integrity_url_loader_throttle_unittest.cc @@ -1573,7 +1546,6 @@ chrome/browser/resources/new_tab_page/app.ts chrome/browser/resources/new_tab_page/doodle_share_dialog.ts chrome/browser/resources/new_tab_page/lens_form.html chrome/browser/resources/new_tab_page/lens_form.ts -chrome/browser/resources/new_tab_page/modules/drive/module.ts chrome/browser/resources/new_tab_page/modules/v2/calendar/google_calendar_module.html chrome/browser/resources/new_tab_page/modules/v2/file_suggestion/drive_module.ts chrome/browser/resources/new_tab_page/transparency.ts @@ -1642,6 +1614,7 @@ chrome/browser/safe_browsing/tailored_security/tailored_security_url_observer_un chrome/browser/search/background/ntp_background_service.cc chrome/browser/search/background/ntp_backgrounds.cc chrome/browser/search/background/ntp_custom_background_service.cc +chrome/browser/search/ntp_features_unittest.cc chrome/browser/search/search.h chrome/browser/search_engine_choice/search_engine_choice_dialog_browsertest.cc chrome/browser/search_engines/template_url_parser_unittest.cc @@ -1669,6 +1642,7 @@ chrome/browser/sharing/shared_clipboard/remote_copy_message_handler.cc chrome/browser/sharing_hub/sharing_hub_model_unittest.cc chrome/browser/shell_integration_linux_unittest.cc chrome/browser/signin/account_id_from_account_info_unittest.cc +chrome/browser/signin/accounts_policy_manager_unittest.cc chrome/browser/signin/android/web_signin_bridge_unittest.cc chrome/browser/signin/bound_session_credentials/bound_session_cookie_controller_impl_unittest.cc chrome/browser/signin/bound_session_credentials/bound_session_cookie_observer_unittest.cc @@ -1807,13 +1781,15 @@ chrome/browser/ui/ash/holding_space/holding_space_keyed_service_unittest.cc chrome/browser/ui/ash/in_session_auth/in_session_auth_dialog_client.cc chrome/browser/ui/ash/input_method/candidate_window_view.cc chrome/browser/ui/ash/login/captive_portal_view.cc -chrome/browser/ui/ash/network/network_portal_signin_controller_browsertest.cc chrome/browser/ui/ash/network/network_portal_signin_controller_unittest.cc -chrome/browser/ui/ash/picker/picker_client_impl_unittest.cc -chrome/browser/ui/ash/picker/picker_link_suggester.cc chrome/browser/ui/ash/projector/pending_screencast_manager.cc chrome/browser/ui/ash/projector/pending_screencast_manager_browsertest.cc chrome/browser/ui/ash/projector/projector_navigation_throttle_browsertest.cc +chrome/browser/ui/ash/quick_answers/quick_answers_state_ash_unittest.cc +chrome/browser/ui/ash/quick_answers/ui/quick_answers_util.cc +chrome/browser/ui/ash/quick_answers/ui/quick_answers_view_unittest.cc +chrome/browser/ui/ash/quick_insert/quick_insert_client_impl_unittest.cc +chrome/browser/ui/ash/quick_insert/quick_insert_link_suggester.cc chrome/browser/ui/ash/session/session_controller_client_impl_unittest.cc chrome/browser/ui/ash/shelf/app_shortcut_shelf_item_controller.cc chrome/browser/ui/ash/shelf/browser_app_shelf_item_controller.cc @@ -1875,6 +1851,7 @@ chrome/browser/ui/hid/hid_chooser_controller_unittest.cc chrome/browser/ui/intent_picker_tab_helper_unittest.cc chrome/browser/ui/lens/lens_overlay_controller_browsertest.cc chrome/browser/ui/lens/lens_overlay_gen204_controller.cc +chrome/browser/ui/lens/lens_overlay_languages_controller.cc chrome/browser/ui/lens/lens_overlay_query_controller.cc chrome/browser/ui/lens/lens_overlay_query_controller_unittest.cc chrome/browser/ui/lens/lens_overlay_side_panel_coordinator.cc @@ -1899,10 +1876,8 @@ chrome/browser/ui/passwords/password_manager_navigation_throttle_unittest.cc chrome/browser/ui/passwords/well_known_change_password_navigation_throttle.cc chrome/browser/ui/passwords/well_known_change_password_navigation_throttle_browsertest.cc chrome/browser/ui/passwords/well_known_change_password_navigation_throttle_unittest.cc +chrome/browser/ui/plus_addresses/plus_address_menu_model_unittest.cc chrome/browser/ui/profiles/profile_picker_unittest.cc -chrome/browser/ui/quick_answers/quick_answers_state_ash_unittest.cc -chrome/browser/ui/quick_answers/ui/quick_answers_util.cc -chrome/browser/ui/quick_answers/ui/quick_answers_view_unittest.cc chrome/browser/ui/safety_hub/notification_permission_review_service_unittest.cc chrome/browser/ui/safety_hub/password_status_check_service_unittest.cc chrome/browser/ui/search/ntp_user_data_logger_unittest.cc @@ -1927,19 +1902,21 @@ chrome/browser/ui/tabs/pinned_tab_codec_unittest.cc chrome/browser/ui/tabs/pinned_tab_service_browsertest.cc chrome/browser/ui/tabs/pinned_tab_service_unittest.cc chrome/browser/ui/tabs/saved_tab_groups/saved_tab_group_keyed_service_unittest.cc +chrome/browser/ui/tabs/saved_tab_groups/tab_group_sync_delegate_browsertest.cc chrome/browser/ui/tabs/tab_strip_model_unittest.cc chrome/browser/ui/test/popup_browsertest.cc chrome/browser/ui/toolbar/app_menu_model_interactive_uitest.cc chrome/browser/ui/toolbar/cast/cast_contextual_menu.cc chrome/browser/ui/toolbar/location_bar_model_unittest.cc +chrome/browser/ui/ui_features.cc chrome/browser/ui/url_identity_unittest.cc chrome/browser/ui/views/accelerator_table.cc chrome/browser/ui/views/apps/app_dialog/app_uninstall_dialog_view.cc +chrome/browser/ui/views/autofill/payments/filled_card_information_bubble_views_interactive_uitest.cc chrome/browser/ui/views/autofill/payments/iban_bubble_view_uitest.cc chrome/browser/ui/views/autofill/payments/local_card_migration_uitest.cc chrome/browser/ui/views/autofill/payments/offer_notification_bubble_views_test_base.cc chrome/browser/ui/views/autofill/payments/save_card_bubble_views_browsertest.cc -chrome/browser/ui/views/autofill/payments/virtual_card_manual_fallback_bubble_views_interactive_uitest.cc chrome/browser/ui/views/autofill/popup/password_favicon_loader_unittest.cc chrome/browser/ui/views/autofill/popup/popup_row_factory_utils_browsertest.cc chrome/browser/ui/views/autofill/popup/popup_separator_view.h @@ -1956,11 +1933,11 @@ chrome/browser/ui/views/borealis/borealis_disallowed_dialog.cc chrome/browser/ui/views/commerce/price_tracking_bubble_dialog_view_unittest.cc chrome/browser/ui/views/commerce/price_tracking_email_dialog_view.cc chrome/browser/ui/views/commerce/price_tracking_icon_view_integration_test.cc -chrome/browser/ui/views/compose/compose_interactive_uitest.cc chrome/browser/ui/views/download/bubble/download_bubble_contents_view_unittest.cc chrome/browser/ui/views/download/bubble/download_toolbar_button_view_unittest.cc chrome/browser/ui/views/extensions/device_chooser_extension_browsertest.cc chrome/browser/ui/views/extensions/extension_install_dialog_view_browsertest.cc +chrome/browser/ui/views/extensions/extension_installed_bubble_view_signin_browsertest.cc chrome/browser/ui/views/extensions/extension_uninstall_dialog_view_browsertest.cc chrome/browser/ui/views/extensions/web_file_handlers/web_file_handlers_file_launch_dialog.cc chrome/browser/ui/views/file_system_access/file_system_access_usage_bubble_view_browsertest.cc @@ -2012,7 +1989,6 @@ chrome/browser/ui/views/sharing_hub/sharing_hub_bubble_view_impl_unittest.cc chrome/browser/ui/views/side_panel/companion/exps_registration_success_observer_unittest.cc chrome/browser/ui/views/side_panel/lens/lens_core_tab_side_panel_helper_browsertest.cc chrome/browser/ui/views/side_panel/lens/lens_unified_side_panel_view.cc -chrome/browser/ui/views/side_panel/search_companion/companion_live_test.cc chrome/browser/ui/views/side_panel/search_companion/companion_side_panel_controller.cc chrome/browser/ui/views/site_data/page_specific_site_data_dialog_unittest.cc chrome/browser/ui/views/sync/inline_login_ui_browsertest.cc @@ -2024,7 +2000,6 @@ chrome/browser/ui/views/web_apps/force_installed_preinstalled_deprecated_app_dia chrome/browser/ui/views/web_apps/frame_toolbar/web_app_frame_toolbar_browsertest.cc chrome/browser/ui/views/webid/account_selection_view_base.cc chrome/browser/ui/views/webid/fedcm_account_selection_view_desktop_browsertest.cc -chrome/browser/ui/web_applications/diagnostics/web_app_icon_health_checks_browsertest.cc chrome/browser/ui/web_applications/sub_apps_admin_policy_browsertest.cc chrome/browser/ui/web_applications/web_app_browsertest.cc chrome/browser/ui/web_applications/web_app_navigate_browsertest.cc @@ -2103,7 +2078,6 @@ chrome/browser/ui/webui/settings/settings_utils_unittest.cc chrome/browser/ui/webui/settings/settings_utils_win.cc chrome/browser/ui/webui/settings/site_settings_handler_unittest.cc chrome/browser/ui/webui/settings/site_settings_helper_unittest.cc -chrome/browser/ui/webui/side_panel/companion/companion_side_panel_untrusted_ui.cc chrome/browser/ui/webui/side_panel/customize_chrome/customize_chrome_page_handler.cc chrome/browser/ui/webui/side_panel/customize_chrome/customize_chrome_page_handler_unittest.cc chrome/browser/ui/webui/side_panel/customize_chrome/wallpaper_search/wallpaper_search_handler.cc @@ -2117,7 +2091,6 @@ chrome/browser/ui/webui/signin/ash/signin_helper_browsertest.cc chrome/browser/ui/webui/signin/ash/user_cloud_signin_restriction_policy_fetcher.cc chrome/browser/ui/webui/signin/ash/user_cloud_signin_restriction_policy_fetcher.h chrome/browser/ui/webui/signin/ash/user_cloud_signin_restriction_policy_fetcher_unittest.cc -chrome/browser/ui/webui/signin/profile_picker_handler_unittest.cc chrome/browser/ui/webui/signin/signin_error_handler_unittest.cc chrome/browser/ui/webui/signin/signin_reauth_ui.h chrome/browser/ui/webui/signin/sync_confirmation_handler_unittest.cc @@ -2149,7 +2122,6 @@ chrome/browser/visited_url_ranking/desktop_tab_model_url_visit_data_fetcher_unit chrome/browser/vr/PRESUBMIT.py chrome/browser/vr/test/gl_test_environment_unittest.cc chrome/browser/wallet/android/boarding_pass_detector_unittest.cc -chrome/browser/web_applications/ash/migrations/migrate_preinstalls_to_aps_browsertest.cc chrome/browser/web_applications/chromeos_web_app_experiments_browsertest.cc chrome/browser/web_applications/commands/fetch_manifest_and_install_command.cc chrome/browser/web_applications/commands/install_app_from_verified_manifest_command.cc @@ -2160,7 +2132,7 @@ chrome/browser/web_applications/os_integration/web_app_handler_registration_util chrome/browser/web_applications/os_integration/web_app_handler_registration_utils_win.h chrome/browser/web_applications/os_integration/web_app_handler_registration_utils_win_unittest.cc chrome/browser/web_applications/preinstalled_web_app_manager_unittest.cc -chrome/browser/web_applications/preinstalled_web_apps/container.cc +chrome/browser/web_applications/preinstalled_web_apps/gemini.cc chrome/browser/web_applications/preinstalled_web_apps/gmail.cc chrome/browser/web_applications/preinstalled_web_apps/google_calendar.cc chrome/browser/web_applications/preinstalled_web_apps/google_chat.cc @@ -2357,10 +2329,10 @@ chrome/installer/util/shell_util.h chrome/installer/util/work_item.h chrome/notification_helper/notification_activator.h chrome/notification_helper/notification_helper.cc -chrome/renderer/accessibility/read_aloud_traversal_utils.cc -chrome/renderer/accessibility/read_anything_app_controller_browsertest.cc -chrome/renderer/accessibility/read_anything_app_model.cc -chrome/renderer/accessibility/read_anything_node_utils.cc +chrome/renderer/accessibility/read_anything/read_aloud_traversal_utils.cc +chrome/renderer/accessibility/read_anything/read_anything_app_controller_browsertest.cc +chrome/renderer/accessibility/read_anything/read_anything_app_model.cc +chrome/renderer/accessibility/read_anything/read_anything_node_utils.cc chrome/renderer/app_categorizer_unittest.cc chrome/renderer/ash_merge_session_loader_throttle_unittest.cc chrome/renderer/autofill/autofill_renderer_browsertest.cc @@ -2368,16 +2340,12 @@ chrome/renderer/autofill/form_autofill_browsertest.cc chrome/renderer/autofill/page_passwords_analyser_browsertest.cc chrome/renderer/autofill/password_autofill_agent_browsertest.cc chrome/renderer/bound_session_credentials/bound_session_request_throttled_in_renderer_manager_unittest.cc -chrome/renderer/cart/commerce_hint_agent.cc -chrome/renderer/cart/commerce_hint_agent_browsertest.cc -chrome/renderer/cart/commerce_hint_agent_unittest.cc chrome/renderer/chrome_content_renderer_client_browsertest.cc chrome/renderer/chrome_content_renderer_client_unittest.cc chrome/renderer/extensions/api/extension_hooks_delegate_unittest.cc chrome/renderer/google_accounts_private_api_extension.h chrome/renderer/media/flash_embed_rewrite.cc chrome/renderer/media/flash_embed_rewrite_unittest.cc -chrome/renderer/resources/cart/skip_add_to_cart_request_domain_mapping.json chrome/renderer/resources/extensions/identity_custom_bindings.js chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc chrome/renderer/searchbox/searchbox.h @@ -2488,6 +2456,7 @@ chrome/updater/enterprise/win/google/build_group_policy_template_unittest.py chrome/updater/enterprise/win/google/public_apps.py chrome/updater/external_constants_builder_unittest.cc chrome/updater/external_constants_override_unittest.cc +chrome/updater/fix_licenses.py chrome/updater/mac/launcher_main.c chrome/updater/mac/setup/ks_tickets.mm chrome/updater/mac/setup/ks_tickets_unittest.mm @@ -2500,8 +2469,10 @@ chrome/updater/util/util_unittest.cc chrome/updater/util/util_win_unittest.cc chrome/updater/util/win_util.cc chrome/updater/util/win_util.h +chrome/updater/win/installer/installer_main.cc chrome/updater/win/protocol_parser_xml_unittest.cc chrome/updater/win/signing/PRESUBMIT.py +chrome/updater/win/signing/enterprise_standalone_installer.wxs.xml chrome/updater/win/signing/msi_from_standalone.py chrome/updater/win/task_scheduler.cc chrome/utility/importer/bookmark_html_reader.h @@ -2515,33 +2486,21 @@ chrome/utility/importer/nss_decryptor_system_nss.cc chrome/utility/importer/nss_decryptor_win.h chrome/version.gni chrome/windows_services/service_program/service.cc -chromecast/app/resources/shell_devtools_discovery_page.html -chromecast/base/chromecast_switches.cc -chromecast/browser/renderer_prelauncher_test.cc -chromecast/browser/webui/cast_webui.cc -chromecast/cast_core/runtime/browser/grpc_resource_data_source.cc -chromecast/cast_core/runtime/browser/grpc_resource_data_source_unittest.cc -chromecast/cast_core/runtime/browser/grpc_webui_controller.cc -chromecast/chromecast.gni -chromecast/common/activity_url_filter_unittest.cc -chromecast/crash/linux/minidump_uploader.cc -chromecast/media/cma/backend/android/audio_sink_android_audiotrack_impl.h -chromecast/net/connectivity_checker_impl.h -chromecast/net/net_switches.cc -chromecast/public/bluetooth/gatt.h -chromecast/public/output_restrictions.h -chromecast/starboard/media/cdm/starboard_decryptor_cast.cc -chromecast/starboard/media/cdm/starboard_decryptor_cast_test.cc -chromecast/starboard/media/media/mime_utils.cc -chromecast/starboard/media/media/mime_utils_test.cc chromeos/BUILD.gn chromeos/ash/components/attestation/attestation_flow_adaptive_unittest.cc chromeos/ash/components/attestation/attestation_flow_integrated_unittest.cc +chromeos/ash/components/boca/babelorca/babel_orca_consumer.cc chromeos/ash/components/boca/babelorca/tachyon_constants.h +chromeos/ash/components/boca/babelorca/tachyon_registrar.cc +chromeos/ash/components/boca/babelorca/transcript_receiver.cc +chromeos/ash/components/boca/babelorca/transcript_sender_impl.cc +chromeos/ash/components/boca/boca_metrics_manager_unittest.cc +chromeos/ash/components/boca/boca_role_util_unittest.cc chromeos/ash/components/boca/boca_session_manager_unittest.cc chromeos/ash/components/boca/session_api/constants.h chromeos/ash/components/boca/session_api/create_session_request_unittest.cc chromeos/ash/components/boca/session_api/get_session_request_unittest.cc +chromeos/ash/components/boca/session_api/join_session_request_unittest.cc chromeos/ash/components/boca/session_api/session_parser_unittest.cc chromeos/ash/components/boca/session_api/update_session_request_unittest.cc chromeos/ash/components/boca/session_api/update_student_activities_request_unittest.cc @@ -2689,13 +2648,14 @@ components/autofill/core/browser/data_model/autofill_profile_unittest.cc components/autofill/core/browser/form_data_importer_unittest.cc components/autofill/core/browser/form_filler_unittest.cc components/autofill/core/browser/form_structure_unittest.cc -components/autofill/core/browser/metrics/autofill_metrics.cc components/autofill/core/browser/metrics/autofill_metrics_test_base.cc components/autofill/core/browser/metrics/autofill_metrics_unittest.cc +components/autofill/core/browser/metrics/form_interactions_ukm_logger.cc +components/autofill/core/browser/metrics/form_interactions_ukm_logger_unittest.cc +components/autofill/core/browser/metrics/prediction_quality_metrics_unittest.cc components/autofill/core/browser/metrics/profile_deduplication_metrics_unittest.cc components/autofill/core/browser/metrics/quality_metrics_unittest.cc -components/autofill/core/browser/ml_model/autofill_ml_prediction_model_handler.cc -components/autofill/core/browser/ml_model/autofill_ml_prediction_model_handler_unittest.cc +components/autofill/core/browser/ml_model/field_classification_model_handler.cc components/autofill/core/browser/payments/autofill_offer_manager_unittest.cc components/autofill/core/browser/payments/constants.h components/autofill/core/browser/payments/credit_card_access_manager_test_base.cc @@ -2740,7 +2700,6 @@ components/bookmarks/managed/managed_bookmarks_tracker_unittest.cc components/breadcrumbs/core/breadcrumb_manager_tab_helper.cc components/breadcrumbs/core/breadcrumb_manager_tab_helper.h components/browser_sync/PRESUBMIT.py -components/browser_sync/sync_client_utils_unittest.cc components/browser_sync/sync_internals_message_handler_unittest.cc components/browser_ui/strings/android/browser_ui_strings.grd components/browser_ui/strings/android/site_settings.grdp @@ -2775,6 +2734,7 @@ components/commerce/core/subscriptions/subscriptions_server_proxy.cc components/commerce/core/subscriptions/subscriptions_server_proxy_unittest.cc components/commerce_strings.grdp components/component_updater/component_updater_url_constants.cc +components/component_updater/installer_policies/masked_domain_list_component_installer_policy.cc components/components_google_chrome_strings.grd components/content_relationship_verification/digital_asset_links_handler.cc components/content_relationship_verification/digital_asset_links_handler.h @@ -2803,6 +2763,7 @@ components/cronet/gn2bp/PRESUBMIT.py components/cronet/gn2bp/gen_android_bp.py components/cronet/gn2bp/gn_utils.py components/cronet/license/license_utils.py +components/cronet/license/tests/license_converter_test.py components/cronet/native/cronet.idl components/cronet/native/perftest/perf_test.cc components/cronet/tools/cr_cronet.py @@ -2813,6 +2774,7 @@ components/data_sharing/internal/group_data_proto_utils_unittest.cc components/data_sharing/internal/preview_server_proxy.cc components/data_sharing/public/data_sharing_network_utils.h components/data_sharing/public/features.cc +components/data_sharing/public/group_data.h components/desks_storage/core/admin_template_service_unittests.cc components/desks_storage/core/desk_model_wrapper_unittests.cc components/desks_storage/core/desk_sync_bridge_unittest.cc @@ -2849,9 +2811,6 @@ components/enterprise/data_controls/core/browser/rule_unittest.cc components/enterprise/obfuscation/core/utils.h components/error_page/common/localized_error.cc components/error_page_strings.grdp -components/exo/data_offer_unittest.cc -components/exo/drag_drop_operation_unittest.cc -components/exo/seat_unittest.cc components/exo/ui_lock_controller.h components/eye_dropper/eye_dropper_view.cc components/facilitated_payments/content/browser/security_checker.h @@ -2883,6 +2842,7 @@ components/feedback/feedback_uploader_dispatch_unittest.cc components/feedback/redaction_tool/redaction_tool_unittest.cc components/feedback/redaction_tool/url_parse.h components/fingerprinting_protection_filter/browser/fingerprinting_protection_web_contents_helper.cc +components/fingerprinting_protection_filter/common/fingerprinting_protection_breakage_exception_unittest.cc components/flags_ui/flags_test_helpers.cc components/flags_ui/resources/app.html.ts components/gcm_driver/gcm_account_mapper.cc @@ -2937,7 +2897,6 @@ components/history_clusters/core/ranking_cluster_finalizer_unittest.cc components/history_clusters/core/similar_visit_deduper_cluster_finalizer_unittest.cc components/history_clusters/core/single_visit_cluster_finalizer_unittest.cc components/history_clusters_strings.grdp -components/history_embeddings/ml_answerer_unittest.cc components/history_strings.grdp components/infobars/content/content_infobar_manager.cc components/input/android/scoped_input_receiver.h @@ -2952,6 +2911,7 @@ components/invalidation/impl/per_user_topic_subscription_manager.cc components/invalidation/impl/per_user_topic_subscription_manager_unittest.cc components/ip_protection/common/ip_protection_config_http.cc components/ip_protection/common/ip_protection_proxy_config_direct_fetcher.cc +components/ip_protection/common/ip_protection_token_manager_impl.cc components/ip_protection/common/masked_domain_list_manager_unittest.cc components/javascript_dialogs/tab_modal_dialog_manager.cc components/javascript_dialogs_strings.grdp @@ -2994,6 +2954,7 @@ components/metrics/metrics_state_manager_unittest.cc components/metrics/net/net_metrics_log_uploader.cc components/metrics/persistent_histograms.cc components/metrics/url_constants.cc +components/metrics/url_constants.grd components/mirroring/service/mirror_settings.h components/mirroring/service/remoting_sender.h components/mirroring/service/rtp_stream.h @@ -3075,7 +3036,6 @@ components/omnibox/browser/shortcuts_backend.cc components/omnibox/browser/shortcuts_backend_unittest.cc components/omnibox/browser/shortcuts_database_unittest.cc components/omnibox/browser/shortcuts_provider_unittest.cc -components/omnibox/browser/suggestion_answer.h components/omnibox/browser/suggestion_group_unittest.cc components/omnibox/browser/titled_url_match_utils.cc components/omnibox/browser/titled_url_match_utils_unittest.cc @@ -3087,15 +3047,12 @@ components/omnibox_pedal_ui_strings.grdp components/omnibox_strings.grdp components/optimization_guide/core/hints_component_util_unittest.cc components/optimization_guide/core/hints_manager_unittest.cc -components/optimization_guide/core/model_execution/aqa_response_parser.cc components/optimization_guide/core/model_execution/json_response_parser_unittest.cc components/optimization_guide/core/model_execution/model_execution_fetcher.cc components/optimization_guide/core/model_execution/model_execution_fetcher_unittest.cc components/optimization_guide/core/model_execution/model_execution_manager_unittest.cc components/optimization_guide/core/model_execution/on_device_model_adaptation_loader.cc components/optimization_guide/core/model_execution/on_device_model_adaptation_loader_unittest.cc -components/optimization_guide/core/model_execution/on_device_model_service_controller_unittest.cc -components/optimization_guide/core/model_execution/test/fake_model_assets.cc components/optimization_guide/core/model_handler_unittest.cc components/optimization_guide/core/model_quality/model_quality_logs_uploader_service.cc components/optimization_guide/core/optimization_filter_unittest.cc @@ -3129,11 +3086,11 @@ components/page_load_metrics/browser/observers/use_counter_page_load_metrics_obs components/page_load_metrics/browser/observers/zstd_page_load_metrics_observer_unittest.cc components/page_load_metrics/browser/page_load_metrics_observer_interface.h components/page_load_metrics/browser/page_load_metrics_util.cc -components/page_load_metrics/browser/page_load_metrics_util.h -components/page_load_metrics/browser/page_load_metrics_util_unittest.cc components/page_load_metrics/browser/page_load_tracker.h -components/page_load_metrics/common/page_load_metrics_util.cc -components/page_load_metrics/common/page_load_metrics_util.h +components/page_load_metrics/google/browser/google_url_util.cc +components/page_load_metrics/google/browser/google_url_util.h +components/page_load_metrics/google/browser/google_url_util_unittest.cc +components/page_load_metrics/google/browser/gws_page_load_metrics_observer.cc components/page_load_metrics/renderer/fake_page_timing_sender.h components/paint_preview/browser/file_manager_unittest.cc components/paint_preview/browser/paint_preview_base_service_unittest.cc @@ -3233,6 +3190,7 @@ components/password_manager/ios/shared_password_controller_unittest.mm components/password_manager/ios/test_helpers.cc components/password_manager/services/csv_password/public/mojom/csv_password_parser_traits_unittest.cc components/password_manager_strings.grdp +components/payments/content/android/payment_feature_map.h components/payments/content/android_app_communication_unittest.cc components/payments/content/android_payment_app_factory_unittest.cc components/payments/content/payment_app.h @@ -3262,19 +3220,20 @@ components/permissions/pepc_initiated_permission_request_unittest.cc components/permissions/permission_context_base.cc components/permissions/permission_context_base_unittest.cc components/permissions/permission_decision_auto_blocker_unittest.cc +components/permissions/permission_indicators_tab_data_unittest.cc components/permissions/permission_manager_unittest.cc components/permissions/permission_request_manager.cc components/permissions/permission_request_manager_unittest.cc components/permissions/permission_uma_util.h components/permissions/permission_uma_util_unittest.cc components/permissions/prediction_service/prediction_common.h +components/permissions/prediction_service/prediction_model_handler.cc components/permissions/prediction_service/prediction_service_base.h components/permissions/test/mock_permission_request.h components/permissions_strings.grdp components/plus_addresses/metrics/plus_address_submission_logger_unittest.cc components/plus_addresses/plus_address_http_client_impl.cc components/plus_addresses/plus_address_http_client_impl_unittest.cc -components/plus_addresses/plus_address_suggestion_generator_unittest.cc components/plus_addresses/resources/strings/plus_addresses_strings.grd components/policy/PRESUBMIT.py components/policy/core/browser/browser_policy_connector.cc @@ -3297,7 +3256,6 @@ components/policy/core/common/cloud/user_info_fetcher.cc components/policy/core/common/cloud/user_info_fetcher_unittest.cc components/policy/core/common/default_chrome_apps_migrator.cc components/policy/core/common/default_chrome_apps_migrator_unittest.cc -components/policy/core/common/features.h components/policy/core/common/policy_loader_common.cc components/policy/core/common/policy_loader_common_unittest.cc components/policy/core/common/policy_loader_lacros_unittest.cc @@ -3308,7 +3266,7 @@ components/policy/core/common/registry_dict_unittest.cc components/policy/core/common/scoped_critical_policy_section.cc components/policy/core/common/values_util.h components/policy/resources/policy_templates.py -components/policy/resources/webui/policy.html +components/policy/resources/webui/policy_promotion.html components/policy/test/data/pref_mapping/AllHttpAuthSchemesAllowedForOrigins.json components/policy/test/data/pref_mapping/AllowedDomainsForApps.json components/policy/test/data/pref_mapping/AllowedDomainsForAppsList.json @@ -3499,7 +3457,6 @@ components/rlz/rlz_tracker.h components/safe_browsing/android/real_time_url_checks_allowlist_resource_file_unittest.cc components/safe_browsing/android/real_time_url_checks_allowlist_unittest.cc components/safe_browsing/content/browser/client_side_detection_service.cc -components/safe_browsing/content/browser/client_side_phishing_model_unittest.cc components/safe_browsing/content/browser/password_protection/password_protection_service_unittest.cc components/safe_browsing/content/browser/triggers/ad_sampler_trigger_unittest.cc components/safe_browsing/content/browser/triggers/suspicious_site_trigger.cc @@ -3600,7 +3557,6 @@ components/services/app_service/public/cpp/preferred_apps_list_unittest.cc components/services/font/pdf_fontconfig_matching.cc components/services/heap_profiling/connection_manager.cc components/services/paint_preview_compositor/paint_preview_compositor_impl_unittest.cc -components/services/print_compositor/print_compositor_impl.cc components/services/quarantine/quarantine_mac.mm components/services/quarantine/quarantine_win.cc components/services/storage/partition_impl_unittest.cc @@ -3819,9 +3775,9 @@ content/browser/accessibility/accessibility_action_browsertest.cc content/browser/accessibility/accessibility_auralinux_browsertest.cc content/browser/accessibility/browser_accessibility_manager_android.cc content/browser/accessibility/hit_testing_browsertest.cc -content/browser/aggregation_service/aggregation_service_features.cc content/browser/android/nfc_host_unittest.cc content/browser/attribution_reporting/attribution_os_level_manager_android.cc +content/browser/attribution_reporting/attribution_suitable_context_unittest.cc content/browser/back_forward_cache_basics_browsertest.cc content/browser/back_forward_cache_features_browsertest.cc content/browser/back_forward_cache_internal_browsertest.cc @@ -3878,6 +3834,7 @@ content/browser/interest_group/ad_auction_url_loader_interceptor_unittest.cc content/browser/interest_group/auction_runner_unittest.cc content/browser/interest_group/bidding_and_auction_server_key_fetcher.cc content/browser/interest_group/bidding_and_auction_server_key_fetcher.h +content/browser/interest_group/interest_group_browsertest.cc content/browser/interest_group/interest_group_update_manager.cc content/browser/interest_group/trusted_signals_fetcher.cc content/browser/loader/file_url_loader_factory_unittest.cc @@ -4075,11 +4032,14 @@ content/zygote/zygote_linux.cc content/zygote/zygote_linux.h content/zygote/zygote_main_linux.cc crypto/chaps_support.cc +crypto/hmac.h crypto/hmac_unittest.cc crypto/kdf.h crypto/nss_util.cc crypto/rsa_private_key_unittest.cc +crypto/secure_hash.h crypto/secure_util.h +crypto/sha2.h crypto/symmetric_key.h crypto/unexportable_key.h crypto/unexportable_key_unittest.cc @@ -4146,7 +4106,6 @@ extensions/browser/event_listener_map.h extensions/browser/event_listener_map_unittest.cc extensions/browser/event_router_unittest.cc extensions/browser/extension_prefs_observer.h -extensions/browser/image_sanitizer.cc extensions/browser/permissions_manager.h extensions/browser/script_injection_tracker.cc extensions/browser/suggest_permission_util.cc @@ -4242,6 +4201,7 @@ google_apis/classroom/classroom_api_list_students_request.h google_apis/classroom/classroom_api_student_submissions_response_types.h google_apis/classroom/classroom_api_students_response_types.h google_apis/common/api_key_request_util.h +google_apis/common/base_requests.cc google_apis/drive/drive_api_parser.cc google_apis/drive/drive_api_parser.h google_apis/drive/drive_api_parser_unittest.cc @@ -4280,6 +4240,9 @@ google_apis/gcm/engine/registration_request_unittest.cc google_apis/gcm/tools/mcs_probe.cc google_apis/google_api_keys.cc google_apis/google_api_keys.h +google_apis/people/people_api_request_types.h +google_apis/people/people_api_requests.h +google_apis/people/people_api_response_types.h google_apis/tasks/tasks_api_requests.h google_apis/tasks/tasks_api_response_types.h google_apis/tasks/tasks_api_response_types_unittest.cc @@ -4306,8 +4269,8 @@ google_apis/youtube_music/youtube_music_api_request_types.cc google_apis/youtube_music/youtube_music_api_request_types_unittest.cc google_apis/youtube_music/youtube_music_api_requests.cc google_apis/youtube_music/youtube_music_api_requests.h +google_apis/youtube_music/youtube_music_api_requests_unittest.cc google_apis/youtube_music/youtube_music_api_response_types.h -google_update/google_update_idl.idl gpu/GLES2/extensions/ANGLE/EGL_ANGLE_sync_control_rate.txt gpu/GLES2/extensions/CHROMIUM/EGL_CHROMIUM_sync_control.txt gpu/PRESUBMIT.py @@ -4380,6 +4343,7 @@ ios/chrome/browser/commerce/model/shopping_persisted_data_tab_helper_unittest.mm ios/chrome/browser/context_menu/ui_bundled/context_menu_configuration_provider_unittest.mm ios/chrome/browser/crash_report/model/breadcrumbs/breadcrumb_manager_tab_helper_unittest.mm ios/chrome/browser/credential_provider/model/credential_provider_service_unittest.mm +ios/chrome/browser/credential_provider/model/ios_credential_provider_infobar_delegate_unittest.mm ios/chrome/browser/credential_provider_promo/ui_bundled/resources/CPE_promo_animation_edu_autofill.json ios/chrome/browser/credential_provider_promo/ui_bundled/resources/CPE_promo_animation_edu_autofill_darkmode.json ios/chrome/browser/dialogs/ui_bundled/nsurl_protection_space_util_unittest.mm @@ -4468,7 +4432,6 @@ ios/chrome/browser/ui/infobars/modals/autofill_address_profile/infobar_save_addr ios/chrome/browser/ui/infobars/test/test_infobar_password_delegate.mm ios/chrome/browser/ui/omnibox/omnibox_egtest.mm ios/chrome/browser/ui/omnibox/zero_suggest_prefetch_helper_unittest.mm -ios/chrome/browser/ui/page_info/page_info_egtest.mm ios/chrome/browser/ui/page_info/page_info_security_egtest.mm ios/chrome/browser/ui/popup_menu/overflow_menu/overflow_menu_mediator_unittest.mm ios/chrome/browser/ui/popup_menu/popup_menu_mediator_unittest.mm @@ -4490,6 +4453,7 @@ ios/chrome/browser/ui/settings/password/password_exporter_unittest.mm ios/chrome/browser/ui/settings/password/password_issues/password_issues_table_view_controller_unittest.mm ios/chrome/browser/ui/settings/password/password_manager_egtest.mm ios/chrome/browser/ui/settings/password/password_manager_view_controller_unittest.mm +ios/chrome/browser/ui/settings/password/password_settings/password_settings_mediator_unittest.mm ios/chrome/browser/ui/settings/password/password_sharing/family_picker_coordinator_unittest.mm ios/chrome/browser/ui/settings/password/password_sharing/family_picker_view_controller_unittest.mm ios/chrome/browser/ui/settings/password/password_sharing/family_promo_coordinator_unittest.mm @@ -4525,6 +4489,7 @@ ios/chrome/common/ns_regular_expression_unittest.mm ios/chrome/common/string_util_unittest.mm ios/chrome/common/x_callback_url_unittest.cc ios/chrome/credential_provider_extension/strings/ios_credential_provider_extension_strings.grd +ios/chrome/credential_provider_extension/ui/passkey_welcome_screen_view_controller_unittest.mm ios/chrome/test/data/policy/PRESUBMIT.py ios/chrome/test/data/policy/pref_mapping/ManagedBookmarks.json ios/chrome/test/data/policy/pref_mapping/NewTabPageLocation.json @@ -4539,6 +4504,7 @@ ios/chrome/test/providers/omaha/test_omaha.cc ios/chrome/test/xcuitest/device_check_xctest.mm ios/components/cookie_util/cookie_util_unittest.mm ios/components/credential_provider_extension/password_spec_fetcher.mm +ios/components/credential_provider_extension/password_util_unittest.mm ios/components/security_interstitials/https_only_mode/https_only_mode_blocking_page.mm ios/net/cookies/cookie_cache_unittest.cc ios/net/cookies/cookie_store_ios_test_util.mm @@ -4718,139 +4684,6 @@ mojo/core/channel.h mojo/core/node_channel.h mojo/core/platform_handle_in_transit.cc mojo/public/interfaces/bindings/tests/PRESUBMIT.py -native_client_sdk/doc_generated/cds2014/cpp.html -native_client_sdk/doc_generated/cds2014/python.html -native_client_sdk/doc_generated/community/application-gallery.html -native_client_sdk/doc_generated/community/index.html -native_client_sdk/doc_generated/community/middleware.html -native_client_sdk/doc_generated/community/security-contest/contest-announcement.html -native_client_sdk/doc_generated/community/security-contest/contest-faq.html -native_client_sdk/doc_generated/community/security-contest/contest-terms.html -native_client_sdk/doc_generated/community/security-contest/index.html -native_client_sdk/doc_generated/devguide/coding/3D-graphics.html -native_client_sdk/doc_generated/devguide/coding/application-structure.html -native_client_sdk/doc_generated/devguide/coding/audio.html -native_client_sdk/doc_generated/devguide/coding/file-io.html -native_client_sdk/doc_generated/devguide/devcycle/building.html -native_client_sdk/doc_generated/devguide/devcycle/debugging.html -native_client_sdk/doc_generated/devguide/devcycle/dynamic-loading.html -native_client_sdk/doc_generated/devguide/devcycle/running.html -native_client_sdk/doc_generated/devguide/devcycle/vs-addin.html -native_client_sdk/doc_generated/devguide/distributing.html -native_client_sdk/doc_generated/devguide/index.html -native_client_sdk/doc_generated/devguide/tutorial/tutorial-part1.html -native_client_sdk/doc_generated/devguide/tutorial/tutorial-part2.html -native_client_sdk/doc_generated/faq.html -native_client_sdk/doc_generated/help.html -native_client_sdk/doc_generated/index.html -native_client_sdk/doc_generated/io2014.html -native_client_sdk/doc_generated/migration/index.html -native_client_sdk/doc_generated/nacl-and-pnacl.html -native_client_sdk/doc_generated/overview.html -native_client_sdk/doc_generated/pepper_beta/c/struct_p_p_b___file_system__1__0.html -native_client_sdk/doc_generated/pepper_beta/c/struct_p_p_b___host_resolver__1__0.html -native_client_sdk/doc_generated/pepper_beta/c/struct_p_p_b___network_monitor__1__0.html -native_client_sdk/doc_generated/pepper_beta/c/struct_p_p_b___network_proxy__1__0.html -native_client_sdk/doc_generated/pepper_beta/c/struct_p_p_b___t_c_p_socket__1__2.html -native_client_sdk/doc_generated/pepper_beta/c/struct_p_p_b___u_d_p_socket__1__2.html -native_client_sdk/doc_generated/pepper_beta/cpp/classpp_1_1_file_system.html -native_client_sdk/doc_generated/pepper_beta/cpp/classpp_1_1_host_resolver.html -native_client_sdk/doc_generated/pepper_beta/cpp/classpp_1_1_network_proxy.html -native_client_sdk/doc_generated/pepper_beta/cpp/classpp_1_1_t_c_p_socket.html -native_client_sdk/doc_generated/pepper_beta/cpp/classpp_1_1_u_d_p_socket.html -native_client_sdk/doc_generated/pepper_dev/c/struct_p_p_b___file_system__1__0.html -native_client_sdk/doc_generated/pepper_dev/c/struct_p_p_b___host_resolver__1__0.html -native_client_sdk/doc_generated/pepper_dev/c/struct_p_p_b___network_monitor__1__0.html -native_client_sdk/doc_generated/pepper_dev/c/struct_p_p_b___network_proxy__1__0.html -native_client_sdk/doc_generated/pepper_dev/c/struct_p_p_b___t_c_p_socket__1__2.html -native_client_sdk/doc_generated/pepper_dev/c/struct_p_p_b___u_d_p_socket__1__2.html -native_client_sdk/doc_generated/pepper_dev/cpp/classpp_1_1_file_system.html -native_client_sdk/doc_generated/pepper_dev/cpp/classpp_1_1_host_resolver.html -native_client_sdk/doc_generated/pepper_dev/cpp/classpp_1_1_network_proxy.html -native_client_sdk/doc_generated/pepper_dev/cpp/classpp_1_1_t_c_p_socket.html -native_client_sdk/doc_generated/pepper_dev/cpp/classpp_1_1_u_d_p_socket.html -native_client_sdk/doc_generated/pepper_stable/c/struct_p_p_b___file_system__1__0.html -native_client_sdk/doc_generated/pepper_stable/c/struct_p_p_b___host_resolver__1__0.html -native_client_sdk/doc_generated/pepper_stable/c/struct_p_p_b___network_monitor__1__0.html -native_client_sdk/doc_generated/pepper_stable/c/struct_p_p_b___network_proxy__1__0.html -native_client_sdk/doc_generated/pepper_stable/c/struct_p_p_b___t_c_p_socket__1__2.html -native_client_sdk/doc_generated/pepper_stable/c/struct_p_p_b___u_d_p_socket__1__2.html -native_client_sdk/doc_generated/pepper_stable/cpp/classpp_1_1_file_system.html -native_client_sdk/doc_generated/pepper_stable/cpp/classpp_1_1_host_resolver.html -native_client_sdk/doc_generated/pepper_stable/cpp/classpp_1_1_network_proxy.html -native_client_sdk/doc_generated/pepper_stable/cpp/classpp_1_1_t_c_p_socket.html -native_client_sdk/doc_generated/pepper_stable/cpp/classpp_1_1_u_d_p_socket.html -native_client_sdk/doc_generated/publications-and-presentations.html -native_client_sdk/doc_generated/reference/design-docs.html -native_client_sdk/doc_generated/reference/ideas.html -native_client_sdk/doc_generated/reference/pnacl-c-cpp-language-support.html -native_client_sdk/doc_generated/reference/pnacl-undefined-behavior.html -native_client_sdk/doc_generated/reference/sandbox_internals/arm-32-bit-sandbox.html -native_client_sdk/doc_generated/reference/sandbox_internals/index.html -native_client_sdk/doc_generated/reference/sandbox_internals/x86-64-sandbox.html -native_client_sdk/doc_generated/rest-devsite-examples.html -native_client_sdk/doc_generated/sdk/download.html -native_client_sdk/doc_generated/sdk/release-notes.html -native_client_sdk/src/build_tools/build_artifacts.py -native_client_sdk/src/build_tools/build_paths.py -native_client_sdk/src/build_tools/build_sdk.py -native_client_sdk/src/build_tools/buildbot_common.py -native_client_sdk/src/build_tools/buildbot_run.py -native_client_sdk/src/build_tools/json/naclsdk_manifest.json -native_client_sdk/src/build_tools/json/naclsdk_manifest0.json -native_client_sdk/src/build_tools/json/naclsdk_manifest2.json -native_client_sdk/src/build_tools/make_simple.py -native_client_sdk/src/build_tools/nacl-mono-buildbot.py -native_client_sdk/src/build_tools/nacl-mono-builder.py -native_client_sdk/src/build_tools/sdk_tools/cacerts.txt -native_client_sdk/src/build_tools/sdk_tools/config.py -native_client_sdk/src/build_tools/sdk_tools/sdk_update_main.py -native_client_sdk/src/build_tools/sdk_tools/third_party/fancy_urllib/__init__.py -native_client_sdk/src/build_tools/tests/build_version_test.py -native_client_sdk/src/build_tools/tests/update_nacl_manifest_test.py -native_client_sdk/src/build_tools/update_nacl_manifest.py -native_client_sdk/src/build_tools/update_sdktools.py -native_client_sdk/src/doc/Makefile -native_client_sdk/src/doc/_sphinxext/chromesite_builder.py -native_client_sdk/src/doc/_sphinxext/devsite_builder.py -native_client_sdk/src/doc/community/security-contest/contest-warning.txt -native_client_sdk/src/doc/conf.py -native_client_sdk/src/doc/doxygen/generate_docs.py -native_client_sdk/src/doc/migration/apps.html -native_client_sdk/src/doc/migration/public.html -native_client_sdk/src/examples/api/socket/index.html -native_client_sdk/src/examples/api/url_loader/url_loader_handler.h -native_client_sdk/src/examples/demo/drive/drive.cc -native_client_sdk/src/examples/demo/drive/index.html -native_client_sdk/src/examples/demo/nacl_io_demo/index.html -native_client_sdk/src/gonacl_appengine/gonacl.py -native_client_sdk/src/gonacl_appengine/static/bullet/fullscreen.html -native_client_sdk/src/gonacl_appengine/static/bullet/index.html -native_client_sdk/src/gonacl_appengine/static/bullet/main.js -native_client_sdk/src/gonacl_appengine/static/cube/example.js -native_client_sdk/src/gonacl_appengine/static/cube/index.html -native_client_sdk/src/gonacl_appengine/static/earth/example.js -native_client_sdk/src/gonacl_appengine/static/earth/index.html -native_client_sdk/src/gonacl_appengine/static/home/index.html -native_client_sdk/src/gonacl_appengine/static/index.html -native_client_sdk/src/gonacl_appengine/static/life/example.js -native_client_sdk/src/gonacl_appengine/static/life/index.html -native_client_sdk/src/gonacl_appengine/static/lua/index.html -native_client_sdk/src/gonacl_appengine/static/lua/lua.js -native_client_sdk/src/gonacl_appengine/static/lua/naclterm.js -native_client_sdk/src/gonacl_appengine/static/smoothlife/example.js -native_client_sdk/src/gonacl_appengine/static/smoothlife/index.html -native_client_sdk/src/gonacl_appengine/static/voronoi/example.js -native_client_sdk/src/gonacl_appengine/static/voronoi/index.html -native_client_sdk/src/libraries/nacl_io/include/sys/time.h -native_client_sdk/src/libraries/nacl_io/include/utime.h -native_client_sdk/src/libraries/nacl_io/syscalls/isatty.c -native_client_sdk/src/libraries/nacl_io/syscalls/truncate.c -native_client_sdk/src/resources/common.js -native_client_sdk/src/tests/nacl_io_test/host_resolver_test.cc -native_client_sdk/src/tests/nacl_io_test/socket_test.cc -native_client_sdk/src/tools/fix_manifest.py -native_client_sdk/src/web/manifest.html net/BUILD.gn net/PRESUBMIT.py net/android/http_auth_negotiate_android.h @@ -4860,7 +4693,6 @@ net/android/unittest_support/AndroidManifest.xml net/base/address_tracker_linux.cc net/base/apple/url_conversions_unittest.mm net/base/data_url.cc -net/base/features.cc net/base/file_stream_context.h net/base/filename_util.cc net/base/filename_util_internal.cc @@ -5147,8 +4979,7 @@ printing/test/PRESUBMIT.py remoting/base/corp_auth_util.cc remoting/base/is_google_email.cc remoting/base/service_urls.cc -remoting/client/notification/gstatic_json_fetcher.cc -remoting/client/notification/json_fetcher.h +remoting/base/session_policies.h remoting/codec/video_encoder_vpx.cc remoting/codec/webrtc_video_encoder_vpx.cc remoting/host/crash/crash_file_uploader.cc @@ -5180,9 +5011,6 @@ remoting/host/win/etw_trace_controller.cc remoting/host/win/rdp_client_window.cc remoting/host/win/trust_util.cc remoting/host/xmpp_register_support_host_request_unittest.cc -remoting/ios/app/help_view_controller.mm -remoting/ios/app/host_setup_view_controller.mm -remoting/ios/app/remoting_menu_view_controller.mm remoting/protocol/authenticator_test_base.h remoting/protocol/fake_session.cc remoting/protocol/jingle_messages_unittest.cc @@ -5198,8 +5026,6 @@ remoting/signaling/signaling_id_util.cc remoting/signaling/signaling_id_util.h remoting/signaling/signaling_id_util_unittest.cc remoting/signaling/xmpp_log_to_server_unittest.cc -remoting/test/ftl_services_playground.cc -remoting/test/ftl_signaling_playground.cc remoting/test/it2me_cli_host.cc remoting/test/session_authz_playground.cc remoting/test/test_oauth_token_getter.cc @@ -5349,7 +5175,6 @@ testing/buildbot/filters/PRESUBMIT.py testing/buildbot/generate_buildbot_json.py testing/buildbot/query_optimal_shard_counts.py testing/buildbot/scripts/upload_test_result_artifacts.py -testing/buildbot/waterfalls.pyl testing/chromoting/browser_test_commands_linux.txt testing/chromoting/chromoting_test_driver_commands_linux.txt testing/flake_suppressor_common/expectations.py @@ -5442,12 +5267,14 @@ third_party/android_deps/libs/com_google_android_datatransport_transport_api/3pp third_party/android_deps/libs/com_google_android_gms_play_services_auth/3pp/fetch.py third_party/android_deps/libs/com_google_android_gms_play_services_auth_api_phone/3pp/fetch.py third_party/android_deps/libs/com_google_android_gms_play_services_auth_base/3pp/fetch.py +third_party/android_deps/libs/com_google_android_gms_play_services_auth_blockstore/3pp/fetch.py third_party/android_deps/libs/com_google_android_gms_play_services_base/3pp/fetch.py third_party/android_deps/libs/com_google_android_gms_play_services_basement/3pp/fetch.py third_party/android_deps/libs/com_google_android_gms_play_services_cast/3pp/fetch.py third_party/android_deps/libs/com_google_android_gms_play_services_cast_framework/3pp/fetch.py third_party/android_deps/libs/com_google_android_gms_play_services_clearcut/3pp/fetch.py third_party/android_deps/libs/com_google_android_gms_play_services_cloud_messaging/3pp/fetch.py +third_party/android_deps/libs/com_google_android_gms_play_services_fido/3pp/fetch.py third_party/android_deps/libs/com_google_android_gms_play_services_flags/3pp/fetch.py third_party/android_deps/libs/com_google_android_gms_play_services_gcm/3pp/fetch.py third_party/android_deps/libs/com_google_android_gms_play_services_identity_credentials/3pp/fetch.py @@ -5459,6 +5286,7 @@ third_party/android_deps/libs/com_google_android_gms_play_services_stats/3pp/fet third_party/android_deps/libs/com_google_android_gms_play_services_tasks/3pp/fetch.py third_party/android_deps/libs/com_google_android_gms_play_services_vision/3pp/fetch.py third_party/android_deps/libs/com_google_android_gms_play_services_vision_common/3pp/fetch.py +third_party/android_deps/libs/com_google_android_libraries_identity_googleid_googleid/3pp/fetch.py third_party/android_deps/libs/com_google_android_material_material/3pp/fetch.py third_party/android_deps/libs/com_google_android_play_core_common/3pp/fetch.py third_party/android_deps/libs/com_google_android_play_feature_delivery/3pp/fetch.py @@ -5474,8 +5302,6 @@ third_party/android_deps/libs/com_google_firebase_firebase_installations_interop third_party/android_deps/libs/com_google_firebase_firebase_measurement_connector/3pp/fetch.py third_party/android_deps/libs/com_google_firebase_firebase_messaging/3pp/fetch.py third_party/android_deps/licenses/Android_SDK_License-December_9_2016.txt -third_party/android_platform/development/scripts/PRESUBMIT.py -third_party/android_platform/development/scripts/stack.py third_party/android_toolchain/3pp/fetch.py third_party/androidx/fetch_all_androidx.py third_party/angle/BUILD.gn @@ -5551,8 +5377,6 @@ third_party/angle/gni/angle.gni third_party/angle/include/CL/cl_platform.h third_party/angle/include/GLSLANG/ShaderLang.h third_party/angle/include/GLSLANG/ShaderVars.h -third_party/angle/include/platform/autogen/FeaturesVk_autogen.h -third_party/angle/include/platform/autogen/FrontendFeatures_autogen.h third_party/angle/include/platform/frontend_features.json third_party/angle/include/platform/vk_features.json third_party/angle/infra/specs/PRESUBMIT.py @@ -5685,155 +5509,6 @@ third_party/blink/common/page_state/page_state_serialization.cc third_party/blink/common/page_state/page_state_serialization_unittest.cc third_party/blink/common/permissions_policy/origin_with_possible_wildcards_unittest.cc third_party/blink/common/shared_storage/module_script_downloader.cc -third_party/blink/manual_tests/forms/color-suggestion-picker.html -third_party/blink/manual_tests/forms/list-picker.html -third_party/blink/manual_tests/media-elements/video-moved-from-iframe-to-main-page.html -third_party/blink/manual_tests/plugins/windowed.html -third_party/blink/manual_tests/plugins/windowless.html -third_party/blink/manual_tests/print-onload-with-image.html -third_party/blink/manual_tests/property-map-save-crash.html -third_party/blink/manual_tests/remove-input-file-onchange.html -third_party/blink/manual_tests/remove-on-drop-crash.html -third_party/blink/manual_tests/resources/testframe-link_text.html -third_party/blink/manual_tests/resources/testframeset.html -third_party/blink/manual_tests/scrolling-nestedframesets.html -third_party/blink/manual_tests/video-statistics.html -third_party/blink/manual_tests/webaudio/multichannel-mediastreamdestination.html -third_party/blink/manual_tests/webaudio/multichannel.html -third_party/blink/manual_tests/wordXML-selectall.xml -third_party/blink/perf_tests/bindings/resources/data/blink-dev.json -third_party/blink/perf_tests/css/resources/semantic.min.css -third_party/blink/perf_tests/owp_storage/resources/idb-load-docs-runner.html -third_party/blink/perf_tests/owp_storage/resources/idb-load-docs-shared.js -third_party/blink/perf_tests/parser/css-parser-yui.html -third_party/blink/perf_tests/parser/resources/html5.html -third_party/blink/perf_tests/speedometer20/resources/flightjs-example-app/app/data.js -third_party/blink/perf_tests/speedometer20/resources/flightjs-example-app/components/es5-shim/component.json -third_party/blink/perf_tests/speedometer20/resources/flightjs-example-app/components/es5-shim/es5-sham.js -third_party/blink/perf_tests/speedometer20/resources/flightjs-example-app/components/es5-shim/es5-shim.js -third_party/blink/perf_tests/speedometer20/resources/flightjs-example-app/components/es5-shim/package.json -third_party/blink/perf_tests/speedometer20/resources/flightjs-example-app/components/jquery/composer.json -third_party/blink/perf_tests/speedometer20/resources/flightjs-example-app/components/jquery/jquery.js -third_party/blink/perf_tests/speedometer20/resources/flightjs-example-app/components/requirejs/require.js -third_party/blink/perf_tests/speedometer20/resources/todomvc/architecture-examples/angular/dist/assets/css/todomvc-app.css -third_party/blink/perf_tests/speedometer20/resources/todomvc/architecture-examples/angular/src/assets/css/todomvc-app.css -third_party/blink/perf_tests/speedometer20/resources/todomvc/architecture-examples/angularjs/node_modules/angular-resource/angular-resource.js -third_party/blink/perf_tests/speedometer20/resources/todomvc/architecture-examples/angularjs/node_modules/angular/angular.js -third_party/blink/perf_tests/speedometer20/resources/todomvc/architecture-examples/angularjs/node_modules/todomvc-app-css/index.css -third_party/blink/perf_tests/speedometer20/resources/todomvc/architecture-examples/angularjs/node_modules/todomvc-app-css/package.json -third_party/blink/perf_tests/speedometer20/resources/todomvc/architecture-examples/angularjs/node_modules/todomvc-common/base.js -third_party/blink/perf_tests/speedometer20/resources/todomvc/architecture-examples/backbone/node_modules/backbone/backbone.js -third_party/blink/perf_tests/speedometer20/resources/todomvc/architecture-examples/backbone/node_modules/jquery/dist/jquery.js -third_party/blink/perf_tests/speedometer20/resources/todomvc/architecture-examples/backbone/node_modules/todomvc-app-css/index.css -third_party/blink/perf_tests/speedometer20/resources/todomvc/architecture-examples/backbone/node_modules/todomvc-common/base.js -third_party/blink/perf_tests/speedometer20/resources/todomvc/architecture-examples/backbone/node_modules/underscore/underscore.js -third_party/blink/perf_tests/speedometer20/resources/todomvc/architecture-examples/emberjs-debug/assets/vendor.css -third_party/blink/perf_tests/speedometer20/resources/todomvc/architecture-examples/emberjs-debug/assets/vendor.js -third_party/blink/perf_tests/speedometer20/resources/todomvc/architecture-examples/emberjs/vendor/index.css -third_party/blink/perf_tests/speedometer20/resources/todomvc/architecture-examples/inferno/node_modules/todomvc-app-css/index.css -third_party/blink/perf_tests/speedometer20/resources/todomvc/architecture-examples/inferno/node_modules/todomvc-app-css/package.json -third_party/blink/perf_tests/speedometer20/resources/todomvc/architecture-examples/inferno/node_modules/todomvc-common/base.js -third_party/blink/perf_tests/speedometer20/resources/todomvc/architecture-examples/jquery/node_modules/director/dist/director.js -third_party/blink/perf_tests/speedometer20/resources/todomvc/architecture-examples/jquery/node_modules/director/package.json -third_party/blink/perf_tests/speedometer20/resources/todomvc/architecture-examples/jquery/node_modules/jquery/dist/jquery.js -third_party/blink/perf_tests/speedometer20/resources/todomvc/architecture-examples/jquery/node_modules/todomvc-app-css/index.css -third_party/blink/perf_tests/speedometer20/resources/todomvc/architecture-examples/jquery/node_modules/todomvc-app-css/package.json -third_party/blink/perf_tests/speedometer20/resources/todomvc/architecture-examples/jquery/node_modules/todomvc-common/base.js -third_party/blink/perf_tests/speedometer20/resources/todomvc/architecture-examples/preact/dist/todomvc-common/base.js -third_party/blink/perf_tests/speedometer20/resources/todomvc/architecture-examples/preact/dist/todomvc.css -third_party/blink/perf_tests/speedometer20/resources/todomvc/architecture-examples/react/node_modules/todomvc-app-css/index.css -third_party/blink/perf_tests/speedometer20/resources/todomvc/architecture-examples/react/node_modules/todomvc-common/base.js -third_party/blink/perf_tests/speedometer20/resources/todomvc/architecture-examples/vuejs-cli/src/components/todo.css -third_party/blink/perf_tests/speedometer20/resources/todomvc/dependency-examples/flight/flight/node_modules/depot/package.json -third_party/blink/perf_tests/speedometer20/resources/todomvc/dependency-examples/flight/flight/node_modules/es5-shim/es5-sham.js -third_party/blink/perf_tests/speedometer20/resources/todomvc/dependency-examples/flight/flight/node_modules/es5-shim/es5-shim.js -third_party/blink/perf_tests/speedometer20/resources/todomvc/dependency-examples/flight/flight/node_modules/jquery/dist/jquery.js -third_party/blink/perf_tests/speedometer20/resources/todomvc/dependency-examples/flight/flight/node_modules/jquery/package.json -third_party/blink/perf_tests/speedometer20/resources/todomvc/dependency-examples/flight/flight/node_modules/requirejs-text/package.json -third_party/blink/perf_tests/speedometer20/resources/todomvc/dependency-examples/flight/flight/node_modules/requirejs-text/text.js -third_party/blink/perf_tests/speedometer20/resources/todomvc/dependency-examples/flight/flight/node_modules/requirejs/package.json -third_party/blink/perf_tests/speedometer20/resources/todomvc/dependency-examples/flight/flight/node_modules/requirejs/require.js -third_party/blink/perf_tests/speedometer20/resources/todomvc/dependency-examples/flight/flight/node_modules/todomvc-app-css/index.css -third_party/blink/perf_tests/speedometer20/resources/todomvc/dependency-examples/flight/flight/node_modules/todomvc-app-css/package.json -third_party/blink/perf_tests/speedometer20/resources/todomvc/dependency-examples/flight/flight/node_modules/todomvc-common/base.js -third_party/blink/perf_tests/speedometer20/resources/todomvc/functional-prog-examples/elm/node_modules/todomvc-app-css/index.css -third_party/blink/perf_tests/speedometer20/resources/todomvc/functional-prog-examples/elm/node_modules/todomvc-common/base.js -third_party/blink/perf_tests/speedometer20/resources/todomvc/labs/architecture-examples/react/bower_components/director/build/director.js -third_party/blink/perf_tests/speedometer20/resources/todomvc/labs/architecture-examples/react/bower_components/react/JSXTransformer.js -third_party/blink/perf_tests/speedometer20/resources/todomvc/labs/architecture-examples/react/bower_components/todomvc-common/base.js -third_party/blink/perf_tests/speedometer20/resources/todomvc/vanilla-examples/es2015-babel-webpack/src/helpers.js -third_party/blink/perf_tests/speedometer20/resources/todomvc/vanilla-examples/es2015/node_modules/todomvc-app-css/index.css -third_party/blink/perf_tests/speedometer20/resources/todomvc/vanilla-examples/es2015/node_modules/todomvc-app-css/package.json -third_party/blink/perf_tests/speedometer20/resources/todomvc/vanilla-examples/es2015/node_modules/todomvc-common/base.js -third_party/blink/perf_tests/speedometer20/resources/todomvc/vanilla-examples/es2015/src/helpers.js -third_party/blink/perf_tests/speedometer20/resources/todomvc/vanilla-examples/vanillajs/js/helpers.js -third_party/blink/perf_tests/speedometer20/resources/todomvc/vanilla-examples/vanillajs/node_modules/todomvc-app-css/index.css -third_party/blink/perf_tests/speedometer20/resources/todomvc/vanilla-examples/vanillajs/node_modules/todomvc-common/base.js -third_party/blink/perf_tests/speedometer21/resources/flightjs-example-app/app/data.js -third_party/blink/perf_tests/speedometer21/resources/flightjs-example-app/components/es5-shim/component.json -third_party/blink/perf_tests/speedometer21/resources/flightjs-example-app/components/es5-shim/es5-sham.js -third_party/blink/perf_tests/speedometer21/resources/flightjs-example-app/components/es5-shim/es5-shim.js -third_party/blink/perf_tests/speedometer21/resources/flightjs-example-app/components/es5-shim/package.json -third_party/blink/perf_tests/speedometer21/resources/flightjs-example-app/components/jquery/composer.json -third_party/blink/perf_tests/speedometer21/resources/flightjs-example-app/components/jquery/jquery.js -third_party/blink/perf_tests/speedometer21/resources/flightjs-example-app/components/requirejs/require.js -third_party/blink/perf_tests/speedometer21/resources/todomvc/architecture-examples/angular/dist/assets/css/todomvc-app.css -third_party/blink/perf_tests/speedometer21/resources/todomvc/architecture-examples/angular/src/assets/css/todomvc-app.css -third_party/blink/perf_tests/speedometer21/resources/todomvc/architecture-examples/angularjs/node_modules/angular-resource/angular-resource.js -third_party/blink/perf_tests/speedometer21/resources/todomvc/architecture-examples/angularjs/node_modules/angular/angular.js -third_party/blink/perf_tests/speedometer21/resources/todomvc/architecture-examples/angularjs/node_modules/todomvc-app-css/index.css -third_party/blink/perf_tests/speedometer21/resources/todomvc/architecture-examples/angularjs/node_modules/todomvc-app-css/package.json -third_party/blink/perf_tests/speedometer21/resources/todomvc/architecture-examples/angularjs/node_modules/todomvc-common/base.js -third_party/blink/perf_tests/speedometer21/resources/todomvc/architecture-examples/backbone/node_modules/backbone/backbone.js -third_party/blink/perf_tests/speedometer21/resources/todomvc/architecture-examples/backbone/node_modules/jquery/dist/jquery.js -third_party/blink/perf_tests/speedometer21/resources/todomvc/architecture-examples/backbone/node_modules/todomvc-app-css/index.css -third_party/blink/perf_tests/speedometer21/resources/todomvc/architecture-examples/backbone/node_modules/todomvc-common/base.js -third_party/blink/perf_tests/speedometer21/resources/todomvc/architecture-examples/backbone/node_modules/underscore/underscore.js -third_party/blink/perf_tests/speedometer21/resources/todomvc/architecture-examples/emberjs-debug/assets/vendor.css -third_party/blink/perf_tests/speedometer21/resources/todomvc/architecture-examples/emberjs-debug/assets/vendor.js -third_party/blink/perf_tests/speedometer21/resources/todomvc/architecture-examples/emberjs/vendor/index.css -third_party/blink/perf_tests/speedometer21/resources/todomvc/architecture-examples/inferno/node_modules/todomvc-app-css/index.css -third_party/blink/perf_tests/speedometer21/resources/todomvc/architecture-examples/inferno/node_modules/todomvc-app-css/package.json -third_party/blink/perf_tests/speedometer21/resources/todomvc/architecture-examples/inferno/node_modules/todomvc-common/base.js -third_party/blink/perf_tests/speedometer21/resources/todomvc/architecture-examples/jquery/node_modules/director/dist/director.js -third_party/blink/perf_tests/speedometer21/resources/todomvc/architecture-examples/jquery/node_modules/director/package.json -third_party/blink/perf_tests/speedometer21/resources/todomvc/architecture-examples/jquery/node_modules/jquery/dist/jquery.js -third_party/blink/perf_tests/speedometer21/resources/todomvc/architecture-examples/jquery/node_modules/todomvc-app-css/index.css -third_party/blink/perf_tests/speedometer21/resources/todomvc/architecture-examples/jquery/node_modules/todomvc-app-css/package.json -third_party/blink/perf_tests/speedometer21/resources/todomvc/architecture-examples/jquery/node_modules/todomvc-common/base.js -third_party/blink/perf_tests/speedometer21/resources/todomvc/architecture-examples/preact/dist/todomvc-common/base.js -third_party/blink/perf_tests/speedometer21/resources/todomvc/architecture-examples/preact/dist/todomvc.css -third_party/blink/perf_tests/speedometer21/resources/todomvc/architecture-examples/react/node_modules/todomvc-app-css/index.css -third_party/blink/perf_tests/speedometer21/resources/todomvc/architecture-examples/react/node_modules/todomvc-common/base.js -third_party/blink/perf_tests/speedometer21/resources/todomvc/architecture-examples/vuejs-cli/src/components/todo.css -third_party/blink/perf_tests/speedometer21/resources/todomvc/dependency-examples/flight/flight/node_modules/depot/package.json -third_party/blink/perf_tests/speedometer21/resources/todomvc/dependency-examples/flight/flight/node_modules/es5-shim/es5-sham.js -third_party/blink/perf_tests/speedometer21/resources/todomvc/dependency-examples/flight/flight/node_modules/es5-shim/es5-shim.js -third_party/blink/perf_tests/speedometer21/resources/todomvc/dependency-examples/flight/flight/node_modules/jquery/dist/jquery.js -third_party/blink/perf_tests/speedometer21/resources/todomvc/dependency-examples/flight/flight/node_modules/jquery/package.json -third_party/blink/perf_tests/speedometer21/resources/todomvc/dependency-examples/flight/flight/node_modules/requirejs-text/package.json -third_party/blink/perf_tests/speedometer21/resources/todomvc/dependency-examples/flight/flight/node_modules/requirejs-text/text.js -third_party/blink/perf_tests/speedometer21/resources/todomvc/dependency-examples/flight/flight/node_modules/requirejs/package.json -third_party/blink/perf_tests/speedometer21/resources/todomvc/dependency-examples/flight/flight/node_modules/requirejs/require.js -third_party/blink/perf_tests/speedometer21/resources/todomvc/dependency-examples/flight/flight/node_modules/todomvc-app-css/index.css -third_party/blink/perf_tests/speedometer21/resources/todomvc/dependency-examples/flight/flight/node_modules/todomvc-app-css/package.json -third_party/blink/perf_tests/speedometer21/resources/todomvc/dependency-examples/flight/flight/node_modules/todomvc-common/base.js -third_party/blink/perf_tests/speedometer21/resources/todomvc/functional-prog-examples/elm/node_modules/todomvc-app-css/index.css -third_party/blink/perf_tests/speedometer21/resources/todomvc/functional-prog-examples/elm/node_modules/todomvc-common/base.js -third_party/blink/perf_tests/speedometer21/resources/todomvc/labs/architecture-examples/react/bower_components/director/build/director.js -third_party/blink/perf_tests/speedometer21/resources/todomvc/labs/architecture-examples/react/bower_components/react/JSXTransformer.js -third_party/blink/perf_tests/speedometer21/resources/todomvc/labs/architecture-examples/react/bower_components/todomvc-common/base.js -third_party/blink/perf_tests/speedometer21/resources/todomvc/vanilla-examples/es2015-babel-webpack/src/helpers.js -third_party/blink/perf_tests/speedometer21/resources/todomvc/vanilla-examples/es2015/node_modules/todomvc-app-css/index.css -third_party/blink/perf_tests/speedometer21/resources/todomvc/vanilla-examples/es2015/node_modules/todomvc-app-css/package.json -third_party/blink/perf_tests/speedometer21/resources/todomvc/vanilla-examples/es2015/node_modules/todomvc-common/base.js -third_party/blink/perf_tests/speedometer21/resources/todomvc/vanilla-examples/es2015/src/helpers.js -third_party/blink/perf_tests/speedometer21/resources/todomvc/vanilla-examples/vanillajs/js/helpers.js -third_party/blink/perf_tests/speedometer21/resources/todomvc/vanilla-examples/vanillajs/node_modules/todomvc-app-css/index.css -third_party/blink/perf_tests/speedometer21/resources/todomvc/vanilla-examples/vanillajs/node_modules/todomvc-common/base.js -third_party/blink/perf_tests/sun_spider/tests/sunspider-0.9.1/string-base64.js -third_party/blink/perf_tests/sun_spider/tests/sunspider-0.9/string-base64.js -third_party/blink/perf_tests/sun_spider/tests/sunspider-1.0/string-base64.js third_party/blink/public/common/custom_handlers/protocol_handler_utils.h third_party/blink/public/common/frame/delegated_capability_request_token.h third_party/blink/public/common/frame/user_activation_state.h @@ -5887,6 +5562,7 @@ third_party/blink/renderer/core/css/invalidation/rule_invalidation_data_visitor. third_party/blink/renderer/core/css/invalidation/style_invalidator.h third_party/blink/renderer/core/css/parser/css_selector_parser.cc third_party/blink/renderer/core/css/parser/find_length_of_declaration_list-inl.h +third_party/blink/renderer/core/css/properties/computed_style_utils.cc third_party/blink/renderer/core/css/properties/longhands/longhands_custom.cc third_party/blink/renderer/core/css/remote_font_face_source.cc third_party/blink/renderer/core/css/resolver/style_adjuster.cc @@ -6033,6 +5709,7 @@ third_party/blink/renderer/core/html/html_collection.cc third_party/blink/renderer/core/html/html_collection.idl third_party/blink/renderer/core/html/html_document.cc third_party/blink/renderer/core/html/html_document.idl +third_party/blink/renderer/core/html/html_element.cc third_party/blink/renderer/core/html/html_element.idl third_party/blink/renderer/core/html/html_embed_element.idl third_party/blink/renderer/core/html/html_frame_element.idl @@ -6221,10 +5898,6 @@ third_party/blink/renderer/modules/encryptedmedia/encrypted_media_utils.h third_party/blink/renderer/modules/file_system_access/file_system_cloud_identifier.idl third_party/blink/renderer/modules/filesystem/dom_file_system_base_test.cc third_party/blink/renderer/modules/font_access/font_metadata.h -third_party/blink/renderer/modules/gamepad/gamepad_axis_event.idl -third_party/blink/renderer/modules/gamepad/gamepad_axis_event_init.idl -third_party/blink/renderer/modules/gamepad/gamepad_button_event.idl -third_party/blink/renderer/modules/gamepad/gamepad_button_event_init.idl third_party/blink/renderer/modules/geolocation/geolocation.cc third_party/blink/renderer/modules/geolocation/geolocation.h third_party/blink/renderer/modules/hid/hid.cc @@ -6390,6 +6063,7 @@ third_party/blink/renderer/platform/wtf/linked_hash_set.h third_party/blink/renderer/platform/wtf/stack_util.cc third_party/blink/renderer/platform/wtf/text/string_impl.h third_party/blink/renderer/platform/wtf/thread_specific.h +third_party/blink/renderer/platform/wtf/vector.h third_party/blink/renderer/platform/wtf/vector_test.cc third_party/boringssl/src/.bcr/metadata.template.json third_party/boringssl/src/CMakeLists.txt @@ -6397,7 +6071,7 @@ third_party/boringssl/src/crypto/cpu_aarch64_openbsd.c third_party/boringssl/src/crypto/dilithium/dilithium.c third_party/boringssl/src/crypto/fipsmodule/aes/internal.h third_party/boringssl/src/crypto/internal.h -third_party/boringssl/src/crypto/mldsa/mldsa.c +third_party/boringssl/src/crypto/mldsa/mldsa.cc third_party/boringssl/src/crypto/pkcs7/pkcs7_test.cc third_party/boringssl/src/crypto/pkcs8/pkcs8_x509.c third_party/boringssl/src/crypto/rand_extra/windows.c @@ -7728,6 +7402,7 @@ third_party/crossbench/crossbench/probes/performance_entries.py third_party/crossbench/crossbench/probes/profiling/browser_profiling.py third_party/crossbench/crossbench/probes/profiling/system_profiling.py third_party/crossbench/crossbench/probes/web_page_replay/recorder.py +third_party/crossbench/tests/crossbench/benchmarks/loading/config/test_login.py third_party/crossbench/tests/crossbench/benchmarks/loading/config/test_pages.py third_party/crossbench/tests/crossbench/benchmarks/loading/test_loading.py third_party/crossbench/tests/crossbench/probes/test_js.py @@ -7741,6 +7416,7 @@ third_party/dav1d/libdav1d/tools/input/parse.h third_party/dav1d/libdav1d/tools/input/section5.c third_party/dawn/.vscode/tasks.json third_party/dawn/CMakeLists.txt +third_party/dawn/generator/dawn_json_generator.py third_party/dawn/src/dawn/dawn.json third_party/dawn/src/dawn/native/CommandAllocator.cpp third_party/dawn/src/dawn/native/CopyTextureForBrowserHelper.cpp @@ -7794,6 +7470,7 @@ third_party/dawn/src/dawn/tests/white_box/SharedTextureMemoryTests_dmabuf.cpp third_party/dawn/src/dawn/tests/white_box/VulkanImageWrappingTests_DmaBuf.cpp third_party/dawn/src/dawn/utils/WindowsDebugLogger.cpp third_party/dawn/src/tint/lang/core/constant/eval_builtin_test.cc +third_party/dawn/src/tint/lang/hlsl/type/rasterizer_ordered_texture_2d.h third_party/dawn/src/tint/lang/hlsl/writer/ast_printer/ast_printer.cc third_party/dawn/src/tint/lang/hlsl/writer/printer/printer.cc third_party/dawn/src/tint/lang/spirv/reader/ast_parser/ast_parser.cc @@ -8000,11 +7677,13 @@ third_party/depot_tools/fetch_configs/skia_buildbot.py third_party/depot_tools/fetch_configs/syzygy.py third_party/depot_tools/fetch_configs/v8.py third_party/depot_tools/fetch_configs/web-workload.py +third_party/depot_tools/fetch_configs/webpagereplay.py third_party/depot_tools/fetch_configs/webrtc.py third_party/depot_tools/fetch_configs/website.py third_party/depot_tools/gclient.py third_party/depot_tools/gclient_scm.py third_party/depot_tools/gclient_utils.py +third_party/depot_tools/gerrit_client.py third_party/depot_tools/gerrit_util.py third_party/depot_tools/git_auth.py third_party/depot_tools/git_cache.py @@ -8294,23 +7973,29 @@ third_party/devtools-frontend/src/front_end/models/issues_manager/DeprecationIss third_party/devtools-frontend/src/front_end/models/issues_manager/GenericIssue.ts third_party/devtools-frontend/src/front_end/models/issues_manager/HeavyAdIssue.ts third_party/devtools-frontend/src/front_end/models/issues_manager/SharedArrayBufferIssue.ts +third_party/devtools-frontend/src/front_end/models/live-metrics/LiveMetrics.ts third_party/devtools-frontend/src/front_end/models/persistence/NetworkPersistenceManager.test.ts third_party/devtools-frontend/src/front_end/models/persistence/NetworkPersistenceManager.ts third_party/devtools-frontend/src/front_end/models/persistence/PersistenceImpl.test.ts third_party/devtools-frontend/src/front_end/models/trace/ModelImpl.test.ts +third_party/devtools-frontend/src/front_end/models/trace/extras/ThirdParties.test.ts +third_party/devtools-frontend/src/front_end/models/trace/extras/ThirdParties.ts third_party/devtools-frontend/src/front_end/models/trace/handlers/MetaHandler.test.ts third_party/devtools-frontend/src/front_end/models/trace/handlers/MetaHandler.ts third_party/devtools-frontend/src/front_end/models/trace/handlers/NetworkRequestsHandler.test.ts third_party/devtools-frontend/src/front_end/models/trace/handlers/UserInteractionsHandler.ts third_party/devtools-frontend/src/front_end/models/trace/handlers/UserTimingsHandler.ts third_party/devtools-frontend/src/front_end/models/trace/helpers/Trace.test.ts -third_party/devtools-frontend/src/front_end/models/trace/insights/CumulativeLayoutShift.ts +third_party/devtools-frontend/src/front_end/models/trace/insights/CLSCulprits.ts third_party/devtools-frontend/src/front_end/models/trace/insights/DocumentLatency.ts third_party/devtools-frontend/src/front_end/models/trace/insights/FontDisplay.test.ts +third_party/devtools-frontend/src/front_end/models/trace/insights/FontDisplay.ts third_party/devtools-frontend/src/front_end/models/trace/insights/InteractionToNextPaint.ts third_party/devtools-frontend/src/front_end/models/trace/insights/RenderBlocking.test.ts -third_party/devtools-frontend/src/front_end/models/trace/insights/ThirdPartyWeb.test.ts -third_party/devtools-frontend/src/front_end/models/trace/insights/ThirdPartyWeb.ts +third_party/devtools-frontend/src/front_end/models/trace/insights/SlowCSSSelector.ts +third_party/devtools-frontend/src/front_end/models/trace/insights/ThirdParties.test.ts +third_party/devtools-frontend/src/front_end/models/trace/insights/ThirdParties.ts +third_party/devtools-frontend/src/front_end/models/trace/insights/Viewport.ts third_party/devtools-frontend/src/front_end/models/trace/lantern/core/NetworkAnalyzer.test.ts third_party/devtools-frontend/src/front_end/models/trace/lantern/graph/NetworkNode.ts third_party/devtools-frontend/src/front_end/models/trace/lantern/graph/PageDependencyGraph.ts @@ -8340,7 +8025,6 @@ third_party/devtools-frontend/src/front_end/panels/application/preloading/compon third_party/devtools-frontend/src/front_end/panels/autofill/AutofillView.ts third_party/devtools-frontend/src/front_end/panels/console/ErrorStackParser.test.ts third_party/devtools-frontend/src/front_end/panels/css_overview/components/CSSOverviewStartView.ts -third_party/devtools-frontend/src/front_end/panels/elements/CSSRuleValidator.ts third_party/devtools-frontend/src/front_end/panels/elements/ElementStatePaneWidget.test.ts third_party/devtools-frontend/src/front_end/panels/elements/ElementStatePaneWidget.ts third_party/devtools-frontend/src/front_end/panels/elements/components/CSSPropertyDocsView.test.ts @@ -8348,8 +8032,10 @@ third_party/devtools-frontend/src/front_end/panels/emulation/DeviceModeToolbar.t third_party/devtools-frontend/src/front_end/panels/emulation/emulation-meta.ts third_party/devtools-frontend/src/front_end/panels/explain/components/ConsoleInsight.ts third_party/devtools-frontend/src/front_end/panels/freestyler/DrJonesFileAgent.ts +third_party/devtools-frontend/src/front_end/panels/freestyler/DrJonesPerformanceAgent.ts third_party/devtools-frontend/src/front_end/panels/freestyler/FreestylerPanel.ts -third_party/devtools-frontend/src/front_end/panels/freestyler/components/ProvideFeedback.ts +third_party/devtools-frontend/src/front_end/panels/freestyler/components/FreestylerChatUi.ts +third_party/devtools-frontend/src/front_end/panels/freestyler/components/UserActionRow.ts third_party/devtools-frontend/src/front_end/panels/freestyler/components/freestylerChatUi.css third_party/devtools-frontend/src/front_end/panels/issues/AffectedCookiesView.ts third_party/devtools-frontend/src/front_end/panels/issues/AffectedDirectivesView.ts @@ -8371,6 +8057,7 @@ third_party/devtools-frontend/src/front_end/panels/profiler/HeapSnapshotGridNode third_party/devtools-frontend/src/front_end/panels/recorder/RecorderController.ts third_party/devtools-frontend/src/front_end/panels/recorder/components/CreateRecordingView.ts third_party/devtools-frontend/src/front_end/panels/recorder/components/StartView.ts +third_party/devtools-frontend/src/front_end/panels/security/CookieReportView.ts third_party/devtools-frontend/src/front_end/panels/settings/AISettingsTab.ts third_party/devtools-frontend/src/front_end/panels/settings/FrameworkIgnoreListSettingsTab.ts third_party/devtools-frontend/src/front_end/panels/settings/KeybindsSettingsTab.ts @@ -8392,17 +8079,14 @@ third_party/devtools-frontend/src/front_end/panels/timeline/TimelineTreeView.tes third_party/devtools-frontend/src/front_end/panels/timeline/TimelineUIUtils.test.ts third_party/devtools-frontend/src/front_end/panels/timeline/TimingsTrackAppender.ts third_party/devtools-frontend/src/front_end/panels/timeline/components/DetailsView.ts -third_party/devtools-frontend/src/front_end/panels/timeline/components/EntryStyles.ts third_party/devtools-frontend/src/front_end/panels/timeline/components/FieldSettingsDialog.test.ts third_party/devtools-frontend/src/front_end/panels/timeline/components/FieldSettingsDialog.ts third_party/devtools-frontend/src/front_end/panels/timeline/components/LiveMetricsView.ts third_party/devtools-frontend/src/front_end/panels/timeline/components/SidebarInsightsTab.test.ts -third_party/devtools-frontend/src/front_end/panels/timeline/components/insights/FontDisplay.ts -third_party/devtools-frontend/src/front_end/panels/timeline/components/insights/SlowCSSSelector.ts -third_party/devtools-frontend/src/front_end/panels/timeline/components/insights/ThirdParties.ts -third_party/devtools-frontend/src/front_end/panels/timeline/components/insights/Viewport.ts third_party/devtools-frontend/src/front_end/panels/timeline/overlays/components/EntriesLinkOverlay.ts third_party/devtools-frontend/src/front_end/panels/timeline/track_appenders/ThreadAppender.test.ts +third_party/devtools-frontend/src/front_end/panels/timeline/utils/AICallTree.test.ts +third_party/devtools-frontend/src/front_end/panels/timeline/utils/EntryStyles.ts third_party/devtools-frontend/src/front_end/panels/timeline/utils/Helpers.test.ts third_party/devtools-frontend/src/front_end/panels/webauthn/WebauthnPane.ts third_party/devtools-frontend/src/front_end/services/tracing/PerformanceTracing.ts @@ -8634,6 +8318,7 @@ third_party/devtools-frontend/src/front_end/ui/legacy/SearchableView.ts third_party/devtools-frontend/src/front_end/ui/legacy/UIUtils.test.ts third_party/devtools-frontend/src/front_end/ui/legacy/UIUtils.ts third_party/devtools-frontend/src/front_end/ui/legacy/components/object_ui/CustomPreviewComponent.ts +third_party/devtools-frontend/src/front_end/ui/legacy/components/perf_ui/FlameChart.ts third_party/devtools-frontend/src/front_end/ui/legacy/components/utils/JSPresentationUtils.test.ts third_party/devtools-frontend/src/front_end/ui/legacy/components/utils/Linkifier.test.ts third_party/devtools-frontend/src/front_end/ui/legacy/themeColors.css @@ -8678,9 +8363,13 @@ third_party/devtools-frontend/src/node_modules/@puppeteer/browsers/src/browser-d third_party/devtools-frontend/src/node_modules/@puppeteer/browsers/src/browser-data/chromium.ts third_party/devtools-frontend/src/node_modules/@puppeteer/browsers/src/browser-data/firefox.ts third_party/devtools-frontend/src/node_modules/@puppeteer/browsers/src/install.ts -third_party/devtools-frontend/src/node_modules/@rollup/plugin-node-resolve/node_modules/@rollup/pluginutils/package.json third_party/devtools-frontend/src/node_modules/@rollup/plugin-node-resolve/package.json +third_party/devtools-frontend/src/node_modules/@rollup/plugin-terser/package.json third_party/devtools-frontend/src/node_modules/@rollup/pluginutils/package.json +third_party/devtools-frontend/src/node_modules/@rollup/wasm-node/dist/es/shared/node-entry.js +third_party/devtools-frontend/src/node_modules/@rollup/wasm-node/dist/es/shared/watch.js +third_party/devtools-frontend/src/node_modules/@rollup/wasm-node/dist/shared/index.js +third_party/devtools-frontend/src/node_modules/@rollup/wasm-node/dist/shared/rollup.js third_party/devtools-frontend/src/node_modules/@sinonjs/commons/lib/prototypes/throws-on-proto.js third_party/devtools-frontend/src/node_modules/@sinonjs/commons/types/prototypes/throws-on-proto.d.ts third_party/devtools-frontend/src/node_modules/@sinonjs/samsam/lib/create-set.js @@ -8734,6 +8423,8 @@ third_party/devtools-frontend/src/node_modules/@types/node/wasi.d.ts third_party/devtools-frontend/src/node_modules/@types/node/worker_threads.d.ts third_party/devtools-frontend/src/node_modules/@vscode/web-custom-data/data/browsers.css-data.json third_party/devtools-frontend/src/node_modules/@vscode/web-custom-data/data/browsers.html-data.json +third_party/devtools-frontend/src/node_modules/@web/rollup-plugin-import-meta-assets/node_modules/globby/package.json +third_party/devtools-frontend/src/node_modules/@web/rollup-plugin-import-meta-assets/node_modules/slash/package.json third_party/devtools-frontend/src/node_modules/acorn/dist/acorn.js third_party/devtools-frontend/src/node_modules/acorn/package.json third_party/devtools-frontend/src/node_modules/ajv/dist/ajv.bundle.js @@ -8747,8 +8438,6 @@ third_party/devtools-frontend/src/node_modules/array.prototype.flat/package.json third_party/devtools-frontend/src/node_modules/arrify/package.json third_party/devtools-frontend/src/node_modules/asap/browser-raw.js third_party/devtools-frontend/src/node_modules/astral-regex/package.json -third_party/devtools-frontend/src/node_modules/atob/bower.json -third_party/devtools-frontend/src/node_modules/atob/package.json third_party/devtools-frontend/src/node_modules/axe-core/axe.js third_party/devtools-frontend/src/node_modules/axe-core/axe.min.js third_party/devtools-frontend/src/node_modules/axobject-query/package.json @@ -8781,6 +8470,8 @@ third_party/devtools-frontend/src/node_modules/chromium-bidi/lib/cjs/bidiMapper/ third_party/devtools-frontend/src/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/storage/StorageProcessor.js third_party/devtools-frontend/src/node_modules/chromium-bidi/lib/cjs/utils/uuid.js third_party/devtools-frontend/src/node_modules/chromium-bidi/lib/iife/mapperTab.js +third_party/devtools-frontend/src/node_modules/cliui/node_modules/ansi-regex/package.json +third_party/devtools-frontend/src/node_modules/cliui/node_modules/strip-ansi/package.json third_party/devtools-frontend/src/node_modules/clone-regexp/index.d.ts third_party/devtools-frontend/src/node_modules/clone-regexp/package.json third_party/devtools-frontend/src/node_modules/clone/package.json @@ -8824,7 +8515,7 @@ third_party/devtools-frontend/src/node_modules/debug/src/browser.js third_party/devtools-frontend/src/node_modules/decamelize-keys/node_modules/map-obj/package.json third_party/devtools-frontend/src/node_modules/decamelize-keys/package.json third_party/devtools-frontend/src/node_modules/decamelize/package.json -third_party/devtools-frontend/src/node_modules/decode-uri-component/package.json +third_party/devtools-frontend/src/node_modules/define-data-property/package.json third_party/devtools-frontend/src/node_modules/degenerator/node_modules/escodegen/bin/escodegen.js third_party/devtools-frontend/src/node_modules/degenerator/node_modules/escodegen/bin/esgenerate.js third_party/devtools-frontend/src/node_modules/degenerator/node_modules/escodegen/escodegen.js @@ -8861,6 +8552,8 @@ third_party/devtools-frontend/src/node_modules/engine.io/build/transports/webtra third_party/devtools-frontend/src/node_modules/engine.io/package.json third_party/devtools-frontend/src/node_modules/error-ex/package.json third_party/devtools-frontend/src/node_modules/es-abstract/package.json +third_party/devtools-frontend/src/node_modules/es-define-property/package.json +third_party/devtools-frontend/src/node_modules/es-errors/package.json third_party/devtools-frontend/src/node_modules/es-to-primitive/package.json third_party/devtools-frontend/src/node_modules/escalade/package.json third_party/devtools-frontend/src/node_modules/escape-string-regexp/package.json @@ -8949,6 +8642,7 @@ third_party/devtools-frontend/src/node_modules/esutils/lib/keyword.js third_party/devtools-frontend/src/node_modules/esutils/lib/utils.js third_party/devtools-frontend/src/node_modules/esutils/package.json third_party/devtools-frontend/src/node_modules/execall/package.json +third_party/devtools-frontend/src/node_modules/fast-glob/out/utils/path.js third_party/devtools-frontend/src/node_modules/fast-uri/package.json third_party/devtools-frontend/src/node_modules/fast-uri/test/uri-js.test.js third_party/devtools-frontend/src/node_modules/fd-slicer/package.json @@ -8972,12 +8666,16 @@ third_party/devtools-frontend/src/node_modules/glob-parent/package.json third_party/devtools-frontend/src/node_modules/globals/package.json third_party/devtools-frontend/src/node_modules/globby/node_modules/slash/package.json third_party/devtools-frontend/src/node_modules/globby/package.json +third_party/devtools-frontend/src/node_modules/gopd/package.json third_party/devtools-frontend/src/node_modules/hard-rejection/package.json third_party/devtools-frontend/src/node_modules/has-bigints/package.json third_party/devtools-frontend/src/node_modules/has-flag/package.json +third_party/devtools-frontend/src/node_modules/has-property-descriptors/package.json +third_party/devtools-frontend/src/node_modules/has-proto/package.json third_party/devtools-frontend/src/node_modules/has-symbols/package.json third_party/devtools-frontend/src/node_modules/has-tostringtag/package.json third_party/devtools-frontend/src/node_modules/has/package.json +third_party/devtools-frontend/src/node_modules/hasown/package.json third_party/devtools-frontend/src/node_modules/html-tags/package.json third_party/devtools-frontend/src/node_modules/http-proxy/package.json third_party/devtools-frontend/src/node_modules/iconv-lite/encodings/dbcs-data.js @@ -9010,8 +8708,6 @@ third_party/devtools-frontend/src/node_modules/is-weakref/package.json third_party/devtools-frontend/src/node_modules/isbinaryfile/package.json third_party/devtools-frontend/src/node_modules/istanbul-lib-report/node_modules/has-flag/package.json third_party/devtools-frontend/src/node_modules/istanbul-lib-report/node_modules/supports-color/package.json -third_party/devtools-frontend/src/node_modules/jest-worker/node_modules/has-flag/package.json -third_party/devtools-frontend/src/node_modules/jest-worker/node_modules/supports-color/package.json third_party/devtools-frontend/src/node_modules/js-yaml/package.json third_party/devtools-frontend/src/node_modules/json5/package.json third_party/devtools-frontend/src/node_modules/jsonfile/package.json @@ -9053,6 +8749,8 @@ third_party/devtools-frontend/src/node_modules/log-symbols/node_modules/has-flag third_party/devtools-frontend/src/node_modules/log-symbols/node_modules/supports-color/package.json third_party/devtools-frontend/src/node_modules/log-symbols/package.json third_party/devtools-frontend/src/node_modules/log4js/package.json +third_party/devtools-frontend/src/node_modules/magic-string/dist/magic-string.cjs.js +third_party/devtools-frontend/src/node_modules/magic-string/dist/magic-string.umd.js third_party/devtools-frontend/src/node_modules/make-dir/package.json third_party/devtools-frontend/src/node_modules/map-obj/package.json third_party/devtools-frontend/src/node_modules/mathml-tag-names/package.json @@ -9283,13 +8981,12 @@ third_party/devtools-frontend/src/node_modules/requireindex/package.json third_party/devtools-frontend/src/node_modules/requires-port/test.js third_party/devtools-frontend/src/node_modules/resolve-from/package.json third_party/devtools-frontend/src/node_modules/resolve/lib/caller.js -third_party/devtools-frontend/src/node_modules/rollup-plugin-sourcemaps/node_modules/@rollup/pluginutils/package.json -third_party/devtools-frontend/src/node_modules/rollup-plugin-sourcemaps/package.json -third_party/devtools-frontend/src/node_modules/rollup/dist/es/shared/rollup.js +third_party/devtools-frontend/src/node_modules/rollup/dist/es/shared/node-entry.js third_party/devtools-frontend/src/node_modules/rollup/dist/es/shared/watch.js third_party/devtools-frontend/src/node_modules/rollup/dist/shared/index.js third_party/devtools-frontend/src/node_modules/rollup/dist/shared/rollup.js third_party/devtools-frontend/src/node_modules/safer-buffer/package.json +third_party/devtools-frontend/src/node_modules/set-function-length/package.json third_party/devtools-frontend/src/node_modules/shebang-command/package.json third_party/devtools-frontend/src/node_modules/shebang-regex/package.json third_party/devtools-frontend/src/node_modules/side-channel/package.json @@ -9347,6 +9044,7 @@ third_party/devtools-frontend/src/node_modules/stylelint/node_modules/ansi-regex third_party/devtools-frontend/src/node_modules/stylelint/node_modules/resolve-from/package.json third_party/devtools-frontend/src/node_modules/stylelint/node_modules/strip-ansi/package.json third_party/devtools-frontend/src/node_modules/supports-color/package.json +third_party/devtools-frontend/src/node_modules/supports-preserve-symlinks-flag/package.json third_party/devtools-frontend/src/node_modules/svg-tags/package.json third_party/devtools-frontend/src/node_modules/svgo/dist/svgo.browser.js third_party/devtools-frontend/src/node_modules/svgo/plugins/_collections.js @@ -9475,6 +9173,11 @@ third_party/devtools-frontend/src/node_modules/workerpool/dist/workerpool.js third_party/devtools-frontend/src/node_modules/workerpool/dist/workerpool.min.js.LICENSE.txt third_party/devtools-frontend/src/node_modules/workerpool/package.json third_party/devtools-frontend/src/node_modules/workerpool/src/header.js +third_party/devtools-frontend/src/node_modules/wrap-ansi/node_modules/ansi-regex/package.json +third_party/devtools-frontend/src/node_modules/wrap-ansi/node_modules/ansi-styles/package.json +third_party/devtools-frontend/src/node_modules/wrap-ansi/node_modules/color-convert/package.json +third_party/devtools-frontend/src/node_modules/wrap-ansi/node_modules/color-name/package.json +third_party/devtools-frontend/src/node_modules/wrap-ansi/node_modules/strip-ansi/package.json third_party/devtools-frontend/src/node_modules/wrap-ansi/package.json third_party/devtools-frontend/src/node_modules/ws/package.json third_party/devtools-frontend/src/node_modules/y18n/package.json @@ -9495,6 +9198,7 @@ third_party/devtools-frontend/src/test/conductor/resultsdb.ts third_party/devtools-frontend/src/test/e2e/application/reporting-api_test.ts third_party/devtools-frontend/src/test/e2e/console/console-message-format_test.ts third_party/devtools-frontend/src/test/e2e/console/console-truncate-long-messages_test.ts +third_party/devtools-frontend/src/test/e2e/issues/heavy-ad-issues_test.ts third_party/devtools-frontend/src/test/e2e/lighthouse/devtools-settings_test.ts third_party/devtools-frontend/src/test/e2e/lighthouse/navigation_test.ts third_party/devtools-frontend/src/test/e2e/lighthouse/snapshot_test.ts @@ -10548,6 +10252,7 @@ third_party/ffmpeg/libavfilter/f_ebur128.c third_party/ffmpeg/libavfilter/gradfun.h third_party/ffmpeg/libavfilter/motion_estimation.c third_party/ffmpeg/libavfilter/motion_estimation.h +third_party/ffmpeg/libavfilter/psnr.c third_party/ffmpeg/libavfilter/psnr.h third_party/ffmpeg/libavfilter/ssim.h third_party/ffmpeg/libavfilter/vf_bwdif.c @@ -11238,9 +10943,6 @@ third_party/harfbuzz-ng/src/src/hb-style.h third_party/harfbuzz-ng/src/src/hb-subset-cff-common.hh third_party/harfbuzz-ng/src/src/hb-unicode.hh third_party/harfbuzz-ng/src/src/hb.hh -third_party/harfbuzz-ng/src/test/api/hb-test.h -third_party/harfbuzz-ng/src/test/api/test-draw.c -third_party/harfbuzz-ng/src/test/api/test-ot-tag.c third_party/highway/src/.bcr/metadata.template.json third_party/highway/src/hwy/stats.h third_party/hunspell/src/hunspell/affentry.cxx @@ -11694,6 +11396,7 @@ third_party/libyuv/tools_libyuv/autoroller/unittests/roll_deps_test.py third_party/libzip/src/lib/zip_crypto_win.c third_party/libzip/src/lib/zip_extra_field.c third_party/lit/v3_0/BUILD.gn +third_party/llvm-libc/src/src/__support/macros/properties/compiler.h third_party/lottie/lottie_worker.js third_party/mako/mako/test/templates/internationalization.html third_party/material_web_components/components-chromium/node_modules/@lit/reactive-element/decorators/event-options.d.ts @@ -11819,7 +11522,6 @@ third_party/nearby/src/sharing/android/example/app/src/main/res/xml/data_extract third_party/nearby/src/sharing/contacts/nearby_share_contact_manager_impl_test.cc third_party/nearby/src/sharing/contacts/nearby_share_contacts_sorter_test.cc third_party/nearby/src/sharing/local_device_data/nearby_share_local_device_data_manager_impl_test.cc -third_party/nearby/src/sharing/nearby_share_profile_info_provider_impl_test.cc third_party/nearby/src/sharing/nearby_sharing_service.h third_party/nearby/src/sharing/text_attachment_test.cc third_party/node/node_modules/@aashutoshrathi/word-wrap/package.json @@ -11900,6 +11602,7 @@ third_party/node/node_modules/esutils/lib/keyword.js third_party/node/node_modules/esutils/lib/utils.js third_party/node/node_modules/esutils/package.json third_party/node/node_modules/fast-glob/node_modules/glob-parent/package.json +third_party/node/node_modules/fast-glob/out/utils/path.js third_party/node/node_modules/find-up/package.json third_party/node/node_modules/glob-parent/package.json third_party/node/node_modules/html-minifier/package.json @@ -12062,7 +11765,6 @@ third_party/openscreen/src/discovery/mdns/impl/mdns_probe_unittest.cc third_party/openscreen/src/discovery/mdns/impl/mdns_responder.cc third_party/openscreen/src/discovery/mdns/public/mdns_reader.cc third_party/openscreen/src/discovery/public/dns_sd_service_watcher.h -third_party/openscreen/src/osp/impl/message_demuxer.cc third_party/openscreen/src/osp/impl/quic/certificates/quic_agent_certificate.cc third_party/openscreen/src/platform/impl/tls_connection_factory_posix.cc third_party/openscreen/src/platform/impl/tls_connection_posix.cc @@ -12601,6 +12303,7 @@ third_party/pefile_py3/pefile.py third_party/perfetto/gn/standalone/BUILD.gn third_party/perfetto/gn/standalone/toolchain/msvc.gni third_party/perfetto/include/perfetto/base/build_config.h +third_party/perfetto/include/perfetto/base/thread_annotations.h third_party/perfetto/include/perfetto/ext/base/unix_socket.h third_party/perfetto/include/perfetto/protozero/proto_utils.h third_party/perfetto/include/perfetto/public/te_category_macros.h @@ -12696,8 +12399,8 @@ third_party/perfetto/ui/src/common/recordingV2/target_factories/android_websocke third_party/perfetto/ui/src/common/recordingV2/targets/android_target.ts third_party/perfetto/ui/src/controller/adb.ts third_party/perfetto/ui/src/controller/chrome_proxy_record_controller.ts +third_party/perfetto/ui/src/core/analytics_impl.ts third_party/perfetto/ui/src/core_plugins/example_traces/index.ts -third_party/perfetto/ui/src/frontend/analytics.ts third_party/perfetto/ui/src/frontend/cookie_consent.ts third_party/perfetto/ui/src/frontend/css_constants.ts third_party/perfetto/ui/src/frontend/error_dialog.ts @@ -12710,9 +12413,9 @@ third_party/perfetto/ui/src/frontend/post_message_handler.ts third_party/perfetto/ui/src/frontend/post_message_handler_unittest.ts third_party/perfetto/ui/src/frontend/record_page.ts third_party/perfetto/ui/src/frontend/sidebar.ts -third_party/perfetto/ui/src/frontend/trace_info_page.ts third_party/perfetto/ui/src/frontend/trace_url_handler.ts third_party/perfetto/ui/src/open_perfetto_trace/index.html +third_party/perfetto/ui/src/plugins/dev.perfetto.TraceInfoPage/trace_info_page.ts third_party/perfetto/ui/src/trace_processor/engine.ts third_party/perfetto/ui/src/widgets/hotkey_context.ts third_party/polymer/v3_0/BUILD.gn @@ -13497,6 +13200,7 @@ third_party/rust/PRESUBMIT.py third_party/rust/adler2/v2/BUILD.gn third_party/rust/aho_corasick/v1/BUILD.gn third_party/rust/anyhow/v1/BUILD.gn +third_party/rust/bstr/v1/BUILD.gn third_party/rust/bytemuck/v1/BUILD.gn third_party/rust/bytemuck_derive/v1/BUILD.gn third_party/rust/byteorder/v1/BUILD.gn @@ -13510,8 +13214,8 @@ third_party/rust/lazy_static/v1/BUILD.gn third_party/rust/memchr/v2/BUILD.gn third_party/rust/miniz_oxide/v0_8/BUILD.gn third_party/rust/proc_macro2/v1/BUILD.gn -third_party/rust/prost/v0_12/BUILD.gn -third_party/rust/prost_derive/v0_12/BUILD.gn +third_party/rust/prost/v0_13/BUILD.gn +third_party/rust/prost_derive/v0_13/BUILD.gn third_party/rust/qr_code/v2/BUILD.gn third_party/rust/quote/v1/BUILD.gn third_party/rust/regex/v1/BUILD.gn @@ -13572,6 +13276,7 @@ third_party/skia/demos.skia.org/demos/web_worker/worker.js third_party/skia/demos.skia.org/demos/webgpu/index.html third_party/skia/example/external_client/src/ganesh_gl.cpp third_party/skia/example/external_client/src/gl_context_helper.mm +third_party/skia/experimental/rust_png/impl/SkPngRustCodec.cpp third_party/skia/experimental/tools/pdf-comparison.py third_party/skia/fuzz/FuzzPathop.cpp third_party/skia/gm/addarc.cpp @@ -13711,6 +13416,7 @@ third_party/skia/src/gpu/ganesh/gl/GrGLGpu.cpp third_party/skia/src/gpu/ganesh/vk/GrVkCaps.cpp third_party/skia/src/gpu/graphite/Device.cpp third_party/skia/src/gpu/graphite/dawn/DawnCommandBuffer.cpp +third_party/skia/src/gpu/graphite/dawn/DawnResourceProvider.cpp third_party/skia/src/gpu/graphite/render/AnalyticRRectRenderStep.cpp third_party/skia/src/gpu/graphite/render/PerEdgeAAQuadRenderStep.cpp third_party/skia/src/gpu/tessellate/Tessellation.cpp @@ -14235,6 +13941,7 @@ third_party/vulkan-tools/src/scripts/vulkan_tools_helper_file_generator.py third_party/vulkan-tools/src/windows-runtime-installer/VulkanRT-License.txt third_party/vulkan-utility-libraries/src/scripts/gn/gn.py third_party/vulkan-validation-layers/src/layers/external/xxhash.h +third_party/vulkan-validation-layers/src/layers/gpu/debug_printf/debug_printf.cpp third_party/vulkan-validation-layers/src/scripts/android.py third_party/vulkan-validation-layers/src/scripts/gn/gn.py third_party/wayland-protocols/gtk/.gitlab-ci/pages/fonts.css @@ -14290,295 +13997,6 @@ third_party/webdriver/pylib/test/selenium/webdriver/common/example2.py third_party/webdriver/pylib/test/selenium/webdriver/common/select_class_tests.py third_party/webdriver/pylib/test/selenium/webdriver/common/typing_tests.py third_party/webdriver/pylib/test/selenium/webdriver/common/webdriverwait_tests.py -third_party/webgl/src/conformance-suites/1.0.0/conformance/more/all_tests.html -third_party/webgl/src/conformance-suites/1.0.0/conformance/more/all_tests_linkonly.html -third_party/webgl/src/conformance-suites/1.0.0/conformance/more/all_tests_sequential.html -third_party/webgl/src/conformance-suites/1.0.0/conformance/more/conformance/badArgsArityLessThanArgc.html -third_party/webgl/src/conformance-suites/1.0.0/conformance/more/conformance/constants.html -third_party/webgl/src/conformance-suites/1.0.0/conformance/more/conformance/methods.html -third_party/webgl/src/conformance-suites/1.0.0/conformance/more/functions/bindBuffer.html -third_party/webgl/src/conformance-suites/1.0.0/conformance/more/functions/bindBufferBadArgs.html -third_party/webgl/src/conformance-suites/1.0.0/conformance/more/functions/copyTexImage2D.html -third_party/webgl/src/conformance-suites/1.0.0/conformance/more/functions/copyTexImage2DBadArgs.html -third_party/webgl/src/conformance-suites/1.0.0/conformance/more/functions/copyTexSubImage2D.html -third_party/webgl/src/conformance-suites/1.0.0/conformance/more/functions/copyTexSubImage2DBadArgs.html -third_party/webgl/src/conformance-suites/1.0.0/conformance/more/functions/drawArrays.html -third_party/webgl/src/conformance-suites/1.0.0/conformance/more/functions/drawArraysOutOfBounds.html -third_party/webgl/src/conformance-suites/1.0.0/conformance/more/functions/drawElements.html -third_party/webgl/src/conformance-suites/1.0.0/conformance/more/functions/drawElementsBadArgs.html -third_party/webgl/src/conformance-suites/1.0.0/conformance/more/functions/isTests.html -third_party/webgl/src/conformance-suites/1.0.0/conformance/more/functions/readPixels.html -third_party/webgl/src/conformance-suites/1.0.0/conformance/more/functions/readPixelsBadArgs.html -third_party/webgl/src/conformance-suites/1.0.0/conformance/more/functions/texImage2D.html -third_party/webgl/src/conformance-suites/1.0.0/conformance/more/functions/texImage2DBadArgs.html -third_party/webgl/src/conformance-suites/1.0.0/conformance/more/functions/texImage2DHTML.html -third_party/webgl/src/conformance-suites/1.0.0/conformance/more/functions/texSubImage2D.html -third_party/webgl/src/conformance-suites/1.0.0/conformance/more/functions/texSubImage2DBadArgs.html -third_party/webgl/src/conformance-suites/1.0.0/conformance/more/functions/texSubImage2DHTML.html -third_party/webgl/src/conformance-suites/1.0.0/conformance/more/functions/vertexAttrib.html -third_party/webgl/src/conformance-suites/1.0.0/conformance/more/functions/vertexAttribBadArgs.html -third_party/webgl/src/conformance-suites/1.0.0/conformance/more/functions/vertexAttribPointer.html -third_party/webgl/src/conformance-suites/1.0.0/conformance/more/functions/vertexAttribPointerBadArgs.html -third_party/webgl/src/conformance-suites/1.0.0/conformance/more/glsl/arrayOutOfBounds.html -third_party/webgl/src/conformance-suites/1.0.0/conformance/more/glsl/longLoops.html -third_party/webgl/src/conformance-suites/1.0.0/conformance/more/glsl/uniformOutOfBounds.html -third_party/webgl/src/conformance-suites/1.0.0/conformance/more/glsl/unusedAttribsUniforms.html -third_party/webgl/src/conformance-suites/1.0.0/conformance/more/index.html -third_party/webgl/src/conformance-suites/1.0.0/conformance/more/performance/CPUvsGPU.html -third_party/webgl/src/conformance-suites/1.0.0/conformance/more/performance/bandwidth.html -third_party/webgl/src/conformance-suites/1.0.0/conformance/more/unit.css -third_party/webgl/src/conformance-suites/1.0.0/conformance/more/unit.js -third_party/webgl/src/conformance-suites/1.0.0/conformance/more/util.js -third_party/webgl/src/conformance-suites/1.0.1/conformance/more/all_tests.html -third_party/webgl/src/conformance-suites/1.0.1/conformance/more/all_tests_linkonly.html -third_party/webgl/src/conformance-suites/1.0.1/conformance/more/all_tests_sequential.html -third_party/webgl/src/conformance-suites/1.0.1/conformance/more/conformance/badArgsArityLessThanArgc.html -third_party/webgl/src/conformance-suites/1.0.1/conformance/more/conformance/constants.html -third_party/webgl/src/conformance-suites/1.0.1/conformance/more/conformance/methods.html -third_party/webgl/src/conformance-suites/1.0.1/conformance/more/functions/bindBuffer.html -third_party/webgl/src/conformance-suites/1.0.1/conformance/more/functions/bindBufferBadArgs.html -third_party/webgl/src/conformance-suites/1.0.1/conformance/more/functions/copyTexImage2D.html -third_party/webgl/src/conformance-suites/1.0.1/conformance/more/functions/copyTexImage2DBadArgs.html -third_party/webgl/src/conformance-suites/1.0.1/conformance/more/functions/copyTexSubImage2D.html -third_party/webgl/src/conformance-suites/1.0.1/conformance/more/functions/copyTexSubImage2DBadArgs.html -third_party/webgl/src/conformance-suites/1.0.1/conformance/more/functions/drawArrays.html -third_party/webgl/src/conformance-suites/1.0.1/conformance/more/functions/drawArraysOutOfBounds.html -third_party/webgl/src/conformance-suites/1.0.1/conformance/more/functions/drawElements.html -third_party/webgl/src/conformance-suites/1.0.1/conformance/more/functions/drawElementsBadArgs.html -third_party/webgl/src/conformance-suites/1.0.1/conformance/more/functions/isTests.html -third_party/webgl/src/conformance-suites/1.0.1/conformance/more/functions/readPixels.html -third_party/webgl/src/conformance-suites/1.0.1/conformance/more/functions/readPixelsBadArgs.html -third_party/webgl/src/conformance-suites/1.0.1/conformance/more/functions/texImage2D.html -third_party/webgl/src/conformance-suites/1.0.1/conformance/more/functions/texImage2DBadArgs.html -third_party/webgl/src/conformance-suites/1.0.1/conformance/more/functions/texImage2DHTML.html -third_party/webgl/src/conformance-suites/1.0.1/conformance/more/functions/texSubImage2D.html -third_party/webgl/src/conformance-suites/1.0.1/conformance/more/functions/texSubImage2DBadArgs.html -third_party/webgl/src/conformance-suites/1.0.1/conformance/more/functions/texSubImage2DHTML.html -third_party/webgl/src/conformance-suites/1.0.1/conformance/more/functions/vertexAttrib.html -third_party/webgl/src/conformance-suites/1.0.1/conformance/more/functions/vertexAttribBadArgs.html -third_party/webgl/src/conformance-suites/1.0.1/conformance/more/functions/vertexAttribPointer.html -third_party/webgl/src/conformance-suites/1.0.1/conformance/more/functions/vertexAttribPointerBadArgs.html -third_party/webgl/src/conformance-suites/1.0.1/conformance/more/glsl/arrayOutOfBounds.html -third_party/webgl/src/conformance-suites/1.0.1/conformance/more/glsl/longLoops.html -third_party/webgl/src/conformance-suites/1.0.1/conformance/more/glsl/uniformOutOfBounds.html -third_party/webgl/src/conformance-suites/1.0.1/conformance/more/glsl/unusedAttribsUniforms.html -third_party/webgl/src/conformance-suites/1.0.1/conformance/more/index.html -third_party/webgl/src/conformance-suites/1.0.1/conformance/more/performance/CPUvsGPU.html -third_party/webgl/src/conformance-suites/1.0.1/conformance/more/performance/bandwidth.html -third_party/webgl/src/conformance-suites/1.0.1/conformance/more/unit.css -third_party/webgl/src/conformance-suites/1.0.1/conformance/more/unit.js -third_party/webgl/src/conformance-suites/1.0.1/conformance/more/util.js -third_party/webgl/src/conformance-suites/1.0.1/conformance/resources/webgl-test-utils.js -third_party/webgl/src/conformance-suites/1.0.1/resources/webgl-test-harness.js -third_party/webgl/src/conformance-suites/1.0.2/conformance/extensions/ext-texture-filter-anisotropic.html -third_party/webgl/src/conformance-suites/1.0.2/conformance/more/index.html -third_party/webgl/src/conformance-suites/1.0.2/conformance/more/unit.css -third_party/webgl/src/conformance-suites/1.0.2/conformance/resources/webgl-test-utils.js -third_party/webgl/src/conformance-suites/1.0.2/resources/webgl-test-harness.js -third_party/webgl/src/conformance-suites/1.0.3/conformance/extensions/angle-instanced-arrays.html -third_party/webgl/src/conformance-suites/1.0.3/conformance/extensions/ext-texture-filter-anisotropic.html -third_party/webgl/src/conformance-suites/1.0.3/conformance/glsl/bugs/conditional-discard-in-loop.html -third_party/webgl/src/conformance-suites/1.0.3/conformance/glsl/bugs/conditional-discard-optimization.html -third_party/webgl/src/conformance-suites/1.0.3/conformance/glsl/bugs/floored-division-accuracy.html -third_party/webgl/src/conformance-suites/1.0.3/conformance/glsl/bugs/modulo-arithmetic-accuracy.html -third_party/webgl/src/conformance-suites/1.0.3/conformance/glsl/bugs/multiplication-assignment.html -third_party/webgl/src/conformance-suites/1.0.3/conformance/more/index.html -third_party/webgl/src/conformance-suites/1.0.3/conformance/more/unit.css -third_party/webgl/src/conformance-suites/1.0.3/conformance/rendering/multisample-corruption.html -third_party/webgl/src/conformance-suites/1.0.3/conformance/resources/webgl-test-utils.js -third_party/webgl/src/conformance-suites/1.0.3/conformance/textures/texture-fakeblack.html -third_party/webgl/src/conformance-suites/1.0.3/resources/cookies.js -third_party/webgl/src/conformance-suites/1.0.3/resources/webgl-test-harness.js -third_party/webgl/src/conformance-suites/2.0.0/closure-library/README-Khronos.txt -third_party/webgl/src/conformance-suites/2.0.0/closure-library/closure/bin/build/closurebuilder.py -third_party/webgl/src/conformance-suites/2.0.0/closure-library/closure/bin/build/depstree.py -third_party/webgl/src/conformance-suites/2.0.0/closure-library/closure/bin/build/depswriter.py -third_party/webgl/src/conformance-suites/2.0.0/closure-library/closure/bin/build/jscompiler.py -third_party/webgl/src/conformance-suites/2.0.0/closure-library/closure/bin/build/source.py -third_party/webgl/src/conformance-suites/2.0.0/closure-library/closure/bin/build/treescan.py -third_party/webgl/src/conformance-suites/2.0.0/closure-library/closure/bin/scopify.py -third_party/webgl/src/conformance-suites/2.0.0/closure-library/closure/goog/base.js -third_party/webgl/src/conformance-suites/2.0.0/conformance/attribs/gl-bindAttribLocation-repeated.html -third_party/webgl/src/conformance-suites/2.0.0/conformance/extensions/angle-instanced-arrays.html -third_party/webgl/src/conformance-suites/2.0.0/conformance/extensions/ext-texture-filter-anisotropic.html -third_party/webgl/src/conformance-suites/2.0.0/conformance/glsl/bugs/conditional-discard-in-loop.html -third_party/webgl/src/conformance-suites/2.0.0/conformance/glsl/bugs/conditional-discard-optimization.html -third_party/webgl/src/conformance-suites/2.0.0/conformance/glsl/bugs/floor-div-cos-should-not-truncate.html -third_party/webgl/src/conformance-suites/2.0.0/conformance/glsl/bugs/floored-division-accuracy.html -third_party/webgl/src/conformance-suites/2.0.0/conformance/glsl/bugs/loop-if-loop-gradient.html -third_party/webgl/src/conformance-suites/2.0.0/conformance/glsl/bugs/modulo-arithmetic-accuracy.html -third_party/webgl/src/conformance-suites/2.0.0/conformance/glsl/bugs/multiplication-assignment.html -third_party/webgl/src/conformance-suites/2.0.0/conformance/glsl/bugs/qualcomm-crash.html -third_party/webgl/src/conformance-suites/2.0.0/conformance/glsl/bugs/qualcomm-loop-with-continue-crash.html -third_party/webgl/src/conformance-suites/2.0.0/conformance/glsl/bugs/sketchfab-lighting-shader-crash.html -third_party/webgl/src/conformance-suites/2.0.0/conformance/more/index.html -third_party/webgl/src/conformance-suites/2.0.0/conformance/more/unit.css -third_party/webgl/src/conformance-suites/2.0.0/conformance/rendering/multisample-corruption.html -third_party/webgl/src/conformance-suites/2.0.0/conformance/textures/misc/texture-cube-as-fbo-attachment.html -third_party/webgl/src/conformance-suites/2.0.0/conformance/textures/misc/texture-fakeblack.html -third_party/webgl/src/conformance-suites/2.0.0/conformance2/misc/getextension-while-pbo-bound-stability.html -third_party/webgl/src/conformance-suites/2.0.0/conformance2/rendering/canvas-resizing-with-pbo-bound.html -third_party/webgl/src/conformance-suites/2.0.0/conformance2/textures/misc/tex-image-with-bad-args.html -third_party/webgl/src/conformance-suites/2.0.0/deqp/framework/common/tcuSkipList.js -third_party/webgl/src/conformance-suites/2.0.0/deqp/temp_externs/chrome.js -third_party/webgl/src/conformance-suites/2.0.0/deqp/temp_externs/es3.js -third_party/webgl/src/conformance-suites/2.0.0/deqp/temp_externs/es5.js -third_party/webgl/src/conformance-suites/2.0.0/deqp/temp_externs/es6.js -third_party/webgl/src/conformance-suites/2.0.0/deqp/temp_externs/es6_collections.js -third_party/webgl/src/conformance-suites/2.0.0/deqp/temp_externs/fileapi.js -third_party/webgl/src/conformance-suites/2.0.0/deqp/temp_externs/gecko_css.js -third_party/webgl/src/conformance-suites/2.0.0/deqp/temp_externs/gecko_dom.js -third_party/webgl/src/conformance-suites/2.0.0/deqp/temp_externs/google.js -third_party/webgl/src/conformance-suites/2.0.0/deqp/temp_externs/html5.js -third_party/webgl/src/conformance-suites/2.0.0/deqp/temp_externs/ie_css.js -third_party/webgl/src/conformance-suites/2.0.0/deqp/temp_externs/ie_dom.js -third_party/webgl/src/conformance-suites/2.0.0/deqp/temp_externs/ie_event.js -third_party/webgl/src/conformance-suites/2.0.0/deqp/temp_externs/ie_vml.js -third_party/webgl/src/conformance-suites/2.0.0/deqp/temp_externs/iphone.js -third_party/webgl/src/conformance-suites/2.0.0/deqp/temp_externs/w3c_css.js -third_party/webgl/src/conformance-suites/2.0.0/deqp/temp_externs/w3c_css3d.js -third_party/webgl/src/conformance-suites/2.0.0/deqp/temp_externs/w3c_dom1.js -third_party/webgl/src/conformance-suites/2.0.0/deqp/temp_externs/w3c_dom2.js -third_party/webgl/src/conformance-suites/2.0.0/deqp/temp_externs/w3c_dom3.js -third_party/webgl/src/conformance-suites/2.0.0/deqp/temp_externs/w3c_elementtraversal.js -third_party/webgl/src/conformance-suites/2.0.0/deqp/temp_externs/w3c_range.js -third_party/webgl/src/conformance-suites/2.0.0/deqp/temp_externs/w3c_rtc.js -third_party/webgl/src/conformance-suites/2.0.0/deqp/temp_externs/w3c_selectors.js -third_party/webgl/src/conformance-suites/2.0.0/deqp/temp_externs/w3c_xml.js -third_party/webgl/src/conformance-suites/2.0.0/deqp/temp_externs/webkit_css.js -third_party/webgl/src/conformance-suites/2.0.0/deqp/temp_externs/webkit_dom.js -third_party/webgl/src/conformance-suites/2.0.0/deqp/temp_externs/window.js -third_party/webgl/src/conformance-suites/2.0.0/js/webgl-test-harness.js -third_party/webgl/src/conformance-suites/2.0.0/js/webgl-test-utils.js -third_party/webgl/src/extensions/EXT_blend_minmax/extension.xml -third_party/webgl/src/extensions/EXT_disjoint_timer_query/extension.xml -third_party/webgl/src/extensions/EXT_disjoint_timer_query_webgl2/extension.xml -third_party/webgl/src/extensions/EXT_frag_depth/extension.xml -third_party/webgl/src/extensions/EXT_sRGB/extension.xml -third_party/webgl/src/extensions/EXT_shader_texture_lod/extension.xml -third_party/webgl/src/extensions/EXT_texture_filter_anisotropic/extension.xml -third_party/webgl/src/extensions/KHR_parallel_shader_compile/extension.xml -third_party/webgl/src/extensions/OES_element_index_uint/extension.xml -third_party/webgl/src/extensions/OES_fbo_render_mipmap/extension.xml -third_party/webgl/src/extensions/WEBGL_clip_cull_distance/extension.xml -third_party/webgl/src/extensions/WEBGL_debug_renderer_info/extension.xml -third_party/webgl/src/extensions/WEBGL_debug_shaders/extension.xml -third_party/webgl/src/extensions/WEBGL_depth_texture/extension.xml -third_party/webgl/src/extensions/WEBGL_draw_instanced_base_vertex_base_instance/extension.xml -third_party/webgl/src/extensions/WEBGL_lose_context/extension.xml -third_party/webgl/src/extensions/WEBGL_multi_draw/extension.xml -third_party/webgl/src/extensions/WEBGL_multi_draw_instanced_base_vertex_base_instance/extension.xml -third_party/webgl/src/extensions/WEBGL_polygon_mode/extension.xml -third_party/webgl/src/extensions/WEBGL_provoking_vertex/extension.xml -third_party/webgl/src/extensions/WEBGL_shader_pixel_local_storage/extension.xml -third_party/webgl/src/extensions/WEBGL_stencil_texturing/extension.xml -third_party/webgl/src/extensions/proposals/WEBGL_webcodecs_video_frame/extension.xml -third_party/webgl/src/extensions/rejected/OES_depth24/extension.xml -third_party/webgl/src/extensions/rejected/WEBGL_security_sensitive_resources/extension.xml -third_party/webgl/src/extensions/rejected/WEBGL_texture_source_iframe/extension.xml -third_party/webgl/src/other/get.webgl.org/get-a-webgl-implementation/index.html -third_party/webgl/src/other/get.webgl.org/stage.html -third_party/webgl/src/other/get.webgl.org/troubleshooting/DoNotCopyOrLinkThisFileElseYouWillNotGetAutoUpdatedHelpForYourUsers.js -third_party/webgl/src/other/get.webgl.org/webgl2/troubleshooting/DoNotCopyOrLinkThisFileElseYouWillNotGetAutoUpdatedHelpForYourUsers.js -third_party/webgl/src/other/test-runner/android/PortForwarderService/proguard-project.txt -third_party/webgl/src/other/test-runner/package.json -third_party/webgl/src/resources/html5lib-1.1/src/html5lib/tests/test_parser2.py -third_party/webgl/src/resources/html5lib/src/html5lib/serializer/htmlserializer.py -third_party/webgl/src/resources/html5lib/src/html5lib/tests/test_parser2.py -third_party/webgl/src/sdk/demos/google/particles/index.html -third_party/webgl/src/sdk/demos/google/resources/o3djs/base.js -third_party/webgl/src/sdk/demos/google/resources/o3djs/event.js -third_party/webgl/src/sdk/demos/google/san-angeles/box/box.html -third_party/webgl/src/sdk/demos/google/shiny-teapot/index.html -third_party/webgl/src/sdk/demos/google/web-workers-typed-arrays/capabilities.js -third_party/webgl/src/sdk/demos/google/web-workers-typed-arrays/demo-multicore.js -third_party/webgl/src/sdk/demos/intel/ComputeBoids.html -third_party/webgl/src/sdk/tests/closure-library/README-Khronos.txt -third_party/webgl/src/sdk/tests/closure-library/closure/bin/build/closurebuilder.py -third_party/webgl/src/sdk/tests/closure-library/closure/bin/build/depstree.py -third_party/webgl/src/sdk/tests/closure-library/closure/bin/build/depswriter.py -third_party/webgl/src/sdk/tests/closure-library/closure/bin/build/jscompiler.py -third_party/webgl/src/sdk/tests/closure-library/closure/bin/build/source.py -third_party/webgl/src/sdk/tests/closure-library/closure/bin/build/treescan.py -third_party/webgl/src/sdk/tests/closure-library/closure/bin/scopify.py -third_party/webgl/src/sdk/tests/closure-library/closure/goog/base.js -third_party/webgl/src/sdk/tests/conformance/attribs/gl-bindAttribLocation-repeated.html -third_party/webgl/src/sdk/tests/conformance/buffers/buffer-data-and-buffer-sub-data.html -third_party/webgl/src/sdk/tests/conformance/extensions/angle-instanced-arrays.html -third_party/webgl/src/sdk/tests/conformance/glsl/bugs/conditional-discard-in-loop.html -third_party/webgl/src/sdk/tests/conformance/glsl/bugs/conditional-discard-optimization.html -third_party/webgl/src/sdk/tests/conformance/glsl/bugs/floor-div-cos-should-not-truncate.html -third_party/webgl/src/sdk/tests/conformance/glsl/bugs/floored-division-accuracy.html -third_party/webgl/src/sdk/tests/conformance/glsl/bugs/loop-if-loop-gradient.html -third_party/webgl/src/sdk/tests/conformance/glsl/bugs/modulo-arithmetic-accuracy.html -third_party/webgl/src/sdk/tests/conformance/glsl/bugs/multiplication-assignment.html -third_party/webgl/src/sdk/tests/conformance/glsl/bugs/qualcomm-crash.html -third_party/webgl/src/sdk/tests/conformance/glsl/bugs/qualcomm-loop-with-continue-crash.html -third_party/webgl/src/sdk/tests/conformance/glsl/bugs/sketchfab-lighting-shader-crash.html -third_party/webgl/src/sdk/tests/conformance/glsl/bugs/struct-with-single-member-constructor.html -third_party/webgl/src/sdk/tests/conformance/glsl/bugs/unary-minus-operator-float-bug.html -third_party/webgl/src/sdk/tests/conformance/glsl/misc/sampler-operand.html -third_party/webgl/src/sdk/tests/conformance/more/index.html -third_party/webgl/src/sdk/tests/conformance/more/unit.css -third_party/webgl/src/sdk/tests/conformance/rendering/multisample-corruption.html -third_party/webgl/src/sdk/tests/conformance/rendering/preservedrawingbuffer-leak.html -third_party/webgl/src/sdk/tests/conformance/rendering/scissor-rect-repeated-rendering.html -third_party/webgl/src/sdk/tests/conformance/state/fb-attach-implicit-target-assignment.html -third_party/webgl/src/sdk/tests/conformance/textures/misc/texture-cube-as-fbo-attachment.html -third_party/webgl/src/sdk/tests/conformance/textures/misc/texture-fakeblack.html -third_party/webgl/src/sdk/tests/conformance2/buffers/uniform-buffers.html -third_party/webgl/src/sdk/tests/conformance2/context/context-sharing-texture2darray-texture3d-data-bug.html -third_party/webgl/src/sdk/tests/conformance2/misc/getextension-while-pbo-bound-stability.html -third_party/webgl/src/sdk/tests/conformance2/query/query.html -third_party/webgl/src/sdk/tests/conformance2/renderbuffers/framebuffer-object-attachment.html -third_party/webgl/src/sdk/tests/conformance2/rendering/canvas-resizing-with-pbo-bound.html -third_party/webgl/src/sdk/tests/conformance2/rendering/framebuffer-render-to-layer-angle-issue.html -third_party/webgl/src/sdk/tests/conformance2/textures/misc/canvas-remains-unchanged-after-used-in-webgl-texture.html -third_party/webgl/src/sdk/tests/conformance2/textures/misc/copy-texture-cube-map-AMD-bug.html -third_party/webgl/src/sdk/tests/conformance2/textures/misc/copy-texture-cube-map-bug.html -third_party/webgl/src/sdk/tests/conformance2/textures/misc/copy-texture-image-same-texture.html -third_party/webgl/src/sdk/tests/conformance2/textures/misc/tex-image-with-bad-args.html -third_party/webgl/src/sdk/tests/conformance2/textures/misc/tex-subimage3d-canvas-bug.html -third_party/webgl/src/sdk/tests/conformance2/textures/misc/tex-subimage3d-pixel-buffer-bug.html -third_party/webgl/src/sdk/tests/conformance2/uniforms/dependent-buffer-change.html -third_party/webgl/src/sdk/tests/conformance2/uniforms/draw-with-uniform-blocks.html -third_party/webgl/src/sdk/tests/conformance2/uniforms/large-uniform-buffers.html -third_party/webgl/src/sdk/tests/conformance2/uniforms/simple-buffer-change.html -third_party/webgl/src/sdk/tests/deqp/framework/common/tcuSkipList.js -third_party/webgl/src/sdk/tests/deqp/temp_externs/chrome.js -third_party/webgl/src/sdk/tests/deqp/temp_externs/es3.js -third_party/webgl/src/sdk/tests/deqp/temp_externs/es5.js -third_party/webgl/src/sdk/tests/deqp/temp_externs/es6.js -third_party/webgl/src/sdk/tests/deqp/temp_externs/es6_collections.js -third_party/webgl/src/sdk/tests/deqp/temp_externs/fileapi.js -third_party/webgl/src/sdk/tests/deqp/temp_externs/gecko_css.js -third_party/webgl/src/sdk/tests/deqp/temp_externs/gecko_dom.js -third_party/webgl/src/sdk/tests/deqp/temp_externs/google.js -third_party/webgl/src/sdk/tests/deqp/temp_externs/html5.js -third_party/webgl/src/sdk/tests/deqp/temp_externs/ie_css.js -third_party/webgl/src/sdk/tests/deqp/temp_externs/ie_dom.js -third_party/webgl/src/sdk/tests/deqp/temp_externs/ie_event.js -third_party/webgl/src/sdk/tests/deqp/temp_externs/ie_vml.js -third_party/webgl/src/sdk/tests/deqp/temp_externs/iphone.js -third_party/webgl/src/sdk/tests/deqp/temp_externs/w3c_css.js -third_party/webgl/src/sdk/tests/deqp/temp_externs/w3c_css3d.js -third_party/webgl/src/sdk/tests/deqp/temp_externs/w3c_dom1.js -third_party/webgl/src/sdk/tests/deqp/temp_externs/w3c_dom2.js -third_party/webgl/src/sdk/tests/deqp/temp_externs/w3c_dom3.js -third_party/webgl/src/sdk/tests/deqp/temp_externs/w3c_elementtraversal.js -third_party/webgl/src/sdk/tests/deqp/temp_externs/w3c_range.js -third_party/webgl/src/sdk/tests/deqp/temp_externs/w3c_rtc.js -third_party/webgl/src/sdk/tests/deqp/temp_externs/w3c_selectors.js -third_party/webgl/src/sdk/tests/deqp/temp_externs/w3c_xml.js -third_party/webgl/src/sdk/tests/deqp/temp_externs/webkit_css.js -third_party/webgl/src/sdk/tests/deqp/temp_externs/webkit_dom.js -third_party/webgl/src/sdk/tests/deqp/temp_externs/window.js -third_party/webgl/src/sdk/tests/extra/workload-simulator.html -third_party/webgl/src/sdk/tests/js/webgl-test-harness.js -third_party/webgl/src/sdk/tests/js/webgl-test-utils.js -third_party/webgl/src/specs/2.0.0/index.html -third_party/webgl/src/specs/latest/1.0/index.html -third_party/webgl/src/specs/latest/2.0/index.html third_party/webgpu-cts/src/src/webgpu/api/operation/command_buffer/queries/occlusionQuery.spec.ts third_party/webgpu-cts/src/src/webgpu/api/operation/render_pipeline/sample_mask.spec.ts third_party/webgpu-cts/src/src/webgpu/api/operation/rendering/depth_bias.spec.ts @@ -14884,7 +14302,6 @@ tools/android/memtrack_helper/memtrack_helper.c tools/android/modularization/convenience/touch_resources.py tools/android/native_lib_memory/PRESUBMIT.py tools/android/python_utils/PRESUBMIT.py -tools/android/sdk_updater/update_sdk.py tools/android/test_health/PRESUBMIT.py tools/android/tracing/systrace-extract-startup.py tools/binary_size/PRESUBMIT.py @@ -15277,6 +14694,7 @@ tools/metrics/histograms/metadata/scanning/enums.xml tools/metrics/histograms/metadata/scanning/histograms.xml tools/metrics/histograms/metadata/scheduler/enums.xml tools/metrics/histograms/metadata/scheduler/histograms.xml +tools/metrics/histograms/metadata/search/enums.xml tools/metrics/histograms/metadata/search/histograms.xml tools/metrics/histograms/metadata/security/enums.xml tools/metrics/histograms/metadata/security/histograms.xml @@ -15293,7 +14711,6 @@ tools/metrics/histograms/metadata/sharing/enums.xml tools/metrics/histograms/metadata/sharing/histograms.xml tools/metrics/histograms/metadata/shortcuts/enums.xml tools/metrics/histograms/metadata/shortcuts/histograms.xml -tools/metrics/histograms/metadata/side_search/histograms.xml tools/metrics/histograms/metadata/signin/enums.xml tools/metrics/histograms/metadata/signin/histograms.xml tools/metrics/histograms/metadata/simple/histograms.xml @@ -15311,6 +14728,8 @@ tools/metrics/histograms/metadata/sync/histograms.xml tools/metrics/histograms/metadata/system/histograms.xml tools/metrics/histograms/metadata/tab/enums.xml tools/metrics/histograms/metadata/tab/histograms.xml +tools/metrics/histograms/metadata/task_manager/enums.xml +tools/metrics/histograms/metadata/task_manager/histograms.xml tools/metrics/histograms/metadata/toasts/enums.xml tools/metrics/histograms/metadata/toasts/histograms.xml tools/metrics/histograms/metadata/translate/enums.xml @@ -15345,6 +14764,7 @@ tools/metrics/histograms/metadata/webapps/enums.xml tools/metrics/histograms/metadata/webapps/histograms.xml tools/metrics/histograms/metadata/webauthn/enums.xml tools/metrics/histograms/metadata/webauthn/histograms.xml +tools/metrics/histograms/metadata/webnn/enums.xml tools/metrics/histograms/metadata/webnn/histograms.xml tools/metrics/histograms/metadata/windows/enums.xml tools/metrics/histograms/metadata/windows/histograms.xml @@ -15437,6 +14857,7 @@ tools/perf/core/services/pinpoint_service.py tools/perf/core/services/request.py tools/perf/core/shard_maps/timing_data/android-pixel-tangor-perf_timing.json tools/perf/core/shard_maps/timing_data/android-pixel4-perf_timing.json +tools/perf/core/shard_maps/timing_data/android-pixel4_webview-perf-pgo_timing.json tools/perf/core/shard_maps/timing_data/android-pixel4_webview-perf_timing.json tools/perf/core/shard_maps/timing_data/android-pixel6-perf_timing.json tools/perf/core/shard_maps/timing_data/android-pixel6-pro-perf_timing.json @@ -15508,114 +14929,6 @@ tools/perf/page_sets/tough_animation_cases/mix_blend_mode_propagating_isolation. tools/perf/page_sets/v8_top_25.py tools/perf/page_sets/webrtc_cases/codec_constraints.html tools/perf/process_perf_results.py -tools/perf/testdata/task_output_dir/0/blink_perf.image_decoder.reference/benchmark_log.txt -tools/perf/testdata/task_output_dir/0/blink_perf.image_decoder.reference/perf_results.json -tools/perf/testdata/task_output_dir/0/blink_perf.image_decoder.reference/test_results.json -tools/perf/testdata/task_output_dir/0/blink_perf.image_decoder/benchmark_log.txt -tools/perf/testdata/task_output_dir/0/blink_perf.image_decoder/perf_results.json -tools/perf/testdata/task_output_dir/0/blink_perf.image_decoder/test_results.json -tools/perf/testdata/task_output_dir/0/blink_perf.owp_storage.reference/benchmark_log.txt -tools/perf/testdata/task_output_dir/0/blink_perf.owp_storage.reference/perf_results.json -tools/perf/testdata/task_output_dir/0/blink_perf.owp_storage.reference/test_results.json -tools/perf/testdata/task_output_dir/0/blink_perf.owp_storage/benchmark_log.txt -tools/perf/testdata/task_output_dir/0/blink_perf.owp_storage/perf_results.json -tools/perf/testdata/task_output_dir/0/blink_perf.owp_storage/test_results.json -tools/perf/testdata/task_output_dir/0/memory.desktop.reference/benchmark_log.txt -tools/perf/testdata/task_output_dir/0/memory.desktop.reference/perf_results.json -tools/perf/testdata/task_output_dir/0/memory.desktop.reference/test_results.json -tools/perf/testdata/task_output_dir/0/memory.desktop/benchmark_log.txt -tools/perf/testdata/task_output_dir/0/memory.desktop/perf_results.json -tools/perf/testdata/task_output_dir/0/memory.desktop/test_results.json -tools/perf/testdata/task_output_dir/0/power.desktop.reference/benchmark_log.txt -tools/perf/testdata/task_output_dir/0/power.desktop.reference/perf_results.json -tools/perf/testdata/task_output_dir/0/power.desktop.reference/test_results.json -tools/perf/testdata/task_output_dir/0/power.desktop/benchmark_log.txt -tools/perf/testdata/task_output_dir/0/power.desktop/perf_results.json -tools/perf/testdata/task_output_dir/0/power.desktop/test_results.json -tools/perf/testdata/task_output_dir/0/speedometer-future.reference/benchmark_log.txt -tools/perf/testdata/task_output_dir/0/speedometer-future.reference/perf_results.json -tools/perf/testdata/task_output_dir/0/speedometer-future.reference/test_results.json -tools/perf/testdata/task_output_dir/0/speedometer-future/benchmark_log.txt -tools/perf/testdata/task_output_dir/0/speedometer-future/perf_results.json -tools/perf/testdata/task_output_dir/0/speedometer-future/test_results.json -tools/perf/testdata/task_output_dir/1/dummy_benchmark.histogram_benchmark_1.reference/benchmark_log.txt -tools/perf/testdata/task_output_dir/1/dummy_benchmark.histogram_benchmark_1.reference/perf_results.json -tools/perf/testdata/task_output_dir/1/dummy_benchmark.histogram_benchmark_1.reference/test_results.json -tools/perf/testdata/task_output_dir/1/dummy_benchmark.histogram_benchmark_1/benchmark_log.txt -tools/perf/testdata/task_output_dir/1/dummy_benchmark.histogram_benchmark_1/perf_results.json -tools/perf/testdata/task_output_dir/1/dummy_benchmark.histogram_benchmark_1/test_results.json -tools/perf/testdata/task_output_dir/1/memory.desktop.reference/benchmark_log.txt -tools/perf/testdata/task_output_dir/1/memory.desktop.reference/perf_results.json -tools/perf/testdata/task_output_dir/1/memory.desktop.reference/test_results.json -tools/perf/testdata/task_output_dir/1/memory.desktop/benchmark_log.txt -tools/perf/testdata/task_output_dir/1/memory.desktop/perf_results.json -tools/perf/testdata/task_output_dir/1/memory.desktop/test_results.json -tools/perf/testdata/task_output_dir/1/speedometer.reference/benchmark_log.txt -tools/perf/testdata/task_output_dir/1/speedometer.reference/perf_results.json -tools/perf/testdata/task_output_dir/1/speedometer.reference/test_results.json -tools/perf/testdata/task_output_dir/1/speedometer/benchmark_log.txt -tools/perf/testdata/task_output_dir/1/speedometer/perf_results.json -tools/perf/testdata/task_output_dir/1/speedometer/test_results.json -tools/perf/testdata/task_output_dir/1/wasm.reference/benchmark_log.txt -tools/perf/testdata/task_output_dir/1/wasm.reference/perf_results.json -tools/perf/testdata/task_output_dir/1/wasm.reference/test_results.json -tools/perf/testdata/task_output_dir/1/wasm/benchmark_log.txt -tools/perf/testdata/task_output_dir/1/wasm/perf_results.json -tools/perf/testdata/task_output_dir/1/wasm/test_results.json -tools/perf/testdata/task_output_dir/2/blink_perf.svg.reference/benchmark_log.txt -tools/perf/testdata/task_output_dir/2/blink_perf.svg.reference/perf_results.json -tools/perf/testdata/task_output_dir/2/blink_perf.svg.reference/test_results.json -tools/perf/testdata/task_output_dir/2/blink_perf.svg/benchmark_log.txt -tools/perf/testdata/task_output_dir/2/blink_perf.svg/perf_results.json -tools/perf/testdata/task_output_dir/2/blink_perf.svg/test_results.json -tools/perf/testdata/task_output_dir/2/dummy_benchmark.noisy_benchmark_1.reference/benchmark_log.txt -tools/perf/testdata/task_output_dir/2/dummy_benchmark.noisy_benchmark_1.reference/perf_results.json -tools/perf/testdata/task_output_dir/2/dummy_benchmark.noisy_benchmark_1.reference/test_results.json -tools/perf/testdata/task_output_dir/2/dummy_benchmark.noisy_benchmark_1/benchmark_log.txt -tools/perf/testdata/task_output_dir/2/dummy_benchmark.noisy_benchmark_1/perf_results.json -tools/perf/testdata/task_output_dir/2/dummy_benchmark.noisy_benchmark_1/test_results.json -tools/perf/testdata/task_output_dir/2/jetstream.reference/benchmark_log.txt -tools/perf/testdata/task_output_dir/2/jetstream.reference/perf_results.json -tools/perf/testdata/task_output_dir/2/jetstream.reference/test_results.json -tools/perf/testdata/task_output_dir/2/jetstream/benchmark_log.txt -tools/perf/testdata/task_output_dir/2/jetstream/perf_results.json -tools/perf/testdata/task_output_dir/2/jetstream/test_results.json -tools/perf/testdata/task_output_dir/2/memory.long_running_idle_gmail_tbmv2.reference/benchmark_log.txt -tools/perf/testdata/task_output_dir/2/memory.long_running_idle_gmail_tbmv2.reference/perf_results.json -tools/perf/testdata/task_output_dir/2/memory.long_running_idle_gmail_tbmv2.reference/test_results.json -tools/perf/testdata/task_output_dir/2/memory.long_running_idle_gmail_tbmv2/benchmark_log.txt -tools/perf/testdata/task_output_dir/2/memory.long_running_idle_gmail_tbmv2/perf_results.json -tools/perf/testdata/task_output_dir/2/memory.long_running_idle_gmail_tbmv2/test_results.json -tools/perf/testdata/task_output_dir/2/octane.reference/benchmark_log.txt -tools/perf/testdata/task_output_dir/2/octane.reference/perf_results.json -tools/perf/testdata/task_output_dir/2/octane.reference/test_results.json -tools/perf/testdata/task_output_dir/2/octane/benchmark_log.txt -tools/perf/testdata/task_output_dir/2/octane/perf_results.json -tools/perf/testdata/task_output_dir/2/octane/test_results.json -tools/perf/testdata/task_output_dir/2/power.idle_platform.reference/benchmark_log.txt -tools/perf/testdata/task_output_dir/2/power.idle_platform.reference/perf_results.json -tools/perf/testdata/task_output_dir/2/power.idle_platform.reference/test_results.json -tools/perf/testdata/task_output_dir/2/power.idle_platform/benchmark_log.txt -tools/perf/testdata/task_output_dir/2/power.idle_platform/perf_results.json -tools/perf/testdata/task_output_dir/2/power.idle_platform/test_results.json -tools/perf/testdata/task_output_dir/2/speedometer2-future.reference/benchmark_log.txt -tools/perf/testdata/task_output_dir/2/speedometer2-future.reference/perf_results.json -tools/perf/testdata/task_output_dir/2/speedometer2-future.reference/test_results.json -tools/perf/testdata/task_output_dir/2/speedometer2-future/benchmark_log.txt -tools/perf/testdata/task_output_dir/2/speedometer2-future/perf_results.json -tools/perf/testdata/task_output_dir/2/speedometer2-future/test_results.json -tools/perf/testdata/task_output_dir/2/v8.runtime_stats.top_25.reference/benchmark_log.txt -tools/perf/testdata/task_output_dir/2/v8.runtime_stats.top_25.reference/perf_results.json -tools/perf/testdata/task_output_dir/2/v8.runtime_stats.top_25.reference/test_results.json -tools/perf/testdata/task_output_dir/2/v8.runtime_stats.top_25/benchmark_log.txt -tools/perf/testdata/task_output_dir/2/v8.runtime_stats.top_25/perf_results.json -tools/perf/testdata/task_output_dir/2/v8.runtime_stats.top_25/test_results.json -tools/perf/testdata/task_output_dir/3/v8.runtime_stats.top_25.reference/benchmark_log.txt -tools/perf/testdata/task_output_dir/3/v8.runtime_stats.top_25.reference/perf_results.json -tools/perf/testdata/task_output_dir/3/v8.runtime_stats.top_25.reference/test_results.json -tools/perf/testdata/task_output_dir/3/v8.runtime_stats.top_25/benchmark_log.txt -tools/perf/testdata/task_output_dir/3/v8.runtime_stats.top_25/perf_results.json -tools/perf/testdata/task_output_dir/3/v8.runtime_stats.top_25/test_results.json tools/perfbot-analysis/builder.js tools/perfbot-analysis/bulk-download.js tools/pgo/generate_profile.py @@ -15718,8 +15031,6 @@ ui/base/clipboard/clipboard_win.h ui/base/clipboard/url_file_parser_unittest.cc ui/base/cocoa/tool_tip_base_view.mm ui/base/cursor/cursor.cc -ui/base/data_transfer_policy/data_transfer_endpoint_serializer.h -ui/base/data_transfer_policy/data_transfer_endpoint_serializer_unittest.cc ui/base/dragdrop/os_exchange_data_unittest.cc ui/base/dragdrop/os_exchange_data_win_unittest.cc ui/base/ime/PRESUBMIT.py @@ -15743,9 +15054,9 @@ ui/display/display_switches.cc ui/display/display_transform.cc ui/display/mac/cv_display_link_mac.mm ui/display/manager/tools/index.html +ui/display/win/screen_win.cc ui/display/win/test/virtual_display_util_win.cc ui/events/android/motion_event_android_unittest.cc -ui/events/ash/keyboard_capability_unittest.cc ui/events/blink/blink_event_util.cc ui/events/devices/input_device_observer_win.cc ui/events/gesture_detection/gesture_provider_unittest.cc @@ -15812,7 +15123,7 @@ ui/native_theme/native_theme_win.h ui/ozone/ozone.gni ui/ozone/platform/wayland/host/shell_popup_wrapper.cc ui/ozone/platform/wayland/host/wayland_clipboard.cc -ui/ozone/platform/wayland/host/wayland_exchange_data_provider_unittest.cc +ui/ozone/platform/wayland/host/wayland_data_drag_controller.cc ui/ozone/platform/wayland/host/wayland_output.h ui/ozone/platform/wayland/host/wayland_window.cc ui/ozone/platform/x11/test/os_exchange_data_provider_x11_unittest.cc @@ -15921,7 +15232,6 @@ v8/src/inspector/value-mirror.h v8/src/libplatform/default-thread-isolated-allocator.cc v8/src/libplatform/tracing/recorder-win.cc v8/src/libsampler/sampler.cc -v8/src/maglev/riscv/maglev-assembler-riscv.cc v8/src/objects/js-array-buffer.h v8/src/objects/js-number-format.cc v8/src/objects/map.h diff --git a/patches/core/bromite/disable-fetching-field-trials.patch b/patches/core/bromite/disable-fetching-field-trials.patch index 494f1018ec..17b42a44c0 100644 --- a/patches/core/bromite/disable-fetching-field-trials.patch +++ b/patches/core/bromite/disable-fetching-field-trials.patch @@ -10,7 +10,7 @@ Subject: Disable fetching of all field trials --- a/chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/ChromeFeatureList.java +++ b/chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/ChromeFeatureList.java -@@ -56,7 +56,7 @@ public abstract class ChromeFeatureList +@@ -55,7 +55,7 @@ public abstract class ChromeFeatureList * |kFeaturesExposedToJava| in chrome/browser/flags/android/chrome_feature_list.cc */ public static String getFieldTrialParamByFeature(String featureName, String paramName) { @@ -19,7 +19,7 @@ Subject: Disable fetching of all field trials } /** -@@ -68,8 +68,7 @@ public abstract class ChromeFeatureList +@@ -67,8 +67,7 @@ public abstract class ChromeFeatureList */ public static boolean getFieldTrialParamByFeatureAsBoolean( String featureName, String paramName, boolean defaultValue) { @@ -29,7 +29,7 @@ Subject: Disable fetching of all field trials } /** -@@ -81,8 +80,7 @@ public abstract class ChromeFeatureList +@@ -80,8 +79,7 @@ public abstract class ChromeFeatureList */ public static int getFieldTrialParamByFeatureAsInt( String featureName, String paramName, int defaultValue) { @@ -39,7 +39,7 @@ Subject: Disable fetching of all field trials } /** -@@ -94,8 +92,7 @@ public abstract class ChromeFeatureList +@@ -93,8 +91,7 @@ public abstract class ChromeFeatureList */ public static double getFieldTrialParamByFeatureAsDouble( String featureName, String paramName, double defaultValue) { @@ -51,7 +51,7 @@ Subject: Disable fetching of all field trials /** --- a/components/variations/service/variations_service.cc +++ b/components/variations/service/variations_service.cc -@@ -227,17 +227,7 @@ bool GetInstanceManipulations(const net: +@@ -225,17 +225,7 @@ bool GetInstanceManipulations(const net: // Variations seed fetching is only enabled in official Chrome builds, if a URL // is specified on the command line, and for testing. bool IsFetchingEnabled() { diff --git a/patches/core/inox-patchset/0001-fix-building-without-safebrowsing.patch b/patches/core/inox-patchset/0001-fix-building-without-safebrowsing.patch index 3683760114..541e490b76 100644 --- a/patches/core/inox-patchset/0001-fix-building-without-safebrowsing.patch +++ b/patches/core/inox-patchset/0001-fix-building-without-safebrowsing.patch @@ -1,14 +1,14 @@ --- a/chrome/browser/BUILD.gn +++ b/chrome/browser/BUILD.gn -@@ -2249,7 +2249,6 @@ static_library("browser") { +@@ -2247,7 +2247,6 @@ static_library("browser") { "//components/reporting/util:task_runner_context", "//components/resources", "//components/safe_browsing/content/browser", - "//components/safe_browsing/content/browser:client_side_detection", "//components/safe_browsing/content/browser:safe_browsing_service", + "//components/safe_browsing/content/browser/notification_content_detection", "//components/safe_browsing/content/browser/password_protection", - "//components/safe_browsing/content/browser/web_ui", -@@ -3641,8 +3640,6 @@ static_library("browser") { +@@ -3615,8 +3614,6 @@ static_library("browser") { "download/download_commands.cc", "download/download_crx_util.cc", "download/download_crx_util.h", @@ -59,7 +59,7 @@ network_time_tracker_.reset(); #if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CHROMEOS) -@@ -1167,14 +1164,6 @@ StatusTray* BrowserProcessImpl::status_t +@@ -1162,14 +1159,6 @@ StatusTray* BrowserProcessImpl::status_t return status_tray_.get(); } @@ -74,7 +74,7 @@ subresource_filter::RulesetService* BrowserProcessImpl::subresource_filter_ruleset_service() { DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_); -@@ -1479,26 +1468,6 @@ void BrowserProcessImpl::CreateBackgroun +@@ -1474,26 +1463,6 @@ void BrowserProcessImpl::CreateBackgroun #endif } @@ -123,7 +123,7 @@ subresource_filter_ruleset_service_; --- a/chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.cc +++ b/chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.cc -@@ -72,7 +72,6 @@ +@@ -73,7 +73,6 @@ #include "chrome/browser/profiles/keep_alive/scoped_profile_keep_alive.h" #include "chrome/browser/profiles/profile.h" #include "chrome/browser/reading_list/reading_list_model_factory.h" @@ -131,7 +131,7 @@ #include "chrome/browser/safe_browsing/verdict_cache_manager_factory.h" #include "chrome/browser/search_engine_choice/search_engine_choice_service_factory.h" #include "chrome/browser/search_engines/template_url_service_factory.h" -@@ -647,10 +646,6 @@ void ChromeBrowsingDataRemoverDelegate:: +@@ -662,10 +661,6 @@ void ChromeBrowsingDataRemoverDelegate:: base::RecordAction(UserMetricsAction("ClearBrowsingData_Cookies")); network::mojom::NetworkContext* safe_browsing_context = nullptr; @@ -144,7 +144,7 @@ browsing_data::RemoveFederatedSiteSettingsData(delete_begin_, delete_end_, --- a/chrome/browser/chrome_content_browser_client.cc +++ b/chrome/browser/chrome_content_browser_client.cc -@@ -5513,10 +5513,6 @@ ChromeContentBrowserClient::CreateThrott +@@ -5518,10 +5518,6 @@ ChromeContentBrowserClient::CreateThrott throttles.push_back(std::make_unique( handle, handle->GetWebContents()->GetBrowserContext())); @@ -155,7 +155,7 @@ throttles.push_back(std::make_unique( handle, base::BindOnce(&HandleSSLErrorWrapper), base::BindOnce(&IsInHostedApp), -@@ -5571,16 +5567,6 @@ ChromeContentBrowserClient::CreateThrott +@@ -5576,16 +5572,6 @@ ChromeContentBrowserClient::CreateThrott &throttles); #endif @@ -172,7 +172,7 @@ if (base::FeatureList::IsEnabled(safe_browsing::kDelayedWarnings)) { throttles.push_back( std::make_unique( -@@ -5901,8 +5887,6 @@ bool ChromeContentBrowserClient::IsPlugi +@@ -5898,8 +5884,6 @@ bool ChromeContentBrowserClient::IsPlugi void ChromeContentBrowserClient::InitOnUIThread() { DCHECK_CURRENTLY_ON(BrowserThread::UI); @@ -207,7 +207,7 @@ } // namespace --- a/chrome/browser/download/chrome_download_manager_delegate.cc +++ b/chrome/browser/download/chrome_download_manager_delegate.cc -@@ -534,13 +534,6 @@ void ChromeDownloadManagerDelegate::SetD +@@ -531,13 +531,6 @@ void ChromeDownloadManagerDelegate::SetD download_manager_ = dm; @@ -221,7 +221,7 @@ if (download_manager_) { download_manager_->AddObserver(this); } -@@ -1062,17 +1055,6 @@ void ChromeDownloadManagerDelegate::Choo +@@ -1060,17 +1053,6 @@ void ChromeDownloadManagerDelegate::Choo void ChromeDownloadManagerDelegate::SanitizeSavePackageResourceName( base::FilePath* filename, const GURL& source_url) { @@ -250,7 +250,7 @@ // Whether the download is currently being revived. bool is_being_revived_ = false; -@@ -501,13 +501,13 @@ void DownloadItemModel::SetShouldPreferO +@@ -498,13 +498,13 @@ void DownloadItemModel::SetShouldPreferO data->should_prefer_opening_in_browser_ = preference; } @@ -267,7 +267,7 @@ DownloadItemModelData* data = DownloadItemModelData::GetOrCreate(download_); data->danger_level_ = danger_level; } -@@ -710,9 +710,6 @@ bool DownloadItemModel::IsCommandEnabled +@@ -707,9 +707,6 @@ bool DownloadItemModel::IsCommandEnabled // filename. Don't base an "Always open" decision based on it. Also // exclude extensions. return download_->CanOpenDownload() && @@ -279,7 +279,7 @@ return !download_->IsSavePackageDownload() && --- a/chrome/browser/download/download_prefs.cc +++ b/chrome/browser/download/download_prefs.cc -@@ -257,14 +257,7 @@ DownloadPrefs::DownloadPrefs(Profile* pr +@@ -258,14 +258,7 @@ DownloadPrefs::DownloadPrefs(Profile* pr base::FilePath::StringType(1, base::FilePath::kExtensionSeparator) + extension); @@ -295,7 +295,7 @@ } } -@@ -442,10 +435,6 @@ bool DownloadPrefs::IsAutoOpenByPolicy(c +@@ -443,10 +436,6 @@ bool DownloadPrefs::IsAutoOpenByPolicy(c bool DownloadPrefs::EnableAutoOpenByUserBasedOnExtension( const base::FilePath& file_name) { base::FilePath::StringType extension = file_name.Extension(); @@ -322,14 +322,52 @@ // If no mime type or explicitly specified a name, don't replace file // extension. if (sniffed_mime_type.empty() || !suggested_filename.empty()) -@@ -1316,30 +1309,7 @@ DownloadFileType::DangerLevel DownloadTa - download_->HasUserGesture()) - return DownloadFileType::NOT_DANGEROUS; +@@ -1290,68 +1283,7 @@ DownloadFileType::DangerLevel DownloadTa + PriorVisitsToReferrer visits) const { + DCHECK_CURRENTLY_ON(BrowserThread::UI); - DownloadFileType::DangerLevel danger_level = - safe_browsing::FileTypePolicies::GetInstance()->GetFileDangerLevel( - virtual_path_.BaseName(), download_->GetURL(), - GetProfile()->GetPrefs()); +- policy::DownloadRestriction download_restriction = +- static_cast( +- GetProfile()->GetPrefs()->GetInteger( +- policy::policy_prefs::kDownloadRestrictions)); +- +- // If the user has has been prompted or will be, assume that the user has +- // approved the download. A programmatic download is considered safe unless it +- // contains malware. +- bool user_approved_path = +- !download_->GetForcedFilePath().empty() && +- // Drag and drop download paths are not approved by the user. See +- // https://crbug.com/1513639 +- download_->GetDownloadSource() != download::DownloadSource::DRAG_AND_DROP; +- if (HasPromptedForPath() || +- confirmation_reason_ != DownloadConfirmationReason::NONE || +- user_approved_path) { +- // If the "DownloadRestrictions" enterprise policy explicitly disallows the +- // download, don't let the user gesture bypass the dangerous verdict. +- if ((download_restriction == policy::DownloadRestriction::DANGEROUS_FILES || +- download_restriction == +- policy::DownloadRestriction::POTENTIALLY_DANGEROUS_FILES) && +- danger_level != DownloadFileType::NOT_DANGEROUS) { +- return DownloadFileType::DANGEROUS; +- } +- return DownloadFileType::NOT_DANGEROUS; +- } +- +- // User-initiated extension downloads from pref-whitelisted sources are not +- // considered dangerous. +- if (download_->HasUserGesture() && +- download_crx_util::IsTrustedExtensionDownload(GetProfile(), *download_)) { +- return DownloadFileType::NOT_DANGEROUS; +- } +- +- // Anything the user has marked auto-open is OK if it's user-initiated. +- if (download_prefs_->IsAutoOpenEnabled(download_->GetURL(), virtual_path_) && +- download_->HasUserGesture()) +- return DownloadFileType::NOT_DANGEROUS; - - // A danger level of ALLOW_ON_USER_GESTURE is used to label potentially - // dangerous file types that have a high frequency of legitimate use. We would @@ -364,7 +402,7 @@ #include "chrome/browser/download/download_file_icon_extractor.h" #include "chrome/browser/download/download_open_prompt.h" #include "chrome/browser/download/download_prefs.h" -@@ -1379,9 +1378,6 @@ DownloadsAcceptDangerFunction::Downloads +@@ -1376,9 +1375,6 @@ DownloadsAcceptDangerFunction::Downloads DownloadsAcceptDangerFunction::~DownloadsAcceptDangerFunction() {} @@ -374,7 +412,7 @@ ExtensionFunction::ResponseAction DownloadsAcceptDangerFunction::Run() { std::optional params = downloads::AcceptDanger::Params::Create(args()); -@@ -1419,42 +1415,7 @@ void DownloadsAcceptDangerFunction::Prom +@@ -1416,42 +1412,7 @@ void DownloadsAcceptDangerFunction::Prom return; } RecordApiFunctions(DOWNLOADS_FUNCTION_ACCEPT_DANGER); @@ -500,7 +538,7 @@ referrer_entries))); --- a/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc +++ b/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc -@@ -709,18 +709,6 @@ void WebstorePrivateBeginInstallWithMani +@@ -708,18 +708,6 @@ void WebstorePrivateBeginInstallWithMani void WebstorePrivateBeginInstallWithManifest3Function:: ReportFrictionAcceptedEvent() { @@ -519,7 +557,7 @@ } void WebstorePrivateBeginInstallWithManifest3Function::OnInstallPromptDone( -@@ -1204,54 +1192,9 @@ WebstorePrivateGetReferrerChainFunction: +@@ -1203,54 +1191,9 @@ WebstorePrivateGetReferrerChainFunction: ExtensionFunction::ResponseAction WebstorePrivateGetReferrerChainFunction::Run() { @@ -648,7 +686,7 @@ // SimpleURLLoader -> (owned loader, extension id). --- a/chrome/browser/profiles/profile_impl.cc +++ b/chrome/browser/profiles/profile_impl.cc -@@ -95,7 +95,6 @@ +@@ -96,7 +96,6 @@ #include "chrome/browser/push_messaging/push_messaging_service_impl.h" #include "chrome/browser/reading_list/reading_list_model_factory.h" #include "chrome/browser/reduce_accept_language/reduce_accept_language_factory.h" @@ -656,7 +694,7 @@ #include "chrome/browser/sessions/exit_type_service.h" #include "chrome/browser/sharing/sharing_service_factory.h" #include "chrome/browser/signin/identity_manager_factory.h" -@@ -616,17 +615,6 @@ void ProfileImpl::LoadPrefsForNormalStar +@@ -634,17 +633,6 @@ void ProfileImpl::LoadPrefsForNormalStar mojo::PendingRemote pref_validation_delegate; @@ -696,7 +734,7 @@ sources = [ "chrome_controller_client.cc", "chrome_controller_client.h", -@@ -76,6 +77,7 @@ static_library("safe_browsing") { +@@ -77,6 +78,7 @@ static_library("safe_browsing") { "//mojo/public/cpp/system", "//services/preferences/public/cpp", ] @@ -704,7 +742,7 @@ if (is_android) { deps += [ -@@ -536,6 +538,7 @@ static_library("advanced_protection") { +@@ -548,6 +550,7 @@ static_library("advanced_protection") { } source_set("metrics_collector") { @@ -712,7 +750,7 @@ sources = [ "safe_browsing_metrics_collector_factory.cc", "safe_browsing_metrics_collector_factory.h", -@@ -555,6 +558,7 @@ source_set("metrics_collector") { +@@ -567,6 +570,7 @@ source_set("metrics_collector") { "//components/safe_browsing/core/common:safe_browsing_prefs", "//content/public/browser", ] @@ -722,7 +760,7 @@ source_set("test_support") { --- a/chrome/browser/ssl/chrome_security_state_tab_helper.cc +++ b/chrome/browser/ssl/chrome_security_state_tab_helper.cc -@@ -179,93 +179,5 @@ bool ChromeSecurityStateTabHelper::UsedP +@@ -179,92 +179,5 @@ bool ChromeSecurityStateTabHelper::UsedP security_state::MaliciousContentStatus ChromeSecurityStateTabHelper::GetMaliciousContentStatus() const { @@ -810,15 +848,14 @@ - // These threat types are not currently associated with - // interstitials, and thus resources with these threat types are - // not ever whitelisted or pending whitelisting. -- NOTREACHED_IN_MIGRATION(); -- break; +- NOTREACHED(); - } - } return security_state::MALICIOUS_CONTENT_STATUS_NONE; } --- a/chrome/browser/ui/BUILD.gn +++ b/chrome/browser/ui/BUILD.gn -@@ -4065,7 +4065,6 @@ static_library("ui") { +@@ -4014,7 +4014,6 @@ static_library("ui") { "views/download/bubble/download_dialog_view.h", "views/download/bubble/download_toolbar_button_view.cc", "views/download/bubble/download_toolbar_button_view.h", @@ -828,7 +865,7 @@ "views/download/download_item_view.cc", --- a/chrome/browser/ui/tab_helpers.cc +++ b/chrome/browser/ui/tab_helpers.cc -@@ -512,37 +512,8 @@ void TabHelpers::AttachTabHelpers(WebCon +@@ -507,37 +507,8 @@ void TabHelpers::AttachTabHelpers(WebCon // See https://crbug.com/910288. resource_coordinator::ResourceCoordinatorTabHelper::CreateForWebContents( web_contents); @@ -966,7 +1003,7 @@ std::unique_ptr CreateEnterpriseBlockPage( content::WebContents* web_contents) { const GURL kRequestUrl("https://enterprise-block.example.net"); -@@ -367,35 +309,6 @@ std::unique_ptr CreateSupervisedUserVerificationPageForYouTube( -@@ -432,61 +345,6 @@ CreateSupervisedUserVerificationPageForB +@@ -431,61 +344,6 @@ CreateSupervisedUserVerificationPageForB } #endif @@ -1064,7 +1101,7 @@ #if BUILDFLAG(ENABLE_CAPTIVE_PORTAL_DETECTION) std::unique_ptr CreateCaptivePortalBlockingPage( content::WebContents* web_contents) { -@@ -593,12 +451,8 @@ void InterstitialHTMLSource::StartDataRe +@@ -592,12 +450,8 @@ void InterstitialHTMLSource::StartDataRe interstitial_delegate = CreateMITMSoftwareBlockingPage(web_contents); } else if (path_without_query == "/blocked-interception") { interstitial_delegate = CreateBlockedInterceptionBlockingPage(web_contents); @@ -1077,7 +1114,7 @@ } else if (path_without_query == "/clock") { interstitial_delegate = CreateBadClockBlockingPage(web_contents); } else if (path_without_query == "/lookalike") { -@@ -630,12 +484,7 @@ void InterstitialHTMLSource::StartDataRe +@@ -629,12 +483,7 @@ void InterstitialHTMLSource::StartDataRe #endif } @@ -1093,7 +1130,7 @@ html = interstitial_delegate.get()->GetHTMLContents(); --- a/chrome/renderer/chrome_content_renderer_client.cc +++ b/chrome/renderer/chrome_content_renderer_client.cc -@@ -111,7 +111,6 @@ +@@ -110,7 +110,6 @@ #include "components/pdf/common/pdf_util.h" #include "components/permissions/features.h" #include "components/safe_browsing/buildflags.h" @@ -1101,7 +1138,7 @@ #include "components/sampling_profiler/process_type.h" #include "components/sampling_profiler/thread_profiler.h" #include "components/security_interstitials/content/renderer/security_interstitial_page_controller_delegate_impl.h" -@@ -483,12 +482,8 @@ void ChromeContentRendererClient::Render +@@ -480,12 +479,8 @@ void ChromeContentRendererClient::Render thread->AddObserver(fingerprinting_protection_ruleset_dealer_.get()); } diff --git a/patches/core/inox-patchset/0005-disable-default-extensions.patch b/patches/core/inox-patchset/0005-disable-default-extensions.patch index 1e142792e3..5ef90523a5 100644 --- a/patches/core/inox-patchset/0005-disable-default-extensions.patch +++ b/patches/core/inox-patchset/0005-disable-default-extensions.patch @@ -57,7 +57,7 @@ } // http://crbug.com/165634 -@@ -677,25 +663,6 @@ void WebstoreInstaller::UpdateDownloadPr +@@ -678,25 +664,6 @@ void WebstoreInstaller::UpdateDownloadPr void WebstoreInstaller::StartCrxInstaller(const DownloadItem& download) { DCHECK_CURRENTLY_ON(BrowserThread::UI); DCHECK(!crx_installer_.get()); diff --git a/patches/core/inox-patchset/0015-disable-update-pings.patch b/patches/core/inox-patchset/0015-disable-update-pings.patch index 868f46bc62..c6d23fc3bb 100644 --- a/patches/core/inox-patchset/0015-disable-update-pings.patch +++ b/patches/core/inox-patchset/0015-disable-update-pings.patch @@ -1,6 +1,6 @@ --- a/chrome/updater/configurator.cc +++ b/chrome/updater/configurator.cc -@@ -111,7 +111,7 @@ base::TimeDelta Configurator::UpdateDela +@@ -113,7 +113,7 @@ base::TimeDelta Configurator::UpdateDela std::vector Configurator::UpdateUrl() const { DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_); diff --git a/patches/core/inox-patchset/0021-disable-rlz.patch b/patches/core/inox-patchset/0021-disable-rlz.patch index 857e7f6da3..bfb138a3bb 100644 --- a/patches/core/inox-patchset/0021-disable-rlz.patch +++ b/patches/core/inox-patchset/0021-disable-rlz.patch @@ -2,7 +2,7 @@ --- a/BUILD.gn +++ b/BUILD.gn -@@ -475,14 +475,6 @@ group("gn_all") { +@@ -477,14 +477,6 @@ group("gn_all") { deps += [ "//chromeos:chromeos_unittests" ] } diff --git a/patches/core/iridium-browser/all-add-trk-prefixes-to-possibly-evil-connections.patch b/patches/core/iridium-browser/all-add-trk-prefixes-to-possibly-evil-connections.patch index c2f4bf3374..a7d282525d 100644 --- a/patches/core/iridium-browser/all-add-trk-prefixes-to-possibly-evil-connections.patch +++ b/patches/core/iridium-browser/all-add-trk-prefixes-to-possibly-evil-connections.patch @@ -167,7 +167,7 @@ by default. DownloadFeedbackFactory* DownloadFeedback::factory_ = nullptr; --- a/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc +++ b/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc -@@ -274,7 +274,7 @@ GURL SpellcheckHunspellDictionary::GetDi +@@ -273,7 +273,7 @@ GURL SpellcheckHunspellDictionary::GetDi DCHECK(!bdict_file.empty()); static const char kDownloadServerUrl[] = @@ -189,7 +189,7 @@ by default. bool g_upgrade_bubble_is_showing = false; --- a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc +++ b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc -@@ -71,17 +71,17 @@ namespace { +@@ -72,17 +72,17 @@ namespace { // The URL for the the Learn More page shown on incognito new tab. const char kLearnMoreIncognitoUrl[] = #if BUILDFLAG(IS_CHROMEOS_ASH) @@ -236,17 +236,6 @@ by default. // Launches the url directly with the user's default handler for |url|. bool NavigateToUrlWithHttps(const std::wstring& url) { ---- a/chromecast/crash/linux/minidump_uploader.cc -+++ b/chromecast/crash/linux/minidump_uploader.cc -@@ -40,7 +40,7 @@ namespace { - - const char kProductName[] = "Eureka"; - --const char kCrashServerProduction[] = "https://clients2.google.com/cr/report"; -+const char kCrashServerProduction[] = "trk:305:https://clients2.google.com/cr/report"; - - const char kVirtualChannel[] = "virtual-channel"; - --- a/chromeos/ash/components/geolocation/simple_geolocation_provider.h +++ b/chromeos/ash/components/geolocation/simple_geolocation_provider.h @@ -101,7 +101,7 @@ class COMPONENT_EXPORT(CHROMEOS_ASH_COMP @@ -432,7 +421,7 @@ by default. const char kExtensionsMenuUtmSource[] = "ext_extensions_menu"; --- a/google_apis/gaia/gaia_constants.cc +++ b/google_apis/gaia/gaia_constants.cc -@@ -14,166 +14,166 @@ const char kChromeSource[] = "ChromiumBr +@@ -14,169 +14,169 @@ const char kChromeSource[] = "ChromiumBr const char kUnexpectedServiceResponse[] = "UnexpectedServiceResponse"; // OAuth scopes. @@ -500,6 +489,10 @@ by default. - "https://www.googleapis.com/auth/peopleapi.readwrite"; + "trk:115:https://www.googleapis.com/auth/peopleapi.readwrite"; + // OAuth2 scope for read-write access to contacts. +-const char kContactsOAuth2Scope[] = "https://www.googleapis.com/auth/contacts"; ++const char kContactsOAuth2Scope[] = "trk:117:https://www.googleapis.com/auth/contacts"; + // OAuth2 scope for access to the people API person's locale preferences // (read-only). const char kProfileLanguageReadOnlyOAuth2Scope[] = diff --git a/patches/core/iridium-browser/safe_browsing-disable-incident-reporting.patch b/patches/core/iridium-browser/safe_browsing-disable-incident-reporting.patch index 9f37348cb2..e883305f12 100644 --- a/patches/core/iridium-browser/safe_browsing-disable-incident-reporting.patch +++ b/patches/core/iridium-browser/safe_browsing-disable-incident-reporting.patch @@ -56,7 +56,7 @@ the URL so we get notified if this happens again in the future). IncidentReportingService::IncidentReportingService( --- a/chrome/browser/safe_browsing/safe_browsing_service.cc +++ b/chrome/browser/safe_browsing/safe_browsing_service.cc -@@ -373,7 +373,7 @@ SafeBrowsingUIManager* SafeBrowsingServi +@@ -382,7 +382,7 @@ SafeBrowsingUIManager* SafeBrowsingServi } void SafeBrowsingServiceImpl::RegisterAllDelayedAnalysis() { diff --git a/patches/core/ungoogled-chromium/block-requests.patch b/patches/core/ungoogled-chromium/block-requests.patch index 26ff6c372b..14f40e86f5 100644 --- a/patches/core/ungoogled-chromium/block-requests.patch +++ b/patches/core/ungoogled-chromium/block-requests.patch @@ -38,7 +38,7 @@ collection_error_info_.ClearError(); --- a/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc +++ b/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc -@@ -281,6 +281,7 @@ GURL SpellcheckHunspellDictionary::GetDi +@@ -280,6 +280,7 @@ GURL SpellcheckHunspellDictionary::GetDi } void SpellcheckHunspellDictionary::DownloadDictionary(GURL url) { @@ -80,7 +80,7 @@ if (state_ == REQUESTING) { --- a/components/update_client/update_checker.cc +++ b/components/update_client/update_checker.cc -@@ -104,6 +104,7 @@ void UpdateCheckerImpl::CheckForUpdates( +@@ -103,6 +103,7 @@ void UpdateCheckerImpl::CheckForUpdates( scoped_refptr context, const base::flat_map& additional_attributes, UpdateCheckCallback update_check_callback) { diff --git a/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch b/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch index 8dee5e542c..c82702da08 100644 --- a/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch +++ b/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch @@ -60,7 +60,7 @@ return GURL(parts.scheme.is_valid() ? text : FixupPath(text)); --- a/content/browser/child_process_security_policy_impl.cc +++ b/content/browser/child_process_security_policy_impl.cc -@@ -860,6 +860,7 @@ ChildProcessSecurityPolicyImpl::ChildPro +@@ -939,6 +939,7 @@ ChildProcessSecurityPolicyImpl::ChildPro RegisterWebSafeScheme(url::kWssScheme); #endif // BUILDFLAG(ENABLE_WEBSOCKETS) RegisterWebSafeScheme(url::kDataScheme); @@ -70,7 +70,7 @@ // other origins, so we should not treat them as web safe. Remove callers of --- a/net/BUILD.gn +++ b/net/BUILD.gn -@@ -1053,6 +1053,8 @@ component("net") { +@@ -1054,6 +1054,8 @@ component("net") { "url_request/referrer_policy.h", "url_request/static_http_user_agent_settings.cc", "url_request/static_http_user_agent_settings.h", @@ -158,7 +158,7 @@ namespace net { -@@ -637,6 +639,12 @@ URLRequest::URLRequest(base::PassKey URLRe +@@ -603,6 +604,9 @@ std::unique_ptr URLRe } protocol_handlers_.clear(); diff --git a/patches/core/ungoogled-chromium/disable-crash-reporter.patch b/patches/core/ungoogled-chromium/disable-crash-reporter.patch index c8e605e5fd..9d58dcd99e 100644 --- a/patches/core/ungoogled-chromium/disable-crash-reporter.patch +++ b/patches/core/ungoogled-chromium/disable-crash-reporter.patch @@ -2,7 +2,7 @@ --- a/chrome/browser/chrome_content_browser_client.cc +++ b/chrome/browser/chrome_content_browser_client.cc -@@ -2729,24 +2729,6 @@ void ChromeContentBrowserClient::AppendE +@@ -2737,24 +2737,6 @@ void ChromeContentBrowserClient::AppendE command_line->AppendSwitchASCII(switches::kMetricsClientID, client_info->client_id); } diff --git a/patches/core/ungoogled-chromium/disable-domain-reliability.patch b/patches/core/ungoogled-chromium/disable-domain-reliability.patch index 0efff71c63..a030933743 100644 --- a/patches/core/ungoogled-chromium/disable-domain-reliability.patch +++ b/patches/core/ungoogled-chromium/disable-domain-reliability.patch @@ -117,7 +117,7 @@ def quote_and_wrap_text(text, width=79, prefix=' "', suffix='"'): --- a/components/domain_reliability/google_configs.cc +++ b/components/domain_reliability/google_configs.cc -@@ -11,551 +11,6 @@ +@@ -11,552 +11,6 @@ namespace domain_reliability { @@ -466,6 +466,7 @@ - {"recaptcha.net", true, false, false}, - {"stackdriver.com", true, false, false}, - {"staging.via.google", true, false, false}, +- {"usercontent.google.com", true, false, false}, - {"waze.com", true, false, false}, - {"withgoogle.com", true, false, false}, - {"youtu.be", true, false, false}, @@ -669,7 +670,7 @@ std::unique_ptr MaybeGetGoogleConfig( const std::string& hostname) { bool is_www_subdomain = -@@ -565,23 +20,6 @@ std::unique_ptr config; std::unique_ptr superdomain_config; @@ -693,7 +694,7 @@ if (config) { DCHECK(config->origin.host() == hostname); return config; -@@ -600,11 +38,6 @@ std::vector> configs_out; diff --git a/patches/core/ungoogled-chromium/disable-google-host-detection.patch b/patches/core/ungoogled-chromium/disable-google-host-detection.patch index 508c420541..5a2f51e434 100644 --- a/patches/core/ungoogled-chromium/disable-google-host-detection.patch +++ b/patches/core/ungoogled-chromium/disable-google-host-detection.patch @@ -2,7 +2,7 @@ --- a/chrome/browser/ui/webui/suggest_internals/suggest_internals_handler.cc +++ b/chrome/browser/ui/webui/suggest_internals/suggest_internals_handler.cc -@@ -66,9 +66,6 @@ void SuggestInternalsHandler::OnSuggestR +@@ -66,9 +66,6 @@ void SuggestInternalsHandler::OnRequestC suggest_internals::mojom::Request::New(); mojom_request->id = request_id; mojom_request->url = request->url; @@ -11,7 +11,7 @@ - mojom_request->data[variations::kClientDataHeader] = variations_header; mojom_request->data[request->method] = request->url.spec(); mojom_request->status = suggest_internals::mojom::RequestStatus::kCreated; - page_->OnSuggestRequestCreated(std::move(mojom_request)); + page_->OnRequestCreated(std::move(mojom_request)); --- a/chrome/common/google_url_loader_throttle.cc +++ b/chrome/common/google_url_loader_throttle.cc @@ -24,10 +24,6 @@ @@ -495,23 +495,10 @@ return false; } ---- a/components/page_load_metrics/browser/page_load_metrics_util.cc -+++ b/components/page_load_metrics/browser/page_load_metrics_util.cc -@@ -285,9 +285,7 @@ bool DidObserveLoadingBehaviorInAnyFrame - } - - bool IsGoogleSearchHostname(const GURL& url) { -- std::optional result = -- page_load_metrics::GetGoogleHostnamePrefix(url); -- return result && result.value() == "www"; -+ return false; - } - - bool IsProbablyGoogleSearchUrl(const GURL& url) { ---- a/components/page_load_metrics/common/page_load_metrics_util.cc -+++ b/components/page_load_metrics/common/page_load_metrics_util.cc -@@ -25,38 +25,7 @@ const int kExtraBufferTimerDelayMillis = - } // namespace +--- a/components/page_load_metrics/google/browser/google_url_util.cc ++++ b/components/page_load_metrics/google/browser/google_url_util.cc +@@ -14,39 +14,7 @@ + namespace page_load_metrics { std::optional GetGoogleHostnamePrefix(const GURL& url) { - const size_t registry_length = @@ -536,8 +523,9 @@ - const std::string_view hostname_minus_registry = - hostname.substr(0, hostname.length() - (registry_length + 1)); - -- if (hostname_minus_registry == "google") +- if (hostname_minus_registry == "google") { - return std::string(""); +- } - - if (!base::EndsWith(hostname_minus_registry, ".google", - base::CompareCase::INSENSITIVE_ASCII)) { @@ -549,6 +537,17 @@ } bool IsGoogleHostname(const GURL& url) { +@@ -54,9 +22,7 @@ bool IsGoogleHostname(const GURL& url) { + } + + bool IsGoogleSearchHostname(const GURL& url) { +- std::optional result = +- page_load_metrics::GetGoogleHostnamePrefix(url); +- return result && result.value() == "www"; ++ return false; + } + + bool IsProbablyGoogleSearchUrl(const GURL& url) { --- a/components/search_engines/template_url.cc +++ b/components/search_engines/template_url.cc @@ -612,11 +612,7 @@ std::u16string TemplateURLRef::SearchTer @@ -675,7 +674,7 @@ } // namespace variations --- a/content/browser/preloading/prefetch/prefetch_container.cc +++ b/content/browser/preloading/prefetch/prefetch_container.cc -@@ -974,7 +974,7 @@ void PrefetchContainer::AddRedirectHop(c +@@ -988,7 +988,7 @@ void PrefetchContainer::AddRedirectHop(c // some which are added by throttles). These aren't yet supported for // prefetch, including browsing topics and client hints. net::HttpRequestHeaders updated_headers; diff --git a/patches/core/ungoogled-chromium/disable-mei-preload.patch b/patches/core/ungoogled-chromium/disable-mei-preload.patch index 567c0fb825..e3aacf41e0 100644 --- a/patches/core/ungoogled-chromium/disable-mei-preload.patch +++ b/patches/core/ungoogled-chromium/disable-mei-preload.patch @@ -7,7 +7,7 @@ --- a/chrome/BUILD.gn +++ b/chrome/BUILD.gn -@@ -374,7 +374,6 @@ if (!is_android && !is_mac) { +@@ -371,7 +371,6 @@ if (!is_android && !is_mac) { } data_deps += [ @@ -15,7 +15,7 @@ "//third_party/widevine/cdm", ] if (invoker.collect_inputs_only) { -@@ -1213,7 +1212,6 @@ if (is_win) { +@@ -1210,7 +1209,6 @@ if (is_win) { ":optimization_guide_library", ":swiftshader_binaries", ":widevine_cdm_library", @@ -25,7 +25,7 @@ if (is_chrome_branded) { --- a/chrome/browser/resources/BUILD.gn +++ b/chrome/browser/resources/BUILD.gn -@@ -95,11 +95,6 @@ group("resources") { +@@ -94,11 +94,6 @@ group("resources") { public_deps += [ "accessibility:reading_mode_gdocs_extension_resources" ] } diff --git a/patches/core/ungoogled-chromium/disable-privacy-sandbox.patch b/patches/core/ungoogled-chromium/disable-privacy-sandbox.patch index e6e9207143..7ae850d8c7 100644 --- a/patches/core/ungoogled-chromium/disable-privacy-sandbox.patch +++ b/patches/core/ungoogled-chromium/disable-privacy-sandbox.patch @@ -11,7 +11,7 @@ "AttributionAggregatableDebugReporting", --- a/components/privacy_sandbox/privacy_sandbox_settings_impl.cc +++ b/components/privacy_sandbox/privacy_sandbox_settings_impl.cc -@@ -129,7 +129,7 @@ std::set GetTopi +@@ -131,7 +131,7 @@ std::set GetTopi // static bool PrivacySandboxSettingsImpl::IsAllowed(Status status) { @@ -20,7 +20,7 @@ } // static -@@ -851,7 +851,7 @@ void PrivacySandboxSettingsImpl::SetTopi +@@ -853,7 +853,7 @@ void PrivacySandboxSettingsImpl::SetTopi } bool PrivacySandboxSettingsImpl::IsPrivacySandboxRestricted() const { @@ -29,7 +29,7 @@ } bool PrivacySandboxSettingsImpl::IsPrivacySandboxCurrentlyUnrestricted() const { -@@ -937,11 +937,7 @@ PrivacySandboxSettingsImpl::GetPrivacySa +@@ -939,11 +939,7 @@ PrivacySandboxSettingsImpl::GetPrivacySa return Status::kIncognitoProfile; } @@ -50,5 +50,5 @@ - base::FEATURE_ENABLED_BY_DEFAULT); + base::FEATURE_DISABLED_BY_DEFAULT); - const base::FeatureParam - kPrivacySandboxAggregationServiceTrustedServerUrlAwsParam{ + BASE_FEATURE(kPrivacySandboxAggregationServiceFilteringIds, + "PrivacySandboxAggregationServiceFilteringIds", diff --git a/patches/core/ungoogled-chromium/disable-webstore-urls.patch b/patches/core/ungoogled-chromium/disable-webstore-urls.patch index 9f95e8c42b..1182038585 100644 --- a/patches/core/ungoogled-chromium/disable-webstore-urls.patch +++ b/patches/core/ungoogled-chromium/disable-webstore-urls.patch @@ -2,7 +2,7 @@ --- a/chrome/browser/extensions/chrome_content_browser_client_extensions_part.cc +++ b/chrome/browser/extensions/chrome_content_browser_client_extensions_part.cc -@@ -673,12 +673,6 @@ std::vector ChromeContentBr +@@ -675,12 +675,6 @@ std::vector ChromeContentBr GetOriginsRequiringDedicatedProcess() { std::vector list; diff --git a/patches/core/ungoogled-chromium/doh-changes.patch b/patches/core/ungoogled-chromium/doh-changes.patch index d9c274720c..31e01610e0 100644 --- a/patches/core/ungoogled-chromium/doh-changes.patch +++ b/patches/core/ungoogled-chromium/doh-changes.patch @@ -55,7 +55,7 @@ DohProviderIij, base::FEATURE_ENABLED_BY_DEFAULT), --- a/services/network/public/cpp/features.cc +++ b/services/network/public/cpp/features.cc -@@ -126,12 +126,7 @@ BASE_FEATURE(kSplitAuthCacheByNetworkIso +@@ -125,12 +125,7 @@ BASE_FEATURE(kSplitAuthCacheByNetworkIso // Enable usage of hardcoded DoH upgrade mapping for use in automatic mode. BASE_FEATURE(kDnsOverHttpsUpgrade, "DnsOverHttpsUpgrade", diff --git a/patches/core/ungoogled-chromium/extensions-manifestv2.patch b/patches/core/ungoogled-chromium/extensions-manifestv2.patch index e730a3a87a..ecab4c9d52 100644 --- a/patches/core/ungoogled-chromium/extensions-manifestv2.patch +++ b/patches/core/ungoogled-chromium/extensions-manifestv2.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/extensions/chrome_browser_context_keyed_service_factories.cc +++ b/chrome/browser/extensions/chrome_browser_context_keyed_service_factories.cc -@@ -22,7 +22,6 @@ +@@ -19,7 +19,6 @@ #include "chrome/browser/extensions/extension_web_ui_override_registrar.h" #include "chrome/browser/extensions/install_tracker_factory.h" #include "chrome/browser/extensions/install_verifier_factory.h" @@ -8,8 +8,8 @@ #include "chrome/browser/extensions/menu_manager_factory.h" #include "chrome/browser/extensions/permissions/permissions_updater.h" #include "chrome/browser/extensions/plugin_manager.h" -@@ -49,7 +48,6 @@ void EnsureChromeBrowserContextKeyedServ - extensions::IncognitoConnectability::EnsureFactoryBuilt(); +@@ -43,7 +42,6 @@ void EnsureChromeBrowserContextKeyedServ + extensions::ExtensionWebUIOverrideRegistrar::GetFactoryInstance(); extensions::InstallTrackerFactory::GetInstance(); extensions::InstallVerifierFactory::GetInstance(); - extensions::ManifestV2ExperimentManager::GetFactory(); @@ -102,7 +102,7 @@ return MV2ExperimentStage::kNone; } -@@ -198,30 +182,7 @@ PrefMap GetGlobalNoticeAcknowledgedPrefF +@@ -198,19 +182,7 @@ PrefMap GetGlobalNoticeAcknowledgedPrefF // Returns true if legacy extensions should be disabled, looking at both // experiment stage and global state. bool ShouldDisableLegacyExtensions(MV2ExperimentStage stage) { @@ -111,28 +111,17 @@ - return false; - } - -- if (base::FeatureList::IsEnabled( -- extensions_features::kAllowLegacyMV2Extensions)) { -- // The user explicitly set the flag to allow legacy MV2 extensions. It's -- // important we retain this functionality so that developers of MV2 -- // extensions used by enterprises can continue developing (and testing) -- // them for as long as the ExtensionManifestV2Availability enterprise policy -- // is supported. - return false; -- } -- -- // Check the experiment stage to determine if extensions should be disabled. - switch (stage) { - case MV2ExperimentStage::kNone: - case MV2ExperimentStage::kWarning: -- return false; + return false; - case MV2ExperimentStage::kDisableWithReEnable: - case MV2ExperimentStage::kUnsupported: - return true; - } } - // Returns true if the user is allowed to re-enable disabled extensions in the + // Returns true if the given `stage` is one in which extension enablement should --- a/chrome/browser/ui/webui/extensions/extensions_ui.cc +++ b/chrome/browser/ui/webui/extensions/extensions_ui.cc @@ -471,9 +471,9 @@ content::WebUIDataSource* CreateAndAddEx diff --git a/patches/core/ungoogled-chromium/fix-building-with-prunned-binaries.patch b/patches/core/ungoogled-chromium/fix-building-with-prunned-binaries.patch index ed99c3948e..5d2e048c22 100644 --- a/patches/core/ungoogled-chromium/fix-building-with-prunned-binaries.patch +++ b/patches/core/ungoogled-chromium/fix-building-with-prunned-binaries.patch @@ -3,7 +3,7 @@ --- a/chrome/BUILD.gn +++ b/chrome/BUILD.gn -@@ -375,7 +375,6 @@ if (!is_android && !is_mac) { +@@ -372,7 +372,6 @@ if (!is_android && !is_mac) { data_deps += [ "//chrome/browser/resources/media/mei_preload:component", @@ -11,7 +11,7 @@ "//third_party/widevine/cdm", ] if (invoker.collect_inputs_only) { -@@ -944,8 +943,6 @@ if (is_win) { +@@ -941,8 +940,6 @@ if (is_win) { bundle_data("chrome_framework_resources") { sources = [ @@ -20,7 +20,7 @@ # This image is used to badge the lock icon in the # authentication dialogs, such as those used for installation # from disk image and Keystone promotion (if so enabled). It -@@ -1217,7 +1214,6 @@ if (is_win) { +@@ -1214,7 +1211,6 @@ if (is_win) { ":swiftshader_binaries", ":widevine_cdm_library", "//chrome/browser/resources/media/mei_preload:component_bundle", @@ -30,7 +30,7 @@ if (is_chrome_branded) { --- a/chrome/browser/BUILD.gn +++ b/chrome/browser/BUILD.gn -@@ -759,10 +759,6 @@ static_library("browser") { +@@ -760,10 +760,6 @@ static_library("browser") { "navigation_predictor/navigation_predictor_metrics_document_data.h", "navigation_predictor/navigation_predictor_preconnect_client.cc", "navigation_predictor/navigation_predictor_preconnect_client.h", @@ -41,7 +41,7 @@ "net/cert_verifier_service_time_updater.cc", "net/cert_verifier_service_time_updater.h", "net/chrome_mojo_proxy_resolver_factory.cc", -@@ -3487,10 +3483,6 @@ static_library("browser") { +@@ -3465,10 +3461,6 @@ static_library("browser") { } else { #!is_android sources += [ @@ -52,8 +52,8 @@ "accessibility/caption_bubble_context_browser.h", "accessibility/embedded_a11y_extension_loader.cc", "accessibility/embedded_a11y_extension_loader.h", -@@ -4228,10 +4220,6 @@ static_library("browser") { - "//chrome/browser/on_device_translation:prefs", +@@ -4201,10 +4193,6 @@ static_library("browser") { + "//chrome/browser/new_tab_page/chrome_colors", "//chrome/browser/policy:path_parser", "//chrome/browser/resources:component_extension_resources", - "//chrome/browser/screen_ai:prefs", @@ -63,7 +63,7 @@ "//chrome/browser/search/background", "//chrome/browser/smart_card", "//chrome/browser/task_manager", -@@ -4355,9 +4343,6 @@ static_library("browser") { +@@ -4334,9 +4322,6 @@ static_library("browser") { "//components/webauthn/core/browser:passkey_model", "//services/device/public/cpp/bluetooth", "//services/device/public/cpp/hid", @@ -73,7 +73,7 @@ "//third_party/crashpad/crashpad/client:common", "//third_party/zxcvbn-cpp", "//ui/views", -@@ -4446,8 +4431,6 @@ static_library("browser") { +@@ -4427,8 +4412,6 @@ static_library("browser") { #!is_android if (!is_chromeos) { sources += [ @@ -82,7 +82,7 @@ "device_notifications/device_status_icon_renderer.cc", "device_notifications/device_status_icon_renderer.h", "external_protocol/auto_launch_protocols_policy_handler.cc", -@@ -4464,8 +4447,6 @@ static_library("browser") { +@@ -4445,8 +4428,6 @@ static_library("browser") { "policy/chrome_browser_cloud_management_register_watcher.h", "policy/file_selection_dialogs_policy_handler.cc", "policy/file_selection_dialogs_policy_handler.h", @@ -91,7 +91,7 @@ "usb/usb_status_icon.cc", "usb/usb_status_icon.h", ] -@@ -5189,7 +5170,6 @@ static_library("browser") { +@@ -5191,7 +5172,6 @@ static_library("browser") { "//chrome/browser/policy:onc", "//chrome/browser/push_notification:push_notification", "//chrome/browser/resources:app_icon_resources", @@ -99,7 +99,7 @@ "//chrome/browser/support_tool/ash", "//chrome/browser/ui/ash/accelerator", "//chrome/browser/ui/ash/accessibility", -@@ -5411,7 +5391,6 @@ static_library("browser") { +@@ -5415,7 +5395,6 @@ static_library("browser") { "//components/webapk:proto", "//device/vr/public/mojom:isolated_xr_service", "//remoting/host/chromeos:features", @@ -107,8 +107,8 @@ "//third_party/nearby:rpc_resources_proto", "//third_party/nearby:wire_format_proto", "//ui/chromeos", -@@ -8013,22 +7992,6 @@ static_library("browser") { - } +@@ -8029,23 +8008,6 @@ static_library("browser") { + ] } - if (enable_pdf) { @@ -121,6 +121,7 @@ - deps += [ - "//chrome/browser/pdf", - "//chrome/browser/pdf:pdf_pref_names", +- "//chrome/browser/ui/pdf", - "//components/pdf/browser", - "//components/pdf/browser:interceptors", - "//extensions/common/api", @@ -145,7 +146,7 @@ #include "chrome/browser/usb/usb_status_icon.h" #include "components/enterprise/browser/controller/chrome_browser_cloud_management_controller.h" #endif -@@ -1331,9 +1329,6 @@ void BrowserProcessImpl::PreMainMessageL +@@ -1326,9 +1324,6 @@ void BrowserProcessImpl::PreMainMessageL soda_installer_impl_ = std::make_unique(); #endif // BUILDFLAG(IS_CHROMEOS_ASH) @@ -179,7 +180,7 @@ std::unique_ptr platform_part_; --- a/chrome/browser/chrome_browser_interface_binders.cc +++ b/chrome/browser/chrome_browser_interface_binders.cc -@@ -225,8 +225,6 @@ +@@ -222,8 +222,6 @@ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ BUILDFLAG(IS_CHROMEOS) @@ -188,7 +189,7 @@ #include "chrome/browser/ui/web_applications/sub_apps_service_impl.h" #include "chrome/browser/ui/webui/discards/discards.mojom.h" #include "chrome/browser/ui/webui/discards/discards_ui.h" -@@ -864,27 +862,6 @@ void BindMediaFoundationPreferences( +@@ -734,27 +732,6 @@ void BindMediaFoundationPreferences( } #endif // BUILDFLAG(IS_WIN) @@ -214,16 +215,14 @@ -} -#endif - #if BUILDFLAG(IS_CHROMEOS_LACROS) - // A helper class to register ChromeOS Apps API binders. This includes the logic -@@ -1088,15 +1065,6 @@ void PopulateChromeFrameBinders( + void PopulateChromeFrameBinders( + mojo::BinderMapWithContext* map, +@@ -883,13 +860,6 @@ void PopulateChromeFrameBinders( base::BindRepeating(&web_app::SubAppsServiceImpl::CreateIfAllowed)); } -- if (features::IsPdfOcrEnabled()) { -- map->Add( -- base::BindRepeating(&BindScreenAIAnnotator)); -- } +- map->Add( +- base::BindRepeating(&BindScreenAIAnnotator)); - - if (features::IsReadAnythingWithScreen2xEnabled()) { - map->Add( @@ -232,9 +231,28 @@ #endif #if BUILDFLAG(IS_WIN) +--- a/chrome/browser/chrome_content_browser_client_receiver_bindings.cc ++++ b/chrome/browser/chrome_content_browser_client_receiver_bindings.cc +@@ -529,16 +529,6 @@ void ChromeContentBrowserClient:: + std::move(receiver), render_frame_host); + }, + &render_frame_host)); +-#if BUILDFLAG(ENABLE_PDF) +- associated_registry.AddInterface(base::BindRepeating( +- [](content::RenderFrameHost* render_frame_host, +- mojo::PendingAssociatedReceiver receiver) { +- pdf::PDFDocumentHelper::BindPdfHost( +- std::move(receiver), render_frame_host, +- std::make_unique()); +- }, +- &render_frame_host)); +-#endif // BUILDFLAG(ENABLE_PDF) + #if !BUILDFLAG(IS_ANDROID) + associated_registry.AddInterface( + base::BindRepeating( --- a/chrome/browser/component_updater/registration.cc +++ b/chrome/browser/component_updater/registration.cc -@@ -71,8 +71,6 @@ +@@ -72,8 +72,6 @@ #if BUILDFLAG(IS_ANDROID) #include "chrome/browser/component_updater/real_time_url_checks_allowlist_component_installer.h" @@ -243,7 +261,7 @@ #endif // BUILDFLAG(IS_ANDROID) #if !BUILDFLAG(IS_ANDROID) -@@ -222,9 +220,6 @@ void RegisterComponentsForUpdate() { +@@ -221,9 +219,6 @@ void RegisterComponentsForUpdate() { RegisterAutofillStatesComponent(cus, g_browser_process->local_state()); @@ -264,19 +282,18 @@ #include "chrome/browser/preloading/preloading_prefs.h" #include "chrome/browser/profiles/profile.h" #include "components/no_state_prefetch/browser/no_state_prefetch_manager.h" -@@ -107,11 +105,6 @@ base::TimeDelta MLModelExecutionTimerSta - return base::Milliseconds(timer_start_delay); +@@ -106,10 +104,6 @@ base::TimeDelta MLModelExecutionTimerSta + blink::features::kPreloadingModelTimerStartDelay.Get()); } -base::TimeDelta MLModelExecutionTimerInterval() { -- static int timer_interval = -- blink::features::kPreloadingModelTimerInterval.Get(); -- return base::Milliseconds(timer_interval); +- return base::Milliseconds( +- blink::features::kPreloadingModelTimerInterval.Get()); -} bool MLModelOneExecutionPerHover() { - static bool one_execution_per_hover = -@@ -424,87 +417,6 @@ void NavigationPredictor::ProcessPointer + return blink::features::kPreloadingModelOneExecutionPerHover.Get(); +@@ -420,87 +414,6 @@ void NavigationPredictor::ProcessPointer } void NavigationPredictor::OnMLModelExecutionTimerFired() { @@ -364,9 +381,29 @@ } void NavigationPredictor::SetModelScoreCallbackForTesting( +--- a/chrome/browser/pdf/pdf_extension_util.cc ++++ b/chrome/browser/pdf/pdf_extension_util.cc +@@ -104,7 +104,6 @@ void AddPdfViewerStrings(base::Value::Di + {"rotationStateLabel90", IDS_PDF_ROTATION_STATE_LABEL_90}, + {"rotationStateLabel180", IDS_PDF_ROTATION_STATE_LABEL_180}, + {"rotationStateLabel270", IDS_PDF_ROTATION_STATE_LABEL_270}, +- {"searchifyInProgress", IDS_PDF_SEARCHIFY_IN_PROGRESS}, + {"thumbnailPageAriaLabel", IDS_PDF_THUMBNAIL_PAGE_ARIA_LABEL}, + {"tooltipAttachments", IDS_PDF_TOOLTIP_ATTACHMENTS}, + {"tooltipDocumentOutline", IDS_PDF_TOOLTIP_DOCUMENT_OUTLINE}, +--- a/chrome/browser/prefs/BUILD.gn ++++ b/chrome/browser/prefs/BUILD.gn +@@ -262,7 +262,6 @@ source_set("impl") { + } else { + deps += [ + "//chrome/browser/promos:utils", +- "//chrome/browser/screen_ai:prefs", + "//chrome/browser/search/background", + "//chrome/browser/search_engine_choice", + "//chrome/browser/search_engines", --- a/chrome/browser/prefs/browser_prefs.cc +++ b/chrome/browser/prefs/browser_prefs.cc -@@ -1900,9 +1900,6 @@ void RegisterLocalState(PrefRegistrySimp +@@ -1863,9 +1863,6 @@ void RegisterLocalState(PrefRegistrySimp DeviceOAuth2TokenStoreDesktop::RegisterPrefs(registry); #endif @@ -378,7 +415,7 @@ PlatformAuthPolicyObserver::RegisterPrefs(registry); --- a/chrome/browser/profiles/BUILD.gn +++ b/chrome/browser/profiles/BUILD.gn -@@ -359,7 +359,6 @@ source_set("profiles_extra_parts_impl") +@@ -298,7 +298,6 @@ source_set("profiles_extra_parts_impl") "//chrome/browser/feedback", "//chrome/browser/hid", "//chrome/browser/media/router/discovery/access_code:access_code_sink_service", @@ -388,15 +425,15 @@ "//chrome/browser/search_engine_choice", --- a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc +++ b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc -@@ -102,7 +102,6 @@ +@@ -104,7 +104,6 @@ #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h" #include "chrome/browser/metrics/variations/google_groups_manager_factory.h" #include "chrome/browser/navigation_predictor/navigation_predictor_keyed_service_factory.h" -#include "chrome/browser/navigation_predictor/preloading_model_keyed_service_factory.h" #include "chrome/browser/net/dns_probe_service_factory.h" #include "chrome/browser/net/profile_network_context_service_factory.h" - #include "chrome/browser/notifications/metrics/notification_metrics_logger_factory.h" -@@ -493,7 +492,6 @@ + #if BUILDFLAG(CHROME_ROOT_STORE_CERT_MANAGEMENT_UI) +@@ -497,7 +496,6 @@ #include "chrome/browser/new_tab_page/promos/promo_service_factory.h" #include "chrome/browser/payments/payment_request_display_manager_factory.h" #include "chrome/browser/privacy_sandbox/privacy_sandbox_survey_desktop_controller_factory.h" @@ -404,15 +441,15 @@ #include "chrome/browser/search/background/ntp_background_service_factory.h" #include "chrome/browser/search/background/ntp_custom_background_service_factory.h" #include "chrome/browser/serial/serial_chooser_context_factory.h" -@@ -962,7 +960,6 @@ void ChromeBrowserMainExtraPartsProfiles - metrics::DesktopProfileSessionDurationsServiceFactory::GetInstance(); - #endif - NavigationPredictorKeyedServiceFactory::GetInstance(); +@@ -982,7 +980,6 @@ void ChromeBrowserMainExtraPartsProfiles + #if BUILDFLAG(CHROME_ROOT_STORE_CERT_MANAGEMENT_UI) + net::ServerCertificateDatabaseServiceFactory::GetInstance(); + #endif // BUILDFLAG(CHROME_ROOT_STORE_CERT_MANAGEMENT_UI) - PreloadingModelKeyedServiceFactory::GetInstance(); #if BUILDFLAG(IS_CHROMEOS) NearbySharingServiceFactory::GetInstance(); if (base::FeatureList::IsEnabled(ash::features::kNearbyPresence)) { -@@ -1011,9 +1008,6 @@ void ChromeBrowserMainExtraPartsProfiles +@@ -1031,9 +1028,6 @@ void ChromeBrowserMainExtraPartsProfiles OneTimePermissionsTrackerFactory::GetInstance(); #endif OpenerHeuristicServiceFactory::GetInstance(); @@ -422,7 +459,7 @@ OptimizationGuideKeyedServiceFactory::GetInstance(); OriginKeyedPermissionActionServiceFactory::GetInstance(); OriginTrialsFactory::GetInstance(); -@@ -1158,13 +1152,6 @@ void ChromeBrowserMainExtraPartsProfiles +@@ -1178,13 +1172,6 @@ void ChromeBrowserMainExtraPartsProfiles #else SafetyHubMenuNotificationServiceFactory::GetInstance(); SafetyHubHatsServiceFactory::GetInstance(); @@ -438,24 +475,22 @@ if (ash::features::IsScannerEnabled()) { --- a/chrome/browser/profiles/profile_impl.cc +++ b/chrome/browser/profiles/profile_impl.cc -@@ -826,26 +826,6 @@ void ProfileImpl::DoFinalInit(CreateMode +@@ -843,24 +843,6 @@ void ProfileImpl::DoFinalInit(CreateMode // The password settings service needs to start listening to settings // changes from Google Mobile Services, as early as possible. PasswordManagerSettingsServiceFactory::GetForProfile(this); -#else - -#if BUILDFLAG(ENABLE_PDF) -- if (features::IsPdfOcrEnabled()) { -- bool pcf_ocr_may_be_needed = true; +- bool pcf_ocr_may_be_needed = true; -#if BUILDFLAG(IS_CHROMEOS) -- // `PdfOcrControllerFactory` is not needed in the not-signed-in profile of -- // ChromeOS as no user navigation to PDFs is possible there. -- pcf_ocr_may_be_needed = IsSignedIn(); +- // `PdfOcrControllerFactory` is not needed in the not-signed-in profile of +- // ChromeOS as no user navigation to PDFs is possible there. +- pcf_ocr_may_be_needed = IsSignedIn(); -#endif -- // Create the PDF OCR controller so that it can self-activate as needed. -- if (pcf_ocr_may_be_needed) { -- screen_ai::PdfOcrControllerFactory::GetForProfile(this); -- } +- // Create the PDF OCR controller so that it can self-activate as needed. +- if (pcf_ocr_may_be_needed) { +- screen_ai::PdfOcrControllerFactory::GetForProfile(this); - } -#endif // BUILDFLAG(ENABLE_PDF) - @@ -475,7 +510,7 @@ #include "chrome/browser/permissions/adaptive_quiet_notification_permission_ui_enabler.h" #include "chrome/browser/prefs/incognito_mode_prefs.h" #include "chrome/browser/profiles/delete_profile_helper.h" -@@ -1495,9 +1494,6 @@ void ProfileManager::DoFinalInitForServi +@@ -1494,9 +1493,6 @@ void ProfileManager::DoFinalInitForServi // Ensure NavigationPredictorKeyedService is started. NavigationPredictorKeyedServiceFactory::GetForProfile(profile); @@ -487,7 +522,7 @@ #if BUILDFLAG(IS_ANDROID) --- a/chrome/browser/resources/BUILD.gn +++ b/chrome/browser/resources/BUILD.gn -@@ -98,7 +98,6 @@ group("resources") { +@@ -97,7 +97,6 @@ group("resources") { if (is_mac) { public_deps += [ "//chrome/browser/resources/media/mei_preload:component", @@ -495,9 +530,22 @@ ] } +--- a/chrome/browser/resources/pdf/pdf_viewer.html ++++ b/chrome/browser/resources/pdf/pdf_viewer.html +@@ -89,10 +89,6 @@ + @current-type-changed="${this.onBrushTypeChanged_}"> + ` : ''} + +- +-
+- $i18n{searchifyInProgress} +-
+ + + ${this.showErrorDialog ? html` --- a/chrome/browser/ui/BUILD.gn +++ b/chrome/browser/ui/BUILD.gn -@@ -1728,8 +1728,6 @@ static_library("ui") { +@@ -1673,8 +1673,6 @@ static_library("ui") { "//chrome/browser/reading_list", "//chrome/browser/safe_browsing", "//chrome/browser/safe_browsing:advanced_protection", @@ -506,7 +554,7 @@ "//chrome/browser/smart_card:smart_card", "//chrome/browser/tab_group_sync:utils", "//chrome/browser/task_manager:impl", -@@ -2395,7 +2393,6 @@ static_library("ui") { +@@ -2347,7 +2345,6 @@ static_library("ui") { "//chrome/browser/nearby_sharing/logging:util", "//chrome/browser/policy:onc", "//chrome/browser/push_notification:push_notification", @@ -619,31 +667,41 @@ #include "chrome/browser/speech/extension_api/tts_engine_extension_api.h" #include "chrome/browser/translate/chrome_translate_client.h" #include "chrome/browser/ui/browser.h" -@@ -328,19 +326,6 @@ ReadAnythingUntrustedPageHandler::ReadAn +@@ -370,26 +368,6 @@ ReadAnythingUntrustedPageHandler::ReadAn prefs_lang = language::ExtractBaseLanguage(prefs_lang); SetDefaultLanguageCode(prefs_lang); -- if (features::IsReadAnythingWithScreen2xEnabled()) { -- screen_ai::ScreenAIServiceRouterFactory::GetForBrowserContext(profile_) -- ->GetServiceStateAsync( -- screen_ai::ScreenAIServiceRouter::Service::kMainContentExtraction, -- base::BindOnce( -- &ReadAnythingUntrustedPageHandler::OnScreenAIServiceInitialized, -- weak_factory_.GetWeakPtr())); -- } -- if (features::IsPdfOcrEnabled()) { -- screen_ai::ScreenAIServiceRouterFactory::GetForBrowserContext(profile_) -- ->GetServiceStateAsync(screen_ai::ScreenAIServiceRouter::Service::kOCR, -- base::DoNothing()); +- if (use_screen_ai_service_) { +- if (features::IsReadAnythingWithScreen2xEnabled()) { +- screen_ai::ScreenAIServiceRouterFactory::GetForBrowserContext(profile_) +- ->GetServiceStateAsync( +- screen_ai::ScreenAIServiceRouter::Service::kMainContentExtraction, +- base::BindOnce(&ReadAnythingUntrustedPageHandler:: +- OnScreenAIServiceInitialized, +- weak_factory_.GetWeakPtr())); +- } +-#if BUILDFLAG(ENABLE_PDF) +- // PDF searchify feature adds OCR text to images while loading the PDF, so +- // warming up the OCR service is not needed. +- if (!base::FeatureList::IsEnabled(chrome_pdf::features::kPdfSearchify)) { +- screen_ai::ScreenAIServiceRouterFactory::GetForBrowserContext(profile_) +- ->GetServiceStateAsync( +- screen_ai::ScreenAIServiceRouter::Service::kOCR, +- base::DoNothing()); +- } +-#endif // BUILDFLAG(ENABLE_PDF) - } // Enable accessibility for the top level render frame and all descendants. // This causes AXTreeSerializer to reset and send accessibility events of -@@ -729,9 +714,6 @@ void ReadAnythingUntrustedPageHandler::S +@@ -805,12 +783,6 @@ void ReadAnythingUntrustedPageHandler::S weak_factory_.GetSafeRef(), inner_contents[0], kReadAnythingAXMode); } } -- if (features::IsPdfOcrEnabled()) { +- // PDF searchify feature adds OCR text to images while loading the PDF, so +- // activating PDF OCR is not needed. +- if (use_screen_ai_service_ && +- !base::FeatureList::IsEnabled(chrome_pdf::features::kPdfSearchify)) { - screen_ai::PdfOcrControllerFactory::GetForProfile(profile_)->Activate(); - } #endif // BUILDFLAG(ENABLE_PDF) @@ -651,26 +709,26 @@ --- a/chrome/renderer/BUILD.gn +++ b/chrome/renderer/BUILD.gn -@@ -384,18 +384,6 @@ static_library("renderer") { +@@ -379,18 +379,6 @@ static_library("renderer") { ] } else { sources += [ - "accessibility/ax_tree_distiller.cc", - "accessibility/ax_tree_distiller.h", -- "accessibility/read_aloud_app_model.cc", -- "accessibility/read_aloud_app_model.h", -- "accessibility/read_aloud_traversal_utils.cc", -- "accessibility/read_aloud_traversal_utils.h", -- "accessibility/read_anything_app_controller.cc", -- "accessibility/read_anything_app_controller.h", -- "accessibility/read_anything_app_model.cc", -- "accessibility/read_anything_app_model.h", -- "accessibility/read_anything_node_utils.cc", -- "accessibility/read_anything_node_utils.h", +- "accessibility/read_anything/read_aloud_app_model.cc", +- "accessibility/read_anything/read_aloud_app_model.h", +- "accessibility/read_anything/read_aloud_traversal_utils.cc", +- "accessibility/read_anything/read_aloud_traversal_utils.h", +- "accessibility/read_anything/read_anything_app_controller.cc", +- "accessibility/read_anything/read_anything_app_controller.h", +- "accessibility/read_anything/read_anything_app_model.cc", +- "accessibility/read_anything/read_anything_app_model.h", +- "accessibility/read_anything/read_anything_node_utils.cc", +- "accessibility/read_anything/read_anything_node_utils.h", "media/chrome_speech_recognition_client.cc", "media/chrome_speech_recognition_client.h", "searchbox/searchbox.cc", -@@ -409,7 +397,6 @@ static_library("renderer") { +@@ -404,7 +392,6 @@ static_library("renderer") { "//components/crx_file", "//components/trusted_vault", "//services/screen_ai/buildflags", @@ -684,7 +742,7 @@ #include "url/gurl.h" #if !BUILDFLAG(IS_ANDROID) --#include "chrome/renderer/accessibility/read_anything_app_controller.h" +-#include "chrome/renderer/accessibility/read_anything/read_anything_app_controller.h" #include "chrome/renderer/searchbox/searchbox_extension.h" #endif // !BUILDFLAG(IS_ANDROID) @@ -712,7 +770,7 @@ void ChromeRenderFrameObserver::DidMeaningfulLayout( --- a/chrome/test/BUILD.gn +++ b/chrome/test/BUILD.gn -@@ -1922,9 +1922,6 @@ if (!is_android) { +@@ -1967,9 +1967,6 @@ if (!is_android) { "//chrome/browser/resource_coordinator:tab_manager_features", "//chrome/browser/safe_browsing:advanced_protection", "//chrome/browser/safe_browsing:verdict_cache_manager_factory", @@ -722,7 +780,15 @@ "//chrome/browser/search", "//chrome/browser/search_engines", "//chrome/browser/segmentation_platform:test_utils", -@@ -2316,9 +2313,6 @@ if (!is_android) { +@@ -2008,7 +2005,6 @@ if (!is_android) { + "//chrome/browser/ui/omnibox", + "//chrome/browser/ui/page_action:icon_type", + "//chrome/browser/ui/page_info", +- "//chrome/browser/ui/pdf", + "//chrome/browser/ui/permission_bubble:browser_tests", + "//chrome/browser/ui/prefs:browser_tests", + "//chrome/browser/ui/qrcode_generator:browser_tests", +@@ -2369,9 +2365,6 @@ if (!is_android) { "//services/network/public/proto:sct_audit_report_proto", "//services/preferences/public/cpp", "//services/preferences/public/cpp/tracked", @@ -732,7 +798,7 @@ "//services/service_manager/public/cpp", "//services/strings", "//services/test/echo/public/mojom", -@@ -7742,7 +7736,6 @@ test("unit_tests") { +@@ -7813,7 +7806,6 @@ test("unit_tests") { # Non-android deps for "unit_tests" target. deps += [ @@ -740,7 +806,7 @@ "//chrome:packed_resources_integrity_header", "//chrome/browser/apps:icon_standardizer", "//chrome/browser/apps/app_service", -@@ -7893,7 +7886,6 @@ test("unit_tests") { +@@ -7959,7 +7951,6 @@ test("unit_tests") { "//services/device/public/cpp/bluetooth", "//services/metrics/public/cpp:ukm_builders", "//services/network:test_support", @@ -748,7 +814,7 @@ "//services/video_effects/test:test_support", "//third_party/crashpad/crashpad/util", "//third_party/libaddressinput", -@@ -8335,7 +8327,6 @@ test("unit_tests") { +@@ -8399,7 +8390,6 @@ test("unit_tests") { "//chrome/browser/nearby_sharing/contacts:unit_tests", "//chrome/browser/nearby_sharing/local_device_data:unit_tests", "//chrome/browser/policy:unit_tests", @@ -789,7 +855,7 @@ --- a/chrome/utility/services.cc +++ b/chrome/utility/services.cc -@@ -62,8 +62,6 @@ +@@ -60,8 +60,6 @@ #include "services/passage_embeddings/passage_embeddings_service.h" #include "services/proxy_resolver/proxy_resolver_factory_impl.h" // nogncheck #include "services/proxy_resolver/public/mojom/proxy_resolver.mojom.h" @@ -798,7 +864,7 @@ #endif // !BUILDFLAG(IS_ANDROID) #if BUILDFLAG(ENABLE_BROWSER_SPEECH_SERVICE) -@@ -263,12 +261,6 @@ auto RunSpeechRecognitionService( +@@ -260,12 +258,6 @@ auto RunSpeechRecognitionService( } #endif // !BUILDFLAG(ENABLE_BROWSER_SPEECH_SERVICE) @@ -811,7 +877,7 @@ #if BUILDFLAG(IS_CHROMEOS_ASH) auto RunCupsIppParser( -@@ -460,7 +452,6 @@ void RegisterMainThreadServices(mojo::Se +@@ -467,7 +459,6 @@ void RegisterMainThreadServices(mojo::Se services.Add(RunProfileImporter); services.Add(RunMirroringService); services.Add(RunPassageEmbeddingsService); @@ -830,16 +896,6 @@ DCHECK(!inside_classify_); base::AutoReset reset(&inside_classify_, true); AutocompleteInput input(text, page_classification, *scheme_classifier_); ---- a/components/pdf/renderer/BUILD.gn -+++ b/components/pdf/renderer/BUILD.gn -@@ -44,7 +44,6 @@ static_library("renderer") { - "//pdf:pdf_view_web_plugin", - "//printing/buildflags", - "//services/screen_ai/buildflags", -- "//services/screen_ai/public/cpp:metrics", - "//skia", - "//third_party/blink/public:blink", - "//third_party/icu", --- a/components/pdf/renderer/pdf_accessibility_tree_builder.cc +++ b/components/pdf/renderer/pdf_accessibility_tree_builder.cc @@ -9,7 +9,6 @@ @@ -850,6 +906,15 @@ #include "components/strings/grit/components_strings.h" #include "pdf/accessibility_structs.h" #include "pdf/pdf_features.h" +@@ -910,8 +909,6 @@ ui::AXNodeData* PdfAccessibilityTreeBuil + wrapper_node->relative_bounds.bounds = gfx::RectF(position, gfx::SizeF(1, 1)); + + ui::AXNodeData* text_node = CreateStaticTextNode(); +- text_node->SetNameChecked(l10n_util::GetStringUTF8( +- start ? IDS_PDF_OCR_RESULT_BEGIN : IDS_PDF_OCR_RESULT_END)); + text_node->relative_bounds.bounds = wrapper_node->relative_bounds.bounds; + wrapper_node->child_ids.push_back(text_node->id); + return wrapper_node; --- a/components/pdf/renderer/pdf_view_web_plugin_client.cc +++ b/components/pdf/renderer/pdf_view_web_plugin_client.cc @@ -204,34 +204,6 @@ PdfViewWebPluginClient::CreateAssociated @@ -925,7 +990,7 @@ }; --- a/components/update_client/BUILD.gn +++ b/components/update_client/BUILD.gn -@@ -339,8 +339,6 @@ source_set("unit_tests") { +@@ -341,8 +341,6 @@ source_set("unit_tests") { "//third_party/puffin:libpuffpatch", "//third_party/re2", ] @@ -936,7 +1001,7 @@ fuzzer_test("update_client_protocol_serializer_fuzzer") { --- a/content/shell/BUILD.gn +++ b/content/shell/BUILD.gn -@@ -807,10 +807,6 @@ if (is_apple) { +@@ -808,10 +808,6 @@ if (is_apple) { deps = [ "//third_party/icu:icudata" ] } @@ -947,9 +1012,19 @@ if (v8_use_external_startup_data) { public_deps += [ "//v8" ] if (use_v8_context_snapshot) { +--- a/pdf/accessibility.cc ++++ b/pdf/accessibility.cc +@@ -47,7 +47,6 @@ void GetAccessibilityInfo(PDFiumEngine* + page_info.page_index = page_index; + page_info.bounds = page->rect(); + page_info.char_count = char_count; +- page_info.is_searchified = page->IsPageSearchified(); + + chars.resize(page_info.char_count); + for (uint32_t i = 0; i < char_count; ++i) { --- a/pdf/pdf_view_web_plugin.cc +++ b/pdf/pdf_view_web_plugin.cc -@@ -1204,11 +1204,6 @@ void PdfViewWebPlugin::DocumentLoadCompl +@@ -1303,11 +1303,6 @@ void PdfViewWebPlugin::DocumentLoadCompl if (accessibility_state_ == AccessibilityState::kPending) LoadAccessibility(); @@ -961,7 +1036,7 @@ if (!full_frame_) return; -@@ -2061,7 +2056,7 @@ void PdfViewWebPlugin::EnableAccessibili +@@ -2243,7 +2238,7 @@ void PdfViewWebPlugin::EnableAccessibili SkBitmap PdfViewWebPlugin::GetImageForOcr(int32_t page_index, int32_t page_object_index) { @@ -969,8 +1044,8 @@ + return SkBitmap(); } - #if BUILDFLAG(ENABLE_PDF_INK2) -@@ -2641,19 +2636,6 @@ void PdfViewWebPlugin::PrepareAndSetAcce + void PdfViewWebPlugin::HandleAccessibilityAction( +@@ -2780,19 +2775,6 @@ void PdfViewWebPlugin::PrepareAndSetAcce return; } @@ -992,7 +1067,7 @@ --- a/pdf/pdfium/pdfium_engine.cc +++ b/pdf/pdfium/pdfium_engine.cc -@@ -2617,7 +2617,7 @@ void PDFiumEngine::HandleLongPress(const +@@ -2660,7 +2660,7 @@ void PDFiumEngine::HandleLongPress(const SkBitmap PDFiumEngine::GetImageForOcr(int page_index, int image_index) { DCHECK(PageIndexInBounds(page_index)); @@ -1053,7 +1128,7 @@ group("devtools_all_files") { --- a/third_party/devtools-frontend/src/front_end/BUILD.gn +++ b/third_party/devtools-frontend/src/front_end/BUILD.gn -@@ -194,7 +194,6 @@ group("unittests") { +@@ -193,7 +193,6 @@ group("unittests") { "panels/timeline:unittests", "panels/timeline/components:unittests", "panels/timeline/components/insights:unittests", diff --git a/patches/core/ungoogled-chromium/fix-building-without-safebrowsing.patch b/patches/core/ungoogled-chromium/fix-building-without-safebrowsing.patch index f03dee0057..e5d3f36f14 100644 --- a/patches/core/ungoogled-chromium/fix-building-without-safebrowsing.patch +++ b/patches/core/ungoogled-chromium/fix-building-without-safebrowsing.patch @@ -2,7 +2,7 @@ --- a/chrome/browser/BUILD.gn +++ b/chrome/browser/BUILD.gn -@@ -610,8 +610,6 @@ static_library("browser") { +@@ -611,8 +611,6 @@ static_library("browser") { "internal_auth.h", "interstitials/chrome_settings_page_helper.cc", "interstitials/chrome_settings_page_helper.h", @@ -11,7 +11,15 @@ "invalidation/profile_invalidation_provider_factory.cc", "invalidation/profile_invalidation_provider_factory.h", "k_anonymity_service/k_anonymity_service_client.cc", -@@ -3839,10 +3837,6 @@ static_library("browser") { +@@ -2244,7 +2242,6 @@ static_library("browser") { + "//components/resources", + "//components/safe_browsing/content/browser", + "//components/safe_browsing/content/browser:safe_browsing_service", +- "//components/safe_browsing/content/browser/notification_content_detection", + "//components/safe_browsing/content/browser/password_protection", + "//components/safe_browsing/content/browser/web_ui", + "//components/safe_browsing/core/browser", +@@ -3811,10 +3808,6 @@ static_library("browser") { "new_tab_page/modules/modules_util.h", "new_tab_page/modules/new_tab_page_modules.cc", "new_tab_page/modules/new_tab_page_modules.h", @@ -19,10 +27,10 @@ - "new_tab_page/modules/safe_browsing/safe_browsing_handler.h", - "new_tab_page/modules/safe_browsing/safe_browsing_prefs.cc", - "new_tab_page/modules/safe_browsing/safe_browsing_prefs.h", + "new_tab_page/modules/v2/calendar/calendar_fake_data_helper.cc", + "new_tab_page/modules/v2/calendar/calendar_fake_data_helper.h", "new_tab_page/modules/v2/calendar/google_calendar_page_handler.cc", - "new_tab_page/modules/v2/calendar/google_calendar_page_handler.h", - "new_tab_page/modules/v2/calendar/outlook_calendar_page_handler.cc", -@@ -6787,8 +6781,6 @@ static_library("browser") { +@@ -6765,8 +6758,6 @@ static_library("browser") { if (enterprise_cloud_content_analysis) { sources += [ @@ -31,7 +39,7 @@ "enterprise/connectors/analysis/content_analysis_delegate_base.h", "enterprise/connectors/analysis/content_analysis_dialog.cc", "enterprise/connectors/analysis/content_analysis_dialog.h", -@@ -6796,8 +6788,6 @@ static_library("browser") { +@@ -6774,8 +6765,6 @@ static_library("browser") { "enterprise/connectors/analysis/content_analysis_downloads_delegate.h", "enterprise/connectors/analysis/files_request_handler.cc", "enterprise/connectors/analysis/files_request_handler.h", @@ -40,7 +48,7 @@ "enterprise/connectors/analysis/request_handler_base.cc", "enterprise/connectors/analysis/request_handler_base.h", "enterprise/connectors/reporting/browser_crash_event_router.cc", -@@ -7412,12 +7402,6 @@ static_library("browser") { +@@ -7395,12 +7384,6 @@ static_library("browser") { } } @@ -53,7 +61,7 @@ if (enable_captive_portal_detection) { sources += [ -@@ -8314,9 +8298,14 @@ static_library("browser") { +@@ -8330,9 +8313,14 @@ static_library("browser") { "//components/safe_browsing/content/browser:safe_browsing_blocking_page", "//components/safe_browsing/content/browser/download:download_stats", "//components/safe_browsing/content/common:file_type_policies", @@ -69,7 +77,7 @@ if (build_with_tflite_lib) { sources += [ -@@ -8614,7 +8603,6 @@ static_library("browser_generated_files" +@@ -8636,7 +8624,6 @@ static_library("browser_generated_files" "//chrome/browser/new_tab_page/chrome_colors:generate_chrome_colors_info", "//chrome/browser/new_tab_page/chrome_colors:generate_colors_info", "//chrome/browser/new_tab_page/modules/file_suggestion:mojo_bindings", @@ -77,9 +85,18 @@ "//chrome/browser/new_tab_page/modules/v2/calendar:mojo_bindings", "//chrome/browser/new_tab_page/modules/v2/most_relevant_tab_resumption:mojo_bindings", "//chrome/browser/profile_resetter:profile_reset_report_proto", +@@ -9137,8 +9124,6 @@ static_library("test_support") { + "//components/reporting/util:status", + "//components/reporting/util:status_macros", + "//components/reporting/util:task_runner_context", +- "//components/safe_browsing/content/browser/notification_content_detection:notification_content_detection", +- "//components/safe_browsing/content/browser/notification_content_detection:test_utils", + "//components/safe_browsing/core/common/proto:csd_proto", + "//components/search_engines:test_support", + "//components/security_interstitials/content:security_interstitial_page", --- a/chrome/browser/chrome_content_browser_client.cc +++ b/chrome/browser/chrome_content_browser_client.cc -@@ -5549,11 +5549,13 @@ ChromeContentBrowserClient::CreateThrott +@@ -5554,11 +5554,13 @@ ChromeContentBrowserClient::CreateThrott &throttles); #endif @@ -93,7 +110,7 @@ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) MaybeAddThrottle(browser_switcher::BrowserSwitcherNavigationThrottle:: -@@ -7370,26 +7372,7 @@ ChromeContentBrowserClient::GetSafeBrows +@@ -7366,26 +7368,7 @@ ChromeContentBrowserClient::GetSafeBrows const std::vector& allowlist_domains) { DCHECK_CURRENTLY_ON(content::BrowserThread::UI); @@ -121,7 +138,7 @@ } safe_browsing::RealTimeUrlLookupServiceBase* -@@ -7410,11 +7393,6 @@ ChromeContentBrowserClient::GetUrlLookup +@@ -7406,11 +7389,6 @@ ChromeContentBrowserClient::GetUrlLookup GetForProfile(profile); } #endif @@ -133,7 +150,7 @@ return nullptr; } -@@ -7426,34 +7404,7 @@ ChromeContentBrowserClient::GetAsyncChec +@@ -7422,34 +7400,7 @@ ChromeContentBrowserClient::GetAsyncChec safe_browsing::hash_realtime_utils::HashRealTimeSelection hash_realtime_selection, content::FrameTreeNodeId frame_tree_node_id) { @@ -227,7 +244,7 @@ using ConnectionType = net::NetworkChangeNotifier::ConnectionType; #if BUILDFLAG(FULL_SAFE_BROWSING) -@@ -698,15 +697,6 @@ bool ChromeDownloadManagerDelegate::Shou +@@ -695,15 +694,6 @@ bool ChromeDownloadManagerDelegate::Shou #endif bool should_open = download_prefs_->IsAutoOpenEnabled(url, path); @@ -243,7 +260,7 @@ return should_open; } -@@ -758,32 +748,6 @@ bool ChromeDownloadManagerDelegate::IsDo +@@ -755,32 +745,6 @@ bool ChromeDownloadManagerDelegate::IsDo DownloadItem* item, base::OnceClosure internal_complete_callback) { DCHECK_CURRENTLY_ON(BrowserThread::UI); @@ -276,7 +293,7 @@ #if BUILDFLAG(FULL_SAFE_BROWSING) // If this is a chrome triggered download, return true; -@@ -859,20 +823,6 @@ bool ChromeDownloadManagerDelegate::IsDo +@@ -856,20 +820,6 @@ bool ChromeDownloadManagerDelegate::IsDo return true; } @@ -297,7 +314,7 @@ void ChromeDownloadManagerDelegate::ShouldCompleteDownloadInternal( uint32_t download_id, -@@ -1784,7 +1734,6 @@ void ChromeDownloadManagerDelegate::OnDo +@@ -1777,7 +1727,6 @@ void ChromeDownloadManagerDelegate::OnDo DownloadItemModel model(item); model.DetermineAndSetShouldPreferOpeningInBrowser( target_info.target_path, target_info.is_filetype_handled_safely); @@ -305,7 +322,7 @@ } if (ShouldBlockFile(item, target_info.danger_type)) { MaybeReportDangerousDownloadBlocked( -@@ -1865,49 +1814,20 @@ bool ChromeDownloadManagerDelegate::IsOp +@@ -1858,49 +1807,20 @@ bool ChromeDownloadManagerDelegate::IsOp bool ChromeDownloadManagerDelegate::ShouldBlockFile( download::DownloadItem* item, download::DownloadDangerType danger_type) const { @@ -314,7 +331,7 @@ - return false; - } - - DownloadPrefs::DownloadRestriction download_restriction = + policy::DownloadRestriction download_restriction = download_prefs_->download_restriction(); - if (IsDangerTypeBlocked(danger_type)) @@ -325,14 +342,14 @@ - DownloadFileType::NOT_DANGEROUS); - switch (download_restriction) { - case (DownloadPrefs::DownloadRestriction::NONE): + case (policy::DownloadRestriction::NONE): return false; -- case (DownloadPrefs::DownloadRestriction::POTENTIALLY_DANGEROUS_FILES): +- case (policy::DownloadRestriction::POTENTIALLY_DANGEROUS_FILES): - return danger_type != download::DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS || - file_type_dangerous; - -- case (DownloadPrefs::DownloadRestriction::DANGEROUS_FILES): { +- case (policy::DownloadRestriction::DANGEROUS_FILES): { - return (danger_type == download::DOWNLOAD_DANGER_TYPE_DANGEROUS_CONTENT || - danger_type == download::DOWNLOAD_DANGER_TYPE_DANGEROUS_FILE || - danger_type == download::DOWNLOAD_DANGER_TYPE_DANGEROUS_URL || @@ -341,7 +358,7 @@ - file_type_dangerous); - } - -- case (DownloadPrefs::DownloadRestriction::MALICIOUS_FILES): { +- case (policy::DownloadRestriction::MALICIOUS_FILES): { - return (danger_type == download::DOWNLOAD_DANGER_TYPE_DANGEROUS_CONTENT || - danger_type == download::DOWNLOAD_DANGER_TYPE_DANGEROUS_HOST || - danger_type == download::DOWNLOAD_DANGER_TYPE_DANGEROUS_URL || @@ -349,17 +366,17 @@ - download::DOWNLOAD_DANGER_TYPE_DANGEROUS_ACCOUNT_COMPROMISE); - } - - case (DownloadPrefs::DownloadRestriction::ALL_FILES): + case (policy::DownloadRestriction::ALL_FILES): return true; + // DownloadRestrictions policy key values 1, 2 and 4 treated as invalid -+ case (DownloadPrefs::DownloadRestriction::POTENTIALLY_DANGEROUS_FILES): -+ case (DownloadPrefs::DownloadRestriction::DANGEROUS_FILES): -+ case (DownloadPrefs::DownloadRestriction::MALICIOUS_FILES): ++ case (policy::DownloadRestriction::POTENTIALLY_DANGEROUS_FILES): ++ case (policy::DownloadRestriction::DANGEROUS_FILES): ++ case (policy::DownloadRestriction::MALICIOUS_FILES): default: LOG(ERROR) << "Invalid download restriction value: " << static_cast(download_restriction); -@@ -1926,7 +1846,6 @@ void ChromeDownloadManagerDelegate::Mayb +@@ -1919,7 +1839,6 @@ void ChromeDownloadManagerDelegate::Mayb service->MaybeSendDangerousDownloadOpenedReport(download, show_download_in_folder); } @@ -367,7 +384,7 @@ if (!download->GetAutoOpened()) { download::DownloadContent download_content = download::DownloadContentFromMimeType(download->GetMimeType(), false); -@@ -1934,6 +1853,7 @@ void ChromeDownloadManagerDelegate::Mayb +@@ -1927,6 +1846,7 @@ void ChromeDownloadManagerDelegate::Mayb download->GetDangerType(), download_content, base::Time::Now(), download->GetEndTime(), show_download_in_folder); } @@ -375,7 +392,7 @@ } void ChromeDownloadManagerDelegate::MaybeSendDangerousDownloadCanceledReport( -@@ -2057,8 +1977,7 @@ void ChromeDownloadManagerDelegate::Chec +@@ -2050,8 +1970,7 @@ void ChromeDownloadManagerDelegate::Chec DCHECK(download_item); DCHECK(download_item->IsSavePackageDownload()); @@ -402,7 +419,7 @@ // cached id callbacks. --- a/chrome/browser/download/download_item_model.cc +++ b/chrome/browser/download/download_item_model.cc -@@ -920,30 +920,6 @@ void DownloadItemModel::ExecuteCommand(D +@@ -916,30 +916,6 @@ void DownloadItemModel::ExecuteCommand(D } TailoredWarningType DownloadItemModel::GetTailoredWarningType() const { @@ -468,7 +485,7 @@ danger_level_ = GetDangerLevel( visited_referrer_before ? VISITED_REFERRER : NO_VISITS_TO_REFERRER); if (danger_level_ != DownloadFileType::NOT_DANGEROUS && -@@ -1314,14 +1308,7 @@ DownloadFileType::DangerLevel DownloadTa +@@ -1288,14 +1282,7 @@ DownloadFileType::DangerLevel DownloadTa std::optional DownloadTargetDeterminer::GetLastDownloadBypassTimestamp() const { @@ -866,7 +883,7 @@ void ConnectorsManager::StartObservingPrefs(PrefService* pref_service) { --- a/chrome/browser/enterprise/connectors/connectors_service.cc +++ b/chrome/browser/enterprise/connectors/connectors_service.cc -@@ -427,22 +427,7 @@ std::string ConnectorsService::GetManage +@@ -426,22 +426,7 @@ std::string ConnectorsService::GetManage } std::string ConnectorsService::GetRealTimeUrlCheckIdentifier() const { @@ -891,7 +908,7 @@ ConnectorsManager* ConnectorsService::ConnectorsManagerForTesting() { --- a/chrome/browser/enterprise/connectors/device_trust/signals/decorators/common/context_signals_decorator.cc +++ b/chrome/browser/enterprise/connectors/device_trust/signals/decorators/common/context_signals_decorator.cc -@@ -26,25 +26,6 @@ enum class PasswordProtectionTrigger { +@@ -26,24 +26,6 @@ enum class PasswordProtectionTrigger { kPhisingReuse = 3 }; @@ -910,14 +927,13 @@ - case safe_browsing::PHISHING_REUSE: - return PasswordProtectionTrigger::kPhisingReuse; - case safe_browsing::PASSWORD_PROTECTION_TRIGGER_MAX: -- NOTREACHED_IN_MIGRATION(); -- return PasswordProtectionTrigger::kUnset; +- NOTREACHED(); - } -} } // namespace -@@ -74,16 +55,8 @@ void ContextSignalsDecorator::OnSignalsF +@@ -73,16 +55,8 @@ void ContextSignalsDecorator::OnSignalsF ToListValue(context_info.browser_affiliation_ids)); signals.Set(device_signals::names::kProfileAffiliationIds, ToListValue(context_info.profile_affiliation_ids)); @@ -936,25 +952,28 @@ signals.Set(device_signals::names::kBuiltInDnsClientEnabled, --- a/chrome/browser/enterprise/connectors/reporting/realtime_reporting_client.cc +++ b/chrome/browser/enterprise/connectors/reporting/realtime_reporting_client.cc -@@ -500,17 +500,7 @@ void RealtimeReportingClient::ReportEven +@@ -211,20 +211,7 @@ void RealtimeReportingClient::SetProfile } - std::string RealtimeReportingClient::GetProfileUserName() const { -- std::string username = + std::string RealtimeReportingClient::GetProfileUserName() { +- if (!username_.empty()) { +- return username_; +- } +- username_ = - identity_manager_ ? GetProfileEmail(identity_manager_) : std::string(); - -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) -- if (username.empty()) { -- username = Profile::FromBrowserContext(context_)->GetPrefs()->GetString( +- if (username_.empty()) { +- username_ = Profile::FromBrowserContext(context_)->GetPrefs()->GetString( - enterprise_signin::prefs::kProfileUserEmail); - } -#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) - -- return username; +- return username_; + return std::string(); } - std::string RealtimeReportingClient::GetProfileIdentifier() const { + std::string RealtimeReportingClient::GetProfileIdentifier() { --- a/chrome/browser/enterprise/data_controls/reporting_service.cc +++ b/chrome/browser/enterprise/data_controls/reporting_service.cc @@ -124,10 +124,6 @@ void ReportingService::ReportPaste( @@ -1194,8 +1213,8 @@ -} - std::vector ContextInfoFetcher::GetOnSecurityEventProviders() { - return connectors_service_->GetReportingServiceProviderNames( - enterprise_connectors::ReportingConnector::SECURITY_EVENT); + return connectors_service_->GetReportingServiceProviderNames(); + } --- a/chrome/browser/enterprise/signals/context_info_fetcher.h +++ b/chrome/browser/enterprise/signals/context_info_fetcher.h @@ -6,6 +6,7 @@ @@ -1283,7 +1302,7 @@ } // namespace utils --- a/chrome/browser/extensions/BUILD.gn +++ b/chrome/browser/extensions/BUILD.gn -@@ -247,10 +247,6 @@ source_set("extensions") { +@@ -233,10 +233,6 @@ source_set("extensions") { "api/proxy/proxy_pref_transformer.h", "api/runtime/chrome_runtime_api_delegate.cc", "api/runtime/chrome_runtime_api_delegate.h", @@ -1294,7 +1313,7 @@ "api/sessions/session_id.cc", "api/sessions/session_id.h", "api/sessions/sessions_api.cc", -@@ -562,8 +558,6 @@ source_set("extensions") { +@@ -550,8 +546,6 @@ source_set("extensions") { "mv2_experiment_stage.h", "navigation_extension_enabler.cc", "navigation_extension_enabler.h", @@ -1305,7 +1324,7 @@ "pending_extension_info.cc", --- a/chrome/browser/extensions/api/api_browser_context_keyed_service_factories.cc +++ b/chrome/browser/extensions/api/api_browser_context_keyed_service_factories.cc -@@ -103,7 +103,6 @@ void EnsureApiBrowserContextKeyedService +@@ -109,7 +109,6 @@ void EnsureApiBrowserContextKeyedService #endif extensions::ProcessesAPI::GetFactoryInstance(); extensions::ReadingListEventRouterFactory::GetInstance(); @@ -1315,7 +1334,7 @@ extensions::SettingsOverridesAPI::GetFactoryInstance(); --- a/chrome/browser/extensions/api/cookies/cookies_api.cc +++ b/chrome/browser/extensions/api/cookies/cookies_api.cc -@@ -333,19 +333,6 @@ void CookiesGetFunction::GetCookieListCa +@@ -345,19 +345,6 @@ void CookiesGetFunction::GetCookieListCa } void CookiesGetFunction::NotifyExtensionTelemetry() { @@ -1335,7 +1354,7 @@ } CookiesGetAllFunction::CookiesGetAllFunction() { -@@ -439,24 +426,6 @@ void CookiesGetAllFunction::GetCookieLis +@@ -451,24 +438,6 @@ void CookiesGetAllFunction::GetCookieLis } void CookiesGetAllFunction::NotifyExtensionTelemetry() { @@ -1381,7 +1400,7 @@ info.enterprise_profile_id = signals.enterprise_profile_id; --- a/chrome/browser/extensions/api/tabs/tabs_api.cc +++ b/chrome/browser/extensions/api/tabs/tabs_api.cc -@@ -436,30 +436,6 @@ void NotifyExtensionTelemetry(Profile* p +@@ -438,30 +438,6 @@ void NotifyExtensionTelemetry(Profile* p const std::string& current_url, const std::string& new_url, const std::optional& js_callstack) { @@ -1414,7 +1433,7 @@ } // namespace --- a/chrome/browser/extensions/blocklist.cc +++ b/chrome/browser/extensions/blocklist.cc -@@ -185,20 +185,8 @@ Blocklist* Blocklist::Get(content::Brows +@@ -190,21 +190,8 @@ Blocklist* Blocklist::Get(content::Brows void Blocklist::GetBlocklistedIDs(const std::set& ids, GetBlocklistedIDsCallback callback) { DCHECK_CURRENTLY_ON(BrowserThread::UI); @@ -1430,14 +1449,15 @@ - // extensions returned by SafeBrowsing will then be passed to - // GetBlocklistStateIDs to get the particular BlocklistState for each id. - SafeBrowsingClientImpl::Start( -- ids, base::BindOnce(&Blocklist::GetBlocklistStateForIDs, -- weak_ptr_factory_.GetWeakPtr(), std::move(callback))); +- SafeBrowsingDatabaseManager::Client::GetPassKey(), ids, +- base::BindOnce(&Blocklist::GetBlocklistStateForIDs, +- weak_ptr_factory_.GetWeakPtr(), std::move(callback))); } void Blocklist::GetMalwareIDs(const std::set& ids, --- a/chrome/browser/extensions/chrome_extensions_browser_client.cc +++ b/chrome/browser/extensions/chrome_extensions_browser_client.cc -@@ -799,44 +799,17 @@ void ChromeExtensionsBrowserClient::Noti +@@ -781,44 +781,17 @@ void ChromeExtensionsBrowserClient::Noti content::BrowserContext* context, const ExtensionId& extension_id, const std::string& code) const { @@ -1483,7 +1503,7 @@ } void ChromeExtensionsBrowserClient:: -@@ -845,59 +818,12 @@ void ChromeExtensionsBrowserClient:: +@@ -827,59 +800,12 @@ void ChromeExtensionsBrowserClient:: const ExtensionId& extension_id, const GURL& request_url, const GURL& redirect_url) const { @@ -1543,7 +1563,7 @@ } // static -@@ -1066,7 +992,6 @@ void ChromeExtensionsBrowserClient::GetW +@@ -1048,7 +974,6 @@ void ChromeExtensionsBrowserClient::GetW void ChromeExtensionsBrowserClient::CreatePasswordReuseDetectionManager( content::WebContents* web_contents) const { @@ -1553,15 +1573,15 @@ media_device_salt::MediaDeviceSaltService* --- a/chrome/browser/extensions/extension_service.cc +++ b/chrome/browser/extensions/extension_service.cc -@@ -52,7 +52,6 @@ - #include "chrome/browser/extensions/forced_extensions/install_stage_tracker.h" - #include "chrome/browser/extensions/install_verifier.h" +@@ -54,7 +54,6 @@ #include "chrome/browser/extensions/installed_loader.h" + #include "chrome/browser/extensions/manifest_v2_experiment_manager.h" + #include "chrome/browser/extensions/mv2_experiment_stage.h" -#include "chrome/browser/extensions/omaha_attributes_handler.h" #include "chrome/browser/extensions/pending_extension_manager.h" #include "chrome/browser/extensions/permissions/permissions_updater.h" #include "chrome/browser/extensions/profile_util.h" -@@ -226,7 +225,6 @@ void ExtensionService::BlocklistExtensio +@@ -228,7 +227,6 @@ void ExtensionService::BlocklistExtensio blocklist_prefs::SetSafeBrowsingExtensionBlocklistState( extension_id, BitMapBlocklistState::BLOCKLISTED_MALWARE, extension_prefs_); @@ -1569,7 +1589,7 @@ } void ExtensionService::GreylistExtensionForTest( -@@ -234,7 +232,6 @@ void ExtensionService::GreylistExtension +@@ -236,7 +234,6 @@ void ExtensionService::GreylistExtension const BitMapBlocklistState& state) { blocklist_prefs::SetSafeBrowsingExtensionBlocklistState(extension_id, state, extension_prefs_); @@ -1577,7 +1597,7 @@ } bool ExtensionService::OnExternalExtensionUpdateUrlFound( -@@ -402,9 +399,6 @@ ExtensionService::ExtensionService( +@@ -404,9 +401,6 @@ ExtensionService::ExtensionService( safe_browsing_verdict_handler_(extension_prefs, ExtensionRegistry::Get(profile), this), @@ -1587,7 +1607,7 @@ extension_telemetry_service_verdict_handler_( extension_prefs, ExtensionRegistry::Get(profile), -@@ -941,17 +935,6 @@ bool ExtensionService::IsExtensionEnable +@@ -931,17 +925,6 @@ bool ExtensionService::IsExtensionEnable return extension_registrar_.IsExtensionEnabled(extension_id); } @@ -1605,7 +1625,7 @@ void ExtensionService::PerformActionBasedOnExtensionTelemetryServiceVerdicts( const Blocklist::BlocklistStateMap& blocklist_state_map) { DCHECK_CURRENTLY_ON(BrowserThread::UI); -@@ -961,89 +944,6 @@ void ExtensionService::PerformActionBase +@@ -951,89 +934,6 @@ void ExtensionService::PerformActionBase error_controller_->ShowErrorIfNeeded(); } @@ -1705,7 +1725,7 @@ #include "chrome/browser/extensions/pending_extension_manager.h" #include "chrome/browser/extensions/safe_browsing_verdict_handler.h" #include "chrome/browser/profiles/profile_manager_observer.h" -@@ -283,40 +282,11 @@ class ExtensionService : public Extensio +@@ -277,40 +276,11 @@ class ExtensionService : public Extensio // nothing. void EnableExtension(const std::string& extension_id); @@ -1746,7 +1766,7 @@ // Performs action based on verdicts received from the Extension Telemetry // server. Currently, these verdicts are limited to off-store extensions. void PerformActionBasedOnExtensionTelemetryServiceVerdicts( -@@ -682,8 +652,6 @@ class ExtensionService : public Extensio +@@ -676,8 +646,6 @@ class ExtensionService : public Extensio SafeBrowsingVerdictHandler safe_browsing_verdict_handler_; @@ -1757,7 +1777,7 @@ --- a/chrome/browser/extensions/extension_system_impl.cc +++ b/chrome/browser/extensions/extension_system_impl.cc -@@ -448,8 +448,6 @@ void ExtensionSystemImpl::InstallUpdate( +@@ -447,8 +447,6 @@ void ExtensionSystemImpl::InstallUpdate( void ExtensionSystemImpl::PerformActionBasedOnOmahaAttributes( const std::string& extension_id, const base::Value::Dict& attributes) { @@ -1830,7 +1850,7 @@ // that the external protocol request came from the main frame. --- a/chrome/browser/file_select_helper.cc +++ b/chrome/browser/file_select_helper.cc -@@ -323,7 +323,7 @@ void FileSelectHelper::PerformContentAna +@@ -368,7 +368,7 @@ void FileSelectHelper::PerformContentAna if (AbortIfWebContentsDestroyed()) return; @@ -1839,7 +1859,7 @@ enterprise_connectors::ContentAnalysisDelegate::Data data; if (enterprise_connectors::ContentAnalysisDelegate::IsEnabled( profile_, web_contents_->GetLastCommittedURL(), &data, -@@ -353,7 +353,7 @@ void FileSelectHelper::PerformContentAna +@@ -398,7 +398,7 @@ void FileSelectHelper::PerformContentAna #endif // BUILDFLAG(ENTERPRISE_CLOUD_CONTENT_ANALYSIS) } @@ -1850,7 +1870,7 @@ const enterprise_connectors::ContentAnalysisDelegate::Data& data, --- a/chrome/browser/file_select_helper.h +++ b/chrome/browser/file_select_helper.h -@@ -226,7 +226,7 @@ class FileSelectHelper : public base::Re +@@ -232,7 +232,7 @@ class FileSelectHelper : public base::Re void PerformContentAnalysisIfNeeded( std::vector list); @@ -1861,7 +1881,7 @@ std::vector list, --- a/chrome/browser/file_system_access/chrome_file_system_access_permission_context.cc +++ b/chrome/browser/file_system_access/chrome_file_system_access_permission_context.cc -@@ -40,7 +40,6 @@ +@@ -42,7 +42,6 @@ #include "chrome/browser/permissions/permission_decision_auto_blocker_factory.h" #include "chrome/browser/profiles/profile.h" #include "chrome/browser/profiles/profile_manager.h" @@ -1869,7 +1889,7 @@ #include "chrome/browser/ui/browser_finder.h" #include "chrome/browser/ui/file_system_access/file_system_access_dangerous_file_dialog.h" #include "chrome/browser/ui/file_system_access/file_system_access_dialogs.h" -@@ -468,89 +467,6 @@ bool ShouldBlockAccessToPath(const base: +@@ -494,86 +493,6 @@ bool ShouldBlockAccessToPath(const base: return true; } @@ -1948,18 +1968,15 @@ - case Result::PROMPT_FOR_LOCAL_PASSWORD_SCANNING: - case Result::DEEP_SCANNED_FAILED: - case Result::IMMEDIATE_DEEP_SCAN: -- NOTREACHED_IN_MIGRATION(); -- return ChromeFileSystemAccessPermissionContext::AfterWriteCheckResult:: -- kAllow; +- NOTREACHED(); - } -- NOTREACHED_IN_MIGRATION(); -- return ChromeFileSystemAccessPermissionContext::AfterWriteCheckResult::kBlock; +- NOTREACHED(); -} - std::string GenerateLastPickedDirectoryKey(const std::string& id) { return id.empty() ? kDefaultLastPickedDirectoryKey : base::StrCat({kCustomLastPickedDirectoryKey, "-", id}); -@@ -567,13 +483,6 @@ std::string_view GetGrantKeyFromGrantTyp +@@ -590,13 +509,6 @@ std::string_view GetGrantKeyFromGrantTyp : kPermissionReadableKey; } @@ -1973,7 +1990,7 @@ std::string StringOrEmpty(const std::string* s) { return s ? *s : std::string(); -@@ -1689,9 +1598,7 @@ bool ChromeFileSystemAccessPermissionCon +@@ -1716,9 +1628,7 @@ bool ChromeFileSystemAccessPermissionCon bool ChromeFileSystemAccessPermissionContext::IsFileTypeDangerous( const base::FilePath& path, const url::Origin& origin) { @@ -1984,7 +2001,7 @@ } void ChromeFileSystemAccessPermissionContext::ConfirmSensitiveEntryAccess( -@@ -1715,7 +1622,7 @@ void ChromeFileSystemAccessPermissionCon +@@ -1742,7 +1652,7 @@ void ChromeFileSystemAccessPermissionCon std::vector entries, content::GlobalRenderFrameHostId frame_id, EntriesAllowedByEnterprisePolicyCallback callback) { @@ -1993,7 +2010,7 @@ // Get WebContents pointer in order to perform enterprise content analysis. content::WebContents* web_contents = nullptr; if (!entries.empty()) { -@@ -1823,29 +1730,6 @@ void ChromeFileSystemAccessPermissionCon +@@ -1851,29 +1761,6 @@ void ChromeFileSystemAccessPermissionCon std::move(callback)); } @@ -2020,10 +2037,10 @@ - std::move(callback)))); -} - - void ChromeFileSystemAccessPermissionContext::DidCheckPathAgainstBlocklist( - const url::Origin& origin, - const content::PathInfo& path_info, -@@ -1873,26 +1757,6 @@ void ChromeFileSystemAccessPermissionCon + base::expected + ChromeFileSystemAccessPermissionContext::CanShowFilePicker( + content::RenderFrameHost* rfh) { +@@ -1934,26 +1821,6 @@ void ChromeFileSystemAccessPermissionCon return; } @@ -2052,7 +2069,7 @@ } --- a/chrome/browser/file_system_access/chrome_file_system_access_permission_context.h +++ b/chrome/browser/file_system_access/chrome_file_system_access_permission_context.h -@@ -177,10 +177,6 @@ class ChromeFileSystemAccessPermissionCo +@@ -179,10 +179,6 @@ class ChromeFileSystemAccessPermissionCo UserAction user_action, content::GlobalRenderFrameHostId frame_id, base::OnceCallback callback) override; @@ -2062,18 +2079,18 @@ - base::OnceCallback callback) override; bool IsFileTypeDangerous(const base::FilePath& path, const url::Origin& origin) override; - bool CanObtainReadPermission(const url::Origin& origin) override; + base::expected CanShowFilePicker( --- a/chrome/browser/media/webrtc/display_media_access_handler.cc +++ b/chrome/browser/media/webrtc/display_media_access_handler.cc -@@ -29,6 +29,7 @@ - #include "chrome/browser/ui/views/frame/browser_view.h" +@@ -27,6 +27,7 @@ + #include "chrome/browser/ui/url_identity.h" #include "chrome/common/pref_names.h" #include "components/prefs/pref_service.h" +#include "components/safe_browsing/buildflags.h" #include "components/url_formatter/elide_url.h" #include "content/public/browser/browser_thread.h" #include "content/public/browser/desktop_media_id.h" -@@ -136,6 +137,7 @@ void DisplayMediaAccessHandler::HandleRe +@@ -141,6 +142,7 @@ void DisplayMediaAccessHandler::HandleRe return; } @@ -2081,7 +2098,7 @@ // SafeBrowsing Delayed Warnings experiment can delay some SafeBrowsing // warnings until user interaction. If the current page has a delayed warning, // it'll have a user interaction observer attached. Show the warning -@@ -151,6 +153,7 @@ void DisplayMediaAccessHandler::HandleRe +@@ -156,6 +158,7 @@ void DisplayMediaAccessHandler::HandleRe observer->OnDesktopCaptureRequest(); return; } @@ -2091,7 +2108,7 @@ // Do not allow picker UI to be shown on a page that isn't in the foreground --- a/chrome/browser/notifications/notification_display_service_impl.cc +++ b/chrome/browser/notifications/notification_display_service_impl.cc -@@ -88,13 +88,6 @@ NotificationDisplayServiceImpl::Notifica +@@ -80,13 +80,6 @@ NotificationDisplayServiceImpl::Notifica profile_)); #endif @@ -2105,6 +2122,25 @@ #if BUILDFLAG(ENABLE_EXTENSIONS) AddNotificationHandler( NotificationHandler::Type::EXTENSION, +--- a/chrome/browser/notifications/platform_notification_service_impl.cc ++++ b/chrome/browser/notifications/platform_notification_service_impl.cc +@@ -281,16 +281,6 @@ void PlatformNotificationServiceImpl::Di + auto metadata = std::make_unique(); + metadata->service_worker_scope = service_worker_scope; + +- if (safe_browsing::IsSafeBrowsingEnabled(*profile_->GetPrefs()) && +- base::FeatureList::IsEnabled( +- safe_browsing::kOnDeviceNotificationContentDetectionModel)) { +- auto* notification_content_service = safe_browsing:: +- NotificationContentDetectionServiceFactory::GetForProfile(profile_); +- if (notification_content_service) { +- notification_content_service->MaybeCheckNotificationContentDetectionModel( +- notification_data, origin); +- } +- } + + NotificationDisplayServiceFactory::GetForProfile(profile_)->Display( + NotificationHandler::Type::WEB_PERSISTENT, notification, --- a/chrome/browser/password_manager/chrome_password_manager_client.cc +++ b/chrome/browser/password_manager/chrome_password_manager_client.cc @@ -38,7 +38,6 @@ @@ -2115,7 +2151,7 @@ #include "chrome/browser/safe_browsing/user_interaction_observer.h" #include "chrome/browser/signin/identity_manager_factory.h" #include "chrome/browser/sync/sync_service_factory.h" -@@ -1056,6 +1055,7 @@ autofill::LanguageCode ChromePasswordMan +@@ -1091,6 +1090,7 @@ autofill::LanguageCode ChromePasswordMan return autofill::LanguageCode(); } @@ -2123,15 +2159,15 @@ safe_browsing::PasswordProtectionService* ChromePasswordManagerClient::GetPasswordProtectionService() const { return safe_browsing::ChromePasswordProtectionService:: -@@ -1075,6 +1075,7 @@ void ChromePasswordManagerClient::CheckS +@@ -1110,6 +1110,7 @@ void ChromePasswordManagerClient::CheckS } } #endif // defined(ON_FOCUS_PING_ENABLED) +#endif // BUILDFLAG(FULL_SAFE_BROWSING) - #if !BUILDFLAG(IS_ANDROID) + #if BUILDFLAG(ENABLE_EXTENSIONS) void ChromePasswordManagerClient::MaybeReportEnterpriseLoginEvent( -@@ -1082,30 +1083,10 @@ void ChromePasswordManagerClient::MaybeR +@@ -1117,30 +1118,10 @@ void ChromePasswordManagerClient::MaybeR bool is_federated, const url::SchemeHostPort& federated_origin, const std::u16string& login_user_name) const { @@ -2160,9 +2196,9 @@ - // is enabled by the admin. - router->OnPasswordBreach(kPasswordBreachEntryTrigger, identities); } - #endif + #endif // BUILDFLAG(ENABLE_EXTENSIONS) -@@ -1889,6 +1870,7 @@ bool ChromePasswordManagerClient::IsPass +@@ -1924,6 +1905,7 @@ bool ChromePasswordManagerClient::IsPass is_enabled = false; } @@ -2170,7 +2206,7 @@ // SafeBrowsing Delayed Warnings experiment can delay some SafeBrowsing // warnings until user interaction. If the current page has a delayed warning, // it'll have a user interaction observer attached. Disable password -@@ -1899,6 +1881,7 @@ bool ChromePasswordManagerClient::IsPass +@@ -1934,6 +1916,7 @@ bool ChromePasswordManagerClient::IsPass observer->OnPasswordSaveOrAutofillDenied(); is_enabled = false; } @@ -2180,7 +2216,7 @@ password_manager::BrowserSavePasswordProgressLogger logger( --- a/chrome/browser/password_manager/chrome_password_manager_client.h +++ b/chrome/browser/password_manager/chrome_password_manager_client.h -@@ -239,15 +239,9 @@ class ChromePasswordManagerClient +@@ -241,15 +241,9 @@ class ChromePasswordManagerClient autofill::LogManager* GetLogManager() override; void AnnotateNavigationEntry(bool has_password_field) override; autofill::LanguageCode GetPageLanguage() const override; @@ -2194,11 +2230,11 @@ - const GURL& frame_url) override; -#endif - // Reporting these events is only supported on desktop platforms. - #if !BUILDFLAG(IS_ANDROID) + // Reporting these events is only supported when extensions are enabled. + #if BUILDFLAG(ENABLE_EXTENSIONS) --- a/chrome/browser/permissions/chrome_permissions_client.cc +++ b/chrome/browser/permissions/chrome_permissions_client.cc -@@ -408,16 +408,6 @@ void ChromePermissionsClient::OnPromptRe +@@ -407,16 +407,6 @@ void ChromePermissionsClient::OnPromptRe PermissionRevocationRequest::ExemptOriginFromFutureRevocations(profile, origin); } @@ -2225,7 +2261,7 @@ #include "chrome/common/chrome_features.h" #include "components/permissions/permission_request.h" #include "components/permissions/request_type.h" -@@ -152,9 +151,6 @@ void ContextualNotificationPermissionUiS +@@ -151,9 +150,6 @@ void ContextualNotificationPermissionUiS } void ContextualNotificationPermissionUiSelector::Cancel() { @@ -2235,7 +2271,7 @@ } bool ContextualNotificationPermissionUiSelector::IsPermissionRequestSupported( -@@ -180,24 +176,14 @@ void ContextualNotificationPermissionUiS +@@ -179,24 +175,14 @@ void ContextualNotificationPermissionUiS std::optional decision = GetDecisionBasedOnSiteReputation(reputation); @@ -2383,6 +2419,73 @@ return PredictionSource::USE_NONE; - } } +--- a/chrome/browser/picture_in_picture/auto_picture_in_picture_tab_helper.cc ++++ b/chrome/browser/picture_in_picture/auto_picture_in_picture_tab_helper.cc +@@ -209,7 +209,6 @@ void AutoPictureInPictureTabHelper::Mayb + } + + ScheduleAsyncVisibilityCheck(); +- ScheduleUrlSafetyCheck(); + } + + void AutoPictureInPictureTabHelper::StopAndResetAsyncTasks() { +@@ -219,9 +218,7 @@ void AutoPictureInPictureTabHelper::Stop + } + + async_tasks_weak_factory_.InvalidateWeakPtrs(); +- safe_browsing_checker_client_.reset(); + +- has_safe_url_ = false; + has_sufficiently_visible_video_ = false; + } + +@@ -308,7 +305,7 @@ bool AutoPictureInPictureTabHelper::Meet + } + + return has_audio_focus_ && is_playing_ && WasRecentlyAudible() && +- has_safe_url_ && has_sufficiently_visible_video_; ++ has_sufficiently_visible_video_; + } + + bool AutoPictureInPictureTabHelper::IsUsingCameraOrMicrophone() const { +@@ -361,37 +358,6 @@ void AutoPictureInPictureTabHelper::OnVi + MaybeEnterAutoPictureInPicture(); + } + +-void AutoPictureInPictureTabHelper::OnUrlSafetyResult(bool has_safe_url) { +- has_safe_url_ = has_safe_url; +- +- if (!has_safe_url_) { +- return; +- } +- +- MaybeEnterAutoPictureInPicture(); +-} +- +-void AutoPictureInPictureTabHelper::ScheduleUrlSafetyCheck() { +- CHECK(!is_in_picture_in_picture_); +- CHECK(g_browser_process); +- CHECK(g_browser_process->safe_browsing_service()); +- +- if (!safe_browsing_checker_client_) { +- // Create the AutoPiP safe browsing checker client, which will be used for +- // determining URL safety. +- safe_browsing_checker_client_ = std::make_unique< +- AutoPictureInPictureSafeBrowsingCheckerClient>( +- g_browser_process->safe_browsing_service()->database_manager().get(), +- kSafeBrowsingCheckDelay, +- base::BindRepeating(&AutoPictureInPictureTabHelper::OnUrlSafetyResult, +- async_tasks_weak_factory_.GetWeakPtr())); +- } +- +- safe_browsing_checker_client_->CheckUrlSafety( +- // TODO(crbug.com/40250017): Replace with MediaSession routed frame last +- // committed URL, and ensure the rfh is in primary main frame. +- web_contents()->GetLastCommittedURL()); +-} + + void AutoPictureInPictureTabHelper::EnsureAutoPipSettingHelper() { + if (!auto_pip_setting_helper_) { --- a/chrome/browser/policy/configuration_policy_handler_list_factory.cc +++ b/chrome/browser/policy/configuration_policy_handler_list_factory.cc @@ -118,6 +118,7 @@ @@ -2393,7 +2496,7 @@ #include "components/safe_browsing/content/common/file_type_policies_prefs.h" #include "components/safe_browsing/core/common/safe_browsing_policy_handler.h" #include "components/safe_browsing/core/common/safe_browsing_prefs.h" -@@ -2377,8 +2378,6 @@ std::unique_ptrAddHandler( std::make_unique( chrome_schema)); @@ -2402,7 +2505,7 @@ handlers->AddHandler(std::make_unique()); handlers->AddHandler( std::make_unique(key::kURLBlocklist)); -@@ -2488,20 +2487,6 @@ std::unique_ptr scanning_data = enterprise_data_protection::GetPrintAnalysisData( web_contents(), enterprise_data_protection::PrintScanningContext:: -@@ -1333,7 +1333,7 @@ void PrintViewManagerBase::CompleteScrip +@@ -1327,7 +1327,7 @@ void PrintViewManagerBase::CompleteScrip std::move(callback_wrapper))); } @@ -2508,7 +2611,7 @@ void PrintViewManagerBase::CompletePrintDocumentAfterContentAnalysis( scoped_refptr print_data, const gfx::Size& page_size, -@@ -1356,17 +1356,6 @@ void PrintViewManagerBase::ContentAnalys +@@ -1350,17 +1350,6 @@ void PrintViewManagerBase::ContentAnalys const gfx::Size& page_size, const gfx::Rect& content_area, const gfx::Point& offsets) { @@ -2539,7 +2642,7 @@ // This method is virtual for testing purposes. --- a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc +++ b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc -@@ -815,9 +815,6 @@ void ChromeBrowserMainExtraPartsProfiles +@@ -835,9 +835,6 @@ void ChromeBrowserMainExtraPartsProfiles enterprise_connectors::ExtensionInstallEventRouterFactory::GetInstance(); enterprise_connectors::ExtensionTelemetryEventRouterFactory::GetInstance(); #endif @@ -2549,7 +2652,7 @@ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ BUILDFLAG(IS_ANDROID) enterprise_idle::IdleServiceFactory::GetInstance(); -@@ -1127,23 +1124,6 @@ void ChromeBrowserMainExtraPartsProfiles +@@ -1146,24 +1143,6 @@ void ChromeBrowserMainExtraPartsProfiles #if !BUILDFLAG(IS_ANDROID) ResetReportUploaderFactory::GetInstance(); #endif @@ -2565,6 +2668,7 @@ - safe_browsing::ExtensionTelemetryServiceFactory::GetInstance(); - safe_browsing::HashRealTimeServiceFactory::GetInstance(); -#endif +- safe_browsing::NotificationContentDetectionServiceFactory::GetInstance(); - safe_browsing::RealTimeUrlLookupServiceFactory::GetInstance(); - safe_browsing::SafeBrowsingMetricsCollectorFactory::GetInstance(); - safe_browsing::SafeBrowsingNavigationObserverManagerFactory::GetInstance(); @@ -2573,6 +2677,22 @@ SafeSearchFactory::GetInstance(); #if BUILDFLAG(IS_ANDROID) if (base::FeatureList::IsEnabled(features::kSafetyHub)) { +--- a/chrome/browser/safe_browsing/BUILD.gn ++++ b/chrome/browser/safe_browsing/BUILD.gn +@@ -94,13 +94,6 @@ static_library("safe_browsing") { + allow_circular_includes_from += [ "//chrome/browser/ash/file_manager" ] + } + +- if (is_win || is_mac || is_linux || is_chromeos) { +- deps += [ +- "//chrome/browser/ui/browser_window", +- "//chrome/browser/ui/toasts:toasts", +- "//chrome/browser/ui/toasts/api:toasts", +- ] +- } + + if (safe_browsing_mode != 0) { + # "Safe Browsing Basic" files used for safe browsing in full mode --- a/chrome/browser/safe_browsing/cloud_content_scanning/file_opening_job.cc +++ b/chrome/browser/safe_browsing/cloud_content_scanning/file_opening_job.cc @@ -71,10 +71,6 @@ void FileOpeningJob::ProcessNextTask(bas @@ -2783,7 +2903,7 @@ } // namespace --- a/chrome/browser/ui/BUILD.gn +++ b/chrome/browser/ui/BUILD.gn -@@ -575,7 +575,6 @@ static_library("ui") { +@@ -568,7 +568,6 @@ static_library("ui") { "//components/renderer_context_menu", "//components/resources", "//components/safe_browsing/content/browser", @@ -2791,15 +2911,15 @@ "//components/safe_browsing/content/browser/password_protection", "//components/safe_browsing/content/browser/web_ui", "//components/safe_browsing/core/browser/db:database_manager", -@@ -4625,8 +4624,6 @@ static_library("ui") { +@@ -4577,8 +4576,6 @@ static_library("ui") { "views/safe_browsing/prompt_for_scanning_modal_dialog.h", "views/safe_browsing/tailored_security_desktop_dialog_manager.cc", "views/safe_browsing/tailored_security_desktop_dialog_manager.h", - "views/safe_browsing/tailored_security_unconsented_modal.cc", - "views/safe_browsing/tailored_security_unconsented_modal.h", - "views/send_tab_to_self/manage_account_devices_link_view.cc", - "views/send_tab_to_self/manage_account_devices_link_view.h", - "views/send_tab_to_self/send_tab_to_self_bubble.cc", + "views/select_audio_output/select_audio_output_dialog.cc", + "views/select_audio_output/select_audio_output_dialog.h", + "views/select_audio_output/select_audio_output_views.cc", --- a/chrome/browser/ui/download/download_bubble_row_view_info.cc +++ b/chrome/browser/ui/download/download_bubble_row_view_info.cc @@ -10,7 +10,6 @@ @@ -2810,7 +2930,7 @@ #include "chrome/browser/ui/color/chrome_color_id.h" #include "chrome/browser/ui/download/download_item_mode.h" #include "chrome/grit/generated_resources.h" -@@ -367,6 +366,5 @@ void DownloadBubbleRowViewInfo::Reset() +@@ -365,6 +364,5 @@ void DownloadBubbleRowViewInfo::Reset() } bool DownloadBubbleRowViewInfo::ShouldShowDeepScanNotice() const { @@ -2820,17 +2940,19 @@ } --- a/chrome/browser/ui/exclusive_access/fullscreen_controller.cc +++ b/chrome/browser/ui/exclusive_access/fullscreen_controller.cc -@@ -113,23 +113,6 @@ void RecordWebsiteStateAtApiRequest(hist +@@ -112,25 +112,6 @@ void RecordWebsiteStateAtApiRequest(hist void CheckUrlForAllowlistAndRecordMetric( const GURL& url, history::HistoryLastVisitResult result) { -- if (!g_browser_process->safe_browsing_service() || -- !g_browser_process->safe_browsing_service()->database_manager()) { +- auto* safe_browsing_service_internal = +- reinterpret_cast( +- g_browser_process->safe_browsing_service()); +- if (!safe_browsing_service_internal || +- !safe_browsing_service_internal->database_manager()) { - RecordWebsiteStateAtApiRequest(result, std::nullopt); - return; - } -- g_browser_process->safe_browsing_service() -- ->database_manager() +- safe_browsing_service_internal->database_manager() - ->CheckUrlForHighConfidenceAllowlist( - url, - base::BindOnce( @@ -2846,7 +2968,7 @@ } // namespace --- a/chrome/browser/ui/javascript_dialogs/javascript_tab_modal_dialog_manager_delegate_desktop.cc +++ b/chrome/browser/ui/javascript_dialogs/javascript_tab_modal_dialog_manager_delegate_desktop.cc -@@ -16,6 +16,7 @@ +@@ -17,6 +17,7 @@ #include "components/javascript_dialogs/tab_modal_dialog_manager.h" #include "components/javascript_dialogs/tab_modal_dialog_view.h" #include "components/navigation_metrics/navigation_metrics.h" @@ -2854,7 +2976,7 @@ #include "content/public/browser/devtools_agent_host.h" #include "content/public/browser/navigation_handle.h" #include "content/public/browser/render_frame_host.h" -@@ -35,6 +36,7 @@ JavaScriptTabModalDialogManagerDelegateD +@@ -36,6 +37,7 @@ JavaScriptTabModalDialogManagerDelegateD void JavaScriptTabModalDialogManagerDelegateDesktop::WillRunDialog() { BrowserList::AddObserver(this); @@ -2862,7 +2984,7 @@ // SafeBrowsing Delayed Warnings experiment can delay some SafeBrowsing // warnings until user interaction. If the current page has a delayed warning, // it'll have a user interaction observer attached. Show the warning -@@ -45,6 +47,7 @@ void JavaScriptTabModalDialogManagerDele +@@ -46,6 +48,7 @@ void JavaScriptTabModalDialogManagerDele if (observer) { observer->OnJavaScriptDialog(); } @@ -2902,7 +3024,7 @@ bool migration_completed = pref_change_registrar_->prefs()->GetBoolean( safety_hub_prefs::kUnusedSitePermissionsRevocationMigrationCompleted); -@@ -1028,9 +1012,7 @@ bool UnusedSitePermissionsService::IsUnu +@@ -1026,9 +1010,7 @@ bool UnusedSitePermissionsService::IsUnu bool UnusedSitePermissionsService:: IsAbusiveNotificationAutoRevocationEnabled() { @@ -2925,7 +3047,7 @@ --- a/chrome/browser/ui/tab_helpers.cc +++ b/chrome/browser/ui/tab_helpers.cc -@@ -392,7 +392,6 @@ void TabHelpers::AttachTabHelpers(WebCon +@@ -387,7 +387,6 @@ void TabHelpers::AttachTabHelpers(WebCon if (!autofill_client_provider.uses_platform_autofill()) { ChromePasswordManagerClient::CreateForWebContents(web_contents); } @@ -2933,6 +3055,71 @@ CreateSubresourceFilterWebContentsHelper(web_contents); #if BUILDFLAG(ENABLE_RLZ) ChromeRLZTrackerWebContentsObserver::CreateForWebContentsIfNeeded( +--- a/chrome/browser/ui/toasts/toast_service.cc ++++ b/chrome/browser/ui/toasts/toast_service.cc +@@ -29,7 +29,6 @@ + #include "components/plus_addresses/features.h" + #include "components/plus_addresses/grit/plus_addresses_strings.h" + #include "components/safe_browsing/core/common/features.h" +-#include "components/safe_browsing/core/common/safe_browsing_prefs.h" + #include "components/strings/grit/components_strings.h" + #include "components/vector_icons/vector_icons.h" + #include "ui/menus/simple_menu_model.h" +@@ -136,54 +135,4 @@ void ToastService::RegisterToasts( + .Build()); + } + +- // ESB as a synced setting. +- if (base::FeatureList::IsEnabled(safe_browsing::kEsbAsASyncedSetting)) { +- toast_registry_->RegisterToast( +- ToastId::kSyncEsbOn, +- ToastSpecification::Builder( +-#if BUILDFLAG(GOOGLE_CHROME_BRANDING) +- vector_icons::kGshieldIcon, +-#else +- kSecurityIcon, +-#endif +- IDS_SETTINGS_SAFEBROWSING_ENHANCED_ON_TOAST_MESSAGE) +- .AddActionButton( +- IDS_SETTINGS_SETTINGS, +- base::BindRepeating( +- [](BrowserWindowInterface* window) { +- window->OpenGURL( +- GURL("chrome://settings/security"), +- WindowOpenDisposition::NEW_FOREGROUND_TAB); +- }, +- base::Unretained(browser_window_interface))) +- .AddCloseButton() +- .Build()); +- toast_registry_->RegisterToast( +- ToastId::kSyncEsbOnWithoutActionButton, +- ToastSpecification::Builder( +-#if BUILDFLAG(GOOGLE_CHROME_BRANDING) +- vector_icons::kGshieldIcon, +-#else +- kSecurityIcon, +-#endif +- IDS_SETTINGS_SAFEBROWSING_ENHANCED_ON_TOAST_MESSAGE) +- .Build()); +- toast_registry_->RegisterToast( +- ToastId::kSyncEsbOff, +- ToastSpecification::Builder( +- kInfoIcon, IDS_SETTINGS_SAFEBROWSING_ENHANCED_OFF_TOAST_MESSAGE) +- .AddActionButton( +- IDS_SETTINGS_SAFEBROWSING_TURN_ON_ENHANCED_TOAST_BUTTON, +- base::BindRepeating( +- [](BrowserWindowInterface* window) { +- Profile* profile = window->GetProfile(); +- if (profile) { +- profile->GetPrefs()->SetBoolean( +- prefs::kSafeBrowsingEnhanced, true); +- } +- }, +- base::Unretained(browser_window_interface))) +- .AddCloseButton() +- .Build()); +- } + } --- a/chrome/browser/ui/views/download/bubble/download_bubble_contents_view.cc +++ b/chrome/browser/ui/views/download/bubble/download_bubble_contents_view.cc @@ -13,7 +13,6 @@ @@ -2958,7 +3145,7 @@ } } // namespace -@@ -182,74 +173,16 @@ void DownloadBubbleContentsView::Process +@@ -182,73 +173,16 @@ void DownloadBubbleContentsView::Process const ContentId& id, DownloadItemWarningData::DeepScanTrigger trigger, base::optional_ref password) { @@ -3027,8 +3214,7 @@ - delegate->CheckClientDownloadDone( - item->GetId(), safe_browsing::DownloadCheckResult::UNKNOWN); - } else { -- NOTREACHED_IN_MIGRATION() -- << "Unexpected command: " << static_cast(command); +- NOTREACHED() << "Unexpected command: " << static_cast(command); - } } @@ -3070,7 +3256,7 @@ open_button_->SetEnabled((mode_ == download::DownloadItemMode::kNormal) || prompt_to_scan || allow_open_during_deep_scan); -@@ -1270,7 +1271,9 @@ void DownloadItemView::ShowContextMenuIm +@@ -1271,7 +1272,9 @@ void DownloadItemView::ShowContextMenuIm } void DownloadItemView::OpenDownloadDuringAsyncScanning() { @@ -3082,8 +3268,8 @@ --- a/chrome/browser/ui/views/media_router/presentation_receiver_window_view.cc +++ b/chrome/browser/ui/views/media_router/presentation_receiver_window_view.cc -@@ -173,7 +173,6 @@ void PresentationReceiverWindowView::Ini - ChromeTranslateClient::CreateForWebContents(web_contents); +@@ -172,7 +172,6 @@ void PresentationReceiverWindowView::Ini + ChromeSecurityStateTabHelper::CreateForWebContents(web_contents); autofill::ChromeAutofillClient::CreateForWebContents(web_contents); ChromePasswordManagerClient::CreateForWebContents(web_contents); - ChromePasswordReuseDetectionManagerClient::CreateForWebContents(web_contents); @@ -3135,18 +3321,27 @@ } std::unique_ptr ---- a/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc -+++ b/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc -@@ -254,9 +254,6 @@ WebUIFactoryFunction GetWebUIFactoryFunc - optimization_guide_internals::kChromeUIOptimizationGuideInternalsHost) { - return &NewWebUI; - } -- if (url.host_piece() == safe_browsing::kChromeUISafeBrowsingHost) -- return &NewComponentUI; - if (url.host_piece() == - history_clusters_internals::kChromeUIHistoryClustersInternalsHost) { - return &NewWebUI; +--- a/chrome/browser/ui/webui/BUILD.gn ++++ b/chrome/browser/ui/webui/BUILD.gn +@@ -33,7 +33,6 @@ source_set("configs") { + ":webui", + "//chrome/browser/optimization_guide:optimization_guide", + "//chrome/browser/ui", +- "//chrome/browser/ui/webui/safe_browsing", + "//components/compose:buildflags", + "//components/lens:buildflags", + "//components/security_interstitials/content:security_interstitial_page", +--- a/chrome/browser/ui/webui/chrome_web_ui_configs.cc ++++ b/chrome/browser/ui/webui/chrome_web_ui_configs.cc +@@ -249,8 +249,6 @@ void RegisterChromeWebUIConfigs() { + map.AddWebUIConfig( + std::make_unique< + security_interstitials::KnownInterceptionDisclosureUIConfig>()); +- map.AddWebUIConfig( +- std::make_unique()); + map.AddWebUIConfig(std::make_unique()); + map.AddWebUIConfig(std::make_unique()); + map.AddWebUIConfig(std::make_unique()); --- a/chrome/browser/ui/webui/downloads/downloads_dom_handler.cc +++ b/chrome/browser/ui/webui/downloads/downloads_dom_handler.cc @@ -183,10 +183,6 @@ void MaybeReportBypassAction(download::D @@ -3358,7 +3553,7 @@ if (cloud_legacy_tech_report_enabled) { Profile::FromWebUI(web_ui())->GetPrefs()->GetList( -@@ -457,12 +454,6 @@ base::Value::Dict ManagementUIHandler::G +@@ -454,12 +451,6 @@ base::Value::Dict ManagementUIHandler::G &info); } @@ -3368,12 +3563,12 @@ - kManagementOnPageVisitedVisibleData, &info); - } - - if (connectors_service - ->GetReportingSettings( - enterprise_connectors::ReportingConnector::SECURITY_EVENT) + if (connectors_service->GetReportingSettings().has_value() && + connectors_service->GetReportingSettings()->enabled_opt_in_events.count( + enterprise_connectors::kExtensionTelemetryEvent) > 0) { --- a/chrome/browser/ui/webui/print_preview/print_preview_handler.cc +++ b/chrome/browser/ui/webui/print_preview/print_preview_handler.cc -@@ -750,7 +750,7 @@ void PrintPreviewHandler::HandleDoPrint( +@@ -730,7 +730,7 @@ void PrintPreviewHandler::HandleDoPrint( } ReportUserActionHistogram(user_action); @@ -3563,7 +3758,7 @@ } --- a/chrome/test/BUILD.gn +++ b/chrome/test/BUILD.gn -@@ -2169,9 +2169,6 @@ if (!is_android) { +@@ -2223,9 +2223,6 @@ if (!is_android) { "//components/resources", "//components/safe_browsing:buildflags", "//components/safe_browsing/content/browser", @@ -3573,16 +3768,16 @@ "//components/safe_browsing/content/browser:safe_browsing_service", "//components/safe_browsing/content/browser/password_protection", "//components/safe_browsing/content/browser/password_protection:test_support", -@@ -6429,9 +6426,6 @@ test("unit_tests") { +@@ -6513,9 +6510,6 @@ test("unit_tests") { "//components/resources", "//components/safe_browsing:buildflags", "//components/safe_browsing/content/browser", - "//components/safe_browsing/content/browser:client_side_detection", - "//components/safe_browsing/content/browser:client_side_detection_images_cache", - "//components/safe_browsing/content/browser:client_side_detection_service", + "//components/safe_browsing/content/browser/notification_content_detection", + "//components/safe_browsing/content/browser/notification_content_detection:test_utils", "//components/safe_browsing/content/browser/password_protection", - "//components/safe_browsing/content/browser/password_protection:mock_password_protection", - "//components/safe_browsing/content/browser/web_ui", --- a/components/enterprise/connectors/core/reporting_service_settings.cc +++ b/components/enterprise/connectors/core/reporting_service_settings.cc @@ -44,16 +44,6 @@ ReportingServiceSettings::ReportingServi @@ -3604,7 +3799,7 @@ const base::Value::List* enabled_opt_in_events_value = --- a/components/password_manager/content/browser/content_password_manager_driver.cc +++ b/components/password_manager/content/browser/content_password_manager_driver.cc -@@ -624,7 +624,7 @@ void ContentPasswordManagerDriver::Check +@@ -626,7 +626,7 @@ void ContentPasswordManagerDriver::Check if (!password_manager::bad_message::CheckFrameNotPrerendering( render_frame_host_)) return; @@ -3615,7 +3810,7 @@ } --- a/components/password_manager/core/browser/leak_detection/leak_detection_check_impl.cc +++ b/components/password_manager/core/browser/leak_detection/leak_detection_check_impl.cc -@@ -324,12 +324,7 @@ bool LeakDetectionCheck::IsURLBlockedByP +@@ -336,12 +336,7 @@ bool LeakDetectionCheck::IsURLBlockedByP const PrefService& prefs, const GURL& form_url, autofill::SavePasswordProgressLogger* logger) { @@ -3744,22 +3939,30 @@ #include "components/safe_browsing/core/common/utils.h" #include "google_apis/google_api_keys.h" #include "net/base/net_errors.h" -@@ -115,13 +114,7 @@ constexpr net::NetworkTrafficAnnotationT - )"); - - bool IsEnabled(PrefService* pref_service, std::optional country) { +@@ -117,21 +116,7 @@ constexpr net::NetworkTrafficAnnotationT + bool IsEnabled(PrefService* pref_service, + std::optional country, + bool are_background_lookups_allowed) { - // If this class has been created, it is already known that the session is not - // off-the-record, so |is_off_the_record| is passed through as false. -- return safe_browsing::hash_realtime_utils::DetermineHashRealTimeSelection( -- /*is_off_the_record=*/false, pref_service, -- /*latest_country=*/country) == -- safe_browsing::hash_realtime_utils::HashRealTimeSelection:: -- kHashRealTimeService; +- safe_browsing::hash_realtime_utils::HashRealTimeSelection +- hash_realtime_selection = +- safe_browsing::hash_realtime_utils::DetermineHashRealTimeSelection( +- /*is_off_the_record=*/false, pref_service, +- /*latest_country=*/country, /*log_usage_histograms=*/false, +- /*are_background_lookups_allowed=*/ +- are_background_lookups_allowed); +- return hash_realtime_selection == +- safe_browsing::hash_realtime_utils::HashRealTimeSelection:: +- kHashRealTimeService || +- hash_realtime_selection == +- safe_browsing::hash_realtime_utils::HashRealTimeSelection:: +- kHashRealTimeServiceBackgroundOnly; + return false; } GURL GetKeyFetchingUrl() { -@@ -407,25 +400,9 @@ void OhttpKeyService::MaybeStartServerTr +@@ -422,25 +407,9 @@ void OhttpKeyService::MaybeStartServerTr } void OhttpKeyService::PopulateKeyFromPref() { @@ -3877,7 +4080,7 @@ raw_ptr identity_manager_; --- a/components/safe_browsing/core/browser/verdict_cache_manager.cc +++ b/components/safe_browsing/core/browser/verdict_cache_manager.cc -@@ -443,16 +443,6 @@ VerdictCacheManager::VerdictCacheManager +@@ -441,16 +441,6 @@ VerdictCacheManager::VerdictCacheManager // pref_service can be null in tests. if (pref_service) { pref_change_registrar_.Init(pref_service); @@ -3938,6 +4141,18 @@ } void SSLBlockingPageBase::PopulateEnhancedProtectionMessage( +--- a/components/sync_preferences/common_syncable_prefs_database.cc ++++ b/components/sync_preferences/common_syncable_prefs_database.cc +@@ -313,9 +313,6 @@ constexpr auto kCommonSyncablePrefsAllow + {plus_addresses::prefs::kLastPlusAddressFillingTime, + {syncable_prefs_ids::kLastPlusAddressFillingTime, syncer::PREFERENCES, + PrefSensitivity::kNone, MergeBehavior::kNone}}, +- {prefs::kSafeBrowsingEnhanced, +- {syncable_prefs_ids::kSafeBrowsingEnhanced, syncer::PREFERENCES, +- PrefSensitivity::kNone, MergeBehavior::kNone}}, + #if BUILDFLAG(IS_ANDROID) + {autofill::prefs::kFacilitatedPaymentsPix, + {syncable_prefs_ids::kFacilitatedPaymentsPix, syncer::PREFERENCES, --- a/content/browser/file_system_access/file_system_access_safe_move_helper.cc +++ b/content/browser/file_system_access/file_system_access_safe_move_helper.cc @@ -168,15 +168,8 @@ void FileSystemAccessSafeMoveHelper::Sta @@ -4051,7 +4266,7 @@ MOCK_METHOD(bool, --- a/content/public/browser/file_system_access_permission_context.h +++ b/content/public/browser/file_system_access_permission_context.h -@@ -176,12 +176,6 @@ class FileSystemAccessPermissionContext +@@ -178,12 +178,6 @@ class FileSystemAccessPermissionContext base::OnceCallback callback) = 0; enum class AfterWriteCheckResult { kAllow, kBlock }; diff --git a/patches/core/ungoogled-chromium/remove-unused-preferences-fields.patch b/patches/core/ungoogled-chromium/remove-unused-preferences-fields.patch index 525a1c73ab..bed50d7ec5 100644 --- a/patches/core/ungoogled-chromium/remove-unused-preferences-fields.patch +++ b/patches/core/ungoogled-chromium/remove-unused-preferences-fields.patch @@ -2,45 +2,6 @@ # TODO: This patch should probably be split up and merged into # disable-signin.patch and fix-building-without-safebrowsing.patch ---- a/android_webview/browser/aw_browser_context.cc -+++ b/android_webview/browser/aw_browser_context.cc -@@ -61,7 +61,6 @@ - #include "components/prefs/pref_service_factory.h" - #include "components/prefs/segregated_pref_store.h" - #include "components/profile_metrics/browser_profile_type.h" --#include "components/safe_browsing/core/common/safe_browsing_prefs.h" - #include "components/url_formatter/url_fixer.h" - #include "components/user_prefs/user_prefs.h" - #include "components/visitedlink/browser/visitedlink_writer.h" -@@ -521,8 +520,6 @@ void AwBrowserContext::BuildVisitedLinkT - } - - void AwBrowserContext::SetExtendedReportingAllowed(bool allowed) { -- user_pref_service_->SetBoolean( -- ::prefs::kSafeBrowsingExtendedReportingOptInAllowed, allowed); - } - - // TODO(amalova): Make sure NetworkContextParams is configured correctly when ---- a/chrome/browser/ash/lock_screen_apps/lock_screen_profile_creator_impl.cc -+++ b/chrome/browser/ash/lock_screen_apps/lock_screen_profile_creator_impl.cc -@@ -19,7 +19,6 @@ - #include "chrome/browser/profiles/profile_manager.h" - #include "chrome/common/pref_names.h" - #include "components/prefs/pref_service.h" --#include "components/safe_browsing/core/common/safe_browsing_prefs.h" - #include "extensions/browser/extension_system.h" - - namespace lock_screen_apps { ---- a/chrome/browser/ash/lock_screen_apps/lock_screen_profile_creator_impl_unittest.cc -+++ b/chrome/browser/ash/lock_screen_apps/lock_screen_profile_creator_impl_unittest.cc -@@ -56,7 +56,6 @@ - #include "components/account_id/account_id.h" - #include "components/crx_file/id_util.h" - #include "components/prefs/pref_service.h" --#include "components/safe_browsing/core/common/safe_browsing_prefs.h" - #include "components/user_manager/fake_user_manager.h" - #include "components/user_manager/scoped_user_manager.h" - #include "content/public/test/browser_task_environment.h" --- a/chrome/browser/ash/login/signin/device_id_browsertest.cc +++ b/chrome/browser/ash/login/signin/device_id_browsertest.cc @@ -32,7 +32,6 @@ @@ -91,7 +52,7 @@ #include "components/sync/service/sync_service.h" #include "components/sync/service/sync_user_settings.h" #include "content/public/browser/browser_context.h" -@@ -428,40 +427,5 @@ bool ChromeBrowsingDataLifetimeManager:: +@@ -427,40 +426,5 @@ bool ChromeBrowsingDataLifetimeManager:: return sync_disabled; } @@ -134,7 +95,7 @@ } --- a/chrome/browser/chrome_content_browser_client.cc +++ b/chrome/browser/chrome_content_browser_client.cc -@@ -308,7 +308,6 @@ +@@ -305,7 +305,6 @@ #include "components/safe_browsing/core/browser/url_checker_delegate.h" #include "components/safe_browsing/core/common/features.h" #include "components/safe_browsing/core/common/hashprefix_realtime/hash_realtime_utils.h" @@ -154,7 +115,7 @@ #include "content/public/browser/browser_task_traits.h" --- a/chrome/browser/download/download_item_model.cc +++ b/chrome/browser/download/download_item_model.cc -@@ -828,17 +828,6 @@ void DownloadItemModel::ExecuteCommand(D +@@ -824,17 +824,6 @@ void DownloadItemModel::ExecuteCommand(D #if BUILDFLAG(FULL_SAFE_BROWSING) CompleteSafeBrowsingScan(); #endif @@ -172,7 +133,7 @@ [[fallthrough]]; case DownloadCommands::KEEP: if (IsInsecure()) { -@@ -896,24 +885,9 @@ void DownloadItemModel::ExecuteCommand(D +@@ -892,24 +881,9 @@ void DownloadItemModel::ExecuteCommand(D DownloadUIModel::ExecuteCommand(download_commands, command); break; case DownloadCommands::DEEP_SCAN: { @@ -229,7 +190,7 @@ #include "crypto/secure_hash.h" --- a/chrome/browser/enterprise/connectors/connectors_service.cc +++ b/chrome/browser/enterprise/connectors/connectors_service.cc -@@ -375,8 +375,7 @@ std::string ConnectorsService::GetManage +@@ -374,8 +374,7 @@ std::string ConnectorsService::GetManage std::optional scope = std::nullopt; for (const char* scope_pref : @@ -352,7 +313,7 @@ #include "components/signin/public/identity_manager/primary_account_mutator.h" #include "content/public/browser/storage_partition.h" #include "content/public/browser/web_contents.h" -@@ -385,8 +384,7 @@ void OidcAuthenticationSigninInterceptor +@@ -406,8 +405,7 @@ void OidcAuthenticationSigninInterceptor // TODO(b/355270189): The interaction between OIDC profiles and BrowserSignin // policy should be finalized, this check only prevents Chrome from crashing. @@ -401,7 +362,7 @@ void TokenManagedProfileCreationDelegate::OnManagedProfileInitialized( --- a/chrome/browser/extensions/api/enterprise_reporting_private/enterprise_reporting_private_api.cc +++ b/chrome/browser/extensions/api/enterprise_reporting_private/enterprise_reporting_private_api.cc -@@ -108,45 +108,10 @@ api::enterprise_reporting_private::Conte +@@ -108,44 +108,10 @@ api::enterprise_reporting_private::Conte info.built_in_dns_client_enabled = signals.built_in_dns_client_enabled; info.enterprise_profile_id = signals.enterprise_profile_id; @@ -440,8 +401,7 @@ - PasswordProtectionTrigger::kPhishingReuse; - break; - case safe_browsing::PASSWORD_PROTECTION_TRIGGER_MAX: -- NOTREACHED_IN_MIGRATION(); -- break; +- NOTREACHED(); - } - } @@ -523,15 +483,15 @@ --- a/chrome/browser/extensions/api/preference/preference_apitest.cc +++ b/chrome/browser/extensions/api/preference/preference_apitest.cc -@@ -30,7 +30,6 @@ - #include "components/password_manager/core/common/password_manager_pref_names.h" +@@ -33,7 +33,6 @@ #include "components/prefs/pref_service.h" + #include "components/privacy_sandbox/privacy_sandbox_features.h" #include "components/privacy_sandbox/privacy_sandbox_prefs.h" -#include "components/safe_browsing/core/common/safe_browsing_prefs.h" #include "components/translate/core/browser/translate_pref_names.h" #include "content/public/test/browser_test.h" #include "content/public/test/test_devtools_protocol_client.h" -@@ -86,7 +85,6 @@ class ExtensionPreferenceApiTest +@@ -89,7 +88,6 @@ class ExtensionPreferenceApiTest prefs->GetInteger(prefetch::prefs::kNetworkPredictionOptions)); EXPECT_TRUE( prefs->GetBoolean(password_manager::prefs::kCredentialsEnableService)); @@ -539,7 +499,7 @@ EXPECT_TRUE(prefs->GetBoolean(prefs::kSearchSuggestEnabled)); VerifyPrefValueAndControlledState(prefs::kPrivacySandboxM1TopicsEnabled, base::Value(false), -@@ -124,7 +122,6 @@ class ExtensionPreferenceApiTest +@@ -127,7 +125,6 @@ class ExtensionPreferenceApiTest prefs->GetInteger(prefetch::prefs::kNetworkPredictionOptions)); EXPECT_FALSE( prefs->GetBoolean(password_manager::prefs::kCredentialsEnableService)); @@ -547,7 +507,7 @@ EXPECT_FALSE(prefs->GetBoolean(prefs::kSearchSuggestEnabled)); VerifyPrefValueAndControlledState(prefs::kPrivacySandboxM1TopicsEnabled, base::Value(true), -@@ -209,7 +206,6 @@ IN_PROC_BROWSER_TEST_P(ExtensionPreferen +@@ -212,7 +209,6 @@ IN_PROC_BROWSER_TEST_P(ExtensionPreferen prefetch::prefs::kNetworkPredictionOptions, static_cast(prefetch::NetworkPredictionOptions::kDisabled)); prefs->SetBoolean(password_manager::prefs::kCredentialsEnableService, false); @@ -577,7 +537,7 @@ #include "extensions/browser/test_event_router.h" --- a/chrome/browser/extensions/api/settings_private/prefs_util.cc +++ b/chrome/browser/extensions/api/settings_private/prefs_util.cc -@@ -53,10 +53,8 @@ +@@ -54,10 +54,8 @@ #include "components/privacy_sandbox/privacy_sandbox_prefs.h" #include "components/privacy_sandbox/tracking_protection_prefs.h" #include "components/proxy_config/proxy_config_pref_names.h" @@ -588,7 +548,7 @@ #include "components/spellcheck/browser/pref_names.h" #include "components/supervised_user/core/common/pref_names.h" #include "components/translate/core/browser/translate_pref_names.h" -@@ -324,8 +322,6 @@ const PrefsUtil::TypedPrefMap& PrefsUtil +@@ -325,8 +323,6 @@ const PrefsUtil::TypedPrefMap& PrefsUtil settings_api::PrefType::kNumber; // Privacy page @@ -597,7 +557,7 @@ (*s_allowlist)[::prefs::kDnsOverHttpsMode] = settings_api::PrefType::kString; (*s_allowlist)[::prefs::kDnsOverHttpsTemplates] = settings_api::PrefType::kString; -@@ -348,16 +344,6 @@ const PrefsUtil::TypedPrefMap& PrefsUtil +@@ -349,16 +345,6 @@ const PrefsUtil::TypedPrefMap& PrefsUtil settings_api::PrefType::kBoolean; // Security page @@ -681,7 +641,7 @@ } // namespace extensions --- a/chrome/browser/extensions/extension_service.cc +++ b/chrome/browser/extensions/extension_service.cc -@@ -75,7 +75,6 @@ +@@ -77,7 +77,6 @@ #include "components/crx_file/id_util.h" #include "components/favicon_base/favicon_url_parser.h" #include "components/policy/core/common/policy_pref_names.h" @@ -689,7 +649,7 @@ #include "components/supervised_user/core/browser/supervised_user_preferences.h" #include "content/public/browser/browser_thread.h" #include "content/public/browser/render_process_host.h" -@@ -551,10 +550,7 @@ void ExtensionService::Init() { +@@ -545,10 +544,7 @@ void ExtensionService::Init() { LoadExtensionsFromCommandLineFlag(::switches::kDisableExtensionsExcept); if (load_command_line_extensions) { @@ -711,7 +671,7 @@ #include "content/public/browser/browser_thread.h" #include "content/public/common/url_constants.h" #include "extensions/browser/allowlist_state.h" -@@ -1119,19 +1118,6 @@ void InstalledLoader::RecordExtensionsMe +@@ -1137,19 +1136,6 @@ void InstalledLoader::RecordExtensionsMe base::UmaHistogramCounts100("Extensions.NotAllowlistedDisabled2", disabled_not_allowlisted_count); } @@ -755,7 +715,7 @@ {"spellingServiceEnabled", spellcheck::prefs::kSpellCheckUseSpellingService, --- a/chrome/browser/net/profile_network_context_service.cc +++ b/chrome/browser/net/profile_network_context_service.cc -@@ -69,7 +69,6 @@ +@@ -70,7 +70,6 @@ #include "components/prefs/pref_registry_simple.h" #include "components/prefs/pref_service.h" #include "components/privacy_sandbox/privacy_sandbox_prefs.h" @@ -763,7 +723,7 @@ #include "content/public/browser/browser_context.h" #include "content/public/browser/browser_thread.h" #include "content/public/browser/first_party_sets_handler.h" -@@ -1354,15 +1353,8 @@ void ProfileNetworkContextService::Confi +@@ -1374,15 +1373,8 @@ void ProfileNetworkContextService::Confi network_context_params->enable_certificate_reporting = true; @@ -799,15 +759,15 @@ base::UmaHistogramCounts1000("Notifications.Persistent.Title.SizeInBytes", --- a/chrome/browser/notifications/platform_notification_service_impl.cc +++ b/chrome/browser/notifications/platform_notification_service_impl.cc -@@ -39,7 +39,6 @@ - #include "components/prefs/pref_change_registrar.h" +@@ -41,7 +41,6 @@ #include "components/prefs/pref_registry_simple.h" #include "components/prefs/pref_service.h" + #include "components/safe_browsing/content/browser/notification_content_detection/notification_content_detection_service.h" -#include "components/safe_browsing/core/common/safe_browsing_prefs.h" #include "content/public/browser/browser_thread.h" #include "content/public/browser/platform_notification_context.h" #include "content/public/browser/storage_partition.h" -@@ -285,10 +284,6 @@ void PlatformNotificationServiceImpl::Di +@@ -288,10 +287,6 @@ void PlatformNotificationServiceImpl::Di NotificationMetricsLoggerFactory::GetForBrowserContext(profile_) ->LogPersistentNotificationShown(); @@ -820,15 +780,15 @@ NotificationsEngagementServiceFactory::GetForProfile(profile_); --- a/chrome/browser/password_manager/generated_password_leak_detection_pref.cc +++ b/chrome/browser/password_manager/generated_password_leak_detection_pref.cc -@@ -13,7 +13,6 @@ - #include "chrome/common/extensions/api/settings_private.h" +@@ -15,7 +15,6 @@ #include "components/password_manager/core/common/password_manager_pref_names.h" #include "components/prefs/pref_service.h" + #include "components/safe_browsing/core/common/features.h" -#include "components/safe_browsing/core/common/safe_browsing_prefs.h" #include "components/signin/public/identity_manager/identity_manager.h" namespace { -@@ -27,8 +26,7 @@ bool IsUserAllowedToUseLeakDetection(Pro +@@ -29,8 +28,7 @@ bool IsUserAllowedToUseLeakDetection(Pro // Returns whether the effective value of the Safe Browsing preferences for // |profile| is standard protection. bool IsSafeBrowsingStandard(Profile* profile) { @@ -838,7 +798,7 @@ } } // namespace -@@ -47,16 +45,6 @@ GeneratedPasswordLeakDetectionPref::Gene +@@ -49,16 +47,6 @@ GeneratedPasswordLeakDetectionPref::Gene base::BindRepeating( &GeneratedPasswordLeakDetectionPref::OnSourcePreferencesChanged, base::Unretained(this))); @@ -947,7 +907,7 @@ #include "components/search_engines/enterprise/default_search_policy_handler.h" #include "components/search_engines/search_engines_pref_names.h" #include "components/security_interstitials/core/https_only_mode_policy_handler.h" -@@ -129,7 +127,6 @@ +@@ -130,7 +128,6 @@ #include "components/sharing_message/buildflags.h" #include "components/sharing_message/pref_names.h" #include "components/signin/public/base/signin_buildflags.h" @@ -955,7 +915,7 @@ #include "components/spellcheck/spellcheck_buildflags.h" #include "components/sync/base/pref_names.h" #include "components/sync/service/sync_policy_handler.h" -@@ -309,9 +306,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -315,9 +312,6 @@ const PolicyToPreferenceMapEntry kSimple { key::kForcePermissionPolicyUnloadDefaultEnabled, policy_prefs::kForcePermissionPolicyUnloadDefaultEnabled, base::Value::Type::BOOLEAN}, @@ -965,7 +925,7 @@ { key::kDomainReliabilityAllowed, domain_reliability::prefs::kDomainReliabilityAllowedByPolicy, base::Value::Type::BOOLEAN }, -@@ -345,12 +339,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -351,12 +345,6 @@ const PolicyToPreferenceMapEntry kSimple prefs::kOopPrintDriversAllowedByPolicy, base::Value::Type::BOOLEAN }, #endif @@ -978,7 +938,7 @@ { key::kSavingBrowserHistoryDisabled, prefs::kSavingBrowserHistoryDisabled, base::Value::Type::BOOLEAN }, -@@ -460,9 +448,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -471,9 +459,6 @@ const PolicyToPreferenceMapEntry kSimple { key::kAdsSettingForIntrusiveAdsSites, prefs::kManagedDefaultAdsSetting, base::Value::Type::INTEGER }, @@ -988,7 +948,7 @@ { key::kAllowCrossOriginAuthPrompt, prefs::kAllowCrossOriginAuthPrompt, base::Value::Type::BOOLEAN }, -@@ -679,15 +664,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -696,15 +681,6 @@ const PolicyToPreferenceMapEntry kSimple { key::kPasswordDismissCompromisedAlertEnabled, password_manager::prefs::kPasswordDismissCompromisedAlertEnabled, base::Value::Type::BOOLEAN }, @@ -1004,7 +964,7 @@ #if BUILDFLAG(ENABLE_PDF) { key::kPdfLocalFileAccessAllowedForDomains, prefs::kPdfLocalFileAccessAllowedForDomains, -@@ -734,9 +710,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -751,9 +727,6 @@ const PolicyToPreferenceMapEntry kSimple { key::kRestoreOnStartupURLs, prefs::kURLsToRestoreOnStartup, base::Value::Type::LIST }, @@ -1014,7 +974,7 @@ { key::kSameOriginTabCaptureAllowedByOrigins, prefs::kSameOriginTabCaptureAllowedByOrigins, base::Value::Type::LIST }, -@@ -848,9 +821,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -868,9 +841,6 @@ const PolicyToPreferenceMapEntry kSimple { key::kAdditionalDnsQueryTypesEnabled, prefs::kAdditionalDnsQueryTypesEnabled, base::Value::Type::BOOLEAN }, @@ -1024,7 +984,7 @@ { key::kForceGoogleSafeSearch, policy_prefs::kForceGoogleSafeSearch, base::Value::Type::BOOLEAN }, -@@ -915,9 +885,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -932,9 +902,6 @@ const PolicyToPreferenceMapEntry kSimple { key::kRequireOnlineRevocationChecksForLocalAnchors, prefs::kCertRevocationCheckingRequiredLocalAnchors, base::Value::Type::BOOLEAN }, @@ -1034,7 +994,7 @@ #endif // #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) // || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) -@@ -1848,9 +1815,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -1868,9 +1835,6 @@ const PolicyToPreferenceMapEntry kSimple { key::kUnmanagedDeviceSignalsConsentFlowEnabled, device_signals::prefs::kUnmanagedDeviceSignalsConsentFlowEnabled, base::Value::Type::BOOLEAN }, @@ -1044,7 +1004,7 @@ #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) { key::kDefaultBrowserSettingEnabled, -@@ -1909,9 +1873,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -1929,9 +1893,6 @@ const PolicyToPreferenceMapEntry kSimple prefs::kImportDialogAutofillFormData, base::Value::Type::BOOLEAN }, @@ -1054,7 +1014,7 @@ { key::kHardwareAccelerationModeEnabled, prefs::kHardwareAccelerationModeEnabled, base::Value::Type::BOOLEAN }, -@@ -2193,9 +2154,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -2207,9 +2168,6 @@ const PolicyToPreferenceMapEntry kSimple { key::kGoogleSearchSidePanelEnabled, prefs::kGoogleSearchSidePanelEnabled, base::Value::Type::BOOLEAN }, @@ -1064,7 +1024,7 @@ #endif // BUILDFLAG(IS_ANDROID) { key::kAllowBackForwardCacheForCacheControlNoStorePageEnabled, policy_prefs::kAllowBackForwardCacheForCacheControlNoStorePageEnabled, -@@ -2670,21 +2628,7 @@ std::unique_ptrAddHandler(std::make_unique( key::kProfileReauthPrompt, enterprise_signin::prefs::kProfileReauthPrompt, static_cast(enterprise_signin::ProfileReauthPrompt::kDoNotPrompt), -@@ -2751,24 +2695,6 @@ std::unique_ptr> signin_legacy_policies; @@ -1113,7 +1073,7 @@ std::make_unique(chrome_schema))); --- a/chrome/browser/prefs/browser_prefs.cc +++ b/chrome/browser/prefs/browser_prefs.cc -@@ -167,7 +167,6 @@ +@@ -163,7 +163,6 @@ #include "components/privacy_sandbox/privacy_sandbox_prefs.h" #include "components/proxy_config/pref_proxy_config_tracker_impl.h" #include "components/safe_browsing/content/common/file_type_policies_prefs.h" @@ -1121,7 +1081,7 @@ #include "components/saved_tab_groups/public/pref_names.h" #include "components/search_engines/search_engine_choice/search_engine_choice_service.h" #include "components/search_engines/template_url_prepopulate_data.h" -@@ -176,7 +175,6 @@ +@@ -172,7 +171,6 @@ #include "components/segmentation_platform/embedder/default_model/device_switcher_result_dispatcher.h" #include "components/segmentation_platform/public/segmentation_platform_service.h" #include "components/sessions/core/session_id_generator.h" @@ -1129,7 +1089,7 @@ #include "components/signin/public/base/signin_prefs.h" #include "components/signin/public/identity_manager/identity_manager.h" #include "components/site_engagement/content/site_engagement_service.h" -@@ -1679,7 +1677,6 @@ void RegisterLocalState(PrefRegistrySimp +@@ -1642,7 +1640,6 @@ void RegisterLocalState(PrefRegistrySimp PushMessagingServiceImpl::RegisterPrefs(registry); #endif RegisterScreenshotPrefs(registry); @@ -1137,7 +1097,7 @@ search_engines::SearchEngineChoiceService::RegisterLocalStatePrefs(registry); secure_origin_allowlist::RegisterPrefs(registry); segmentation_platform::SegmentationPlatformService::RegisterLocalStatePrefs( -@@ -2015,8 +2012,6 @@ void RegisterProfilePrefs(user_prefs::Pr +@@ -1978,8 +1975,6 @@ void RegisterProfilePrefs(user_prefs::Pr #if BUILDFLAG(IS_CHROMEOS_ASH) settings::ResetSettingsHandler::RegisterProfilePrefs(registry); #endif // BUILDFLAG(IS_CHROMEOS_ASH) @@ -1146,7 +1106,7 @@ SearchPrefetchService::RegisterProfilePrefs(registry); blocked_content::SafeBrowsingTriggeredPopupBlocker::RegisterProfilePrefs( registry); -@@ -2676,9 +2671,6 @@ void MigrateObsoleteProfilePrefs(PrefSer +@@ -2573,9 +2568,6 @@ void MigrateObsoleteProfilePrefs(PrefSer // If the sync (old) pref still exists, copy it to signin (new), // and clear the sync part of the pref. if (profile_prefs->HasPrefPath(kSync_ExplicitBrowserSignin)) { @@ -1286,7 +1246,7 @@ } bool ProfileAttributesEntry::IsDasherlessManagement() const { -@@ -705,7 +704,6 @@ void ProfileAttributesEntry::SetLastDown +@@ -703,7 +702,6 @@ void ProfileAttributesEntry::SetLastDown } void ProfileAttributesEntry::SetSignedInWithCredentialProvider(bool value) { @@ -1317,7 +1277,7 @@ info.Set(ProfileAttributesEntry::kAccountIdKey, --- a/chrome/browser/profiles/profile_impl.cc +++ b/chrome/browser/profiles/profile_impl.cc -@@ -157,7 +157,6 @@ +@@ -158,7 +158,6 @@ #include "components/profile_metrics/browser_profile_type.h" #include "components/safe_search_api/safe_search_util.h" #include "components/security_interstitials/content/stateful_ssl_host_state_delegate.h" @@ -1325,7 +1285,7 @@ #include "components/signin/public/identity_manager/identity_manager.h" #include "components/site_isolation/site_isolation_policy.h" #include "components/spellcheck/spellcheck_buildflags.h" -@@ -1088,7 +1087,6 @@ void ProfileImpl::OnLocaleReady(CreateMo +@@ -1115,7 +1114,6 @@ void ProfileImpl::OnLocaleReady(CreateMo CHECK(!AccountPasswordStoreFactory::HasStore(this), base::NotFatalUntil::M133); CHECK(!ReadingListModelFactory::HasModel(this), base::NotFatalUntil::M133); @@ -1343,7 +1303,7 @@ #include "components/signin/public/identity_manager/identity_manager.h" #include "components/signin/public/identity_manager/primary_account_mutator.h" #include "components/supervised_user/core/browser/child_account_service.h" -@@ -1906,8 +1905,7 @@ void ProfileManager::AddProfileToStorage +@@ -1905,8 +1904,7 @@ void ProfileManager::AddProfileToStorage entry->SetAuthInfo(account_info.gaia, username, is_consented_primary_account); @@ -1353,7 +1313,7 @@ #if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CHROMEOS) // Sign out if force-sign-in policy is enabled and profile is not signed -@@ -1956,14 +1954,13 @@ void ProfileManager::AddProfileToStorage +@@ -1955,14 +1953,13 @@ void ProfileManager::AddProfileToStorage init_params.is_ephemeral = IsForceEphemeralProfilesEnabled(profile); init_params.is_signed_in_with_credential_provider = @@ -1371,7 +1331,7 @@ prefs->ClearPref(DefaultSearchManager::kDefaultSearchProviderDataPrefName); --- a/chrome/browser/profiles/profile_window.cc +++ b/chrome/browser/profiles/profile_window.cc -@@ -36,7 +36,6 @@ +@@ -37,7 +37,6 @@ #include "chrome/common/url_constants.h" #include "components/flags_ui/pref_service_flags_storage.h" #include "components/prefs/pref_service.h" @@ -1391,7 +1351,7 @@ namespace profiles { --- a/chrome/browser/resources/settings/privacy_page/privacy_page.html +++ b/chrome/browser/resources/settings/privacy_page/privacy_page.html -@@ -814,7 +814,7 @@ +@@ -816,7 +816,7 @@ @@ -1413,10 +1373,10 @@ --- a/chrome/browser/resources/settings/privacy_page/security_page.html +++ b/chrome/browser/resources/settings/privacy_page/security_page.html -@@ -84,136 +84,6 @@ - - +@@ -79,155 +79,6 @@ + pointer-events: auto; + } + -
-

$i18n{safeBrowsingSectionLabel}

- --
+-
-
-

@@ -1468,13 +1429,15 @@ - $i18n{safeBrowsingEnhancedWhenOnBulFour} -

- --
  • -- --
    -- $i18n{safeBrowsingEnhancedWhenOnBulFive} --
    --
  • +- - -
    -
    @@ -1501,13 +1464,27 @@ -
    - - --
    +- +-
    +-
    +- +-
    - - - - -- -- +- - - -

    $i18n{secureConnectionsSectionTitle}

    -@@ -371,11 +241,3 @@ +@@ -396,11 +247,3 @@ on-click="onAdvancedProtectionProgramLinkClick_" external> @@ -1564,7 +1543,7 @@ - --- a/chrome/browser/resources/settings/privacy_page/security_page.ts +++ b/chrome/browser/resources/settings/privacy_page/security_page.ts -@@ -313,17 +313,6 @@ export class SettingsSecurityPageElement +@@ -322,17 +322,6 @@ export class SettingsSecurityPageElement super.ready(); CrSettingsPrefs.initialized.then(() => { @@ -1582,7 +1561,7 @@ // The HTTPS-First Mode generated pref should never be set to // ENABLED_BALANCED if the feature flag is not enabled. if (!loadTimeData.getBoolean('enableHttpsFirstModeNewSettings')) { -@@ -333,10 +322,6 @@ export class SettingsSecurityPageElement +@@ -342,10 +331,6 @@ export class SettingsSecurityPageElement } }); @@ -1593,7 +1572,7 @@ // Initialize the last focus time on page load. this.lastFocusTime_ = HatsBrowserProxyImpl.getInstance().now(); } -@@ -456,8 +441,7 @@ export class SettingsSecurityPageElement +@@ -465,8 +450,7 @@ export class SettingsSecurityPageElement } private getDisabledExtendedSafeBrowsing_(): boolean { @@ -1687,7 +1666,7 @@ #include "components/safe_browsing/core/common/safebrowsing_constants.h" #include "components/safe_browsing/core/common/utils.h" #include "components/security_interstitials/core/unsafe_resource.h" -@@ -1328,14 +1327,6 @@ bool ChromePasswordProtectionService::Ha +@@ -1326,14 +1325,6 @@ bool ChromePasswordProtectionService::Ha } void ChromePasswordProtectionService::OnWarningTriggerChanged() { @@ -1702,7 +1681,7 @@ // Clears captured enterprise password hashes or GSuite sync password hashes. password_manager::PasswordReuseManager* reuse_manager = GetPasswordReuseManager(); -@@ -1508,7 +1499,7 @@ PrefService* ChromePasswordProtectionSer +@@ -1506,7 +1497,7 @@ PrefService* ChromePasswordProtectionSer } bool ChromePasswordProtectionService::IsSafeBrowsingEnabled() { @@ -1711,7 +1690,7 @@ } bool ChromePasswordProtectionService::IsExtendedReporting() { -@@ -1528,39 +1519,7 @@ bool ChromePasswordProtectionService::Is +@@ -1526,39 +1517,7 @@ bool ChromePasswordProtectionService::Is bool ChromePasswordProtectionService::IsPingingEnabled( LoginReputationClientRequest::TriggerType trigger_type, ReusedPasswordAccountType password_type) { @@ -1752,7 +1731,7 @@ } RequestOutcome ChromePasswordProtectionService::GetPingNotSentReason( -@@ -1815,23 +1774,6 @@ MaybeCreateCommitDeferringCondition( +@@ -1819,23 +1778,6 @@ MaybeCreateCommitDeferringCondition( : nullptr; } @@ -2066,7 +2045,7 @@ #include "components/security_interstitials/content/security_interstitial_tab_helper.h" --- a/chrome/browser/safe_browsing/safe_browsing_service.cc +++ b/chrome/browser/safe_browsing/safe_browsing_service.cc -@@ -198,7 +198,6 @@ bool SafeBrowsingServiceImpl::IsUserElig +@@ -207,7 +207,6 @@ bool SafeBrowsingServiceImpl::IsUserElig SafeBrowsingServiceImpl::SafeBrowsingServiceImpl() : services_delegate_(ServicesDelegate::Create(this)), @@ -2074,7 +2053,7 @@ shutdown_(false), enabled_(false), enabled_by_prefs_(false) {} -@@ -334,9 +333,6 @@ TriggerManager* SafeBrowsingServiceImpl: +@@ -343,9 +342,6 @@ TriggerManager* SafeBrowsingServiceImpl: PasswordProtectionService* SafeBrowsingServiceImpl::GetPasswordProtectionService(Profile* profile) const { @@ -2084,7 +2063,7 @@ return nullptr; } -@@ -437,9 +433,6 @@ void SafeBrowsingServiceImpl::OnProfileA +@@ -446,9 +442,6 @@ void SafeBrowsingServiceImpl::OnProfileA std::unique_ptr registrar = std::make_unique(); registrar->Init(pref_service); @@ -2094,7 +2073,7 @@ // ClientSideDetectionService will need to be refresh the models // renderers have if extended-reporting changes. registrar->Add(prefs::kSafeBrowsingScoutReportingEnabled, -@@ -468,14 +461,6 @@ void SafeBrowsingServiceImpl::OnProfileA +@@ -478,14 +471,6 @@ void SafeBrowsingServiceImpl::OnProfileA NoCachedPopulationReason::kChangeMbbPref)); user_population_prefs_[pref_service] = std::move(registrar); @@ -2109,7 +2088,7 @@ // Record the current enhanced protection pref state for regular profiles only if (profiles::IsRegularUserProfile(profile)) { -@@ -542,18 +527,6 @@ void SafeBrowsingServiceImpl::RefreshSta +@@ -610,18 +595,6 @@ void SafeBrowsingServiceImpl::RefreshSta // Check if any profile requires the service to be active. enabled_by_prefs_ = false; @@ -2154,7 +2133,7 @@ // Get current enabled status. Must be called on IO thread. bool enabled() const { DCHECK_CURRENTLY_ON(content::BrowserThread::IO); -@@ -345,10 +335,6 @@ class SafeBrowsingServiceImpl : public S +@@ -350,10 +340,6 @@ class SafeBrowsingServiceImpl : public S std::unique_ptr proxy_config_monitor_; @@ -2253,7 +2232,7 @@ } // static -@@ -207,16 +197,7 @@ AccountConsistencyModeManager::ComputeAc +@@ -207,15 +197,7 @@ AccountConsistencyModeManager::ComputeAc return AccountConsistencyMethod::kMirror; #endif @@ -2261,14 +2240,13 @@ - if (!profile->GetPrefs()->GetBoolean(prefs::kSigninAllowed)) { VLOG(1) << "Desktop Identity Consistency disabled as sign-in to Chrome " "is not allowed"; -- return AccountConsistencyMethod::kDisabled; + return AccountConsistencyMethod::kDisabled; - } - - return AccountConsistencyMethod::kDice; -#endif - -- NOTREACHED_IN_MIGRATION(); - return AccountConsistencyMethod::kDisabled; +- NOTREACHED(); } --- a/chrome/browser/signin/account_consistency_mode_manager_unittest.cc +++ b/chrome/browser/signin/account_consistency_mode_manager_unittest.cc @@ -2280,6 +2258,75 @@ #include "components/sync_preferences/testing_pref_service_syncable.h" #include "content/public/test/browser_task_environment.h" #include "testing/gtest/include/gtest/gtest.h" +--- a/chrome/browser/signin/accounts_policy_manager.cc ++++ b/chrome/browser/signin/accounts_policy_manager.cc +@@ -19,7 +19,6 @@ + #include "chrome/grit/generated_resources.h" + #include "components/prefs/pref_service.h" + #include "components/signin/public/base/signin_metrics.h" +-#include "components/signin/public/base/signin_pref_names.h" + #include "components/signin/public/identity_manager/account_info.h" + #include "components/signin/public/identity_manager/identity_manager.h" + #include "components/signin/public/identity_manager/identity_utils.h" +@@ -195,26 +194,12 @@ void AccountsPolicyManager::Initialize() + EnsurePrimaryAccountAllowedForProfile( + profile_, signin_metrics::ProfileSignout::kSigninNotAllowedOnProfileInit); + +- signin_allowed_.Init( +- prefs::kSigninAllowed, profile_->GetPrefs(), +- base::BindRepeating(&AccountsPolicyManager::OnSigninAllowedPrefChanged, +- weak_pointer_factory_.GetWeakPtr())); +- + local_state_pref_registrar_.Init(g_browser_process->local_state()); +- local_state_pref_registrar_.Add( +- prefs::kGoogleServicesUsernamePattern, +- base::BindRepeating( +- &AccountsPolicyManager::OnGoogleServicesUsernamePatternChanged, +- weak_pointer_factory_.GetWeakPtr())); + + #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) + auto* identity_manager = IdentityManagerFactory::GetForProfile(profile_); + identity_manager_observation_.Observe(identity_manager); + profile_pref_change_registrar_.Init(profile_->GetPrefs()); +- profile_pref_change_registrar_.Add( +- prefs::kProfileSeparationDomainExceptionList, +- base::BindRepeating(&AccountsPolicyManager::RemoveUnallowedAccounts, +- weak_pointer_factory_.GetWeakPtr())); + if (identity_manager->AreRefreshTokensLoaded()) { + OnRefreshTokensLoaded(); + } +@@ -226,7 +211,6 @@ void AccountsPolicyManager::Shutdown() { + profile_pref_change_registrar_.RemoveAll(); + #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) + local_state_pref_registrar_.RemoveAll(); +- signin_allowed_.Destroy(); + } + + void AccountsPolicyManager::OnGoogleServicesUsernamePatternChanged() { +@@ -253,11 +237,6 @@ void AccountsPolicyManager::EnsurePrimar + + CoreAccountInfo primary_account = + identity_manager->GetPrimaryAccountInfo(signin::ConsentLevel::kSync); +- if (profile->GetPrefs()->GetBoolean(prefs::kSigninAllowed) && +- signin::IsUsernameAllowedByPatternFromPrefs( +- g_browser_process->local_state(), primary_account.email)) { +- return; +- } + + #if BUILDFLAG(IS_CHROMEOS_LACROS) + // Disabling signin in chrome and 'RestrictSigninToPattern' policy +--- a/chrome/browser/signin/accounts_policy_manager.h ++++ b/chrome/browser/signin/accounts_policy_manager.h +@@ -73,9 +73,6 @@ class AccountsPolicyManager : public Key + + raw_ptr profile_; + +- // Helper object to listen for changes to the signin allowed preference. +- BooleanPrefMember signin_allowed_; +- + // Helper object to listen for changes to signin preferences stored in non- + // profile-specific local prefs (like kGoogleServicesUsernamePattern). + PrefChangeRegistrar local_state_pref_registrar_; --- a/chrome/browser/signin/android/signin_manager_android.cc +++ b/chrome/browser/signin/android/signin_manager_android.cc @@ -31,7 +31,6 @@ @@ -2439,7 +2486,7 @@ #include "components/signin/public/base/signin_prefs.h" #include "components/signin/public/base/signin_switches.h" #include "components/signin/public/identity_manager/account_capabilities.h" -@@ -467,16 +466,8 @@ void DiceWebSigninInterceptor::RegisterP +@@ -466,16 +465,8 @@ void DiceWebSigninInterceptor::RegisterP registry->RegisterBooleanPref(prefs::kSigninInterceptionEnabled, true); registry->RegisterStringPref(prefs::kManagedAccountsSigninRestriction, std::string()); @@ -2456,7 +2503,7 @@ } std::optional -@@ -1501,16 +1492,6 @@ void DiceWebSigninInterceptor:: +@@ -1506,16 +1497,6 @@ void DiceWebSigninInterceptor:: g_browser_process->browser_policy_connector(), g_browser_process->system_network_context_manager() ->GetSharedURLLoaderFactory()); @@ -2502,74 +2549,6 @@ #include "content/public/common/content_client.h" #include "content/public/test/browser_test.h" #include "google_apis/gaia/gaia_urls.h" ---- a/chrome/browser/signin/primary_account_policy_manager.cc -+++ b/chrome/browser/signin/primary_account_policy_manager.cc -@@ -19,7 +19,6 @@ - #include "chrome/grit/generated_resources.h" - #include "components/prefs/pref_service.h" - #include "components/signin/public/base/signin_metrics.h" --#include "components/signin/public/base/signin_pref_names.h" - #include "components/signin/public/identity_manager/account_info.h" - #include "components/signin/public/identity_manager/identity_manager.h" - #include "components/signin/public/identity_manager/identity_utils.h" -@@ -187,23 +186,11 @@ void PrimaryAccountPolicyManager::Initia - EnsurePrimaryAccountAllowedForProfile( - profile_, signin_metrics::ProfileSignout::kSigninNotAllowedOnProfileInit); - -- signin_allowed_.Init( -- prefs::kSigninAllowed, profile_->GetPrefs(), -- base::BindRepeating( -- &PrimaryAccountPolicyManager::OnSigninAllowedPrefChanged, -- weak_pointer_factory_.GetWeakPtr())); -- - local_state_pref_registrar_.Init(g_browser_process->local_state()); -- local_state_pref_registrar_.Add( -- prefs::kGoogleServicesUsernamePattern, -- base::BindRepeating( -- &PrimaryAccountPolicyManager::OnGoogleServicesUsernamePatternChanged, -- weak_pointer_factory_.GetWeakPtr())); - } - - void PrimaryAccountPolicyManager::Shutdown() { - local_state_pref_registrar_.RemoveAll(); -- signin_allowed_.Destroy(); - } - - void PrimaryAccountPolicyManager::OnGoogleServicesUsernamePatternChanged() { -@@ -229,11 +216,6 @@ void PrimaryAccountPolicyManager::Ensure - - CoreAccountInfo primary_account = - identity_manager->GetPrimaryAccountInfo(signin::ConsentLevel::kSync); -- if (profile->GetPrefs()->GetBoolean(prefs::kSigninAllowed) && -- signin::IsUsernameAllowedByPatternFromPrefs( -- g_browser_process->local_state(), primary_account.email)) { -- return; -- } - - #if BUILDFLAG(IS_CHROMEOS_LACROS) - // Disabling signin in chrome and 'RestrictSigninToPattern' policy ---- a/chrome/browser/signin/primary_account_policy_manager.h -+++ b/chrome/browser/signin/primary_account_policy_manager.h -@@ -61,9 +61,6 @@ class PrimaryAccountPolicyManager : publ - - raw_ptr profile_; - -- // Helper object to listen for changes to the signin allowed preference. -- BooleanPrefMember signin_allowed_; -- - // Helper object to listen for changes to signin preferences stored in non- - // profile-specific local prefs (like kGoogleServicesUsernamePattern). - PrefChangeRegistrar local_state_pref_registrar_; ---- a/chrome/browser/signin/primary_account_policy_manager_unittest.cc -+++ b/chrome/browser/signin/primary_account_policy_manager_unittest.cc -@@ -15,7 +15,6 @@ - #include "chrome/test/base/testing_browser_process.h" - #include "chrome/test/base/testing_profile.h" - #include "chrome/test/base/testing_profile_manager.h" --#include "components/signin/public/base/signin_pref_names.h" - #include "components/signin/public/identity_manager/identity_test_environment.h" - #include "content/public/test/browser_task_environment.h" - #include "testing/gtest/include/gtest/gtest.h" --- a/chrome/browser/signin/signin_manager.cc +++ b/chrome/browser/signin/signin_manager.cc @@ -16,7 +16,6 @@ @@ -2738,7 +2717,7 @@ --- a/chrome/browser/signin/signin_util_win.cc +++ b/chrome/browser/signin/signin_util_win.cc -@@ -35,7 +35,6 @@ +@@ -36,7 +36,6 @@ #include "components/prefs/pref_service.h" #include "components/signin/core/browser/about_signin_internals.h" #include "components/signin/public/base/signin_metrics.h" @@ -2746,7 +2725,7 @@ #include "components/signin/public/identity_manager/accounts_mutator.h" #include "components/signin/public/identity_manager/identity_manager.h" -@@ -141,9 +140,6 @@ void ImportCredentialsFromProvider(Profi +@@ -142,9 +141,6 @@ void ImportCredentialsFromProvider(Profi account_id, profile)); } } @@ -2756,7 +2735,7 @@ } // Extracts the |cred_provider_gaia_id| and |cred_provider_email| for the user -@@ -318,20 +314,7 @@ bool ReauthWithCredentialProviderIfPossi +@@ -319,20 +315,7 @@ bool ReauthWithCredentialProviderIfPossi // - The profile is marked as having been signed in with a system credential. // - The profile is already signed in. // - The profile is in an auth error state. @@ -2921,7 +2900,7 @@ product_specific_data["Is page info UI"] = false; product_specific_data["Is modal dialog UI"] = false; product_specific_data["Is interstitial UI"] = false; -@@ -438,31 +427,12 @@ void TrustSafetySentimentService::Intera +@@ -433,31 +422,12 @@ void TrustSafetySentimentService::Finish void TrustSafetySentimentService::InteractedWithSafeBrowsingInterstitial( bool did_proceed, safe_browsing::SBThreatType threat_type) { @@ -2965,7 +2944,7 @@ --- a/chrome/browser/ui/safety_hub/menu_notification_service.cc +++ b/chrome/browser/ui/safety_hub/menu_notification_service.cc -@@ -24,7 +24,6 @@ +@@ -21,7 +21,6 @@ #include "chrome/browser/ui/safety_hub/unused_site_permissions_service.h" #include "chrome/common/chrome_features.h" #include "components/prefs/pref_service.h" @@ -2973,7 +2952,7 @@ #if BUILDFLAG(IS_ANDROID) #include "chrome/browser/ui/safety_hub/password_status_check_result_android.h" -@@ -133,15 +132,6 @@ SafetyHubMenuNotificationService::Safety +@@ -134,14 +133,6 @@ SafetyHubMenuNotificationService::Safety } #endif // !BUILDFLAG(IS_ANDROID) @@ -2985,10 +2964,9 @@ - base::BindRepeating( - &SafetyHubMenuNotificationService::OnSafeBrowsingPrefUpdate, - base::Unretained(this))); -- - #if !BUILDFLAG(IS_ANDROID) - // If any notification is not shown yet, trigger Hats survey control group. - if (base::FeatureList::IsEnabled(features::kSafetyHubHaTSOneOffSurvey) && + } + + void SafetyHubMenuNotificationService::UpdateResultGetterForTesting( --- a/chrome/browser/ui/safety_hub/safe_browsing_result.cc +++ b/chrome/browser/ui/safety_hub/safe_browsing_result.cc @@ -11,7 +11,6 @@ @@ -3146,15 +3124,15 @@ void SetFirstRunFinished(FirstRunService::FinishedReason reason) { --- a/chrome/browser/ui/toolbar/app_menu_model.cc +++ b/chrome/browser/ui/toolbar/app_menu_model.cc -@@ -108,7 +108,6 @@ +@@ -109,7 +109,6 @@ #include "components/profile_metrics/browser_profile_type.h" #include "components/saved_tab_groups/public/features.h" #include "components/signin/public/base/signin_metrics.h" -#include "components/signin/public/base/signin_pref_names.h" #include "components/signin/public/identity_manager/identity_manager.h" #include "components/strings/grit/components_strings.h" - #include "components/user_education/common/feature_promo_controller.h" -@@ -629,53 +628,7 @@ int ProfileSubMenuModel::GetAndIncrement + #include "components/user_education/common/feature_promo/feature_promo_controller.h" +@@ -629,51 +628,7 @@ int ProfileSubMenuModel::GetAndIncrement } bool ProfileSubMenuModel::BuildSyncSection() { @@ -3170,8 +3148,6 @@ - IdentityManagerFactory::GetForProfile(profile_); - AddTitle(GetSyncSectionTitle(profile_, identity_manager)); - -- const bool is_sync_feature_enabled = -- identity_manager->HasPrimaryAccount(signin::ConsentLevel::kSync); - // First, check for sync errors. They may exist even if sync-the-feature is - // disabled and only sync-the-transport is running. - const std::optional error = @@ -3195,7 +3171,7 @@ - AddItemWithStringIdAndVectorIcon( - this, IDC_SHOW_SIGNIN_WHEN_PAUSED, IDS_PROFILES_VERIFY_ACCOUNT_BUTTON, - vector_icons::kAccountCircleOffChromeRefreshIcon); -- } else if (is_sync_feature_enabled) { +- } else if (identity_manager->HasPrimaryAccount(signin::ConsentLevel::kSync)) { - AddItemWithStringIdAndVectorIcon(this, IDC_SHOW_SYNC_SETTINGS, - IDS_PROFILE_ROW_SYNC_IS_ON, - vector_icons::kSyncChromeRefreshIcon); @@ -3230,7 +3206,7 @@ #include "components/signin/public/identity_manager/identity_test_utils.h" --- a/chrome/browser/ui/views/profiles/avatar_toolbar_button_delegate.cc +++ b/chrome/browser/ui/views/profiles/avatar_toolbar_button_delegate.cc -@@ -51,7 +51,6 @@ +@@ -50,7 +50,6 @@ #include "components/prefs/pref_service.h" #include "components/signin/public/base/consent_level.h" #include "components/signin/public/base/signin_metrics.h" @@ -3238,7 +3214,7 @@ #include "components/signin/public/base/signin_prefs.h" #include "components/signin/public/base/signin_switches.h" #include "components/signin/public/identity_manager/identity_manager.h" -@@ -1638,18 +1637,6 @@ void AvatarToolbarButtonDelegate::OnErro +@@ -1631,18 +1630,6 @@ void AvatarToolbarButtonDelegate::OnErro const CoreAccountInfo& account_info, const GoogleServiceAuthError& error, signin_metrics::SourceForRefreshTokenOperation token_operation_source) { @@ -3267,7 +3243,7 @@ #include "components/signin/public/base/signin_switches.h" #include "components/signin/public/identity_manager/account_info.h" #include "components/signin/public/identity_manager/primary_account_mutator.h" -@@ -656,7 +655,6 @@ void ProfileMenuView::BuildSyncInfo() { +@@ -662,7 +661,6 @@ void ProfileMenuView::BuildSyncInfo() { CHECK(!switches::IsImprovedSigninUIOnDesktopEnabled()); Profile* profile = browser()->profile(); @@ -3275,9 +3251,35 @@ return; if (!SyncServiceFactory::IsSyncAllowed(profile)) { +@@ -816,15 +814,6 @@ ProfileMenuView::GetIdentitySectionParam + identity_manager->GetPrimaryAccountInfo(signin::ConsentLevel::kSignin); + switch (signin_util::GetSignedInState(identity_manager)) { + case signin_util::SignedInState::kSignedOut: +- if (profile->GetPrefs()->GetBoolean(prefs::kSigninAllowed)) { +- button_type = ActionableItem::kSigninButton; +- access_point = signin_metrics::AccessPoint:: +- ACCESS_POINT_AVATAR_BUBBLE_SIGN_IN_WITH_SYNC_PROMO; +- params.description = l10n_util::GetStringUTF16( +- IDS_PROFILE_MENU_SIGNIN_PROMO_DESCRIPTION); +- params.button_text = +- l10n_util::GetStringUTF16(IDS_PROFILE_MENU_SIGNIN_PROMO_BUTTON); +- } + break; + case signin_util::SignedInState::kWebOnlySignedIn: { + access_point = signin_metrics::AccessPoint:: +@@ -947,9 +936,6 @@ void ProfileMenuView::MaybeBuildChromeAc + .empty(); + + if (switches::IsImprovedSigninUIOnDesktopEnabled()) { +- if (!profile->GetPrefs()->GetBoolean(prefs::kSigninAllowed)) { +- should_show_settings_button = true; +- } + } else { + if (identity_manager->HasPrimaryAccount(signin::ConsentLevel::kSync)) { + // Do not show if sync is enabled with the legacy design, because there is --- a/chrome/browser/ui/views/profiles/profile_menu_view_browsertest.cc +++ b/chrome/browser/ui/views/profiles/profile_menu_view_browsertest.cc -@@ -83,7 +83,6 @@ +@@ -82,7 +82,6 @@ #include "components/password_manager/core/common/password_manager_features.h" #include "components/prefs/pref_service.h" #include "components/signin/public/base/consent_level.h" @@ -3350,7 +3352,7 @@ #include "content/public/browser/render_process_host.h" --- a/chrome/browser/ui/views/toolbar/app_menu.cc +++ b/chrome/browser/ui/views/toolbar/app_menu.cc -@@ -61,7 +61,6 @@ +@@ -60,7 +60,6 @@ #include "chrome/grit/theme_resources.h" #include "components/bookmarks/browser/bookmark_model.h" #include "components/saved_tab_groups/public/features.h" @@ -3422,7 +3424,7 @@ // AppMenuView is a view that can contain label buttons. --- a/chrome/browser/ui/views/webid/fedcm_account_selection_view_desktop.cc +++ b/chrome/browser/ui/views/webid/fedcm_account_selection_view_desktop.cc -@@ -861,8 +861,6 @@ void FedCmAccountSelectionView::OnChoose +@@ -892,8 +892,6 @@ void FedCmAccountSelectionView::OnChoose ShowMultiAccountPicker(accounts_, idp_list_, /*show_back_button=*/true, /*is_choose_an_account=*/true); @@ -3430,18 +3432,18 @@ - true); } - void FedCmAccountSelectionView::OnPopupWindowDestroyed() { + void FedCmAccountSelectionView::WillDiscardContents( --- a/chrome/browser/ui/webui/browser_command/browser_command_handler.cc +++ b/chrome/browser/ui/webui/browser_command/browser_command_handler.cc -@@ -28,7 +28,6 @@ +@@ -31,7 +31,6 @@ #include "components/performance_manager/public/features.h" #include "components/safe_browsing/content/browser/web_ui/safe_browsing_ui.h" #include "components/safe_browsing/core/common/safe_browsing_policy_handler.h" -#include "components/safe_browsing/core/common/safe_browsing_prefs.h" #include "components/safe_browsing/core/common/safebrowsing_referral_methods.h" #include "components/saved_tab_groups/public/features.h" - #include "components/user_education/common/tutorial_identifier.h" -@@ -79,13 +78,6 @@ void BrowserCommandHandler::CanExecuteCo + #include "components/user_education/common/tutorial/tutorial_identifier.h" +@@ -82,13 +81,6 @@ void BrowserCommandHandler::CanExecuteCo case Command::kOpenSafetyCheck: can_execute = !enterprise_util::IsBrowserManaged(profile_); break; @@ -3467,7 +3469,7 @@ #include "content/public/browser/download_item_utils.h" --- a/chrome/browser/ui/webui/history/history_ui.cc +++ b/chrome/browser/ui/webui/history/history_ui.cc -@@ -64,7 +64,6 @@ +@@ -68,7 +68,6 @@ #include "components/page_image_service/image_service.h" #include "components/page_image_service/image_service_handler.h" #include "components/prefs/pref_service.h" @@ -3475,7 +3477,7 @@ #include "components/signin/public/base/signin_switches.h" #include "components/signin/public/identity_manager/identity_manager.h" #include "components/strings/grit/components_strings.h" -@@ -183,8 +182,6 @@ content::WebUIDataSource* CreateAndAddHi +@@ -186,8 +185,6 @@ content::WebUIDataSource* CreateAndAddHi source->AddBoolean("allowDeletingHistory", allow_deleting_history); source->AddBoolean("isGuestSession", profile->IsGuestSession()); @@ -3504,7 +3506,7 @@ #include "components/strings/grit/components_strings.h" #include "content/public/browser/browser_task_traits.h" #include "content/public/browser/browser_thread.h" -@@ -347,15 +346,6 @@ void PolicyUIHandler::HandleSetLocalTest +@@ -355,15 +354,6 @@ void PolicyUIHandler::HandleSetLocalTest CHECK(local_test_provider); @@ -3520,7 +3522,7 @@ Profile::FromWebUI(web_ui()) ->GetProfilePolicyConnector() ->UseLocalTestPolicyProvider(); -@@ -369,13 +359,6 @@ void PolicyUIHandler::HandleRevertLocalT +@@ -377,13 +367,6 @@ void PolicyUIHandler::HandleRevertLocalT if (!PolicyUI::ShouldLoadTestPage(Profile::FromWebUI(web_ui()))) { return; } @@ -3586,7 +3588,7 @@ #include "components/signin/public/base/signin_prefs.h" #include "components/signin/public/base/signin_switches.h" #include "components/signin/public/identity_manager/account_info.h" -@@ -394,10 +393,6 @@ void PeopleHandler::OnJavascriptAllowed( +@@ -389,10 +388,6 @@ void PeopleHandler::OnJavascriptAllowed( PrefService* prefs = profile_->GetPrefs(); profile_pref_registrar_ = std::make_unique(); profile_pref_registrar_->Init(prefs); @@ -3619,7 +3621,7 @@ #include "components/site_engagement/content/site_engagement_service.h" --- a/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc +++ b/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc -@@ -89,7 +89,6 @@ +@@ -88,7 +88,6 @@ #include "components/prefs/pref_service.h" #include "components/safe_browsing/core/common/features.h" #include "components/safe_browsing/core/common/hashprefix_realtime/hash_realtime_utils.h" @@ -3627,7 +3629,7 @@ #include "components/saved_tab_groups/public/features.h" #include "components/search_engines/search_engine_choice/search_engine_choice_service.h" #include "components/signin/public/base/signin_buildflags.h" -@@ -3449,11 +3448,6 @@ void AddSiteSettingsStrings(content::Web +@@ -3418,11 +3417,6 @@ void AddSiteSettingsStrings(content::Web html_source->AddLocalizedStrings(kSensorsLocalizedStrings); html_source->AddBoolean( @@ -3649,7 +3651,7 @@ #include "components/signin/public/base/signin_switches.h" #include "components/sync/base/features.h" #include "content/public/browser/url_data_source.h" -@@ -317,9 +316,7 @@ SettingsUI::SettingsUI(content::WebUI* w +@@ -316,9 +315,7 @@ SettingsUI::SettingsUI(content::WebUI* w } #endif // BUILDFLAG(IS_WIN) && BUILDFLAG(GOOGLE_CHROME_BRANDING) @@ -3660,32 +3662,6 @@ html_source->AddBoolean( "turnOffSyncAllowedForManagedProfiles", ---- a/chrome/browser/ui/webui/side_panel/companion/signin_delegate_impl.cc -+++ b/chrome/browser/ui/webui/side_panel/companion/signin_delegate_impl.cc -@@ -19,7 +19,6 @@ - #include "components/prefs/pref_service.h" - #include "components/signin/public/base/consent_level.h" - #include "components/signin/public/base/signin_metrics.h" --#include "components/signin/public/base/signin_pref_names.h" - #include "components/signin/public/identity_manager/identity_manager.h" - #include "components/sync/service/sync_service.h" - #include "components/unified_consent/unified_consent_service.h" -@@ -34,15 +33,7 @@ SigninDelegateImpl::SigninDelegateImpl(c - SigninDelegateImpl::~SigninDelegateImpl() = default; - - bool SigninDelegateImpl::AllowedSignin() { -- if (!GetProfile()->GetPrefs()->GetBoolean(prefs::kSigninAllowed)) { - return false; -- } -- -- if (!SyncServiceFactory::IsSyncAllowed(GetProfile())) { -- return false; -- } -- -- return true; - } - - bool SigninDelegateImpl::IsSignedIn() { --- a/chrome/browser/ui/webui/signin/inline_login_handler.cc +++ b/chrome/browser/ui/webui/signin/inline_login_handler.cc @@ -27,7 +27,6 @@ @@ -3725,7 +3701,7 @@ #include "components/signin/public/identity_manager/account_info.h" #include "components/strings/grit/components_strings.h" #include "content/public/browser/web_contents.h" -@@ -453,23 +452,6 @@ base::Value::Dict ManagedUserProfileNoti +@@ -478,23 +477,6 @@ base::Value::Dict ManagedUserProfileNoti dict.Set("email", base::UTF16ToUTF8(email_)); dict.Set("accountName", account_info.full_name); @@ -3749,6 +3725,26 @@ break; } +--- a/chrome/browser/ui/webui/signin/managed_user_profile_notice_ui.cc ++++ b/chrome/browser/ui/webui/signin/managed_user_profile_notice_ui.cc +@@ -28,7 +28,6 @@ + #include "chrome/grit/generated_resources.h" + #include "chrome/grit/signin_resources.h" + #include "components/prefs/pref_service.h" +-#include "components/signin/public/base/signin_pref_names.h" + #include "components/signin/public/base/signin_switches.h" + #include "components/strings/grit/components_strings.h" + #include "content/public/browser/web_ui.h" +@@ -293,8 +292,7 @@ void ManagedUserProfileNoticeUI::Initial + // Change the text so that the "(Recommended)" label is not shown when the + // admin has set merging data as the default option. + bool profile_separation_data_migration_settings_optout = +- profile->GetPrefs()->GetInteger( +- prefs::kProfileSeparationDataMigrationSettings) == 2; ++ false; + bool check_link_data_checkbox_by_default_from_legacy_policy = + g_browser_process->local_state()->GetBoolean( + prefs::kEnterpriseProfileCreationKeepBrowsingData); --- a/chrome/browser/ui/webui/signin/signin_error_ui.cc +++ b/chrome/browser/ui/webui/signin/signin_error_ui.cc @@ -29,7 +29,6 @@ @@ -3818,7 +3814,7 @@ #include "components/signin/public/base/signin_switches.h" #include "components/signin/public/identity_manager/account_managed_status_finder.h" #include "components/signin/public/identity_manager/accounts_mutator.h" -@@ -279,8 +278,7 @@ void TurnSyncOnHelper::TurnSyncOnInterna +@@ -276,8 +275,7 @@ void TurnSyncOnHelper::TurnSyncOnInterna // last authenticated account of the current profile, then Chrome will show a // confirmation dialog before starting sync. // TODO(skym): Warn for high risk upgrade scenario (https://crbug.com/572754). @@ -3830,7 +3826,7 @@ base::BindOnce(&TurnSyncOnHelper::OnMergeAccountConfirmation, --- a/chrome/browser/ui/webui/signin/turn_sync_on_helper_delegate_impl.cc +++ b/chrome/browser/ui/webui/signin/turn_sync_on_helper_delegate_impl.cc -@@ -37,7 +37,6 @@ +@@ -38,7 +38,6 @@ #include "components/policy/core/browser/signin/profile_separation_policies.h" #include "components/policy/core/browser/signin/user_cloud_signin_restriction_policy_fetcher.h" #include "components/policy/core/common/policy_utils.h" @@ -3838,7 +3834,7 @@ #include "google_apis/gaia/gaia_auth_util.h" #include "third_party/skia/include/core/SkColor.h" -@@ -228,28 +227,6 @@ void TurnSyncOnHelperDelegateImpl::OnPro +@@ -229,28 +228,6 @@ void TurnSyncOnHelperDelegateImpl::OnPro std::move(callback).Run(signin::SIGNIN_CHOICE_CANCEL); return; } @@ -3917,7 +3913,7 @@ #if BUILDFLAG(IS_ANDROID) --- a/chrome/browser/webdata_services/web_data_service_factory.cc +++ b/chrome/browser/webdata_services/web_data_service_factory.cc -@@ -17,7 +17,6 @@ +@@ -18,7 +18,6 @@ #include "components/plus_addresses/webdata/plus_address_webdata_service.h" #include "components/prefs/pref_service.h" #include "components/search_engines/keyword_web_data_service.h" @@ -3925,10 +3921,10 @@ #include "components/signin/public/base/signin_switches.h" #include "components/signin/public/webdata/token_web_data.h" #include "components/webdata_services/web_data_service_wrapper.h" -@@ -86,51 +85,7 @@ bool ShouldUseInMemoryAutofillAccountDat - if (!switches::IsImprovedSigninUIOnDesktopEnabled()) { - return true; +@@ -96,51 +95,7 @@ AutofillAccountStorageResult DetermineAu + return AutofillAccountStorageResult::kInMemory_FlagDisabled; } + CHECK(pref_service); - // The interpretation of the pref mimics what PrimaryAccountManager's - // constructor does. - const bool is_signed_in = @@ -3937,14 +3933,14 @@ - // being enabled, any new sign-ins will involve an explicit sign-in (i.e. - // interaction with native UI). In this case, on-disk storage is appropriate. - if (!is_signed_in) { - return false; + return AutofillAccountStorageResult::kOnDisk_SignedOut; - } - // It is possible that the user already is in an explicit sign-in state. In - // this case, on-disk storage is appropriate, as any additional future - // sign-ins (if the user first signs out) are guaranteed to be explicit - // sign-ins too. - if (pref_service->GetBoolean(::prefs::kExplicitBrowserSignin)) { -- return false; +- return AutofillAccountStorageResult::kOnDisk_SignedInExplicitly; - } - // The interpretation of the pref mimics what PrimaryAccountManager's - // constructor does. @@ -3958,7 +3954,7 @@ - // explicitly with a sync UI, so in this particular context it is no different - // from explicit sign-in, and on-disk storage is appropriate. - if (is_consented_to_sync) { -- return false; +- return AutofillAccountStorageResult::kOnDisk_SyncFeatureEnabled; - } - // The remaining case implies a legacy signed-in-non-syncing state with - // implicit sign-in, which means the user signed in before the latest feature @@ -3973,9 +3969,9 @@ - // Conveniently, it is also harmless to use the in-memory storage until the - // next browser restart, given that this is a one-off transition (upon restart - // the code would run into one of the cases listed earlier that return false). -- return true; - #endif // BUILDFLAG(IS_ANDROID) +- return AutofillAccountStorageResult::kInMemory_SignedInImplicitly; } + #endif // !BUILDFLAG(IS_ANDROID) --- a/chrome/common/extensions/api/privacy.json +++ b/chrome/common/extensions/api/privacy.json @@ -4061,7 +4057,7 @@ void AddressDataManager::SetAutofillSelectableTypeEnabled(bool enabled) { --- a/components/autofill/core/browser/autofill_experiments.cc +++ b/components/autofill/core/browser/autofill_experiments.cc -@@ -35,7 +35,6 @@ +@@ -36,7 +36,6 @@ #include "components/device_reauth/device_authenticator.h" #include "components/prefs/pref_service.h" #include "components/signin/public/base/signin_buildflags.h" @@ -4069,7 +4065,7 @@ #include "components/strings/grit/components_strings.h" #include "components/sync/base/features.h" #include "components/sync/base/user_selectable_type.h" -@@ -132,13 +131,6 @@ bool IsCreditCardUploadEnabled( +@@ -163,13 +162,6 @@ bool IsCreditCardUploadEnabled( // from the codebase. bool addresses_in_transport_mode = base::FeatureList::IsEnabled( syncer::kSyncEnableContactInfoDataTypeInTransportMode); @@ -4083,9 +4079,29 @@ bool syncing_or_addresses_in_transport_mode = sync_service->IsSyncFeatureActive() || addresses_in_transport_mode; if (syncing_or_addresses_in_transport_mode && +--- a/components/autofill/core/browser/payments/autofill_wallet_data_type_controller.cc ++++ b/components/autofill/core/browser/payments/autofill_wallet_data_type_controller.cc +@@ -10,7 +10,6 @@ + #include "base/functional/callback_helpers.h" + #include "components/autofill/core/common/autofill_prefs.h" + #include "components/prefs/pref_service.h" +-#include "components/signin/public/base/signin_pref_names.h" + #include "components/signin/public/base/signin_switches.h" + #include "components/sync/base/sync_mode.h" + #include "components/sync/service/configure_context.h" +@@ -22,8 +21,7 @@ namespace { + bool IsSignedInExplicitly(PrefService* pref_service) { + CHECK(pref_service); + +- return switches::IsExplicitBrowserSigninUIOnDesktopEnabled() && +- pref_service->GetBoolean(prefs::kExplicitBrowserSignin); ++ return false; + } + + } // namespace --- a/components/browser_sync/BUILD.gn +++ b/components/browser_sync/BUILD.gn -@@ -20,8 +20,6 @@ static_library("browser_sync") { +@@ -18,8 +18,6 @@ static_library("browser_sync") { "sync_engine_factory_impl.h", "sync_internals_message_handler.cc", "sync_internals_message_handler.h", @@ -4163,7 +4179,7 @@ #include "components/signin/public/base/signin_switches.h" #include "components/signin/public/identity_manager/account_info.h" #include "components/sync/base/pref_names.h" -@@ -382,15 +381,7 @@ bool ShouldShowAccountStorageSettingTogg +@@ -356,15 +355,7 @@ bool ShouldShowAccountStorageSettingTogg } bool AreAccountStorageOptInPromosAllowed() { @@ -4182,42 +4198,52 @@ // Note: See also password_manager_features_util_common.cc for shared --- a/components/password_manager/core/browser/leak_detection/leak_detection_check_impl.cc +++ b/components/password_manager/core/browser/leak_detection/leak_detection_check_impl.cc -@@ -19,7 +19,6 @@ - #include "components/password_manager/core/browser/leak_detection/single_lookup_response.h" +@@ -21,7 +21,6 @@ #include "components/password_manager/core/common/password_manager_pref_names.h" #include "components/prefs/pref_service.h" + #include "components/safe_browsing/core/common/features.h" -#include "components/safe_browsing/core/common/safe_browsing_prefs.h" #include "components/signin/public/identity_manager/access_token_fetcher.h" #include "components/signin/public/identity_manager/access_token_info.h" #include "components/signin/public/identity_manager/identity_manager.h" -@@ -225,31 +224,7 @@ bool LeakDetectionCheck::CanStartLeakChe +@@ -227,41 +226,7 @@ bool LeakDetectionCheck::CanStartLeakChe const PrefService& prefs, const GURL& form_url, std::unique_ptr logger) { - const bool is_leak_protection_on = - prefs.GetBoolean(prefs::kPasswordLeakDetectionEnabled); -- // Leak detection can only start if: -- // 1. The user has not opted out and Safe Browsing is turned on, or -- // 2. The user is an enhanced protection user -- safe_browsing::SafeBrowsingState sb_state = -- safe_browsing::GetSafeBrowsingState(prefs); -- switch (sb_state) { -- case safe_browsing::SafeBrowsingState::NO_SAFE_BROWSING: -- if (logger) { -- logger->LogMessage(autofill::SavePasswordProgressLogger:: -- STRING_LEAK_DETECTION_DISABLED_SAFE_BROWSING); -- } - return false; -- case safe_browsing::SafeBrowsingState::STANDARD_PROTECTION: -- if (!is_leak_protection_on && logger) { -- logger->LogMessage(autofill::SavePasswordProgressLogger:: -- STRING_LEAK_DETECTION_DISABLED_FEATURE); -- } -- return is_leak_protection_on && !LeakDetectionCheck::IsURLBlockedByPolicy( -- prefs, form_url, logger.get()); -- case safe_browsing::SafeBrowsingState::ENHANCED_PROTECTION: -- return !LeakDetectionCheck::IsURLBlockedByPolicy(prefs, form_url, -- logger.get()); +- if (base::FeatureList::IsEnabled(safe_browsing::kPasswordLeakToggleMove)) { +- if (!is_leak_protection_on && logger) { +- logger->LogMessage(autofill::SavePasswordProgressLogger:: +- STRING_LEAK_DETECTION_DISABLED_FEATURE); +- } +- return is_leak_protection_on && !LeakDetectionCheck::IsURLBlockedByPolicy( +- prefs, form_url, logger.get()); +- } else { +- // Leak detection can only start if: +- // 1. The user has not opted out and Safe Browsing is turned on, or +- // 2. The user is an enhanced protection user +- safe_browsing::SafeBrowsingState sb_state = +- safe_browsing::GetSafeBrowsingState(prefs); +- switch (sb_state) { +- case safe_browsing::SafeBrowsingState::NO_SAFE_BROWSING: +- if (logger) { +- logger->LogMessage(autofill::SavePasswordProgressLogger:: +- STRING_LEAK_DETECTION_DISABLED_SAFE_BROWSING); +- } + return false; +- case safe_browsing::SafeBrowsingState::STANDARD_PROTECTION: +- if (!is_leak_protection_on && logger) { +- logger->LogMessage(autofill::SavePasswordProgressLogger:: +- STRING_LEAK_DETECTION_DISABLED_FEATURE); +- } +- return is_leak_protection_on && +- !LeakDetectionCheck::IsURLBlockedByPolicy(prefs, form_url, +- logger.get()); +- case safe_browsing::SafeBrowsingState::ENHANCED_PROTECTION: +- return !LeakDetectionCheck::IsURLBlockedByPolicy(prefs, form_url, +- logger.get()); +- } - } } @@ -4329,7 +4355,7 @@ #include "google_apis/gaia/gaia_auth_util.h" #include "google_apis/gaia/gaia_urls.h" -@@ -693,7 +692,7 @@ StoreMetricsReporter::StoreMetricsReport +@@ -717,7 +716,7 @@ StoreMetricsReporter::StoreMetricsReport is_opted_in_account_storage_ = features_util::IsOptedInForAccountStorage(prefs_, sync_service); @@ -4466,7 +4492,7 @@ #include "components/security_interstitials/core/unsafe_resource.h" #include "content/public/browser/browser_context.h" #include "content/public/browser/browser_thread.h" -@@ -110,16 +109,16 @@ SBErrorOptions TriggerManager::GetSBErro +@@ -109,16 +108,16 @@ SBErrorOptions TriggerManager::GetSBErro content::WebContents* web_contents) { return SBErrorOptions( /*is_main_frame_load_pending=*/false, @@ -4643,52 +4669,34 @@ --- a/components/safe_browsing/core/browser/db/v4_local_database_manager.cc +++ b/components/safe_browsing/core/browser/db/v4_local_database_manager.cc -@@ -286,12 +286,9 @@ const V4LocalDatabaseManager* +@@ -283,10 +283,9 @@ const V4LocalDatabaseManager* scoped_refptr V4LocalDatabaseManager::Create( const base::FilePath& base_path, scoped_refptr ui_task_runner, - scoped_refptr io_task_runner, -- ExtendedReportingLevelCallback extended_reporting_level_callback, -- RecordMigrationMetricsCallback record_migration_metrics_callback) { +- ExtendedReportingLevelCallback extended_reporting_level_callback) { + scoped_refptr io_task_runner) { return base::WrapRefCounted(new V4LocalDatabaseManager( -- base_path, extended_reporting_level_callback, -- std::move(record_migration_metrics_callback), std::move(ui_task_runner), +- base_path, extended_reporting_level_callback, std::move(ui_task_runner), + base_path, std::move(ui_task_runner), std::move(io_task_runner), nullptr)); } -@@ -314,16 +311,11 @@ void V4LocalDatabaseManager::CollectData +@@ -309,13 +308,11 @@ void V4LocalDatabaseManager::CollectData V4LocalDatabaseManager::V4LocalDatabaseManager( const base::FilePath& base_path, - ExtendedReportingLevelCallback extended_reporting_level_callback, -- RecordMigrationMetricsCallback record_migration_metrics_callback, scoped_refptr ui_task_runner, scoped_refptr io_task_runner, scoped_refptr task_runner_for_tests) : SafeBrowsingDatabaseManager(std::move(ui_task_runner)), base_path_(base_path), - extended_reporting_level_callback_(extended_reporting_level_callback), -- record_migration_metrics_callback_( -- std::move(record_migration_metrics_callback)), list_infos_(GetListInfos()), task_runner_(task_runner_for_tests ? task_runner_for_tests -@@ -642,12 +634,6 @@ void V4LocalDatabaseManager::DatabaseRea - v4_database_ = std::move(v4_database); - - v4_database_->RecordFileSizeHistograms(); -- if (record_migration_metrics_callback_) { -- ui_task_runner()->PostTask( -- FROM_HERE, -- base::BindOnce(std::move(record_migration_metrics_callback_), -- v4_database_->GetMigrateResult())); -- } - - PopulateArtificialDatabase(); - -@@ -1184,8 +1170,7 @@ void V4LocalDatabaseManager::SetupUpdate +@@ -1169,8 +1166,7 @@ void V4LocalDatabaseManager::SetupUpdate weak_factory_.GetWeakPtr()); v4_update_protocol_manager_ = std::make_unique( @@ -4700,36 +4708,31 @@ void V4LocalDatabaseManager::UpdateRequestCompleted( --- a/components/safe_browsing/core/browser/db/v4_local_database_manager.h +++ b/components/safe_browsing/core/browser/db/v4_local_database_manager.h -@@ -44,9 +44,7 @@ class V4LocalDatabaseManager : public Sa +@@ -41,8 +41,7 @@ class V4LocalDatabaseManager : public Sa static scoped_refptr Create( const base::FilePath& base_path, scoped_refptr ui_task_runner, - scoped_refptr io_task_runner, -- ExtendedReportingLevelCallback extended_reporting_level_callback, -- RecordMigrationMetricsCallback record_migration_metrics_callback); +- ExtendedReportingLevelCallback extended_reporting_level_callback); + scoped_refptr io_task_runner); V4LocalDatabaseManager(const V4LocalDatabaseManager&) = delete; V4LocalDatabaseManager& operator=(const V4LocalDatabaseManager&) = delete; -@@ -115,8 +113,6 @@ class V4LocalDatabaseManager : public Sa +@@ -111,7 +110,6 @@ class V4LocalDatabaseManager : public Sa // Must be initialized by calling StartOnUIThread() before using. V4LocalDatabaseManager( const base::FilePath& base_path, - ExtendedReportingLevelCallback extended_reporting_level_callback, -- RecordMigrationMetricsCallback record_migration_metrics_callback, scoped_refptr ui_task_runner, scoped_refptr io_task_runner, scoped_refptr task_runner_for_tests); -@@ -416,13 +412,6 @@ class V4LocalDatabaseManager : public Sa +@@ -411,10 +409,6 @@ class V4LocalDatabaseManager : public Sa // ready to process next update. DatabaseUpdatedCallback db_updated_callback_; - // Callback to get the current extended reporting level. Needed by the update - // manager. - ExtendedReportingLevelCallback extended_reporting_level_callback_; -- -- // Callback to record metrics on database migration after initialization. -- RecordMigrationMetricsCallback record_migration_metrics_callback_; - // The client_state of each list currently being synced. This is updated each // time a database update completes, and used to send list client_state @@ -4778,7 +4781,7 @@ // Used to specify the type of check to perform in CheckBrowseUrl function. --- a/components/safe_browsing/core/browser/db/v4_update_protocol_manager.cc +++ b/components/safe_browsing/core/browser/db/v4_update_protocol_manager.cc -@@ -78,21 +78,8 @@ static const int kV4TimerStartIntervalSe +@@ -78,20 +78,8 @@ static const int kV4TimerStartIntervalSe // Maximum time, in seconds, to wait for a response to an update request. static const int kV4TimerUpdateWaitSecMax = 15 * 60; // 15 minutes @@ -4794,15 +4797,14 @@ - case SBER_LEVEL_ENHANCED_PROTECTION: - return ChromeClientInfo::ENHANCED_PROTECTION; - default: -- NOTREACHED_IN_MIGRATION() << "Unexpected reporting_level!"; -- return ChromeClientInfo::UNSPECIFIED; +- NOTREACHED() << "Unexpected reporting_level!"; - } +ChromeClientInfo::SafeBrowsingReportingPopulation GetReportingLevelProtoValue() { + return ChromeClientInfo::OPT_OUT; } // V4UpdateProtocolManager implementation -------------------------------- -@@ -105,8 +92,7 @@ void V4UpdateProtocolManager::ResetUpdat +@@ -104,8 +92,7 @@ void V4UpdateProtocolManager::ResetUpdat V4UpdateProtocolManager::V4UpdateProtocolManager( scoped_refptr url_loader_factory, const V4ProtocolConfig& config, @@ -4812,7 +4814,7 @@ : update_error_count_(0), update_back_off_mult_(1), next_update_interval_( -@@ -114,8 +100,7 @@ V4UpdateProtocolManager::V4UpdateProtoco +@@ -113,8 +100,7 @@ V4UpdateProtocolManager::V4UpdateProtoco kV4TimerStartIntervalSecMax))), config_(config), url_loader_factory_(url_loader_factory), @@ -4822,7 +4824,7 @@ // Do not auto-schedule updates. Let the owner (V4LocalDatabaseManager) do it // when it is ready to process updates. } -@@ -210,11 +195,6 @@ std::string V4UpdateProtocolManager::Get +@@ -209,11 +195,6 @@ std::string V4UpdateProtocolManager::Get RICE); } @@ -5210,7 +5212,7 @@ } void SafeBrowsingMetricsCollector::AddBypassEventToPref( -@@ -288,15 +142,7 @@ std::optional SafeBrowsingMe +@@ -287,15 +141,7 @@ std::optional SafeBrowsingMe std::optional SafeBrowsingMetricsCollector::GetLatestEventTimestamp( EventTypeFilter event_type_filter) { // Events are not logged when Safe Browsing is disabled. @@ -5226,7 +5228,7 @@ } std::optional -@@ -308,45 +154,15 @@ SafeBrowsingMetricsCollector::GetLatestS +@@ -307,45 +153,15 @@ SafeBrowsingMetricsCollector::GetLatestS void SafeBrowsingMetricsCollector::AddSafeBrowsingEventAndUserStateToPref( UserState user_state, EventType event_type) { @@ -5273,7 +5275,7 @@ } std::optional -@@ -473,23 +289,6 @@ int SafeBrowsingMetricsCollector::GetEve +@@ -472,22 +288,6 @@ int SafeBrowsingMetricsCollector::GetEve }); } @@ -5289,8 +5291,7 @@ - case SafeBrowsingState::STANDARD_PROTECTION: - return UserState::kStandardProtection; - case SafeBrowsingState::NO_SAFE_BROWSING: -- NOTREACHED_IN_MIGRATION() << "Unexpected Safe Browsing state."; -- return UserState::kStandardProtection; +- NOTREACHED() << "Unexpected Safe Browsing state."; - } -} - @@ -5438,13 +5439,19 @@ #include "components/safe_browsing/core/common/utils.h" #include "components/variations/pref_names.h" #include "components/variations/service/variations_service.h" -@@ -98,58 +97,13 @@ HashRealTimeSelection DetermineHashRealT - PrefService* prefs, +@@ -99,71 +98,13 @@ HashRealTimeSelection DetermineHashRealT std::optional latest_country, - bool log_usage_histograms) { + bool log_usage_histograms, + bool are_background_lookups_allowed) { - // All prefs used in this method must match the ones returned by - // |GetHashRealTimeSelectionConfiguringPrefs| so that consumers listening for - // changes can receive them correctly. +- bool only_background_lookup_eligible = +- base::FeatureList::IsEnabled(kHashPrefixRealTimeLookupsSamplePing) && +- safe_browsing::GetSafeBrowsingState(*prefs) == +- SafeBrowsingState::ENHANCED_PROTECTION && +- are_background_lookups_allowed; +- - struct Requirement { - std::string failed_requirement_histogram_suffix; - bool passes_requirement; @@ -5453,8 +5460,10 @@ - hash_realtime_utils::IsHashRealTimeLookupEligibleInSessionAndLocation( - latest_country)}, - {"OffTheRecord", !is_off_the_record}, -- {"NotStandardProtection", safe_browsing::GetSafeBrowsingState(*prefs) == -- SafeBrowsingState::STANDARD_PROTECTION}, +- {"IneligibleForSafeBrowsingState", +- safe_browsing::GetSafeBrowsingState(*prefs) == +- SafeBrowsingState::STANDARD_PROTECTION || +- only_background_lookup_eligible}, - {"NotAllowedByPolicy", - safe_browsing::AreHashPrefixRealTimeLookupsAllowedByPolicy(*prefs)}}; - bool can_do_lookup = true; @@ -5480,13 +5489,18 @@ - "SafeBrowsing.HPRT.Ineligible.IneligibleForLocation", - !IsHashRealTimeLookupEligibleInLocation(latest_country)); - } -- return can_do_lookup ? +- return can_do_lookup +- ? -#if BUILDFLAG(IS_ANDROID) -- HashRealTimeSelection::kDatabaseManager +- (only_background_lookup_eligible +- ? HashRealTimeSelection::kDatabaseManagerBackgroundOnly +- : HashRealTimeSelection::kDatabaseManager) -#else -- HashRealTimeSelection::kHashRealTimeService +- (only_background_lookup_eligible +- ? HashRealTimeSelection::kHashRealTimeServiceBackgroundOnly +- : HashRealTimeSelection::kHashRealTimeService) -#endif -- : HashRealTimeSelection::kNone; +- : HashRealTimeSelection::kNone; + return HashRealTimeSelection::kNone; } @@ -5921,7 +5935,7 @@ #include "components/signin/public/base/signin_prefs.h" #include "components/signin/public/base/signin_switches.h" #include "components/signin/public/identity_manager/account_info.h" -@@ -359,23 +358,6 @@ void SigninMetricsService::OnRefreshToke +@@ -437,23 +436,6 @@ void SigninMetricsService::OnRefreshToke #if BUILDFLAG(ENABLE_DICE_SUPPORT) void SigninMetricsService::RecordExplicitSigninMigrationStatus() { @@ -6216,7 +6230,7 @@ #include "components/signin/public/identity_manager/accounts_in_cookie_jar_info.h" #include "components/signin/public/identity_manager/set_accounts_in_cookie_result.h" #include "google_apis/credentials_mode.h" -@@ -440,9 +439,7 @@ GaiaCookieManagerService::GaiaCookieMana +@@ -436,9 +435,7 @@ GaiaCookieManagerService::GaiaCookieMana listAccountsUnexpectedServerResponseRetried_(false), external_cc_result_fetched_(false), list_accounts_stale_(true) { @@ -6227,7 +6241,7 @@ if (!gaia_cookie_last_list_accounts_data.empty()) { if (!gaia::ParseListAccountsData(gaia_cookie_last_list_accounts_data, -@@ -464,8 +461,6 @@ GaiaCookieManagerService::~GaiaCookieMan +@@ -460,8 +457,6 @@ GaiaCookieManagerService::~GaiaCookieMan // static void GaiaCookieManagerService::RegisterPrefs(PrefRegistrySimple* registry) { @@ -6236,7 +6250,7 @@ } void GaiaCookieManagerService::InitCookieListener() { -@@ -701,8 +696,6 @@ void GaiaCookieManagerService::OnListAcc +@@ -692,8 +687,6 @@ void GaiaCookieManagerService::OnListAcc if (!gaia::ParseListAccountsData(data, &accounts_)) { accounts_.clear(); @@ -6245,7 +6259,7 @@ GoogleServiceAuthError error = GoogleServiceAuthError::FromUnexpectedServiceResponse( "Error parsing ListAccounts response"); -@@ -710,8 +703,6 @@ void GaiaCookieManagerService::OnListAcc +@@ -701,8 +694,6 @@ void GaiaCookieManagerService::OnListAcc return; } @@ -6266,7 +6280,7 @@ #include "components/signin/public/identity_manager/identity_test_utils.h" --- a/components/signin/internal/identity_manager/mutable_profile_oauth2_token_service_delegate.cc +++ b/components/signin/internal/identity_manager/mutable_profile_oauth2_token_service_delegate.cc -@@ -20,7 +20,6 @@ +@@ -21,7 +21,6 @@ #include "components/prefs/pref_service.h" #include "components/signin/public/base/signin_client.h" #include "components/signin/public/base/signin_metrics.h" @@ -6632,15 +6646,15 @@ // where Lacros wants to set a Primary Account. Lacros doesn't offer account --- a/components/signin/internal/identity_manager/profile_oauth2_token_service.cc +++ b/components/signin/internal/identity_manager/profile_oauth2_token_service.cc -@@ -14,7 +14,6 @@ - #include "components/signin/internal/identity_manager/profile_oauth2_token_service_delegate.h" +@@ -18,7 +18,6 @@ #include "components/signin/public/base/device_id_helper.h" + #include "components/signin/public/base/hybrid_encryption_key.h" #include "components/signin/public/base/signin_metrics.h" -#include "components/signin/public/base/signin_pref_names.h" #include "google_apis/gaia/gaia_constants.h" #include "google_apis/gaia/google_service_auth_error.h" #include "google_apis/gaia/oauth2_access_token_consumer.h" -@@ -103,8 +102,6 @@ bool ProfileOAuth2TokenService::HasRefre +@@ -112,8 +111,6 @@ bool ProfileOAuth2TokenService::HasRefre // static void ProfileOAuth2TokenService::RegisterProfilePrefs( PrefRegistrySimple* registry) { @@ -6897,7 +6911,7 @@ #include "components/signin/public/base/signin_switches.h" #include "components/sync/base/account_pref_utils.h" #include "components/sync/base/features.h" -@@ -241,7 +240,7 @@ bool SyncPrefs::IsInitialSyncFeatureSetu +@@ -229,7 +228,7 @@ bool SyncPrefs::IsInitialSyncFeatureSetu } bool SyncPrefs::IsExplicitBrowserSignin() const { @@ -6905,8 +6919,8 @@ + return false; } - #if !BUILDFLAG(IS_CHROMEOS_ASH) -@@ -293,16 +292,6 @@ UserSelectableTypeSet SyncPrefs::GetSele + #if !BUILDFLAG(IS_CHROMEOS) +@@ -281,16 +280,6 @@ UserSelectableTypeSet SyncPrefs::GetSele type == UserSelectableType::kAutofill) { #if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_IOS) type_enabled = true; @@ -6923,7 +6937,7 @@ #endif } else if (type == UserSelectableType::kBookmarks || type == UserSelectableType::kReadingList) { -@@ -318,9 +307,6 @@ UserSelectableTypeSet SyncPrefs::GetSele +@@ -306,9 +295,6 @@ UserSelectableTypeSet SyncPrefs::GetSele type_enabled = false; } } else if (type == UserSelectableType::kExtensions) { @@ -6933,7 +6947,7 @@ } else { // All other types are always enabled by default. type_enabled = true; -@@ -1104,30 +1090,6 @@ void SyncPrefs::MaybeMigrateAutofillToPe +@@ -1069,30 +1055,6 @@ void SyncPrefs::MaybeMigrateAutofillToPe return; } pref_service->SetBoolean(kAutofillPerAccountPrefMigrationDone, true); @@ -6966,15 +6980,15 @@ --- a/components/sync_preferences/common_syncable_prefs_database.cc +++ b/components/sync_preferences/common_syncable_prefs_database.cc -@@ -21,7 +21,6 @@ - #include "components/omnibox/browser/omnibox_prefs.h" +@@ -22,7 +22,6 @@ #include "components/password_manager/core/common/password_manager_pref_names.h" #include "components/payments/core/payment_prefs.h" + #include "components/plus_addresses/plus_address_prefs.h" -#include "components/safe_browsing/core/common/safe_browsing_prefs.h" #include "components/saved_tab_groups/public/pref_names.h" #include "components/search_engines/search_engines_pref_names.h" #include "components/sharing_message/pref_names.h" -@@ -88,9 +87,7 @@ enum { +@@ -89,9 +88,7 @@ enum { // kSyncedLastTimePasswordCheckCompleted = 43, (deprecated) kWasAutoSignInFirstRunExperienceShown = 44, kCanMakePaymentEnabled = 45, @@ -6984,7 +6998,7 @@ kSyncedDefaultSearchProviderGUID = 49, kPrefForceTriggerTranslateCount = 50, // kPrefNeverPromptSitesDeprecated = 51, (deprecated) -@@ -214,16 +211,9 @@ constexpr auto kCommonSyncablePrefsAllow +@@ -218,16 +215,9 @@ constexpr auto kCommonSyncablePrefsAllow {payments::kCanMakePaymentEnabled, {syncable_prefs_ids::kCanMakePaymentEnabled, syncer::PREFERENCES, PrefSensitivity::kNone, MergeBehavior::kNone}}, @@ -7003,7 +7017,7 @@ #if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_IOS) --- a/content/browser/webid/federated_auth_request_impl.cc +++ b/content/browser/webid/federated_auth_request_impl.cc -@@ -520,31 +520,6 @@ FederatedAuthRequestImpl::~FederatedAuth +@@ -501,31 +501,6 @@ FederatedAuthRequestImpl::~FederatedAuth void FederatedAuthRequestImpl::Create( RenderFrameHost* host, mojo::PendingReceiver receiver) { diff --git a/patches/core/ungoogled-chromium/toggle-translation-via-switch.patch b/patches/core/ungoogled-chromium/toggle-translation-via-switch.patch index 2c8f530083..8f5c33c3e1 100644 --- a/patches/core/ungoogled-chromium/toggle-translation-via-switch.patch +++ b/patches/core/ungoogled-chromium/toggle-translation-via-switch.patch @@ -1,7 +1,7 @@ # Disables translation and removes the "Translate to" context menu when --translate-script-url flag is not set --- a/chrome/browser/renderer_context_menu/render_view_context_menu.cc +++ b/chrome/browser/renderer_context_menu/render_view_context_menu.cc -@@ -174,6 +174,7 @@ +@@ -171,6 +171,7 @@ #include "components/supervised_user/core/browser/supervised_user_preferences.h" #include "components/supervised_user/core/browser/supervised_user_service.h" #include "components/supervised_user/core/browser/supervised_user_url_filter.h" @@ -9,7 +9,7 @@ #include "components/translate/core/browser/translate_download_manager.h" #include "components/translate/core/browser/translate_manager.h" #include "components/translate/core/browser/translate_prefs.h" -@@ -2282,6 +2283,7 @@ void RenderViewContextMenu::AppendPageIt +@@ -2275,6 +2276,7 @@ void RenderViewContextMenu::AppendPageIt } if (CanTranslate(/*menu_logging=*/true)) { diff --git a/patches/extra/bromite/fingerprinting-flags-client-rects-and-measuretext.patch b/patches/extra/bromite/fingerprinting-flags-client-rects-and-measuretext.patch index cdb391a794..967b2d7031 100644 --- a/patches/extra/bromite/fingerprinting-flags-client-rects-and-measuretext.patch +++ b/patches/extra/bromite/fingerprinting-flags-client-rects-and-measuretext.patch @@ -9,7 +9,7 @@ --- a/chrome/browser/BUILD.gn +++ b/chrome/browser/BUILD.gn -@@ -2456,6 +2456,7 @@ static_library("browser") { +@@ -2451,6 +2451,7 @@ static_library("browser") { "//third_party/libyuv", "//third_party/metrics_proto", "//third_party/re2", @@ -19,7 +19,7 @@ "//third_party/widevine/cdm:headers", --- a/chrome/browser/about_flags.cc +++ b/chrome/browser/about_flags.cc -@@ -178,6 +178,7 @@ +@@ -180,6 +180,7 @@ #include "components/translate/core/common/translate_util.h" #include "components/trusted_vault/features.h" #include "components/ui_devtools/switches.h" @@ -44,7 +44,7 @@ #endif // CHROME_BROWSER_BROMITE_FLAG_ENTRIES_H_ --- a/content/browser/BUILD.gn +++ b/content/browser/BUILD.gn -@@ -277,6 +277,7 @@ source_set("browser") { +@@ -281,6 +281,7 @@ source_set("browser") { "//third_party/re2", "//third_party/snappy", "//third_party/sqlite", @@ -62,7 +62,7 @@ #include "components/viz/common/switches.h" #include "components/viz/host/gpu_client.h" #include "content/browser/bad_message.h" -@@ -3348,6 +3349,8 @@ void RenderProcessHostImpl::PropagateBro +@@ -3346,6 +3347,8 @@ void RenderProcessHostImpl::PropagateBro switches::kEnableWebGLImageChromium, switches::kEnableWebGPUDeveloperFeatures, switches::kFileUrlPathAlias, @@ -73,7 +73,7 @@ switches::kForceGpuMemAvailableMb, --- a/content/child/BUILD.gn +++ b/content/child/BUILD.gn -@@ -105,6 +105,7 @@ target(link_target_type, "child") { +@@ -106,6 +106,7 @@ target(link_target_type, "child") { "//third_party/blink/public/common:buildflags", "//third_party/blink/public/strings", "//third_party/ced", @@ -91,7 +91,7 @@ #include "ui/accessibility/accessibility_features.h" #include "ui/base/ui_base_features.h" #include "ui/events/blink/blink_features.h" -@@ -500,6 +501,10 @@ void SetRuntimeFeaturesFromCommandLine(c +@@ -496,6 +497,10 @@ void SetRuntimeFeaturesFromCommandLine(c true}, {wrf::EnableWebAudioBypassOutputBufferingOptOut, blink::switches::kWebAudioBypassOutputBufferingOptOut, true}, @@ -124,7 +124,7 @@ #include "base/ranges/algorithm.h" #include "base/task/single_thread_task_runner.h" #include "base/time/time.h" -@@ -849,6 +850,11 @@ Document::Document(const DocumentInit& i +@@ -853,6 +854,11 @@ Document::Document(const DocumentInit& i TRACE_EVENT_WITH_FLOW0("blink", "Document::Document", TRACE_ID_LOCAL(this), TRACE_EVENT_FLAG_FLOW_OUT); DCHECK(agent_); @@ -136,7 +136,7 @@ if (base::FeatureList::IsEnabled(features::kDelayAsyncScriptExecution) && features::kDelayAsyncScriptExecutionDelayByDefaultParam.Get()) { script_runner_delayer_->Activate(); -@@ -966,6 +972,14 @@ const Position Document::PositionAdjuste +@@ -972,6 +978,14 @@ const Position Document::PositionAdjuste return Position::BeforeNode(*shadow_host); } @@ -153,7 +153,7 @@ selector_query_cache_ = std::make_unique(); --- a/third_party/blink/renderer/core/dom/document.h +++ b/third_party/blink/renderer/core/dom/document.h -@@ -547,6 +547,10 @@ class CORE_EXPORT Document : public Cont +@@ -551,6 +551,10 @@ class CORE_EXPORT Document : public Cont has_xml_declaration_ = has_xml_declaration ? 1 : 0; } @@ -161,10 +161,10 @@ + double GetNoiseFactorX(); + double GetNoiseFactorY(); + - AtomicString visibilityState() const; + V8VisibilityState visibilityState() const; + String visibilityStateAsString() const; bool IsPageVisible() const; - bool hidden() const; -@@ -2554,6 +2558,9 @@ class CORE_EXPORT Document : public Cont +@@ -2608,6 +2612,9 @@ class CORE_EXPORT Document : public Cont base::ElapsedTimer start_time_; @@ -176,7 +176,7 @@ --- a/third_party/blink/renderer/core/dom/element.cc +++ b/third_party/blink/renderer/core/dom/element.cc -@@ -2528,6 +2528,11 @@ DOMRectList* Element::getClientRects() { +@@ -2529,6 +2529,11 @@ DOMRectList* Element::getClientRects() { DCHECK(element_layout_object); GetDocument().AdjustQuadsForScrollAndAbsoluteZoom(quads, *element_layout_object); @@ -188,7 +188,7 @@ return MakeGarbageCollected(quads); } -@@ -2555,6 +2560,9 @@ gfx::RectF Element::GetBoundingClientRec +@@ -2556,6 +2561,9 @@ gfx::RectF Element::GetBoundingClientRec DCHECK(element_layout_object); GetDocument().AdjustRectForScrollAndAbsoluteZoom(result, *element_layout_object); @@ -200,7 +200,7 @@ --- a/third_party/blink/renderer/core/dom/range.cc +++ b/third_party/blink/renderer/core/dom/range.cc -@@ -1649,6 +1649,12 @@ DOMRectList* Range::getClientRects() con +@@ -1620,6 +1620,12 @@ DOMRectList* Range::getClientRects() con Vector quads; GetBorderAndTextQuads(quads); @@ -213,7 +213,7 @@ return MakeGarbageCollected(quads); } -@@ -1656,7 +1662,11 @@ DOMRect* Range::getBoundingClientRect() +@@ -1627,7 +1633,11 @@ DOMRect* Range::getBoundingClientRect() // TODO(crbug.com/1499981): This should be removed once synchronized scrolling // impact is understood. SyncScrollAttemptHeuristic::DidAccessScrollOffset(); @@ -228,7 +228,7 @@ // TODO(editing-dev): We should make --- a/third_party/blink/renderer/core/html/canvas/text_metrics.cc +++ b/third_party/blink/renderer/core/html/canvas/text_metrics.cc -@@ -103,6 +103,24 @@ const ShapeResult* ShapeWord(const TextR +@@ -102,6 +102,24 @@ const ShapeResult* ShapeWord(const TextR } } // namespace @@ -255,7 +255,7 @@ const TextBaseline& baseline, --- a/third_party/blink/renderer/core/html/canvas/text_metrics.h +++ b/third_party/blink/renderer/core/html/canvas/text_metrics.h -@@ -101,6 +101,8 @@ class CORE_EXPORT TextMetrics final : pu +@@ -103,6 +103,8 @@ class CORE_EXPORT TextMetrics final : pu float x_position_; }; @@ -266,7 +266,7 @@ const TextDirection&, --- a/third_party/blink/renderer/modules/canvas/canvas2d/base_rendering_context_2d.cc +++ b/third_party/blink/renderer/modules/canvas/canvas2d/base_rendering_context_2d.cc -@@ -223,6 +223,9 @@ class Isolate; +@@ -224,6 +224,9 @@ class Isolate; class Value; } // namespace v8 @@ -276,7 +276,7 @@ namespace blink { class DOMMatrixInit; -@@ -3608,8 +3611,22 @@ TextMetrics* BaseRenderingContext2D::mea +@@ -3638,8 +3641,22 @@ TextMetrics* BaseRenderingContext2D::mea const CanvasRenderingContext2DState& state = GetState(); TextDirection direction = ToTextDirection(state.GetDirection(), canvas); @@ -303,7 +303,7 @@ void BaseRenderingContext2D::SnapshotStateForFilter() { --- a/third_party/blink/renderer/platform/BUILD.gn +++ b/third_party/blink/renderer/platform/BUILD.gn -@@ -1765,6 +1765,7 @@ component("platform") { +@@ -1767,6 +1767,7 @@ component("platform") { "//components/paint_preview/common", "//components/search_engines:search_engine_utils", "//components/translate/core/language_detection:language_detection", @@ -338,7 +338,7 @@ #include "third_party/blink/renderer/platform/wtf/vector.h" --- a/third_party/blink/renderer/platform/runtime_enabled_features.json5 +++ b/third_party/blink/renderer/platform/runtime_enabled_features.json5 -@@ -2013,6 +2013,12 @@ +@@ -2026,6 +2026,12 @@ depends_on: ["FindDecomposedInShortText"], }, { diff --git a/patches/extra/bromite/flag-fingerprinting-canvas-image-data-noise.patch b/patches/extra/bromite/flag-fingerprinting-canvas-image-data-noise.patch index b0c978fe83..4c8c313c41 100644 --- a/patches/extra/bromite/flag-fingerprinting-canvas-image-data-noise.patch +++ b/patches/extra/bromite/flag-fingerprinting-canvas-image-data-noise.patch @@ -34,7 +34,7 @@ approach to change color components. #endif // CHROME_BROWSER_BROMITE_FLAG_ENTRIES_H_ --- a/content/browser/renderer_host/render_process_host_impl.cc +++ b/content/browser/renderer_host/render_process_host_impl.cc -@@ -3351,6 +3351,7 @@ void RenderProcessHostImpl::PropagateBro +@@ -3349,6 +3349,7 @@ void RenderProcessHostImpl::PropagateBro switches::kFileUrlPathAlias, switches::kFingerprintingClientRectsNoise, switches::kFingerprintingCanvasMeasureTextNoise, @@ -44,7 +44,7 @@ approach to change color components. switches::kForceGpuMemAvailableMb, --- a/content/child/runtime_features.cc +++ b/content/child/runtime_features.cc -@@ -505,6 +505,8 @@ void SetRuntimeFeaturesFromCommandLine(c +@@ -501,6 +501,8 @@ void SetRuntimeFeaturesFromCommandLine(c switches::kFingerprintingClientRectsNoise, true}, {wrf::EnableFingerprintingCanvasMeasureTextNoise, switches::kFingerprintingCanvasMeasureTextNoise, true}, @@ -65,7 +65,7 @@ approach to change color components. }; --- a/third_party/blink/renderer/modules/canvas/canvas2d/base_rendering_context_2d.cc +++ b/third_party/blink/renderer/modules/canvas/canvas2d/base_rendering_context_2d.cc -@@ -2921,6 +2921,9 @@ ImageData* BaseRenderingContext2D::getIm +@@ -2917,6 +2917,9 @@ ImageData* BaseRenderingContext2D::getIm snapshot->PaintImageForCurrentFrame().GetSkImageInfo().bounds(); DCHECK(!bounds.intersect(SkIRect::MakeXYWH(sx, sy, sw, sh))); } @@ -77,7 +77,7 @@ approach to change color components. return image_data; --- a/third_party/blink/renderer/platform/BUILD.gn +++ b/third_party/blink/renderer/platform/BUILD.gn -@@ -1712,7 +1712,9 @@ component("platform") { +@@ -1714,7 +1714,9 @@ component("platform") { "//third_party/blink/renderer:non_test_config", ] @@ -314,7 +314,7 @@ approach to change color components. // Methods overridden by all sub-classes --- a/third_party/blink/renderer/platform/runtime_enabled_features.json5 +++ b/third_party/blink/renderer/platform/runtime_enabled_features.json5 -@@ -2019,6 +2019,9 @@ +@@ -2032,6 +2032,9 @@ name: "FingerprintingCanvasMeasureTextNoise", }, { diff --git a/patches/extra/bromite/flag-max-connections-per-host.patch b/patches/extra/bromite/flag-max-connections-per-host.patch index ffc5fbb93d..fedfecdf7f 100644 --- a/patches/extra/bromite/flag-max-connections-per-host.patch +++ b/patches/extra/bromite/flag-max-connections-per-host.patch @@ -17,7 +17,7 @@ with limited CPU/memory resources and it is disabled by default. --- a/chrome/browser/BUILD.gn +++ b/chrome/browser/BUILD.gn -@@ -2143,6 +2143,7 @@ static_library("browser") { +@@ -2140,6 +2140,7 @@ static_library("browser") { "//components/net_log", "//components/network_hints/common:mojo_bindings", "//components/network_session_configurator/browser", @@ -101,7 +101,7 @@ with limited CPU/memory resources and it is disabled by default. --- a/chrome/browser/flag_descriptions.cc +++ b/chrome/browser/flag_descriptions.cc -@@ -2522,6 +2522,10 @@ const char kLogJsConsoleMessagesDescript +@@ -2492,6 +2492,10 @@ const char kLogJsConsoleMessagesDescript "Enable logging JS console messages in system logs, please note that they " "may contain PII."; @@ -114,7 +114,7 @@ with limited CPU/memory resources and it is disabled by default. const char kMediaRouterCastAllowAllIPsDescription[] = --- a/chrome/browser/flag_descriptions.h +++ b/chrome/browser/flag_descriptions.h -@@ -1426,6 +1426,9 @@ extern const char kLocationBarModelOptim +@@ -1413,6 +1413,9 @@ extern const char kLocationBarModelOptim extern const char kLogJsConsoleMessagesName[]; extern const char kLogJsConsoleMessagesDescription[]; diff --git a/patches/extra/inox-patchset/0006-modify-default-prefs.patch b/patches/extra/inox-patchset/0006-modify-default-prefs.patch index 3592fca42d..b941494e15 100644 --- a/patches/extra/inox-patchset/0006-modify-default-prefs.patch +++ b/patches/extra/inox-patchset/0006-modify-default-prefs.patch @@ -12,7 +12,7 @@ void BackgroundModeManager::RegisterProfile(Profile* profile) { --- a/chrome/browser/chrome_content_browser_client.cc +++ b/chrome/browser/chrome_content_browser_client.cc -@@ -1581,7 +1581,7 @@ void ChromeContentBrowserClient::Registe +@@ -1579,7 +1579,7 @@ void ChromeContentBrowserClient::Registe void ChromeContentBrowserClient::RegisterProfilePrefs( user_prefs::PrefRegistrySyncable* registry) { registry->RegisterBooleanPref(prefs::kDisable3DAPIs, false); @@ -23,7 +23,7 @@ // used for mapping the command-line flags). --- a/chrome/browser/net/profile_network_context_service.cc +++ b/chrome/browser/net/profile_network_context_service.cc -@@ -474,7 +474,7 @@ void ProfileNetworkContextService::Confi +@@ -500,7 +500,7 @@ void ProfileNetworkContextService::Confi void ProfileNetworkContextService::RegisterProfilePrefs( user_prefs::PrefRegistrySyncable* registry) { registry->RegisterBooleanPref(embedder_support::kAlternateErrorPagesEnabled, @@ -45,7 +45,7 @@ // Enum representing possible values of the Preload Pages opt-in state. These --- a/chrome/browser/profiles/profile.cc +++ b/chrome/browser/profiles/profile.cc -@@ -308,7 +308,7 @@ const char Profile::kProfileKey[] = "__P +@@ -316,7 +316,7 @@ const char Profile::kProfileKey[] = "__P void Profile::RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { registry->RegisterBooleanPref( prefs::kSearchSuggestEnabled, @@ -56,7 +56,7 @@ registry->RegisterStringPref( --- a/chrome/browser/resources/settings/reset_page/reset_profile_dialog.html +++ b/chrome/browser/resources/settings/reset_page/reset_profile_dialog.html -@@ -34,7 +34,7 @@ +@@ -33,7 +33,7 @@
    @@ -120,7 +120,7 @@ --- a/components/password_manager/core/browser/password_manager.cc +++ b/components/password_manager/core/browser/password_manager.cc -@@ -319,7 +319,7 @@ bool HasManuallyFilledFields(const Passw +@@ -317,7 +317,7 @@ bool HasManuallyFilledFields(const Passw void PasswordManager::RegisterProfilePrefs( user_prefs::PrefRegistrySyncable* registry) { registry->RegisterBooleanPref( @@ -129,7 +129,7 @@ user_prefs::PrefRegistrySyncable::SYNCABLE_PRIORITY_PREF); #if BUILDFLAG(IS_IOS) // Deprecated pref in profile prefs. -@@ -327,7 +327,7 @@ void PasswordManager::RegisterProfilePre +@@ -325,7 +325,7 @@ void PasswordManager::RegisterProfilePre false); #endif // BUILDFLAG(IS_IOS) registry->RegisterBooleanPref( diff --git a/patches/extra/iridium-browser/browser-disable-profile-auto-import-on-first-run.patch b/patches/extra/iridium-browser/browser-disable-profile-auto-import-on-first-run.patch index a43f85c779..f4d32a379c 100644 --- a/patches/extra/iridium-browser/browser-disable-profile-auto-import-on-first-run.patch +++ b/patches/extra/iridium-browser/browser-disable-profile-auto-import-on-first-run.patch @@ -5,7 +5,7 @@ Subject: [PATCH 56/66] browser: disable profile auto-import on first run --- a/chrome/browser/chrome_browser_main.cc +++ b/chrome/browser/chrome_browser_main.cc -@@ -1680,11 +1680,6 @@ int ChromeBrowserMainParts::PreMainMessa +@@ -1687,11 +1687,6 @@ int ChromeBrowserMainParts::PreMainMessa // and preferences have been registered since some of the import code depends // on preferences. if (first_run::IsChromeFirstRun()) { diff --git a/patches/extra/iridium-browser/mime_util-force-text-x-suse-ymp-to-be-downloaded.patch b/patches/extra/iridium-browser/mime_util-force-text-x-suse-ymp-to-be-downloaded.patch index e8fdce444b..419d256551 100644 --- a/patches/extra/iridium-browser/mime_util-force-text-x-suse-ymp-to-be-downloaded.patch +++ b/patches/extra/iridium-browser/mime_util-force-text-x-suse-ymp-to-be-downloaded.patch @@ -11,7 +11,7 @@ very interesting in themselves. Force them to be stored. --- a/third_party/blink/common/mime_util/mime_util.cc +++ b/third_party/blink/common/mime_util/mime_util.cc -@@ -86,6 +86,7 @@ constexpr auto kUnsupportedTextTypes = +@@ -87,6 +87,7 @@ constexpr auto kUnsupportedTextTypes = "text/x-csv", "text/x-vcf", "text/rtf", diff --git a/patches/extra/iridium-browser/net-cert-increase-default-key-length-for-newly-gener.patch b/patches/extra/iridium-browser/net-cert-increase-default-key-length-for-newly-gener.patch index 0e4e35eb7b..07131f88bd 100644 --- a/patches/extra/iridium-browser/net-cert-increase-default-key-length-for-newly-gener.patch +++ b/patches/extra/iridium-browser/net-cert-increase-default-key-length-for-newly-gener.patch @@ -12,7 +12,7 @@ it as hidden as it was before? --- a/net/cert/x509_util.cc +++ b/net/cert/x509_util.cc -@@ -281,7 +281,7 @@ bool GetTLSServerEndPointChannelBinding( +@@ -280,7 +280,7 @@ bool GetTLSServerEndPointChannelBinding( } // RSA keys created by CreateKeyAndSelfSignedCert will be of this length. diff --git a/patches/extra/iridium-browser/prefs-always-prompt-for-download-directory-by-defaul.patch b/patches/extra/iridium-browser/prefs-always-prompt-for-download-directory-by-defaul.patch index 9c3a2aae41..a14d9b433c 100644 --- a/patches/extra/iridium-browser/prefs-always-prompt-for-download-directory-by-defaul.patch +++ b/patches/extra/iridium-browser/prefs-always-prompt-for-download-directory-by-defaul.patch @@ -29,7 +29,7 @@ TLDR: Do not let files sneak onto the disk too easily. --- a/chrome/browser/download/download_prefs.cc +++ b/chrome/browser/download/download_prefs.cc -@@ -268,7 +268,7 @@ void DownloadPrefs::RegisterProfilePrefs +@@ -269,7 +269,7 @@ void DownloadPrefs::RegisterProfilePrefs user_prefs::PrefRegistrySyncable* registry) { registry->RegisterBooleanPref( prefs::kPromptForDownload, diff --git a/patches/extra/ungoogled-chromium/add-flag-for-close-confirmation.patch b/patches/extra/ungoogled-chromium/add-flag-for-close-confirmation.patch index f85ee4269f..9d2ac6a02a 100644 --- a/patches/extra/ungoogled-chromium/add-flag-for-close-confirmation.patch +++ b/patches/extra/ungoogled-chromium/add-flag-for-close-confirmation.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/ui/browser.cc +++ b/chrome/browser/ui/browser.cc -@@ -146,6 +146,7 @@ +@@ -145,6 +145,7 @@ #include "chrome/browser/ui/unload_controller.h" #include "chrome/browser/ui/views/frame/browser_view.h" #include "chrome/browser/ui/views/frame/contents_web_view.h" @@ -8,7 +8,7 @@ #include "chrome/browser/ui/web_applications/app_browser_controller.h" #include "chrome/browser/ui/web_applications/web_app_launch_utils.h" #include "chrome/browser/ui/webui/signin/login_ui_service.h" -@@ -550,6 +551,7 @@ Browser::Browser(const CreateParams& par +@@ -574,6 +575,7 @@ Browser::Browser(const CreateParams& par omit_from_session_restore_(params.omit_from_session_restore), should_trigger_session_restore_(params.should_trigger_session_restore), cancel_download_confirmation_state_(NOT_PROMPTED), @@ -16,7 +16,7 @@ override_bounds_(params.initial_bounds), initial_show_state_(params.initial_show_state), initial_workspace_(params.initial_workspace), -@@ -988,20 +990,22 @@ Browser::WarnBeforeClosingResult Browser +@@ -1012,20 +1014,22 @@ Browser::WarnBeforeClosingResult Browser return WarnBeforeClosingResult::kOkToClose; } @@ -52,7 +52,7 @@ } DCHECK(!warn_before_closing_callback_) -@@ -1039,6 +1043,7 @@ bool Browser::TryToCloseWindow( +@@ -1063,6 +1067,7 @@ bool Browser::TryToCloseWindow( void Browser::ResetTryToCloseWindow() { cancel_download_confirmation_state_ = NOT_PROMPTED; @@ -60,7 +60,7 @@ unload_controller_.ResetTryToCloseWindow(); } -@@ -3122,6 +3127,58 @@ bool Browser::CanCloseWithInProgressDown +@@ -3173,6 +3178,58 @@ bool Browser::CanCloseWithInProgressDown return false; } @@ -119,7 +119,7 @@ void Browser::InProgressDownloadResponse(bool cancel_downloads) { if (cancel_downloads) { cancel_download_confirmation_state_ = RESPONSE_RECEIVED; -@@ -3147,6 +3204,22 @@ void Browser::InProgressDownloadResponse +@@ -3198,6 +3255,22 @@ void Browser::InProgressDownloadResponse std::move(warn_before_closing_callback_) .Run(WarnBeforeClosingResult::kDoNotClose); @@ -144,7 +144,7 @@ void Browser::CookieMigrationNoticeResponse(bool proceed_closing) { --- a/chrome/browser/ui/browser.h +++ b/chrome/browser/ui/browser.h -@@ -31,6 +31,7 @@ +@@ -32,6 +32,7 @@ #include "chrome/browser/ui/browser_navigator_params.h" #include "chrome/browser/ui/browser_window/public/browser_window_interface.h" #include "chrome/browser/ui/chrome_web_modal_dialog_manager_delegate.h" @@ -152,7 +152,7 @@ #include "chrome/browser/ui/signin/signin_view_controller.h" #include "chrome/browser/ui/tabs/tab_strip_model.h" #include "chrome/browser/ui/tabs/tab_strip_model_observer.h" -@@ -1180,12 +1181,17 @@ class Browser : public TabStripModelObse +@@ -1185,12 +1186,17 @@ class Browser : public TabStripModelObse // Returns true if the window can close, false otherwise. bool CanCloseWithInProgressDownloads(); @@ -170,7 +170,7 @@ // Called when the user has decided whether to proceed or not with the browser // closure, in case the cookie migration notice was shown. |proceed_closing| // is true if the browser can be closed. -@@ -1351,6 +1357,8 @@ class Browser : public TabStripModelObse +@@ -1356,6 +1362,8 @@ class Browser : public TabStripModelObse // when the browser is closed with in-progress downloads. CancelDownloadConfirmationState cancel_download_confirmation_state_; diff --git a/patches/extra/ungoogled-chromium/add-flag-for-custom-ntp.patch b/patches/extra/ungoogled-chromium/add-flag-for-custom-ntp.patch index 99eff139fa..e1eb50a444 100644 --- a/patches/extra/ungoogled-chromium/add-flag-for-custom-ntp.patch +++ b/patches/extra/ungoogled-chromium/add-flag-for-custom-ntp.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/chrome_content_browser_client.cc +++ b/chrome/browser/chrome_content_browser_client.cc -@@ -937,10 +937,14 @@ bool HandleNewTabPageLocationOverride( +@@ -930,10 +930,14 @@ bool HandleNewTabPageLocationOverride( // Don't change the URL when incognito mode. if (profile->IsOffTheRecord()) diff --git a/patches/extra/ungoogled-chromium/add-flag-for-disabling-link-drag.patch b/patches/extra/ungoogled-chromium/add-flag-for-disabling-link-drag.patch index ee79d3e750..80493e3100 100644 --- a/patches/extra/ungoogled-chromium/add-flag-for-disabling-link-drag.patch +++ b/patches/extra/ungoogled-chromium/add-flag-for-disabling-link-drag.patch @@ -50,7 +50,7 @@ Node* inner_node = event.InnerNode(); --- a/third_party/blink/renderer/core/input/mouse_event_manager.cc +++ b/third_party/blink/renderer/core/input/mouse_event_manager.cc -@@ -684,8 +684,14 @@ WebInputEventResult MouseEventManager::H +@@ -687,8 +687,14 @@ WebInputEventResult MouseEventManager::H bool single_click = event.Event().click_count <= 1; diff --git a/patches/extra/ungoogled-chromium/add-flag-for-incognito-themes.patch b/patches/extra/ungoogled-chromium/add-flag-for-incognito-themes.patch index 642f93273f..accb8ced7b 100644 --- a/patches/extra/ungoogled-chromium/add-flag-for-incognito-themes.patch +++ b/patches/extra/ungoogled-chromium/add-flag-for-incognito-themes.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/ui/views/frame/browser_frame.cc +++ b/chrome/browser/ui/views/frame/browser_frame.cc -@@ -640,5 +640,7 @@ bool BrowserFrame::RegenerateFrameOnThem +@@ -637,5 +637,7 @@ bool BrowserFrame::RegenerateFrameOnThem } bool BrowserFrame::IsIncognitoBrowser() const { @@ -10,7 +10,7 @@ } --- a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc +++ b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc -@@ -55,6 +55,7 @@ +@@ -56,6 +56,7 @@ #include "ui/base/webui/jstemplate_builder.h" #include "ui/base/webui/web_ui_util.h" #include "ui/color/color_provider.h" @@ -18,7 +18,7 @@ #include "ui/gfx/color_utils.h" #include "ui/native_theme/native_theme.h" -@@ -427,7 +428,9 @@ void NTPResourceCache::CreateNewTabIncog +@@ -429,7 +430,9 @@ void NTPResourceCache::CreateNewTabIncog profile_->GetPrefs()->GetString(prefs::kCurrentThemeID); // Colors. diff --git a/patches/extra/ungoogled-chromium/add-flag-for-omnibox-autocomplete-filtering.patch b/patches/extra/ungoogled-chromium/add-flag-for-omnibox-autocomplete-filtering.patch index 0234fc07ed..fa2dc63088 100644 --- a/patches/extra/ungoogled-chromium/add-flag-for-omnibox-autocomplete-filtering.patch +++ b/patches/extra/ungoogled-chromium/add-flag-for-omnibox-autocomplete-filtering.patch @@ -41,7 +41,7 @@ #include "base/feature_list.h" #include "base/format_macros.h" #include "base/functional/bind.h" -@@ -536,6 +537,15 @@ AutocompleteController::AutocompleteCont +@@ -537,6 +538,15 @@ AutocompleteController::AutocompleteCont steady_state_omnibox_position_( metrics::OmniboxEventProto::UNKNOWN_POSITION) { provider_types &= ~OmniboxFieldTrial::GetDisabledProviderTypes(); @@ -79,7 +79,7 @@ #include "base/feature_list.h" #include "base/functional/bind.h" #include "base/functional/callback.h" -@@ -647,6 +648,9 @@ void SearchProvider::Run(bool query_is_p +@@ -631,6 +632,9 @@ void SearchProvider::Run(bool query_is_p } void SearchProvider::DoHistoryQuery(bool minimal_changes) { diff --git a/patches/extra/ungoogled-chromium/add-flag-for-qr-generator.patch b/patches/extra/ungoogled-chromium/add-flag-for-qr-generator.patch index 7e91bfc177..186b8c0266 100644 --- a/patches/extra/ungoogled-chromium/add-flag-for-qr-generator.patch +++ b/patches/extra/ungoogled-chromium/add-flag-for-qr-generator.patch @@ -30,17 +30,17 @@ #endif // CHROME_BROWSER_UNGOOGLED_FLAG_ENTRIES_H_ --- a/components/sharing_message/features.cc +++ b/components/sharing_message/features.cc -@@ -17,3 +17,5 @@ const base::FeatureParam kSharingPu +@@ -7,3 +7,5 @@ + #include "build/build_config.h" - const base::FeatureParam kSharingPulseDeltaAndroidHours = { - &kSharingMatchPulseInterval, "SharingPulseDeltaAndroidHours", 24}; + BASE_FEATURE(kClickToCall, "ClickToCall", base::FEATURE_DISABLED_BY_DEFAULT); + +BASE_FEATURE(kDisableQRGenerator, "DisableQRGenerator", base::FEATURE_DISABLED_BY_DEFAULT); --- a/components/sharing_message/features.h +++ b/components/sharing_message/features.h -@@ -26,4 +26,5 @@ extern const base::FeatureParam kSh - // backgrounded. Such devices cannot be marked stale aggressively. - extern const base::FeatureParam kSharingPulseDeltaAndroidHours; +@@ -10,4 +10,5 @@ + + BASE_DECLARE_FEATURE(kClickToCall); +BASE_DECLARE_FEATURE(kDisableQRGenerator); #endif // COMPONENTS_SHARING_MESSAGE_FEATURES_H_ diff --git a/patches/extra/ungoogled-chromium/add-flag-for-search-engine-collection.patch b/patches/extra/ungoogled-chromium/add-flag-for-search-engine-collection.patch index 248902bd4b..04950cb3e4 100644 --- a/patches/extra/ungoogled-chromium/add-flag-for-search-engine-collection.patch +++ b/patches/extra/ungoogled-chromium/add-flag-for-search-engine-collection.patch @@ -2,7 +2,7 @@ --- a/chrome/browser/ui/tab_helpers.cc +++ b/chrome/browser/ui/tab_helpers.cc -@@ -514,7 +514,9 @@ void TabHelpers::AttachTabHelpers(WebCon +@@ -509,7 +509,9 @@ void TabHelpers::AttachTabHelpers(WebCon site_protection::SiteProtectionMetricsObserver::CreateForWebContents( web_contents); SafetyTipWebContentsObserver::CreateForWebContents(web_contents); @@ -60,7 +60,7 @@ #include "base/containers/contains.h" #include "base/containers/flat_map.h" #include "base/debug/crash_logging.h" -@@ -215,6 +216,12 @@ TemplateURL MergeEnterpriseSiteSearchEng +@@ -193,6 +194,12 @@ TemplateURL MergeEnterpriseSiteSearchEng return TemplateURL(merged_data); } @@ -73,7 +73,7 @@ } // namespace // TemplateURLService::LessWithPrefix ----------------------------------------- -@@ -397,6 +404,7 @@ TemplateURLService::TemplateURLService( +@@ -375,6 +382,7 @@ TemplateURLService::TemplateURLService( #endif // BUILDFLAG(IS_CHROMEOS_LACROS) ) : prefs_(prefs), @@ -81,7 +81,7 @@ search_engine_choice_service_(search_engine_choice_service), search_terms_data_(std::move(search_terms_data)), web_data_service_(web_data_service), -@@ -507,8 +515,8 @@ bool TemplateURLService::CanAddAutogener +@@ -485,8 +493,8 @@ bool TemplateURLService::CanAddAutogener // that may interfere with search queries). An easy heuristic for this is // whether the user has a TemplateURL that has been manually modified (e.g., // renamed) connected to the same host. @@ -92,7 +92,7 @@ } bool TemplateURLService::IsPrepopulatedOrDefaultProviderByPolicy( -@@ -2039,6 +2047,8 @@ SyncDataMap TemplateURLService::CreateGU +@@ -2034,6 +2042,8 @@ SyncDataMap TemplateURLService::CreateGU } void TemplateURLService::Init() { @@ -101,7 +101,7 @@ if (client_) client_->SetOwner(this); -@@ -2219,6 +2229,9 @@ void TemplateURLService::ChangeToLoadedS +@@ -2212,6 +2222,9 @@ void TemplateURLService::ChangeToLoadedS bool TemplateURLService::CanAddAutogeneratedKeywordForHost( const std::string& host) const { @@ -113,7 +113,7 @@ return true; --- a/components/search_engines/template_url_service.h +++ b/components/search_engines/template_url_service.h -@@ -895,6 +895,8 @@ class TemplateURLService final : public +@@ -898,6 +898,8 @@ class TemplateURLService final : public raw_ref search_engine_choice_service_; diff --git a/patches/extra/ungoogled-chromium/add-flag-for-tab-hover-cards.patch b/patches/extra/ungoogled-chromium/add-flag-for-tab-hover-cards.patch index 511b7ef766..6b2cf72bb4 100644 --- a/patches/extra/ungoogled-chromium/add-flag-for-tab-hover-cards.patch +++ b/patches/extra/ungoogled-chromium/add-flag-for-tab-hover-cards.patch @@ -27,7 +27,7 @@ #include "base/check.h" #include "base/compiler_specific.h" #include "base/containers/adapters.h" -@@ -1831,6 +1832,8 @@ void TabStrip::OnMouseEventInTab(views:: +@@ -1835,6 +1836,8 @@ void TabStrip::OnMouseEventInTab(views:: } void TabStrip::UpdateHoverCard(Tab* tab, HoverCardUpdateType update_type) { diff --git a/patches/extra/ungoogled-chromium/add-flag-for-tabsearch-button.patch b/patches/extra/ungoogled-chromium/add-flag-for-tabsearch-button.patch index 04d9803066..cbd2274d59 100644 --- a/patches/extra/ungoogled-chromium/add-flag-for-tabsearch-button.patch +++ b/patches/extra/ungoogled-chromium/add-flag-for-tabsearch-button.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/ui/browser_command_controller.cc +++ b/chrome/browser/ui/browser_command_controller.cc -@@ -1424,7 +1424,8 @@ void BrowserCommandController::InitComma +@@ -1420,7 +1420,8 @@ void BrowserCommandController::InitComma command_updater_.UpdateCommandEnabled(IDC_WINDOW_CLOSE_OTHER_TABS, normal_window); @@ -20,16 +20,14 @@ #include "base/feature_list.h" #include "base/functional/bind.h" #include "base/strings/utf_string_conversions.h" -@@ -115,7 +116,8 @@ TabStripRegionView::TabStripRegionView(s - - // Add and configure the TabSearchContainer. +@@ -119,6 +120,7 @@ TabStripRegionView::TabStripRegionView(s std::unique_ptr tab_search_container; -- if (browser && browser->is_type_normal()) { -+ if (browser && browser->is_type_normal() && -+ !base::CommandLine::ForCurrentProcess()->HasSwitch("remove-tabsearch-button")) { + std::unique_ptr product_specifications_button; + if (browser && ++ !base::CommandLine::ForCurrentProcess()->HasSwitch("remove-tabsearch-button") && + (browser->GetType() == BrowserWindowInterface::Type::TYPE_NORMAL)) { tab_search_container = std::make_unique( - tab_strip_->controller(), browser->tab_strip_model(), - render_tab_search_before_tab_strip_, this, + tab_strip_->controller(), browser->GetTabStripModel(), --- a/chrome/browser/ungoogled_flag_entries.h +++ b/chrome/browser/ungoogled_flag_entries.h @@ -60,4 +60,8 @@ diff --git a/patches/extra/ungoogled-chromium/add-flag-to-clear-data-on-exit.patch b/patches/extra/ungoogled-chromium/add-flag-to-clear-data-on-exit.patch index de2018496e..f47635a793 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-clear-data-on-exit.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-clear-data-on-exit.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/browser_features.cc +++ b/chrome/browser/browser_features.cc -@@ -392,4 +392,5 @@ BASE_FEATURE(kRemovalOfIWAsFromTabCaptur +@@ -372,4 +372,5 @@ BASE_FEATURE(kRemovalOfIWAsFromTabCaptur "RemovalOfIWAsFromTabCapture", base::FEATURE_ENABLED_BY_DEFAULT); @@ -8,7 +8,7 @@ } // namespace features --- a/chrome/browser/browser_features.h +++ b/chrome/browser/browser_features.h -@@ -151,6 +151,7 @@ BASE_DECLARE_FEATURE(kRemovalOfIWAsFromT +@@ -145,6 +145,7 @@ BASE_DECLARE_FEATURE(kRemovalOfIWAsFromT // module, e.g. // //chrome/browser//features.h // @@ -48,7 +48,7 @@ uint64_t GetOriginTypeMask(const base::Value::List& data_types) { uint64_t result = 0; for (const auto& data_type : data_types) { -@@ -314,9 +330,10 @@ void ChromeBrowsingDataLifetimeManager:: +@@ -313,9 +329,10 @@ void ChromeBrowsingDataLifetimeManager:: const base::Value::List& data_types = profile_->GetPrefs()->GetList( browsing_data::prefs::kClearBrowsingDataOnExitList); @@ -61,7 +61,7 @@ profile_->GetPrefs()->SetBoolean( browsing_data::prefs::kClearBrowsingDataOnExitDeletionPending, true); auto* remover = profile_->GetBrowsingDataRemover(); -@@ -327,8 +344,8 @@ void ChromeBrowsingDataLifetimeManager:: +@@ -326,8 +343,8 @@ void ChromeBrowsingDataLifetimeManager:: DCHECK(keep_browser_alive); #endif remover->RemoveAndReply(base::Time(), base::Time::Max(), diff --git a/patches/extra/ungoogled-chromium/add-flag-to-close-window-with-last-tab.patch b/patches/extra/ungoogled-chromium/add-flag-to-close-window-with-last-tab.patch index fb14247c80..9778ebb526 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-close-window-with-last-tab.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-close-window-with-last-tab.patch @@ -8,7 +8,7 @@ #include "base/containers/adapters.h" #include "base/containers/contains.h" #include "base/containers/flat_map.h" -@@ -696,6 +697,10 @@ void TabStripModel::CloseAllTabsInGroup( +@@ -709,6 +710,10 @@ void TabStripModel::CloseAllTabsInGroup( void TabStripModel::CloseWebContentsAt(int index, uint32_t close_types) { CHECK(ContainsIndex(index)); @@ -19,7 +19,7 @@ WebContents* contents = GetWebContentsAt(index); CloseTabs(base::span(&contents, 1u), close_types); } -@@ -1047,11 +1052,15 @@ void TabStripModel::AddTab(std::unique_p +@@ -1060,11 +1065,15 @@ void TabStripModel::AddTab(std::unique_p } void TabStripModel::CloseSelectedTabs() { @@ -38,7 +38,7 @@ TabCloseTypes::CLOSE_CREATE_HISTORICAL_TAB | TabCloseTypes::CLOSE_USER_GESTURE); } -@@ -1800,9 +1809,13 @@ TabStripModel::GetGroupsDestroyedFromRem +@@ -1811,9 +1820,13 @@ TabStripModel::GetGroupsDestroyedFromRem void TabStripModel::ExecuteCloseTabsByIndices( base::RepeatingCallback()> get_indices_to_close, uint32_t close_types) { diff --git a/patches/extra/ungoogled-chromium/add-flag-to-convert-popups-to-tabs.patch b/patches/extra/ungoogled-chromium/add-flag-to-convert-popups-to-tabs.patch index 018bee402b..84ac400749 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-convert-popups-to-tabs.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-convert-popups-to-tabs.patch @@ -13,7 +13,7 @@ #endif // CHROME_BROWSER_UNGOOGLED_FLAG_ENTRIES_H_ --- a/content/renderer/render_frame_impl.cc +++ b/content/renderer/render_frame_impl.cc -@@ -1223,6 +1223,8 @@ WindowOpenDisposition NavigationPolicyTo +@@ -1221,6 +1221,8 @@ WindowOpenDisposition NavigationPolicyTo case blink::kWebNavigationPolicyNewWindow: return WindowOpenDisposition::NEW_WINDOW; case blink::kWebNavigationPolicyNewPopup: diff --git a/patches/extra/ungoogled-chromium/add-flag-to-disable-tls-grease.patch b/patches/extra/ungoogled-chromium/add-flag-to-disable-tls-grease.patch index 793e75c938..134081b8b3 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-disable-tls-grease.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-disable-tls-grease.patch @@ -11,7 +11,7 @@ #endif // CHROME_BROWSER_UNGOOGLED_FLAG_ENTRIES_H_ --- a/net/socket/ssl_client_socket_impl.cc +++ b/net/socket/ssl_client_socket_impl.cc -@@ -202,7 +202,8 @@ class SSLClientSocketImpl::SSLContext { +@@ -201,7 +201,8 @@ class SSLClientSocketImpl::SSLContext { SSL_CTX_sess_set_new_cb(ssl_ctx_.get(), NewSessionCallback); SSL_CTX_set_timeout(ssl_ctx_.get(), 1 * 60 * 60 /* one hour */); diff --git a/patches/extra/ungoogled-chromium/add-flag-to-hide-fullscreen-exit-ui.patch b/patches/extra/ungoogled-chromium/add-flag-to-hide-fullscreen-exit-ui.patch index d0416c415c..2df61354d5 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-hide-fullscreen-exit-ui.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-hide-fullscreen-exit-ui.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/ui/views/frame/browser_view.cc +++ b/chrome/browser/ui/views/frame/browser_view.cc -@@ -2039,6 +2039,10 @@ void BrowserView::ExitFullscreen() { +@@ -2034,6 +2034,10 @@ void BrowserView::ExitFullscreen() { void BrowserView::UpdateExclusiveAccessBubble( const ExclusiveAccessBubbleParams& params, ExclusiveAccessBubbleHideCallback first_hide_callback) { diff --git a/patches/extra/ungoogled-chromium/add-flag-to-hide-tab-close-buttons.patch b/patches/extra/ungoogled-chromium/add-flag-to-hide-tab-close-buttons.patch index 24603ce6f5..fb60c38e28 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-hide-tab-close-buttons.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-hide-tab-close-buttons.patch @@ -3,7 +3,7 @@ @@ -1080,7 +1080,11 @@ void Tab::UpdateIconVisibility() { // Close button is shown on active tabs regardless of the size. showing_close_button_ = true; - #endif // BUILDFLAG(IS_CHROMEOS_ASH) + #endif // BUILDFLAG(IS_CHROMEOS) + if (base::CommandLine::ForCurrentProcess()->HasSwitch("hide-tab-close-buttons")) { + showing_close_button_ = false; + } else { diff --git a/patches/extra/ungoogled-chromium/add-flag-to-reduce-system-info.patch b/patches/extra/ungoogled-chromium/add-flag-to-reduce-system-info.patch index ab14c254fd..ed62ae0856 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-reduce-system-info.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-reduce-system-info.patch @@ -11,7 +11,7 @@ #endif // CHROME_BROWSER_UNGOOGLED_FLAG_ENTRIES_H_ --- a/components/embedder_support/user_agent_utils.cc +++ b/components/embedder_support/user_agent_utils.cc -@@ -143,6 +143,8 @@ const std::string& GetWindowsPlatformVer +@@ -146,6 +146,8 @@ const std::string& GetWindowsPlatformVer // TODO(crbug.com/1330890): Remove this method along with policy. bool ShouldReduceUserAgentMinorVersion( UserAgentReductionEnterprisePolicyState user_agent_reduction) { @@ -20,7 +20,7 @@ return ((user_agent_reduction != UserAgentReductionEnterprisePolicyState::kForceDisabled && base::FeatureList::IsEnabled( -@@ -166,6 +168,8 @@ bool ShouldReduceUserAgentMinorVersion( +@@ -169,6 +171,8 @@ bool ShouldReduceUserAgentMinorVersion( // sending unified platform for the user agent string. bool ShouldSendUserAgentUnifiedPlatform( UserAgentReductionEnterprisePolicyState user_agent_reduction) { @@ -29,7 +29,7 @@ #if BUILDFLAG(IS_ANDROID) return ShouldReduceUserAgentMinorVersion(user_agent_reduction) && base::FeatureList::IsEnabled( -@@ -456,6 +460,8 @@ blink::UserAgentMetadata GetUserAgentMet +@@ -511,6 +515,8 @@ blink::UserAgentMetadata GetUserAgentMet blink::UserAgentMetadata GetUserAgentMetadata(const PrefService* pref_service, bool only_low_entropy_ch) { diff --git a/patches/extra/ungoogled-chromium/add-flag-to-remove-client-hints.patch b/patches/extra/ungoogled-chromium/add-flag-to-remove-client-hints.patch index 2a72967179..ffec117fdf 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-remove-client-hints.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-remove-client-hints.patch @@ -11,7 +11,7 @@ #endif // CHROME_BROWSER_UNGOOGLED_FLAG_ENTRIES_H_ --- a/content/browser/client_hints/client_hints.cc +++ b/content/browser/client_hints/client_hints.cc -@@ -840,6 +840,8 @@ void UpdateNavigationRequestClientUaHead +@@ -824,6 +824,8 @@ void UpdateNavigationRequestClientUaHead net::HttpRequestHeaders* headers, const std::optional& request_url) { DCHECK(frame_tree_node); @@ -20,7 +20,7 @@ if (!ShouldAddClientHints(origin, frame_tree_node, delegate, request_url)) { return; } -@@ -861,6 +863,8 @@ void AddRequestClientHintsHeaders( +@@ -845,6 +847,8 @@ void AddRequestClientHintsHeaders( FrameTreeNode* frame_tree_node, const blink::ParsedPermissionsPolicy& container_policy, const std::optional& request_url) { diff --git a/patches/extra/ungoogled-chromium/add-flag-to-show-avatar-button.patch b/patches/extra/ungoogled-chromium/add-flag-to-show-avatar-button.patch index b08bc57653..45f66d0713 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-show-avatar-button.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-show-avatar-button.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/ui/views/toolbar/toolbar_view.cc +++ b/chrome/browser/ui/views/toolbar/toolbar_view.cc -@@ -490,6 +490,17 @@ void ToolbarView::Init() { +@@ -481,6 +481,17 @@ void ToolbarView::Init() { browser_->profile()->IsGuestSession() || browser_->profile()->IsRegularProfile(); #endif diff --git a/patches/extra/ungoogled-chromium/add-flags-for-existing-switches.patch b/patches/extra/ungoogled-chromium/add-flags-for-existing-switches.patch index 9d76130f5a..6741d3fc36 100644 --- a/patches/extra/ungoogled-chromium/add-flags-for-existing-switches.patch +++ b/patches/extra/ungoogled-chromium/add-flags-for-existing-switches.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/about_flags.cc +++ b/chrome/browser/about_flags.cc -@@ -4237,10 +4237,12 @@ const FeatureEntry::FeatureVariation +@@ -4342,10 +4342,12 @@ const FeatureEntry::FeatureVariation kSe #include "chrome/browser/ungoogled_flag_choices.h" #include "chrome/browser/bromite_flag_choices.h" #include "chrome/browser/ungoogled_platform_flag_choices.h" diff --git a/patches/extra/ungoogled-chromium/add-flags-for-referrer-customization.patch b/patches/extra/ungoogled-chromium/add-flags-for-referrer-customization.patch index 5f834abcc2..9da7085483 100644 --- a/patches/extra/ungoogled-chromium/add-flags-for-referrer-customization.patch +++ b/patches/extra/ungoogled-chromium/add-flags-for-referrer-customization.patch @@ -19,7 +19,7 @@ #endif // CHROME_BROWSER_UNGOOGLED_FLAG_ENTRIES_H_ --- a/content/browser/renderer_host/navigation_request.cc +++ b/content/browser/renderer_host/navigation_request.cc -@@ -161,6 +161,7 @@ +@@ -162,6 +162,7 @@ #include "services/network/public/cpp/features.h" #include "services/network/public/cpp/header_util.h" #include "services/network/public/cpp/is_potentially_trustworthy.h" @@ -44,7 +44,7 @@ if (NeedsHTTPOrigin(headers, method)) { --- a/content/renderer/render_frame_impl.cc +++ b/content/renderer/render_frame_impl.cc -@@ -133,6 +133,7 @@ +@@ -132,6 +132,7 @@ #include "services/metrics/public/cpp/ukm_source_id.h" #include "services/network/public/cpp/features.h" #include "services/network/public/cpp/not_implemented_url_loader_factory.h" @@ -52,7 +52,7 @@ #include "services/network/public/cpp/weak_wrapper_shared_url_loader_factory.h" #include "services/network/public/mojom/fetch_api.mojom.h" #include "services/network/public/mojom/restricted_cookie_manager.mojom.h" -@@ -4656,10 +4657,13 @@ void RenderFrameImpl::FinalizeRequestInt +@@ -4647,10 +4648,13 @@ void RenderFrameImpl::FinalizeRequestInt request.SetHasUserGesture(frame_->HasTransientUserActivation()); @@ -111,7 +111,7 @@ "request_mode.cc", --- a/services/network/public/cpp/features.cc +++ b/services/network/public/cpp/features.cc -@@ -17,6 +17,14 @@ +@@ -16,6 +16,14 @@ #include "url/origin.h" namespace network::features { @@ -128,7 +128,7 @@ // ignore Accept-CH response headers for a site that is specified in the --- a/services/network/public/cpp/features.h +++ b/services/network/public/cpp/features.h -@@ -17,6 +17,10 @@ class Origin; +@@ -18,6 +18,10 @@ class Origin; } // namespace url namespace network::features { diff --git a/patches/extra/ungoogled-chromium/add-ipv6-probing-option.patch b/patches/extra/ungoogled-chromium/add-ipv6-probing-option.patch index f7d1b66e7f..7896c95b32 100644 --- a/patches/extra/ungoogled-chromium/add-ipv6-probing-option.patch +++ b/patches/extra/ungoogled-chromium/add-ipv6-probing-option.patch @@ -47,7 +47,7 @@ // True if |hostname| ends with either ".local" or ".local.". bool ResemblesMulticastDNSName(std::string_view hostname) { return hostname.ends_with(".local") || hostname.ends_with(".local."); -@@ -1430,33 +1425,10 @@ int HostResolverManager::StartIPv6Reacha +@@ -1426,33 +1421,10 @@ int HostResolverManager::StartIPv6Reacha return OK; } diff --git a/patches/extra/ungoogled-chromium/add-suggestions-url-field.patch b/patches/extra/ungoogled-chromium/add-suggestions-url-field.patch index 77a1b14e56..8ee1765813 100644 --- a/patches/extra/ungoogled-chromium/add-suggestions-url-field.patch +++ b/patches/extra/ungoogled-chromium/add-suggestions-url-field.patch @@ -370,14 +370,14 @@ } @@ -433,6 +438,8 @@ bool SearchEnginesHandler::CheckFieldVal is_valid = edit_controller_->IsKeywordValid(base::UTF8ToUTF16(field_value)); - else if (field_name.compare(kQueryUrlField) == 0) + } else if (field_name.compare(kQueryUrlField) == 0) { is_valid = edit_controller_->IsURLValid(field_value); -+ else if (field_name.compare(kSuggestionsUrlField) == 0) ++ } else if (field_name.compare(kSuggestionsUrlField) == 0) { + is_valid = edit_controller_->IsSuggestionsURLValid(field_value); - else - NOTREACHED_IN_MIGRATION(); - -@@ -452,18 +459,21 @@ void SearchEnginesHandler::HandleSearchE + } else { + NOTREACHED(); + } +@@ -453,18 +460,21 @@ void SearchEnginesHandler::HandleSearchE if (!edit_controller_.get()) return; @@ -427,7 +427,7 @@ --- a/components/search_engines/template_url_service.cc +++ b/components/search_engines/template_url_service.cc -@@ -902,7 +902,8 @@ void TemplateURLService::IncrementUsageC +@@ -883,7 +883,8 @@ void TemplateURLService::IncrementUsageC void TemplateURLService::ResetTemplateURL(TemplateURL* url, const std::u16string& title, const std::u16string& keyword, @@ -437,7 +437,7 @@ DCHECK(!IsCreatedByExtension(url)); DCHECK(!keyword.empty()); DCHECK(!search_url.empty()); -@@ -917,6 +918,7 @@ void TemplateURLService::ResetTemplateUR +@@ -898,6 +899,7 @@ void TemplateURLService::ResetTemplateUR data.safe_for_autoreplace = false; data.last_modified = clock_->Now(); data.is_active = TemplateURLData::ActiveStatus::kTrue; diff --git a/patches/extra/ungoogled-chromium/add-ungoogled-flag-headers.patch b/patches/extra/ungoogled-chromium/add-ungoogled-flag-headers.patch index aff803bfea..b2e218b69d 100644 --- a/patches/extra/ungoogled-chromium/add-ungoogled-flag-headers.patch +++ b/patches/extra/ungoogled-chromium/add-ungoogled-flag-headers.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/about_flags.cc +++ b/chrome/browser/about_flags.cc -@@ -4233,7 +4233,13 @@ const FeatureEntry::FeatureVariation +@@ -4338,7 +4338,13 @@ const FeatureEntry::FeatureVariation kSe // calculate and verify checksum. // // When adding a new choice, add it to the end of the list. diff --git a/patches/extra/ungoogled-chromium/disable-capture-all-screens.patch b/patches/extra/ungoogled-chromium/disable-capture-all-screens.patch index afb39e1730..0fb0db4b03 100644 --- a/patches/extra/ungoogled-chromium/disable-capture-all-screens.patch +++ b/patches/extra/ungoogled-chromium/disable-capture-all-screens.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/media/webrtc/capture_policy_utils.cc +++ b/chrome/browser/media/webrtc/capture_policy_utils.cc -@@ -64,46 +64,7 @@ void IsMultiCaptureAllowedForAnyOriginOn +@@ -60,36 +60,7 @@ void IsMultiCaptureAllowedForAnyOriginOn base::OnceCallback callback, content::BrowserContext* context, bool is_multi_capture_allowed_for_any_origin_on_main_profile) { @@ -16,24 +16,14 @@ - // complete. - Profile* profile = Profile::FromBrowserContext(context); - if (!profile) { -- std::move(callback).Run(false); -- return; -- } -- --#if BUILDFLAG(IS_CHROMEOS_LACROS) -- // To ensure that a user is informed at login time that capturing of all -- // screens can happen (for privacy reasons), this API is only available on -- // primary profiles. -- if (!profile->IsMainProfile()) { -- std::move(callback).Run(false); + std::move(callback).Run(false); - return; - } --#endif // BUILDFLAG(IS_CHROMEOS_LACROS) - - HostContentSettingsMap* host_content_settings_map = - HostContentSettingsMapFactory::GetForProfile(profile); - if (!host_content_settings_map) { - std::move(callback).Run(false); +- std::move(callback).Run(false); - return; - } - ContentSettingsForOneType content_settings = @@ -47,7 +37,7 @@ } void CheckAllScreensMediaAllowedForIwaResultReceived( -@@ -291,58 +252,13 @@ void RegisterProfilePrefs(PrefRegistrySi +@@ -263,43 +234,13 @@ void RegisterProfilePrefs(PrefRegistrySi void CheckGetAllScreensMediaAllowedForAnyOrigin( content::BrowserContext* context, base::OnceCallback callback) { @@ -72,21 +62,6 @@ void CheckGetAllScreensMediaAllowed(content::BrowserContext* context, const GURL& url, base::OnceCallback callback) { --#if BUILDFLAG(IS_CHROMEOS_LACROS) -- Profile* profile = Profile::FromBrowserContext(context); -- if (!profile) { -- std::move(callback).Run(false); -- return; -- } -- // To ensure that a user is informed at login time that capturing of all -- // screens can happen (for privacy reasons), this API is only available on -- // primary profiles. -- if (!profile->IsMainProfile()) { -- std::move(callback).Run(false); -- return; -- } --#endif // BUILDFLAG(IS_CHROMEOS_LACROS) -- -#if BUILDFLAG(IS_CHROMEOS) - crosapi::mojom::MultiCaptureService* multi_capture_service = - GetMultiCaptureService(); @@ -105,4 +80,4 @@ -#endif // BUILDFLAG(IS_CHROMEOS) } - #if !BUILDFLAG(IS_ANDROID) + #if BUILDFLAG(ENABLE_SCREEN_CAPTURE) diff --git a/patches/extra/ungoogled-chromium/disable-chromelabs.patch b/patches/extra/ungoogled-chromium/disable-chromelabs.patch new file mode 100644 index 0000000000..4b113db67c --- /dev/null +++ b/patches/extra/ungoogled-chromium/disable-chromelabs.patch @@ -0,0 +1,38 @@ +--- a/chrome/browser/ui/toolbar/chrome_labs/chrome_labs_utils.cc ++++ b/chrome/browser/ui/toolbar/chrome_labs/chrome_labs_utils.cc +@@ -144,35 +144,6 @@ bool AreNewChromeLabsExperimentsAvailabl + } + + bool IsChromeLabsEnabled() { +- // Always early out on the stable channel regardless of other conditions. +- if (chrome::GetChannel() == version_info::Channel::STABLE) { +- return false; +- } +- if (base::CommandLine::ForCurrentProcess()->HasSwitch( +- variations::switches::kEnableBenchmarking)) { +- return true; +- } +- // Could be null in unit tests. +- if (!g_browser_process->local_state()) { +- return false; +- } +- if (g_browser_process->local_state()->GetInteger( +- chrome_labs_prefs::kChromeLabsActivationThreshold) == +- chrome_labs_prefs::kChromeLabsActivationThresholdDefaultValue) { +- g_browser_process->local_state()->SetInteger( +- chrome_labs_prefs::kChromeLabsActivationThreshold, +- base::RandInt(1, 100)); +- } +- +- // The percentage of users that should see the feature. +- const int kChromeLabsActivationPercentage = 99; +- +- if (force_activation_for_testing || +- g_browser_process->local_state()->GetInteger( +- chrome_labs_prefs::kChromeLabsActivationThreshold) <= +- kChromeLabsActivationPercentage) { +- return true; +- } + return false; + } + diff --git a/patches/extra/ungoogled-chromium/disable-download-quarantine.patch b/patches/extra/ungoogled-chromium/disable-download-quarantine.patch index 344688b374..4722cb5682 100644 --- a/patches/extra/ungoogled-chromium/disable-download-quarantine.patch +++ b/patches/extra/ungoogled-chromium/disable-download-quarantine.patch @@ -142,7 +142,7 @@ } // namespace download --- a/content/browser/BUILD.gn +++ b/content/browser/BUILD.gn -@@ -118,7 +118,6 @@ source_set("browser") { +@@ -119,7 +119,6 @@ source_set("browser") { "//components/payments/mojom", "//components/power_monitor", "//components/services/filesystem:lib", diff --git a/patches/extra/ungoogled-chromium/disable-downloads-page-referrer-url.patch b/patches/extra/ungoogled-chromium/disable-downloads-page-referrer-url.patch index c298ffc334..2a264a91f0 100644 --- a/patches/extra/ungoogled-chromium/disable-downloads-page-referrer-url.patch +++ b/patches/extra/ungoogled-chromium/disable-downloads-page-referrer-url.patch @@ -1,6 +1,6 @@ --- a/components/safe_browsing/core/common/features.cc +++ b/components/safe_browsing/core/common/features.cc -@@ -207,7 +207,7 @@ constexpr base::FeatureParam kHashP +@@ -211,7 +211,7 @@ constexpr base::FeatureParam kHashP BASE_FEATURE(kDownloadsPageReferrerUrl, "DownloadsPageReferrerUrl", diff --git a/patches/extra/ungoogled-chromium/disable-formatting-in-omnibox.patch b/patches/extra/ungoogled-chromium/disable-formatting-in-omnibox.patch index 3cb67a4533..d7fce4eb69 100644 --- a/patches/extra/ungoogled-chromium/disable-formatting-in-omnibox.patch +++ b/patches/extra/ungoogled-chromium/disable-formatting-in-omnibox.patch @@ -13,7 +13,7 @@ --- a/chrome/browser/ui/toolbar/chrome_location_bar_model_delegate.cc +++ b/chrome/browser/ui/toolbar/chrome_location_bar_model_delegate.cc -@@ -261,5 +261,5 @@ TemplateURLService* ChromeLocationBarMod +@@ -255,5 +255,5 @@ TemplateURLService* ChromeLocationBarMod // static void ChromeLocationBarModelDelegate::RegisterProfilePrefs( user_prefs::PrefRegistrySyncable* registry) { diff --git a/patches/extra/ungoogled-chromium/disable-webgl-renderer-info.patch b/patches/extra/ungoogled-chromium/disable-webgl-renderer-info.patch index e99a094c73..02b28364e5 100644 --- a/patches/extra/ungoogled-chromium/disable-webgl-renderer-info.patch +++ b/patches/extra/ungoogled-chromium/disable-webgl-renderer-info.patch @@ -3,7 +3,7 @@ --- a/third_party/blink/renderer/modules/webgl/webgl_rendering_context_base.cc +++ b/third_party/blink/renderer/modules/webgl/webgl_rendering_context_base.cc -@@ -3852,8 +3852,7 @@ ScriptValue WebGLRenderingContextBase::g +@@ -3848,8 +3848,7 @@ ScriptValue WebGLRenderingContextBase::g pname, IdentifiabilityBenignStringToken( String(ContextGL()->GetString(GL_RENDERER)))); } @@ -13,7 +13,7 @@ } SynthesizeGLError( GL_INVALID_ENUM, "getParameter", -@@ -3867,8 +3866,7 @@ ScriptValue WebGLRenderingContextBase::g +@@ -3863,8 +3862,7 @@ ScriptValue WebGLRenderingContextBase::g pname, IdentifiabilityBenignStringToken( String(ContextGL()->GetString(GL_VENDOR)))); } diff --git a/patches/extra/ungoogled-chromium/enable-default-prefetch-privacy-changes.patch b/patches/extra/ungoogled-chromium/enable-default-prefetch-privacy-changes.patch index 5c97767405..23fe61240c 100644 --- a/patches/extra/ungoogled-chromium/enable-default-prefetch-privacy-changes.patch +++ b/patches/extra/ungoogled-chromium/enable-default-prefetch-privacy-changes.patch @@ -2,7 +2,7 @@ --- a/third_party/blink/common/features.cc +++ b/third_party/blink/common/features.cc -@@ -1933,7 +1933,7 @@ BASE_FEATURE(kPrefetchFontLookupTables, +@@ -1982,7 +1982,7 @@ BASE_FEATURE(kPrefetchFontLookupTables, // crbug.com/988956. BASE_FEATURE(kPrefetchPrivacyChanges, "PrefetchPrivacyChanges", diff --git a/patches/extra/ungoogled-chromium/enable-menu-on-reload-button.patch b/patches/extra/ungoogled-chromium/enable-menu-on-reload-button.patch index 1ff11d26e6..ffdc282bf2 100644 --- a/patches/extra/ungoogled-chromium/enable-menu-on-reload-button.patch +++ b/patches/extra/ungoogled-chromium/enable-menu-on-reload-button.patch @@ -2,12 +2,12 @@ --- a/chrome/browser/ui/views/toolbar/reload_button.cc +++ b/chrome/browser/ui/views/toolbar/reload_button.cc -@@ -111,7 +111,7 @@ bool ReloadButton::GetMenuEnabled() cons +@@ -113,7 +113,7 @@ bool ReloadButton::GetMenuEnabled() cons } void ReloadButton::SetMenuEnabled(bool enable) { - menu_enabled_ = enable; + menu_enabled_ = true; + UpdateAccessibleHasPopup(); } - void ReloadButton::OnMouseExited(const ui::MouseEvent& event) { diff --git a/patches/extra/ungoogled-chromium/enable-page-saving-on-more-pages.patch b/patches/extra/ungoogled-chromium/enable-page-saving-on-more-pages.patch index ddb7797029..ea87c7e32e 100644 --- a/patches/extra/ungoogled-chromium/enable-page-saving-on-more-pages.patch +++ b/patches/extra/ungoogled-chromium/enable-page-saving-on-more-pages.patch @@ -14,8 +14,8 @@ } return content_restrictions; } -@@ -1751,8 +1746,7 @@ bool CanSavePage(const Browser* browser) - DownloadPrefs::DownloadRestriction::ALL_FILES) { +@@ -1748,8 +1743,7 @@ bool CanSavePage(const Browser* browser) + policy::DownloadRestriction::ALL_FILES) { return false; } - return !browser->is_type_devtools() && diff --git a/patches/extra/ungoogled-chromium/enable-paste-and-go-new-tab-button.patch b/patches/extra/ungoogled-chromium/enable-paste-and-go-new-tab-button.patch index ebda2e8035..4079576c1e 100644 --- a/patches/extra/ungoogled-chromium/enable-paste-and-go-new-tab-button.patch +++ b/patches/extra/ungoogled-chromium/enable-paste-and-go-new-tab-button.patch @@ -1,21 +1,21 @@ --- a/chrome/browser/ui/views/frame/tab_strip_region_view.cc +++ b/chrome/browser/ui/views/frame/tab_strip_region_view.cc -@@ -205,12 +205,10 @@ TabStripRegionView::TabStripRegionView(s +@@ -219,12 +219,10 @@ TabStripRegionView::TabStripRegionView(s + new_tab_button_->GetViewAccessibility().SetName( + l10n_util::GetStringUTF16(IDS_ACCNAME_NEWTAB)); - // TODO(crbug.com/40118868): Revisit the macro expression once build flag - // switch of lacros-chrome is complete. --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) +-#if BUILDFLAG(IS_LINUX) // The New Tab Button can be middle-clicked on Linux. new_tab_button_->SetTriggerableEventFlags( new_tab_button_->GetTriggerableEventFlags() | ui::EF_MIDDLE_MOUSE_BUTTON); -#endif - } - reserved_grab_handle_space_ = + if (features::IsTabstripComboButtonEnabled()) { + tab_search_container_ = AddChildView(std::move(tab_search_container)); --- a/chrome/browser/ui/views/tabs/tab_strip.cc +++ b/chrome/browser/ui/views/tabs/tab_strip.cc -@@ -2073,8 +2073,6 @@ void TabStrip::NewTabButtonPressed(const +@@ -2077,8 +2077,6 @@ void TabStrip::NewTabButtonPressed(const const ui::MouseEvent& mouse = static_cast(event); if (mouse.IsOnlyMiddleMouseButton()) { @@ -24,7 +24,7 @@ ui::Clipboard* clipboard = ui::Clipboard::GetForCurrentThread(); CHECK(clipboard) << "Clipboard instance is not available, cannot proceed with " -@@ -2085,7 +2083,6 @@ void TabStrip::NewTabButtonPressed(const +@@ -2089,7 +2087,6 @@ void TabStrip::NewTabButtonPressed(const if (!clipboard_text.empty()) { controller_->CreateNewTabWithLocation(clipboard_text); } diff --git a/patches/extra/ungoogled-chromium/first-run-page.patch b/patches/extra/ungoogled-chromium/first-run-page.patch index 05b46c60f5..9973ca9ceb 100644 --- a/patches/extra/ungoogled-chromium/first-run-page.patch +++ b/patches/extra/ungoogled-chromium/first-run-page.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/chrome_browser_main.cc +++ b/chrome/browser/chrome_browser_main.cc -@@ -1111,6 +1111,7 @@ int ChromeBrowserMainParts::PreCreateThr +@@ -1118,6 +1118,7 @@ int ChromeBrowserMainParts::PreCreateThr if (first_run::IsChromeFirstRun()) { if (!base::CommandLine::ForCurrentProcess()->HasSwitch(switches::kApp) && !base::CommandLine::ForCurrentProcess()->HasSwitch(switches::kAppId)) { @@ -10,7 +10,7 @@ --- a/chrome/browser/ui/webui/chrome_web_ui_configs.cc +++ b/chrome/browser/ui/webui/chrome_web_ui_configs.cc -@@ -39,6 +39,7 @@ +@@ -45,6 +45,7 @@ #include "chrome/browser/ui/webui/signin_internals_ui.h" #include "chrome/browser/ui/webui/sync_internals/sync_internals_ui.h" #include "chrome/browser/ui/webui/translate_internals/translate_internals_ui.h" @@ -18,7 +18,7 @@ #include "chrome/browser/ui/webui/usb_internals/usb_internals_ui.h" #include "chrome/browser/ui/webui/user_actions/user_actions_ui.h" #include "chrome/browser/ui/webui/version/version_ui.h" -@@ -243,6 +244,7 @@ void RegisterChromeWebUIConfigs() { +@@ -254,6 +255,7 @@ void RegisterChromeWebUIConfigs() { map.AddWebUIConfig(std::make_unique()); map.AddWebUIConfig(std::make_unique()); map.AddWebUIConfig(std::make_unique()); diff --git a/patches/extra/ungoogled-chromium/fix-building-without-mdns-and-service-discovery.patch b/patches/extra/ungoogled-chromium/fix-building-without-mdns-and-service-discovery.patch index 80c44ef846..40cc362bfe 100644 --- a/patches/extra/ungoogled-chromium/fix-building-without-mdns-and-service-discovery.patch +++ b/patches/extra/ungoogled-chromium/fix-building-without-mdns-and-service-discovery.patch @@ -2,14 +2,14 @@ --- a/chrome/browser/extensions/api/BUILD.gn +++ b/chrome/browser/extensions/api/BUILD.gn -@@ -36,7 +36,6 @@ group("api_implementations") { - "//chrome/browser/extensions/api/experimental_ai_data", +@@ -38,7 +38,6 @@ group("api_implementations") { + "//chrome/browser/extensions/api/extension_action", "//chrome/browser/extensions/api/font_settings", "//chrome/browser/extensions/api/idltest", - "//chrome/browser/extensions/api/mdns", "//chrome/browser/extensions/api/module", "//chrome/browser/extensions/api/networking_private", - "//chrome/browser/extensions/api/omnibox", + "//chrome/browser/extensions/api/notifications", --- a/chrome/browser/media/router/discovery/mdns/dns_sd_device_lister.cc +++ b/chrome/browser/media/router/discovery/mdns/dns_sd_device_lister.cc @@ -40,37 +40,22 @@ DnsSdDeviceLister::DnsSdDeviceLister( diff --git a/patches/extra/ungoogled-chromium/prepopulated-search-engines.patch b/patches/extra/ungoogled-chromium/prepopulated-search-engines.patch index cdc3516b9b..f409600815 100644 --- a/patches/extra/ungoogled-chromium/prepopulated-search-engines.patch +++ b/patches/extra/ungoogled-chromium/prepopulated-search-engines.patch @@ -3,7 +3,7 @@ # --- a/components/omnibox/common/omnibox_features.cc +++ b/components/omnibox/common/omnibox_features.cc -@@ -373,7 +373,7 @@ BASE_FEATURE(kSiteSearchSettingsPolicy, +@@ -325,7 +325,7 @@ BASE_FEATURE(kOmniboxTouchDownTriggerFor // Enables additional site search providers for the Site search Starter Pack. BASE_FEATURE(kStarterPackExpansion, "StarterPackExpansion", diff --git a/patches/extra/ungoogled-chromium/remove-uneeded-ui.patch b/patches/extra/ungoogled-chromium/remove-uneeded-ui.patch index 2d0b4d18f0..e998c193c3 100644 --- a/patches/extra/ungoogled-chromium/remove-uneeded-ui.patch +++ b/patches/extra/ungoogled-chromium/remove-uneeded-ui.patch @@ -33,25 +33,24 @@ # disable LiveCaption flag by default, this also removes non-functional Live Caption checkbox from media controls # the new feature badges ---- a/chrome/browser/resources/extensions/item_list.html -+++ b/chrome/browser/resources/extensions/item_list.html -@@ -115,13 +115,6 @@ -
    - +--- a/chrome/browser/resources/extensions/item_list.html.ts ++++ b/chrome/browser/resources/extensions/item_list.html.ts +@@ -30,12 +30,6 @@ export function getHtml(this: Extensions + + ` : ''} -
    -- +- ?hidden="${!this.shouldShowEmptyItemsMessage_()}"> +- - $i18nRaw{noExtensionsOrApps} - -
    ---- a/chrome/browser/resources/extensions/sidebar.html -+++ b/chrome/browser/resources/extensions/sidebar.html -@@ -24,12 +24,3 @@ + ?hidden="${!this.shouldShowEmptySearchMessage_()}"> + $i18n{noSearchResults} +--- a/chrome/browser/resources/extensions/sidebar.html.ts ++++ b/chrome/browser/resources/extensions/sidebar.html.ts +@@ -33,16 +33,6 @@ export function getHtml(this: Extensions @@ -61,12 +60,24 @@ - - +- .innerHTML="${this.computeDiscoverMoreText_()}"> +- - -
    + `; + // clang-format on + } --- a/chrome/browser/resources/extensions/sidebar.ts +++ b/chrome/browser/resources/extensions/sidebar.ts -@@ -111,13 +111,6 @@ export class ExtensionsSidebarElement ex +@@ -8,7 +8,6 @@ import './icons.html.js'; + import type {CrMenuSelector} from 'chrome://resources/cr_elements/cr_menu_selector/cr_menu_selector.js'; + import {I18nMixinLit} from 'chrome://resources/cr_elements/i18n_mixin_lit.js'; + import {assert} from 'chrome://resources/js/assert.js'; +-import {loadTimeData} from 'chrome://resources/js/load_time_data.js'; + import {CrLitElement} from 'chrome://resources/lit/v3_0/lit.rollup.js'; + import type {PropertyValues} from 'chrome://resources/lit/v3_0/lit.rollup.js'; + +@@ -111,13 +110,6 @@ export class ExtensionsSidebarElement ex } } @@ -79,7 +90,7 @@ - } } - // Exported to be used in the autogenerated Lit template file + declare global { --- a/chrome/browser/resources/history/side_bar.html +++ b/chrome/browser/resources/history/side_bar.html @@ -88,13 +88,6 @@ @@ -293,7 +304,7 @@