diff --git a/chromium_version.txt b/chromium_version.txt index f906ab1c..b67707a5 100644 --- a/chromium_version.txt +++ b/chromium_version.txt @@ -1 +1 @@ -109.0.5414.120 +110.0.5481.77 diff --git a/domain_substitution.list b/domain_substitution.list index 4b674b00..8584b337 100644 --- a/domain_substitution.list +++ b/domain_substitution.list @@ -32,6 +32,7 @@ ash/app_list/PRESUBMIT.py 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/ash_strings.grd ash/assistant/PRESUBMIT.py ash/assistant/assistant_setup_controller.cc @@ -45,8 +46,6 @@ ash/child_accounts/parent_access_controller_impl_unittest.cc ash/components/arc/arc_util.h ash/components/arc/session/arc_upgrade_params.h ash/components/arc/session/serial_number_util_unittest.cc -ash/components/phonehub/notification.h -ash/components/phonehub/url_constants.cc ash/constants/ash_switches.cc ash/constants/url_constants.cc ash/controls/contextual_nudge.cc @@ -57,7 +56,9 @@ ash/login/ui/auth_icon_view.cc ash/login/ui/login_remove_account_dialog_unittest.cc ash/metrics/login_unlock_throughput_recorder.h ash/public/cpp/android_intent_helper_unittest.cc +ash/public/cpp/system_notification_builder_unittest.cc ash/quick_pair/fast_pair_handshake/fast_pair_handshake.h +ash/quick_pair/keyed_service/quick_pair_mediator.cc ash/quick_pair/message_stream/message_stream.h ash/quick_pair/repository/fake_device_metadata_http_fetcher.cc ash/quick_pair/repository/fast_pair/device_metadata_fetcher.cc @@ -75,6 +76,7 @@ ash/shelf/scrollable_shelf_view_pixeltest.cc ash/shelf/shelf_controller_unittest.cc ash/shelf/shelf_layout_manager_unittest.cc ash/style/dark_light_mode_nudge_controller_unittests.cc +ash/system/camera/camera_effects_controller_unittest.cc ash/system/diagnostics/diagnostics_log_controller_unittest.cc ash/system/eche/eche_tray.cc ash/system/eche/eche_tray_unittest.cc @@ -82,6 +84,7 @@ ash/system/federated/federated_service_controller_unittest.cc ash/system/human_presence/snooping_protection_controller_unittest.cc ash/system/message_center/ash_notification_view_unittest.cc ash/system/message_center/notification_grouping_controller_unittest.cc +ash/system/microphone_mute/microphone_mute_notification_controller.cc ash/system/pcie_peripheral/pcie_peripheral_notification_controller.cc ash/system/pcie_peripheral/pcie_peripheral_notification_controller_unittest.cc ash/system/phonehub/phone_hub_tray_unittest.cc @@ -151,6 +154,7 @@ ash/wm/desks/templates/saved_desk_unittest.cc ash/wm/screen_pinning_controller.h base/BUILD.gn base/PRESUBMIT.py +base/allocator/partition_alloc_support.cc base/allocator/partition_allocator/address_space_randomization.h base/allocator/partition_allocator/oom.cc base/allocator/partition_allocator/oom.h @@ -232,7 +236,6 @@ base/task/sequenced_task_runner.h base/task/single_thread_task_executor_unittest.cc base/task/single_thread_task_runner.h base/task/task_traits.h -base/task/thread_pool/thread_group_native_win.h base/test/gtest_links_unittest.cc base/test/gtest_xml_unittest_result_printer_unittest.cc base/test/launcher/test_launcher.cc @@ -435,11 +438,16 @@ chrome/browser/android/webapk/webapk_installer.cc chrome/browser/apps/app_deduplication_service/app_deduplication_service_unittest.cc chrome/browser/apps/app_discovery_service/app_discovery_service_unittest.cc chrome/browser/apps/app_discovery_service/recommended_arc_app_fetcher_unittest.cc +chrome/browser/apps/app_preload_service/almanac_api_util.cc +chrome/browser/apps/app_preload_service/app_preload_service_unittest.cc +chrome/browser/apps/app_preload_service/preload_app_definition_unittest.cc +chrome/browser/apps/app_preload_service/web_app_preload_installer_unittest.cc chrome/browser/apps/app_service/app_icon/app_icon_loader.cc chrome/browser/apps/app_service/app_service_proxy_lacros_unittest.cc chrome/browser/apps/app_service/app_service_proxy_unittest.cc chrome/browser/apps/app_service/intent_util_unittest.cc chrome/browser/apps/app_service/metrics/app_service_metrics.h +chrome/browser/apps/app_service/publishers/arc_apps.cc chrome/browser/apps/app_service/publishers/arc_apps_unittest.cc chrome/browser/apps/app_service/publishers/publisher_unittest.cc chrome/browser/apps/app_service/web_contents_app_id_utils.h @@ -455,10 +463,26 @@ chrome/browser/apps/platform_apps/install_chrome_app.cc chrome/browser/ash/accessibility/accessibility_live_site_browsertest.cc chrome/browser/ash/accessibility/accessibility_manager_browsertest.cc chrome/browser/ash/accessibility/dictation_browsertest.cc +chrome/browser/ash/accessibility/spoken_feedback_browsertest.cc chrome/browser/ash/account_manager/account_apps_availability_unittest.cc chrome/browser/ash/account_manager/account_manager_edu_coexistence_controller_unittest.cc chrome/browser/ash/android_sms/android_sms_urls.cc chrome/browser/ash/android_sms/android_sms_urls.h +chrome/browser/ash/app_list/app_context_menu_unittest.cc +chrome/browser/ash/app_list/app_list_sort_browsertest.cc +chrome/browser/ash/app_list/app_list_test_util.cc +chrome/browser/ash/app_list/app_service/app_service_app_model_builder_unittest.cc +chrome/browser/ash/app_list/arc/arc_usb_host_permission_browsertest.cc +chrome/browser/ash/app_list/chrome_app_list_model_updater_browsertest.cc +chrome/browser/ash/app_list/search/arc/recommend_apps_fetcher_impl.cc +chrome/browser/ash/app_list/search/arc/recommend_apps_fetcher_impl_unittest.cc +chrome/browser/ash/app_list/search/common/string_util.cc +chrome/browser/ash/app_list/search/common/string_util_unittest.cc +chrome/browser/ash/app_list/search/files/item_suggest_cache.h +chrome/browser/ash/app_list/search/files/item_suggest_cache_unittest.cc +chrome/browser/ash/app_list/search/omnibox/omnibox_lacros_provider_unittest.cc +chrome/browser/ash/app_list/search/omnibox/omnibox_provider_unittest.cc +chrome/browser/ash/app_list/search/omnibox/omnibox_util.cc chrome/browser/ash/app_mode/fake_cws.cc chrome/browser/ash/app_restore/arc_app_single_restore_handler_unittest.cc chrome/browser/ash/app_restore/arc_ghost_window_view_unittest.cc @@ -477,6 +501,7 @@ chrome/browser/ash/arc/extensions/arc_support_message_host.cc chrome/browser/ash/arc/file_system_watcher/file_system_scanner.h chrome/browser/ash/arc/input_overlay/ui/input_menu_view.cc chrome/browser/ash/arc/instance_throttle/arc_kiosk_mode_throttle_observer_unittest.cc +chrome/browser/ash/arc/notification/arc_vm_data_migration_notifier_unittest.cc chrome/browser/ash/arc/policy/arc_android_management_checker_unittest.cc chrome/browser/ash/arc/policy/arc_policy_bridge_unittest.cc chrome/browser/ash/arc/policy/arc_policy_util.h @@ -527,6 +552,7 @@ chrome/browser/ash/file_manager/file_browser_handlers.h chrome/browser/ash/file_manager/file_manager_browsertest.cc chrome/browser/ash/file_manager/file_manager_string_util.cc chrome/browser/ash/file_manager/file_tasks.h +chrome/browser/ash/file_manager/file_tasks_browsertest.cc chrome/browser/ash/file_manager/open_with_browser.cc chrome/browser/ash/file_manager/open_with_browser.h chrome/browser/ash/file_manager/open_with_browser_browsertest.cc @@ -537,6 +563,8 @@ chrome/browser/ash/hats/hats_dialog.cc chrome/browser/ash/input_method/assistive_suggester_client_filter.cc chrome/browser/ash/input_method/assistive_suggester_client_filter_unittest.cc chrome/browser/ash/input_method/ime_rules_config_unittest.cc +chrome/browser/ash/input_method/input_method_settings.cc +chrome/browser/ash/input_method/input_method_settings_unittest.cc chrome/browser/ash/kerberos/kerberos_credentials_manager_unittest.cc chrome/browser/ash/login/app_mode/kiosk_launch_controller_unittest.cc chrome/browser/ash/login/app_mode/test/kiosk_enterprise_browsertest.cc @@ -553,9 +581,11 @@ chrome/browser/ash/login/login_ui_browsertest.cc chrome/browser/ash/login/login_ui_keyboard_browsertest.cc chrome/browser/ash/login/login_ui_shelf_visibility_browsertest.cc chrome/browser/ash/login/marketing_backend_connector.cc +chrome/browser/ash/login/oobe_quick_start/connectivity/authenticated_connection.cc +chrome/browser/ash/login/oobe_quick_start/connectivity/authenticated_connection_unittest.cc chrome/browser/ash/login/oobe_quick_start/connectivity/quick_start_decoder_unittest.cc -chrome/browser/ash/login/oobe_quick_start/connectivity/target_fido_controller.cc -chrome/browser/ash/login/oobe_quick_start/connectivity/target_fido_controller_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/profile_auth_data_unittest.cc chrome/browser/ash/login/reset_browsertest.cc @@ -596,7 +626,7 @@ chrome/browser/ash/plugin_vm/plugin_vm_installer_unittest.cc chrome/browser/ash/plugin_vm/plugin_vm_license_checker.cc chrome/browser/ash/plugin_vm/plugin_vm_util.cc chrome/browser/ash/plugin_vm/plugin_vm_util_unittest.cc -chrome/browser/ash/policy/active_directory/active_directory_policy_manager.cc +chrome/browser/ash/policy/active_directory/active_directory_policy_manager.h chrome/browser/ash/policy/arc/android_management_client_unittest.cc chrome/browser/ash/policy/core/device_local_account_browsertest.cc chrome/browser/ash/policy/core/device_local_account_policy_service_unittest.cc @@ -658,7 +688,6 @@ 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_assistant/password_change/apc_onboarding_coordinator.cc chrome/browser/background_sync/periodic_background_sync_permission_context.cc chrome/browser/bluetooth/web_bluetooth_browsertest.cc chrome/browser/bookmarks/managed_bookmark_service_unittest.cc @@ -726,7 +755,7 @@ chrome/browser/dips/dips_database_unittest.cc chrome/browser/dips/dips_storage_unittest.cc chrome/browser/download/chrome_download_manager_delegate_unittest.cc chrome/browser/download/download_browsertest.cc -chrome/browser/download/mixed_content_download_blocking.cc +chrome/browser/download/insecure_download_blocking.cc chrome/browser/download/save_page_browsertest.cc chrome/browser/engagement/important_sites_util_browsertest.cc chrome/browser/engagement/important_sites_util_unittest.cc @@ -747,15 +776,10 @@ chrome/browser/enterprise/connectors/device_trust/key_management/installer/manag chrome/browser/enterprise/connectors/device_trust/key_management/installer/management_service/rotate_util_unittest.cc chrome/browser/enterprise/connectors/device_trust/signals/decorators/ash/ash_signals_decorator_browsertest.cc chrome/browser/enterprise/connectors/device_trust/signals/decorators/browser/browser_signals_decorator_unittest.cc -chrome/browser/enterprise/connectors/file_system/box_api_call_flow.cc -chrome/browser/enterprise/connectors/file_system/box_api_call_flow_unittest.cc -chrome/browser/enterprise/connectors/file_system/box_uploader.cc -chrome/browser/enterprise/connectors/file_system/browsertest_helper.cc -chrome/browser/enterprise/connectors/file_system/rename_handler_unittest.cc -chrome/browser/enterprise/connectors/file_system/signin_dialog_delegate.cc chrome/browser/enterprise/connectors/reporting/reporting_service_settings_unittest.cc chrome/browser/enterprise/connectors/service_provider_config.cc chrome/browser/enterprise/connectors/service_provider_config_unittest.cc +chrome/browser/enterprise/platform_auth/cloud_ap_provider_win.cc chrome/browser/enterprise/reporting/extension_request/extension_request_notification.cc chrome/browser/enterprise/reporting/extension_request/extension_request_notification_unittest.cc chrome/browser/enterprise/reporting/extension_request/extension_request_observer_unittest.cc @@ -845,6 +869,7 @@ chrome/browser/extensions/extension_action_runner_unittest.cc chrome/browser/extensions/extension_browser_window_helper.cc chrome/browser/extensions/extension_browsertest.cc chrome/browser/extensions/extension_context_menu_model_unittest.cc +chrome/browser/extensions/extension_keybinding_apitest.cc chrome/browser/extensions/extension_loading_browsertest.cc chrome/browser/extensions/extension_message_bubble_controller_unittest.cc chrome/browser/extensions/extension_override_apitest.cc @@ -889,7 +914,9 @@ chrome/browser/feedback/system_logs/log_sources/crash_ids_source.cc chrome/browser/first_run/first_run_unittest.cc chrome/browser/flag-metadata.json chrome/browser/flag_descriptions.cc +chrome/browser/flags/android/chrome_session_state.h chrome/browser/font_prewarmer_tab_helper_browsertest.cc +chrome/browser/fuchsia/chrome_browser_main_parts_fuchsia.cc chrome/browser/fuchsia/element_manager_impl_unittest.cc chrome/browser/google/google_search_domain_mixing_metrics_emitter.h chrome/browser/google/google_search_domain_mixing_metrics_emitter_factory.h @@ -898,6 +925,7 @@ chrome/browser/google/google_update_win.cc chrome/browser/guest_view/web_view/context_menu_content_type_web_view.cc chrome/browser/hid/chrome_hid_delegate_unittest.cc chrome/browser/hid/hid_chooser_context_unittest.cc +chrome/browser/hid/hid_connection_tracker_unittest.cc chrome/browser/history/redirect_browsertest.cc chrome/browser/history_clusters/history_clusters_metrics_browsertest.cc chrome/browser/history_clusters/history_clusters_tab_helper_unittest.cc @@ -953,6 +981,7 @@ chrome/browser/media/webrtc/webrtc_browsertest_common.cc chrome/browser/media/webrtc/webrtc_event_log_uploader.cc chrome/browser/media/webrtc/webrtc_log_uploader.cc chrome/browser/media_galleries/fileapi/media_path_filter.cc +chrome/browser/metrics/chrome_metrics_service_client_ash_unittest.cc chrome/browser/metrics/family_link_user_metrics_provider_unittest.cc chrome/browser/metrics/family_user_metrics_provider_browsertest.cc chrome/browser/metrics/perf/perf_events_collector.cc @@ -982,6 +1011,7 @@ chrome/browser/nearby_sharing/sharesheet/nearby_share_action_unittest.cc chrome/browser/nearby_sharing/tachyon_ice_config_fetcher.cc chrome/browser/nearby_sharing/tachyon_ice_config_fetcher_unittest.cc chrome/browser/nearby_sharing/text_attachment_unittest.cc +chrome/browser/net/cert_verifier_configuration.h chrome/browser/net/cert_verify_proc_browsertest.cc chrome/browser/net/dns_over_https_browsertest.cc chrome/browser/net/dns_probe_runner.cc @@ -1033,11 +1063,12 @@ chrome/browser/page_load_metrics/observers/protocol_page_load_metrics_observer_u chrome/browser/page_load_metrics/observers/scheme_page_load_metrics_observer_unittest.cc chrome/browser/page_load_metrics/observers/service_worker_page_load_metrics_observer.cc chrome/browser/page_load_metrics/observers/service_worker_page_load_metrics_observer_unittest.cc -chrome/browser/page_load_metrics/observers/session_restore_page_load_metrics_observer_unittest.cc chrome/browser/page_load_metrics/observers/tab_restore_page_load_metrics_observer_unittest.cc chrome/browser/password_check/android/password_check_manager_unittest.cc chrome/browser/password_manager/android/chromesync_status_code.h chrome/browser/password_manager/android/password_manager_settings_service_android_impl_unittest.cc +chrome/browser/password_manager/android/password_settings_updater_android_bridge_helper_impl_unittest.cc +chrome/browser/password_manager/android/password_store_android_backend_bridge_helper_impl_unittest.cc chrome/browser/password_manager/android/password_store_android_backend_unittest.cc chrome/browser/password_manager/chrome_password_manager_client_unittest.cc chrome/browser/password_manager/password_manager_browsertest.cc @@ -1129,10 +1160,8 @@ chrome/browser/renderer_context_menu/link_to_text_menu_observer_interactive_uite chrome/browser/renderer_context_menu/render_view_context_menu_browsertest.cc chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc chrome/browser/renderer_host/chrome_navigation_ui_data.h -chrome/browser/reputation/local_heuristics.cc chrome/browser/reputation/safety_tip_message_delegate_android_unittest.cc chrome/browser/resource_coordinator/tab_load_tracker_unittest.cc -chrome/browser/resource_coordinator/tab_manager_web_contents_data_unittest.cc chrome/browser/resource_coordinator/tab_metrics_logger_unittest.cc chrome/browser/resource_coordinator/tab_ranker/tab_features_test_helper.cc chrome/browser/resources/PRESUBMIT.py @@ -1145,6 +1174,7 @@ chrome/browser/resources/chromeos/accessibility/accessibility_common/magnifier/m chrome/browser/resources/chromeos/accessibility/chromevox/background/background_test.js chrome/browser/resources/chromeos/accessibility/chromevox/background/braille/braille_input_handler_test.js chrome/browser/resources/chromeos/accessibility/chromevox/background/command_handler.js +chrome/browser/resources/chromeos/accessibility/chromevox/background/download_handler.js chrome/browser/resources/chromeos/accessibility/chromevox/background/editing/editable_text_base_test.js chrome/browser/resources/chromeos/accessibility/chromevox/common/locale_output_helper_test.js chrome/browser/resources/chromeos/accessibility/chromevox/common/spannable_test.js @@ -1178,12 +1208,13 @@ chrome/browser/resources/chromeos/arc_support/bubble.js chrome/browser/resources/chromeos/arc_support/playstore.js chrome/browser/resources/chromeos/assistant_optin/assistant_related_info.js chrome/browser/resources/chromeos/assistant_optin/assistant_value_prop.js +chrome/browser/resources/chromeos/cloud_upload/sign_in_page.html chrome/browser/resources/chromeos/connectivity_diagnostics/manifest.json chrome/browser/resources/chromeos/echo/manifest.json chrome/browser/resources/chromeos/edu_coexistence/edu_coexistence_controller.js chrome/browser/resources/chromeos/edu_coexistence/edu_coexistence_ui.js chrome/browser/resources/chromeos/emoji_picker/icons.html -chrome/browser/resources/chromeos/emoji_picker/prefix_search.js +chrome/browser/resources/chromeos/emoji_picker/prefix_search.ts chrome/browser/resources/chromeos/emulator/icons.html chrome/browser/resources/chromeos/input_method/google_xkb_manifest.json chrome/browser/resources/chromeos/login/components/web_view_loader.js @@ -1212,7 +1243,7 @@ chrome/browser/resources/identity_scope_approval_dialog/manifest.json chrome/browser/resources/identity_scope_approval_dialog/scope_approval_dialog.js chrome/browser/resources/inspect/inspect.html chrome/browser/resources/internals/query_tiles/query_tiles_internals.html -chrome/browser/resources/internals/query_tiles/query_tiles_internals.js +chrome/browser/resources/internals/query_tiles/query_tiles_internals.ts chrome/browser/resources/media/mei_preload/manifest.json chrome/browser/resources/media/webrtc_logs.ts chrome/browser/resources/media_router/cast_feedback/cast_feedback_ui.ts @@ -1243,15 +1274,15 @@ chrome/browser/resources/settings/chromeos/crostini_page/crostini_disk_resize_di chrome/browser/resources/settings/chromeos/device_page/stylus.ts chrome/browser/resources/settings/chromeos/os_a11y_page/keyboard_and_text_input_page.ts chrome/browser/resources/settings/chromeos/os_a11y_page/manage_a11y_page.js -chrome/browser/resources/settings/chromeos/os_a11y_page/os_a11y_page.js +chrome/browser/resources/settings/chromeos/os_a11y_page/os_a11y_page.ts chrome/browser/resources/settings/chromeos/os_about_page/channel_switcher_dialog.html chrome/browser/resources/settings/chromeos/os_about_page/os_about_page.html chrome/browser/resources/settings/chromeos/os_apps_page/app_management_page/borealis_page/borealis_detail_view.html -chrome/browser/resources/settings/chromeos/os_icons.html chrome/browser/resources/settings/chromeos/os_languages_page/input_method_util.js chrome/browser/resources/settings/chromeos/os_people_page/account_manager.js chrome/browser/resources/settings/chromeos/os_people_page/os_people_page.js chrome/browser/resources/settings/chromeos/os_people_page/users_add_user_dialog.js +chrome/browser/resources/settings/chromeos/os_settings_icons.html chrome/browser/resources/settings/icons.html chrome/browser/resources/settings/incompatible_applications_page/incompatible_application_item.ts chrome/browser/resources/settings/languages_page/edit_dictionary_page.ts @@ -1296,6 +1327,7 @@ chrome/browser/safe_browsing/tailored_security/chrome_tailored_security_service_ chrome/browser/safe_browsing/tailored_security/tailored_security_url_observer_unittest.cc 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/search.h chrome/browser/search_engines/template_url_parser_unittest.cc chrome/browser/search_engines/template_url_service_sync_unittest.cc @@ -1320,8 +1352,10 @@ chrome/browser/sharing/vapid_key_manager.h chrome/browser/sharing/web_push/json_web_token_util_unittest.cc chrome/browser/sharing/web_push/web_push_sender.cc chrome/browser/sharing/web_push/web_push_sender_unittest.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/bound_session_credentials/bound_session_cookie_fetcher_unittest.cc chrome/browser/signin/chrome_signin_helper_unittest.cc chrome/browser/signin/chrome_signin_proxying_url_loader_factory.h chrome/browser/signin/chrome_signin_proxying_url_loader_factory_unittest.cc @@ -1405,23 +1439,6 @@ chrome/browser/translate/translate_manager_browsertest.cc chrome/browser/translate/translate_manager_render_view_host_android_unittest.cc chrome/browser/translate/translate_manager_render_view_host_unittest.cc chrome/browser/ui/android/strings/android_chrome_strings.grd -chrome/browser/ui/app_list/app_context_menu_unittest.cc -chrome/browser/ui/app_list/app_list_sort_browsertest.cc -chrome/browser/ui/app_list/app_list_syncable_service.cc -chrome/browser/ui/app_list/app_list_test_util.cc -chrome/browser/ui/app_list/app_service/app_service_app_model_builder_unittest.cc -chrome/browser/ui/app_list/arc/arc_usb_host_permission_browsertest.cc -chrome/browser/ui/app_list/chrome_app_list_model_updater_browsertest.cc -chrome/browser/ui/app_list/search/arc/recommend_apps_fetcher_impl.cc -chrome/browser/ui/app_list/search/arc/recommend_apps_fetcher_impl_unittest.cc -chrome/browser/ui/app_list/search/common/string_util.cc -chrome/browser/ui/app_list/search/common/string_util_unittest.cc -chrome/browser/ui/app_list/search/files/item_suggest_cache.h -chrome/browser/ui/app_list/search/files/item_suggest_cache_unittest.cc -chrome/browser/ui/app_list/search/omnibox/omnibox_lacros_provider_unittest.cc -chrome/browser/ui/app_list/search/omnibox/omnibox_provider_unittest.cc -chrome/browser/ui/app_list/search/omnibox/omnibox_util.cc -chrome/browser/ui/app_list/search/ranking/ranking_item_util_unittest.cc chrome/browser/ui/ash/ambient/ambient_client_impl.cc chrome/browser/ui/ash/ambient/ambient_client_impl_unittest.cc chrome/browser/ui/ash/arc_open_url_delegate_impl_browsertest.cc @@ -1443,7 +1460,6 @@ chrome/browser/ui/ash/system_tray_client_impl_browsertest.cc chrome/browser/ui/autofill/autofill_context_menu_manager.h chrome/browser/ui/autofill/payments/offer_notification_bubble_controller_impl_unittest.cc chrome/browser/ui/autofill/payments/offer_notification_controller_android_browsertest.cc -chrome/browser/ui/autofill_assistant/password_change/assistant_onboarding_controller_impl_browsertest.cc chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc chrome/browser/ui/blocked_content/tab_under_navigation_throttle.h chrome/browser/ui/bookmarks/bookmark_browsertest.cc @@ -1506,6 +1522,7 @@ chrome/browser/ui/signin_reauth_view_controller_browsertest.cc chrome/browser/ui/signin_view_controller.cc chrome/browser/ui/signin_view_controller_interactive_uitest.cc chrome/browser/ui/singleton_tabs_unittest.cc +chrome/browser/ui/startup/chrome_for_testing_infobar_delegate.cc chrome/browser/ui/startup/credential_provider_signin_dialog_win_test_data.cc chrome/browser/ui/startup/launch_mode_recorder_unittest.cc chrome/browser/ui/startup/startup_browser_creator_browsertest.cc @@ -1521,7 +1538,7 @@ chrome/browser/ui/views/accelerator_table.cc chrome/browser/ui/views/apps/app_dialog/app_uninstall_dialog_view.cc chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views_unittest.cc chrome/browser/ui/views/autofill/autofill_popup_view_native_views_unittest.cc -chrome/browser/ui/views/autofill/payments/local_card_migration_browsertest.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 @@ -1533,6 +1550,7 @@ chrome/browser/ui/views/bookmarks/bookmark_menu_delegate_unittest.cc chrome/browser/ui/views/commerce/price_tracking_bubble_dialog_view_unittest.cc chrome/browser/ui/views/commerce/price_tracking_icon_view_integration_test.cc chrome/browser/ui/views/commerce/price_tracking_icon_view_interactive_uitest.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_uninstall_dialog_view_browsertest.cc chrome/browser/ui/views/file_system_access/file_system_access_permission_dialog_browsertest.cc @@ -1565,8 +1583,11 @@ chrome/browser/ui/views/passwords/password_dialog_view_browsertest.cc chrome/browser/ui/views/payments/payment_method_view_controller_browsertest.cc chrome/browser/ui/views/plugin_vm/plugin_vm_installer_view.cc chrome/browser/ui/views/profiles/dice_web_signin_interception_bubble_view_unittest.cc +chrome/browser/ui/views/profiles/first_run_flow_controller_dice_browsertest.cc chrome/browser/ui/views/profiles/profile_menu_view_browsertest.cc +chrome/browser/ui/views/profiles/profile_picker_dice_sign_in_provider_browsertest.cc chrome/browser/ui/views/profiles/profile_picker_view_browsertest.cc +chrome/browser/ui/views/profiles/sync_confirmation_ui_browsertest.cc chrome/browser/ui/views/qrcode_generator/qrcode_generator_bubble_browsertest.cc chrome/browser/ui/views/qrcode_generator/qrcode_generator_bubble_unittest.cc chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc @@ -1576,10 +1597,12 @@ chrome/browser/ui/views/sharing/sharing_dialog_view_unittest.cc chrome/browser/ui/views/sharing_hub/preview_view_unittest.cc chrome/browser/ui/views/sharing_hub/sharing_hub_bubble_view_impl_unittest.cc chrome/browser/ui/views/side_panel/lens/lens_unified_side_panel_view.cc +chrome/browser/ui/views/site_data/page_specific_site_data_dialog_unittest.cc chrome/browser/ui/views/sync/inline_login_ui_browsertest.cc chrome/browser/ui/views/tabs/tab_hover_card_controller_interactive_uitest.cc chrome/browser/ui/views/translate/translate_bubble_view_interactive_uitest.cc chrome/browser/ui/views/user_education/browser_feature_promo_controller.cc +chrome/browser/ui/views/web_apps/force_installed_preinstalled_deprecated_app_dialog_view.cc chrome/browser/ui/views/web_apps/frame_toolbar/web_app_frame_toolbar_browsertest.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 @@ -1673,6 +1696,7 @@ chrome/browser/web_applications/extensions/bookmark_app_util_unittest.cc chrome/browser/web_applications/externally_installed_web_app_prefs.cc chrome/browser/web_applications/externally_managed_app_manager.cc chrome/browser/web_applications/externally_managed_app_manager_unittest.cc +chrome/browser/web_applications/isolated_web_apps/policy/isolated_web_app_policy_manager.cc chrome/browser/web_applications/os_integration/web_app_handler_registration_utils_win.cc 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 @@ -1945,6 +1969,7 @@ chrome/test/chromedriver/window_commands.cc chrome/test/chromedriver/window_commands_unittest.cc chrome/test/enterprise/e2e/connector/common/realtime_reporting_ui_test.py chrome/test/enterprise/e2e/connector/realtime_reporting_bce/reporting_server.py +chrome/test/enterprise/e2e/connector/reporting_connector_chronicle/chronicle_api_service.py chrome/test/enterprise/e2e/policy/allow_deleting_browser_history/allow_deleting_browser_history.py chrome/test/enterprise/e2e/policy/allow_deleting_browser_history/allow_deleting_browser_history_webdriver_test.py chrome/test/enterprise/e2e/policy/apps_shortcut/apps_shortcut.py @@ -1994,12 +2019,13 @@ chrome/updater/mac/setup/ks_tickets_unittest.mm chrome/updater/test/service/win/ui.py chrome/updater/tools/PRESUBMIT.py chrome/updater/tools/certificate_tag.cc -chrome/updater/util_unittest.cc -chrome/updater/util_win_unittest.cc +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/protocol_parser_xml_unittest.cc chrome/updater/win/signing/PRESUBMIT.py chrome/updater/win/task_scheduler.cc -chrome/updater/win/win_util.cc chrome/utility/importer/bookmark_html_reader.h chrome/utility/importer/bookmark_html_reader_unittest.cc chrome/utility/importer/bookmarks_file_importer_unittest.cc @@ -2028,7 +2054,6 @@ chromecast/public/output_restrictions.h chromeos/BUILD.gn chromeos/ash/components/attestation/attestation_flow_adaptive_unittest.cc chromeos/ash/components/attestation/attestation_flow_integrated_unittest.cc -chromeos/ash/components/cros_elements/button/button.ts chromeos/ash/components/cryptohome/userdataauth_util.cc chromeos/ash/components/dbus/arc/arc_obb_mounter_client.h chromeos/ash/components/dbus/biod/fake_biod_client_unittest.cc @@ -2051,6 +2076,8 @@ chromeos/ash/components/network/network_cert_loader.cc chromeos/ash/components/network/network_util.h chromeos/ash/components/network/profile_policies.h chromeos/ash/components/network/system_token_cert_db_storage.h +chromeos/ash/components/phonehub/notification.h +chromeos/ash/components/phonehub/url_constants.cc chromeos/ash/components/proximity_auth/proximity_auth_local_state_pref_manager_unittest.cc chromeos/ash/components/proximity_auth/proximity_auth_system_unittest.cc chromeos/ash/components/proximity_auth/proximity_monitor_impl_unittest.cc @@ -2154,39 +2181,6 @@ components/autofill/core/browser/ui/label_formatter_utils_unittest.cc components/autofill/core/browser/ui/mobile_label_formatter_unittest.cc components/autofill/core/browser/webdata/autofill_profile_sync_bridge.h components/autofill/core/browser/webdata/autofill_wallet_usage_data_sync_bridge_unittest.cc -components/autofill_assistant/android/internal/java/strings/android_chrome_autofill_assistant_strings.grd -components/autofill_assistant/browser/actions/collect_user_data_action_unittest.cc -components/autofill_assistant/browser/actions/show_details_action_unittest.cc -components/autofill_assistant/browser/actions/use_address_action_unittest.cc -components/autofill_assistant/browser/autofill_assistant_onboarding_fetcher.cc -components/autofill_assistant/browser/autofill_assistant_onboarding_fetcher_unittest.cc -components/autofill_assistant/browser/basic_interactions_unittest.cc -components/autofill_assistant/browser/client_context_unittest.cc -components/autofill_assistant/browser/controller_unittest.cc -components/autofill_assistant/browser/details_unittest.cc -components/autofill_assistant/browser/devtools/devtools_api/client_api_generator.py -components/autofill_assistant/browser/devtools/devtools_client.cc -components/autofill_assistant/browser/devtools/devtools_client.h -components/autofill_assistant/browser/devtools/error_reporter.cc -components/autofill_assistant/browser/devtools/error_reporter.h -components/autofill_assistant/browser/devtools/message_dispatcher.h -components/autofill_assistant/browser/devtools/value_conversions.h -components/autofill_assistant/browser/field_formatter_unittest.cc -components/autofill_assistant/browser/headless/client_headless.cc -components/autofill_assistant/browser/metrics.h -components/autofill_assistant/browser/script_parameters_unittest.cc -components/autofill_assistant/browser/service/cup_impl.h -components/autofill_assistant/browser/service/server_url_fetcher.cc -components/autofill_assistant/browser/service/server_url_fetcher_unittest.cc -components/autofill_assistant/browser/starter_heuristic_configs/launched_configs.cc -components/autofill_assistant/browser/starter_heuristic_unittest.cc -components/autofill_assistant/browser/starter_unittest.cc -components/autofill_assistant/browser/trigger_scripts/trigger_script_coordinator_unittest.cc -components/autofill_assistant/browser/ui_controller_unittest.cc -components/autofill_assistant/browser/user_data_util_unittest.cc -components/autofill_assistant/browser/user_model_unittest.cc -components/autofill_assistant/browser/web/keyboard_input_data.h -components/autofill_assistant_strings.grdp components/autofill_payments_strings.grdp components/blocked_content/safe_browsing_triggered_popup_blocker.h components/bookmark_bar_strings.grdp @@ -2252,7 +2246,7 @@ components/crash/content/app/breakpad_win.cc components/crash/content/app/hard_error_handler_win.cc components/crash/core/app/crash_export_thunks.h components/crash/core/app/crash_reporter_client.cc -components/crash/core/browser/resources/crashes.js +components/crash/core/browser/resources/crashes.ts components/crash/core/common/crash_key.h components/cronet/PRESUBMIT.py components/cronet/android/test/javaperftests/AndroidManifest.xml @@ -2328,7 +2322,6 @@ components/gcm_driver/gcm_account_mapper.cc components/gcm_driver/gcm_account_mapper_unittest.cc components/gcm_driver/gcm_client_impl.cc components/gcm_driver/gcm_client_impl_unittest.cc -components/global_media_controls/public/media_session_notification_item.cc components/google/core/common/google_util.cc components/google/core/common/google_util_unittest.cc components/history/core/browser/browsing_history_service.cc @@ -2373,7 +2366,6 @@ components/history_clusters/core/history_clusters_util_unittest.cc components/history_clusters/core/on_device_clustering_backend_unittest.cc 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_domain_cluster_finalizer_unittest.cc components/history_clusters/core/single_visit_cluster_finalizer_unittest.cc components/history_clusters_strings.grdp components/history_strings.grdp @@ -2500,6 +2492,7 @@ components/omnibox_pedal_ui_strings.grdp components/omnibox_strings.grdp components/optimization_guide/content/browser/page_content_annotations_model_manager.cc components/optimization_guide/content/browser/page_content_annotations_model_manager_unittest.cc +components/optimization_guide/content/browser/page_content_annotations_web_contents_observer_unittest.cc components/optimization_guide/core/entity_metadata.cc components/optimization_guide/core/entity_metadata.h components/optimization_guide/core/hints_component_util_unittest.cc @@ -2510,8 +2503,8 @@ components/optimization_guide/core/optimization_guide_constants.cc components/optimization_guide/core/optimization_guide_util.h components/optimization_guide/core/optimization_guide_util_unittest.cc components/optimization_guide/core/optimization_metadata_unittest.cc -components/optimization_guide/core/page_entities_model_executor_impl.cc -components/optimization_guide/core/page_topics_model_executor_unittest.cc +components/optimization_guide/core/page_entities_model_handler_impl.cc +components/optimization_guide/core/page_topics_model_handler_unittest.cc components/optimization_guide/core/prediction_manager.cc components/optimization_guide/core/prediction_manager_unittest.cc components/optimization_guide/core/tflite_model_executor_unittest.cc @@ -2546,7 +2539,10 @@ components/paint_preview/player/player_compositor_delegate_unittest.cc components/paint_preview/renderer/paint_preview_recorder_browsertest.cc components/paint_preview/renderer/paint_preview_recorder_utils_unittest.cc components/password_manager/content/browser/content_password_manager_driver_unittest.cc -components/password_manager/core/browser/android_affiliation/affiliation_utils.h +components/password_manager/core/browser/affiliation/affiliation_utils.h +components/password_manager/core/browser/affiliation/asset_link_data_unittest.cc +components/password_manager/core/browser/affiliation/hash_affiliation_fetcher.cc +components/password_manager/core/browser/affiliation/hash_affiliation_fetcher_unittest.cc components/password_manager/core/browser/built_in_backend_to_android_backend_migrator_unittest.cc components/password_manager/core/browser/credential_manager_impl_unittest.cc components/password_manager/core/browser/credential_manager_logger_unittest.cc @@ -2601,8 +2597,6 @@ components/password_manager/core/browser/password_reuse_detector.cc components/password_manager/core/browser/password_reuse_detector_unittest.cc components/password_manager/core/browser/password_reuse_manager_impl_unittest.cc components/password_manager/core/browser/password_save_manager_impl_unittest.cc -components/password_manager/core/browser/password_scripts_fetcher_impl.cc -components/password_manager/core/browser/password_scripts_fetcher_impl_unittest.cc components/password_manager/core/browser/password_store_backend_migration_decorator_unittest.cc components/password_manager/core/browser/password_store_unittest.cc components/password_manager/core/browser/password_sync_util.cc @@ -2612,14 +2606,13 @@ components/password_manager/core/browser/password_ui_utils.cc components/password_manager/core/browser/password_ui_utils_unittest.cc components/password_manager/core/browser/psl_matching_helper.cc components/password_manager/core/browser/psl_matching_helper_unittest.cc -components/password_manager/core/browser/site_affiliation/asset_link_data_unittest.cc -components/password_manager/core/browser/site_affiliation/hash_affiliation_fetcher.cc -components/password_manager/core/browser/site_affiliation/hash_affiliation_fetcher_unittest.cc components/password_manager/core/browser/statistics_table_unittest.cc components/password_manager/core/browser/store_metrics_reporter_unittest.cc components/password_manager/core/browser/sync/password_sync_bridge.h components/password_manager/core/browser/sync_credentials_filter_unittest.cc components/password_manager/core/browser/sync_username_test_base.cc +components/password_manager/core/browser/ui/credential_ui_entry.cc +components/password_manager/core/browser/ui/credential_ui_entry_unittest.cc components/password_manager/core/browser/ui/password_grouping_util.h components/password_manager/core/browser/ui/password_grouping_util_unittest.cc components/password_manager/core/browser/ui/password_undo_helper_unittest.cc @@ -2782,6 +2775,8 @@ components/resources/terms/terms_vi.html components/resources/terms/terms_zh-CN.html components/resources/terms/terms_zh-TW.html 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/base_ui_manager.cc components/safe_browsing/content/browser/client_side_detection_service.cc components/safe_browsing/content/browser/password_protection/password_protection_service_unittest.cc @@ -2810,6 +2805,9 @@ components/safe_search_api/safe_search/safe_search_url_checker_client_unittest.c components/safe_search_api/stub_url_checker.cc components/safety_check/update_check_helper.h components/safety_check/url_constants.cc +components/saved_tab_groups/saved_tab_group_model_unittest.cc +components/saved_tab_groups/saved_tab_group_sync_bridge_unittest.cc +components/search_engines/PRESUBMIT.py components/search_engines/default_search_policy_handler_unittest.cc components/search_engines/keyword_table_unittest.cc components/search_engines/template_url.cc @@ -2839,13 +2837,11 @@ components/segmentation_platform/internal/execution/optimization_guide/segmentat components/segmentation_platform/internal/proto/PRESUBMIT.py components/send_tab_to_self/send_tab_to_self_bridge_unittest.cc components/send_tab_to_self/target_device_info_unittest.cc -components/services/app_service/public/cpp/app_capability_access_cache_mojom_unittest.cc components/services/app_service/public/cpp/app_capability_access_cache_unittest.cc components/services/app_service/public/cpp/app_capability_access_cache_wrapper_unittest.cc components/services/app_service/public/cpp/app_registry_cache_unittest.cc components/services/app_service/public/cpp/app_registry_cache_wrapper_unittest.cc components/services/app_service/public/cpp/app_update_unittest.cc -components/services/app_service/public/cpp/capability_access_update_mojom_unittest.cc components/services/app_service/public/cpp/capability_access_update_unittest.cc components/services/app_service/public/cpp/intent.h components/services/app_service/public/cpp/intent_filter.h @@ -2864,6 +2860,7 @@ components/services/quarantine/quarantine_win.cc components/services/storage/partition_impl_unittest.cc components/services/storage/public/mojom/buckets/bucket_locator_mojom_traits_unittest.cc components/services/storage/shared_storage/async_shared_storage_database_impl_unittest.cc +components/services/storage/shared_storage/shared_storage_database_migrations_unittest.cc components/services/storage/shared_storage/shared_storage_database_unittest.cc components/services/storage/shared_storage/shared_storage_manager_unittest.cc components/shared_highlighting/core/common/disabled_sites.cc @@ -3006,7 +3003,6 @@ components/wifi/wifi_service_win.cc components/zucchini/disassembler_dex.cc components/zucchini/disassembler_dex.h components/zucchini/type_dex.h -content/app/android/content_child_process_service_delegate.cc content/app/content_main_runner_impl.cc content/app_shim_remote_cocoa/render_widget_host_view_cocoa.mm content/browser/accessibility/accessibility_action_browsertest.cc @@ -3015,6 +3011,7 @@ content/browser/accessibility/browser_accessibility.h content/browser/accessibility/browser_accessibility_fuchsia.h content/browser/accessibility/browser_accessibility_manager.cc content/browser/accessibility/browser_accessibility_manager.h +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/content_url_loader_factory.cc @@ -3035,6 +3032,7 @@ content/browser/browsing_data/browsing_data_filter_builder_impl.cc content/browser/browsing_data/browsing_data_filter_builder_impl_unittest.cc content/browser/browsing_data/same_site_data_remover_impl_browsertest.cc content/browser/browsing_data/same_site_data_remover_impl_unittest.cc +content/browser/browsing_topics/browsing_topics_url_loader_service_unittest.cc content/browser/buckets/bucket_manager_host_unittest.cc content/browser/cache_storage/cache_storage_context_unittest.cc content/browser/child_process_security_policy_unittest.cc @@ -3078,16 +3076,15 @@ content/browser/notification_service_impl.cc content/browser/notifications/notification_database_unittest.cc content/browser/payments/payment_manager_unittest.cc content/browser/permissions/permission_controller_impl_unittest.cc +content/browser/permissions/permission_service_context_unittest.cc content/browser/plugin_service_impl_browsertest.cc content/browser/portal/portal_navigation_throttle.cc content/browser/private_aggregation/PRESUBMIT.py content/browser/process_lock.h content/browser/push_messaging/push_messaging_manager.cc content/browser/renderer_host/clipboard_host_impl_unittest.cc -content/browser/renderer_host/compositor_impl_android.cc content/browser/renderer_host/dwrite_font_lookup_table_builder_win.cc content/browser/renderer_host/dwrite_font_proxy_impl_win.cc -content/browser/renderer_host/frame_tree_node.cc content/browser/renderer_host/frame_tree_unittest.cc content/browser/renderer_host/input/touch_action_filter.h content/browser/renderer_host/legacy_render_widget_host_win.cc @@ -3254,6 +3251,7 @@ device/bluetooth/bluetooth_task_manager_win.cc device/bluetooth/dbus/bluetooth_device_client.h device/bluetooth/floss/bluetooth_adapter_floss.cc device/bluetooth/floss/bluetooth_device_floss.h +device/bluetooth/floss/floss_lescan_client.h device/fido/aoa/android_accessory_discovery.cc device/fido/aoa/android_accessory_discovery.h device/fido/attestation_statement_formats.cc @@ -3339,6 +3337,7 @@ extensions/common/event_matcher.h extensions/common/extension.cc extensions/common/extension.h extensions/common/extension_builder_unittest.cc +extensions/common/extension_features.cc extensions/common/extension_l10n_util_unittest.cc extensions/common/extension_set_unittest.cc extensions/common/extension_urls.cc @@ -3347,6 +3346,7 @@ extensions/common/file_util_unittest.cc extensions/common/manifest_constants.cc extensions/common/manifest_handlers/content_capabilities_manifest_unittest.cc extensions/common/manifest_handlers/content_scripts_handler.cc +extensions/common/manifest_handlers/csp_info_unittest.cc extensions/common/manifest_handlers/externally_connectable_unittest.cc extensions/common/manifest_handlers/oauth2_manifest_unittest.cc extensions/common/manifest_handlers/replacement_apps_unittest.cc @@ -3442,11 +3442,13 @@ gpu/command_buffer/service/shader_translator_unittest.cc gpu/command_buffer/service/shared_image/d3d_image_representation.h gpu/command_buffer/service/shared_image/dcomp_image_backing_factory.cc gpu/command_buffer/service/shared_image/dcomp_surface_image_backing.cc +gpu/command_buffer/service/shared_image/dxgi_swap_chain_image_representation.cc gpu/command_buffer/service/shared_image/external_vk_image_dawn_representation.h gpu/command_buffer/service/shared_image/iosurface_image_backing_factory.mm gpu/command_buffer/service/shared_image/ozone_image_backing_factory.cc gpu/command_buffer/service/shared_image/video_image_reader_image_backing.cc gpu/command_buffer/service/surface_texture_gl_owner.cc +gpu/command_buffer/tests/gl_oes_egl_image_unittest.cc gpu/config/PRESUBMIT.py gpu/config/gpu_control_list_format.txt gpu/config/gpu_info_collector_win.cc @@ -3460,43 +3462,26 @@ headless/test/data/structured_doc.html headless/test/dom_tree_extraction_expected_nodes.txt headless/test/headless_compositor_browsertest.cc infra/config/PRESUBMIT.py +infra/config/generated/builders/try/android-12-x64-rel-compilator/properties.json +infra/config/generated/builders/try/android-arm64-rel-compilator/properties.json infra/config/generated/builders/try/android-nougat-x86-rel-compilator/properties.json -infra/config/generated/builders/try/android-pie-arm64-dbg/properties.json -infra/config/generated/builders/try/android-pie-arm64-rel-compilator/properties.json infra/config/generated/builders/try/android-x64-cast/properties.json -infra/config/generated/builders/try/chromeos-amd64-generic-dbg/properties.json infra/config/generated/builders/try/chromeos-amd64-generic-lacros-dbg/properties.json -infra/config/generated/builders/try/chromeos-amd64-generic-rel-compilator/properties.json -infra/config/generated/builders/try/chromeos-arm-generic-rel/properties.json -infra/config/generated/builders/try/chromeos-arm64-generic-rel/properties.json infra/config/generated/builders/try/chromeos-jacuzzi-rel/properties.json infra/config/generated/builders/try/chromeos-octopus-rel/properties.json infra/config/generated/builders/try/dawn-android-arm-deps-rel/properties.json infra/config/generated/builders/try/dawn-mac-x64-deps-rel/properties.json -infra/config/generated/builders/try/dawn-win10-x64-deps-rel/properties.json -infra/config/generated/builders/try/dawn-win10-x86-deps-rel/properties.json -infra/config/generated/builders/try/fuchsia-arm64-cast-receiver-rel/properties.json -infra/config/generated/builders/try/fuchsia-arm64-rel/properties.json -infra/config/generated/builders/try/fuchsia-official/properties.json -infra/config/generated/builders/try/fuchsia-x64-cast-receiver-rel-compilator/properties.json -infra/config/generated/builders/try/fuchsia-x64-cast-receiver-rel/properties.json +infra/config/generated/builders/try/fuchsia-arm64-rel-compilator/properties.json infra/config/generated/builders/try/fuchsia-x64-rel/properties.json infra/config/generated/builders/try/ios-simulator-compilator/properties.json infra/config/generated/builders/try/ios-simulator-cronet/properties.json infra/config/generated/builders/try/ios-simulator-full-configs/properties.json infra/config/generated/builders/try/lacros-amd64-generic-rel-compilator/properties.json infra/config/generated/builders/try/lacros-amd64-generic-rel-skylab-fyi/properties.json -infra/config/generated/builders/try/lacros-amd64-generic-rel/properties.json -infra/config/generated/builders/try/lacros-arm-generic-rel/properties.json infra/config/generated/builders/try/lacros-arm64-generic-rel/properties.json infra/config/generated/builders/try/linux-blink-rel/properties.json -infra/config/generated/builders/try/linux-chromeos-compile-dbg/properties.json -infra/config/generated/builders/try/linux-chromeos-dbg/properties.json -infra/config/generated/builders/try/linux-chromeos-rel-compilator/properties.json -infra/config/generated/builders/try/linux-lacros-rel-compilator/properties.json infra/config/generated/builders/try/linux-rel-compilator/properties.json infra/config/generated/builders/try/linux-wayland-rel-compilator/properties.json -infra/config/generated/builders/try/linux-wayland-rel/properties.json infra/config/generated/builders/try/linux-x64-castos-dbg/properties.json infra/config/generated/builders/try/linux-x64-castos/properties.json infra/config/generated/builders/try/linux_chromium_asan_rel_ng-compilator/properties.json @@ -3515,15 +3500,7 @@ infra/config/generated/builders/try/mac12.0-blink-rel/properties.json infra/config/generated/builders/try/mac12.0.arm64-blink-rel/properties.json infra/config/generated/builders/try/mac_chromium_compile_dbg_ng/properties.json infra/config/generated/builders/try/mac_optional_gpu_tests_rel/properties.json -infra/config/generated/builders/try/win-official/properties.json infra/config/generated/builders/try/win-rel-compilator/properties.json -infra/config/generated/builders/try/win10.20h2-blink-rel/properties.json -infra/config/generated/builders/try/win10_chromium_x64_rel_ng-compilator/properties.json -infra/config/generated/builders/try/win11-blink-rel/properties.json -infra/config/generated/builders/try/win32-official/properties.json -infra/config/generated/builders/try/win7-rel/properties.json -infra/config/generated/builders/try/win_chromium_compile_dbg_ng/properties.json -infra/config/generated/builders/try/win_optional_gpu_tests_rel/properties.json infra/config/scripts/PRESUBMIT.py ios/PRESUBMIT.py ios/build/bots/scripts/PRESUBMIT.py @@ -3574,8 +3551,10 @@ ios/chrome/browser/search_engines/search_engine_tab_helper.h ios/chrome/browser/search_engines/search_engine_tab_helper.mm ios/chrome/browser/signin/chrome_account_manager_service_unittest.mm ios/chrome/browser/signin/fake_system_identity.mm +ios/chrome/browser/signin/fake_system_identity_manager.mm ios/chrome/browser/signin/gaia_auth_fetcher_ios_unittest.mm ios/chrome/browser/signin/pattern_account_restriction_unittest.mm +ios/chrome/browser/signin/system_identity_manager.h ios/chrome/browser/signin/user_approved_account_list_manager_unittest.mm ios/chrome/browser/ssl/ios_ssl_error_handler_unittest.mm ios/chrome/browser/ui/activity_services/activities/copy_activity_unittest.mm @@ -3779,12 +3758,16 @@ media/gpu/v4l2/test/av1_decoder.cc media/gpu/v4l2/test/h264_decoder.cc media/gpu/v4l2/test/vp8_decoder.cc media/gpu/v4l2/test/vp9_decoder.cc +media/gpu/v4l2/v4l2_unittest.cc media/gpu/v4l2/v4l2_video_decoder_delegate_av1.cc media/gpu/vaapi/test/av1_decoder.cc media/gpu/vaapi/test/vp8_decoder.cc media/gpu/vaapi/test/vp9_decoder.cc media/gpu/vaapi/vaapi_image_decoder_test_common.h media/gpu/vaapi/vaapi_jpeg_decoder_unittest.cc +media/gpu/vaapi/vaapi_picture_native_pixmap_angle.cc +media/gpu/vaapi/vaapi_picture_native_pixmap_egl.cc +media/gpu/vaapi/vaapi_picture_native_pixmap_ozone.cc media/gpu/vaapi/vaapi_unittest.cc media/gpu/vaapi/vaapi_webp_decoder_unittest.cc media/gpu/windows/d3d11_video_decoder.cc @@ -4188,6 +4171,7 @@ net/dns/dns_config_service_posix_unittest.cc net/dns/dns_config_service_win.cc net/dns/dns_config_service_win.h net/dns/dns_config_service_win_unittest.cc +net/dns/dns_names_util_unittest.cc net/dns/dns_response_result_extractor_unittest.cc net/dns/dns_response_unittest.cc net/dns/dns_test_util.h @@ -4195,8 +4179,6 @@ net/dns/dns_transaction.cc net/dns/dns_transaction.h net/dns/dns_transaction_unittest.cc net/dns/dns_udp_tracker.h -net/dns/dns_util.h -net/dns/dns_util_unittest.cc net/dns/host_cache_unittest.cc net/dns/host_resolver_manager_unittest.cc net/dns/host_resolver_mdns_task.cc @@ -4245,6 +4227,7 @@ net/http/http_util.cc net/http/http_util_unittest.cc net/http/transport_security_state.cc net/http/transport_security_state.h +net/http/transport_security_state_static_pins.json net/http/transport_security_state_unittest.cc net/http/url_security_manager_win.cc net/http/webfonts_histogram.cc @@ -4643,13 +4626,15 @@ testing/unexpected_passes_common/result_output_unittest.py testing/variations/PRESUBMIT.py testing/variations/fieldtrial_testing_config.json third_party/Python-Markdown/markdown/extensions/smarty.py -third_party/Python-Markdown/markdown/pep562.py third_party/abseil-cpp/absl/abseil.podspec.gen.py third_party/abseil-cpp/absl/base/attributes.h third_party/abseil-cpp/absl/base/config.h third_party/abseil-cpp/absl/base/internal/direct_mmap.h third_party/abseil-cpp/absl/base/internal/sysinfo.cc third_party/abseil-cpp/absl/base/internal/sysinfo_test.cc +third_party/abseil-cpp/absl/crc/internal/cpu_detect.cc +third_party/abseil-cpp/absl/crc/internal/crc.cc +third_party/abseil-cpp/absl/crc/internal/non_temporal_arm_intrinsics.h third_party/abseil-cpp/absl/hash/internal/city.h third_party/abseil-cpp/absl/log/internal/globals.cc third_party/abseil-cpp/absl/random/internal/platform.h @@ -4698,14 +4683,6 @@ third_party/android_build_tools/lint/3pp/fetch.py third_party/android_build_tools/lint/3pp/install.py third_party/android_build_tools/manifest_merger/3pp/fetch.py third_party/android_build_tools/manifest_merger/3pp/install.py -third_party/android_crazy_linker/src/src/crazy_linker_ashmem.h -third_party/android_crazy_linker/src/src/crazy_linker_debug.h -third_party/android_crazy_linker/src/src/crazy_linker_library_list.cpp -third_party/android_crazy_linker/src/src/crazy_linker_rdebug.cpp -third_party/android_crazy_linker/src/src/crazy_linker_relr_relocations.h -third_party/android_crazy_linker/src/src/crazy_linker_shared_library.cpp -third_party/android_crazy_linker/src/src/crazy_linker_system_android.cpp -third_party/android_crazy_linker/src/src/crazy_linker_wrappers.cpp third_party/android_deps/libs/android_arch_core_common/3pp/fetch.py third_party/android_deps/libs/android_arch_core_runtime/3pp/fetch.py third_party/android_deps/libs/android_arch_lifecycle_common/3pp/fetch.py @@ -4745,8 +4722,6 @@ third_party/android_deps/libs/com_android_support_transition/3pp/fetch.py third_party/android_deps/libs/com_android_support_versionedparcelable/3pp/fetch.py third_party/android_deps/libs/com_android_support_viewpager/3pp/fetch.py third_party/android_deps/libs/com_android_tools_common/3pp/fetch.py -third_party/android_deps/libs/com_android_tools_desugar_jdk_libs/3pp/fetch.py -third_party/android_deps/libs/com_android_tools_desugar_jdk_libs_configuration/3pp/fetch.py third_party/android_deps/libs/com_android_tools_layoutlib_layoutlib_api/3pp/fetch.py third_party/android_deps/libs/com_android_tools_sdk_common/3pp/fetch.py third_party/android_deps/libs/com_google_android_apps_common_testing_accessibility_framework_accessibility_test_framework/3pp/fetch.py @@ -4878,7 +4853,6 @@ third_party/angle/src/common/android_util.cpp third_party/angle/src/common/linux/dma_buf_utils.h third_party/angle/src/common/mathutil.h third_party/angle/src/common/system_utils_posix.cpp -third_party/angle/src/common/third_party/smhasher/src/PMurHash.cpp third_party/angle/src/compiler/preprocessor/preprocessor_lex_autogen.cpp third_party/angle/src/compiler/translator/OutputHLSL.cpp third_party/angle/src/compiler/translator/TextureFunctionHLSL.cpp @@ -4897,6 +4871,7 @@ third_party/angle/src/libANGLE/renderer/d3d/ProgramD3D.cpp third_party/angle/src/libANGLE/renderer/d3d/d3d11/Buffer11.cpp third_party/angle/src/libANGLE/renderer/d3d/d3d11/Fence11.cpp third_party/angle/src/libANGLE/renderer/d3d/d3d11/Renderer11.cpp +third_party/angle/src/libANGLE/renderer/d3d/d3d11/Renderer11.h third_party/angle/src/libANGLE/renderer/d3d/d3d11/SwapChain11.cpp third_party/angle/src/libANGLE/renderer/d3d/d3d11/formatutils11.cpp third_party/angle/src/libANGLE/renderer/d3d/d3d11/renderer11_utils.cpp @@ -5074,7 +5049,6 @@ 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/frame_policy.h third_party/blink/public/common/frame/fullscreen_request_token.h third_party/blink/public/common/frame/payment_request_token.h third_party/blink/public/common/frame/user_activation_state.h @@ -5091,6 +5065,7 @@ third_party/blink/public/platform/web_url_response.h third_party/blink/public/strings/blink_strings.grd third_party/blink/public/web/web_node.h third_party/blink/renderer/bindings/PRESUBMIT.py +third_party/blink/renderer/bindings/core/v8/generated_code_helper.cc third_party/blink/renderer/bindings/core/v8/script_regexp.cc third_party/blink/renderer/bindings/core/v8/window_proxy.cc third_party/blink/renderer/bindings/core/v8/window_proxy.h @@ -5152,7 +5127,6 @@ third_party/blink/renderer/core/dom/events/registered_event_listener.cc third_party/blink/renderer/core/dom/events/registered_event_listener.h third_party/blink/renderer/core/dom/first_letter_pseudo_element.cc third_party/blink/renderer/core/dom/first_letter_pseudo_element.h -third_party/blink/renderer/core/dom/iterator.idl third_party/blink/renderer/core/dom/named_node_map.idl third_party/blink/renderer/core/dom/node.idl third_party/blink/renderer/core/dom/node_computed_style.h @@ -5263,7 +5237,6 @@ 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 -third_party/blink/renderer/core/html/html_frame_owner_element.cc third_party/blink/renderer/core/html/html_frame_set_element.idl third_party/blink/renderer/core/html/html_iframe_element.cc third_party/blink/renderer/core/html/html_iframe_element.idl @@ -5351,7 +5324,6 @@ third_party/blink/renderer/core/loader/resource/xsl_style_sheet_resource.cc third_party/blink/renderer/core/loader/resource/xsl_style_sheet_resource.h third_party/blink/renderer/core/loader/subresource_filter.cc third_party/blink/renderer/core/loader/web_bundle/script_web_bundle.cc -third_party/blink/renderer/core/page/frame_tree.h third_party/blink/renderer/core/page/print_context_test.cc third_party/blink/renderer/core/page/scrolling/element_fragment_anchor_test.cc third_party/blink/renderer/core/page/scrolling/scroll_state.idl @@ -5374,7 +5346,6 @@ third_party/blink/renderer/core/paint/theme_painter_default.h third_party/blink/renderer/core/paint/timing/first_meaningful_paint_detector.cc third_party/blink/renderer/core/paint/timing/first_meaningful_paint_detector.h third_party/blink/renderer/core/paint/timing/image_paint_timing_detector.h -third_party/blink/renderer/core/paint/timing/paint_timing_detector.h third_party/blink/renderer/core/permissions_policy/permissions_policy_parser.cc third_party/blink/renderer/core/script/detect_javascript_frameworks.cc third_party/blink/renderer/core/script/document_write_intervention.cc @@ -5382,6 +5353,7 @@ third_party/blink/renderer/core/script/document_write_intervention.h third_party/blink/renderer/core/scroll/scroll_alignment.cc third_party/blink/renderer/core/scroll/scroll_alignment.h third_party/blink/renderer/core/scroll/scrollbar_theme_fluent.h +third_party/blink/renderer/core/speculation_rules/document_speculation_rules.cc third_party/blink/renderer/core/streams/readable_stream_transferring_optimizer.h third_party/blink/renderer/core/streams/transferable_streams.cc third_party/blink/renderer/core/streams/writable_stream_transferring_optimizer.h @@ -5481,7 +5453,6 @@ third_party/blink/renderer/modules/vibration/navigator_vibration.idl third_party/blink/renderer/modules/vibration/vibration_controller.cc third_party/blink/renderer/modules/webaudio/audio_context.cc third_party/blink/renderer/modules/webgl/webgl_unowned_texture.h -third_party/blink/renderer/modules/webgpu/gpu.cc third_party/blink/renderer/modules/webgpu/gpu_external_texture.cc third_party/blink/renderer/modules/webgpu/gpu_render_pipeline.cc third_party/blink/renderer/modules/webmidi/navigator_web_midi.cc @@ -5493,6 +5464,7 @@ third_party/blink/renderer/modules/xr/xr_system.cc third_party/blink/renderer/platform/PRESUBMIT.py third_party/blink/renderer/platform/animation/timing_function.h third_party/blink/renderer/platform/exported/web_crypto_algorithm.cc +third_party/blink/renderer/platform/exported/web_url_response.cc third_party/blink/renderer/platform/fonts/bitmap_glyphs_block_list.cc third_party/blink/renderer/platform/fonts/font_custom_platform_data.cc third_party/blink/renderer/platform/fonts/font_description.cc @@ -5642,7 +5614,6 @@ third_party/boringssl/src/tool/internal.h third_party/boringssl/src/util/bot/go/env.py third_party/boringssl/src/util/bot/update_clang.py third_party/breakpad/breakpad/default.xml -third_party/breakpad/breakpad/src/build/common.gypi third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer.cc third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer_unittest.cc third_party/breakpad/breakpad/src/client/linux/sender/google_crash_report_sender.cc @@ -5664,6 +5635,7 @@ third_party/breakpad/breakpad/src/common/linux/synth_elf_unittest.cc third_party/breakpad/breakpad/src/common/linux/tests/crash_generator.cc third_party/breakpad/breakpad/src/common/mac/super_fat_arch.h third_party/breakpad/breakpad/src/common/md5.h +third_party/breakpad/breakpad/src/common/module.h third_party/breakpad/breakpad/src/common/windows/pdb_source_line_writer.cc third_party/breakpad/breakpad/src/common/windows/pe_util.cc third_party/breakpad/breakpad/src/google_breakpad/common/minidump_exception_win32.h @@ -6941,6 +6913,7 @@ third_party/closure_compiler/externs/input_method_private.js third_party/closure_compiler/externs/language_settings_private.js third_party/closure_compiler/externs/login_state.js third_party/closure_compiler/externs/management.js +third_party/closure_compiler/externs/media_player_private.js third_party/closure_compiler/externs/metrics_private.js third_party/closure_compiler/externs/metrics_private_individual_apis.js third_party/closure_compiler/externs/mime_handler_private.js @@ -7614,6 +7587,7 @@ third_party/depot_tools/watchlists.py third_party/depot_tools/win32imports.py third_party/depot_tools/win_toolchain/get_toolchain_if_necessary.py third_party/devtools-frontend/src/PRESUBMIT.py +third_party/devtools-frontend/src/front_end/core/common/ColorConverter.ts third_party/devtools-frontend/src/front_end/core/i18n/locales/af.json third_party/devtools-frontend/src/front_end/core/i18n/locales/am.json third_party/devtools-frontend/src/front_end/core/i18n/locales/ar.json @@ -7630,7 +7604,6 @@ third_party/devtools-frontend/src/front_end/core/i18n/locales/da.json third_party/devtools-frontend/src/front_end/core/i18n/locales/de.json third_party/devtools-frontend/src/front_end/core/i18n/locales/el.json third_party/devtools-frontend/src/front_end/core/i18n/locales/en-GB.json -third_party/devtools-frontend/src/front_end/core/i18n/locales/en-US.json third_party/devtools-frontend/src/front_end/core/i18n/locales/es-419.json third_party/devtools-frontend/src/front_end/core/i18n/locales/es.json third_party/devtools-frontend/src/front_end/core/i18n/locales/et.json @@ -7701,6 +7674,7 @@ third_party/devtools-frontend/src/front_end/core/platform/string-utilities.ts third_party/devtools-frontend/src/front_end/core/sdk/CSSMetadata.ts third_party/devtools-frontend/src/front_end/core/sdk/Cookie.ts third_party/devtools-frontend/src/front_end/core/sdk/NetworkManager.ts +third_party/devtools-frontend/src/front_end/core/sdk/PrerenderingModel.ts third_party/devtools-frontend/src/front_end/entrypoint_template.html third_party/devtools-frontend/src/front_end/entrypoints/inspector_main/RenderingOptions.ts third_party/devtools-frontend/src/front_end/entrypoints/inspector_main/inspector_main-meta.ts @@ -7720,6 +7694,7 @@ third_party/devtools-frontend/src/front_end/models/issues_manager/NavigatorUserA third_party/devtools-frontend/src/front_end/models/issues_manager/SharedArrayBufferIssue.ts third_party/devtools-frontend/src/front_end/models/issues_manager/TrustedWebActivityIssue.ts third_party/devtools-frontend/src/front_end/models/timeline_model/TimelineModel.ts +third_party/devtools-frontend/src/front_end/models/trace/handlers/UserInteractionsHandler.ts third_party/devtools-frontend/src/front_end/panels/accessibility/AccessibilityNodeView.ts third_party/devtools-frontend/src/front_end/panels/accessibility/AccessibilityStrings.ts third_party/devtools-frontend/src/front_end/panels/application/AppManifestView.ts @@ -7821,18 +7796,7 @@ third_party/devtools-frontend/src/front_end/third_party/lighthouse/locales/zh-TW third_party/devtools-frontend/src/front_end/third_party/lighthouse/locales/zh.json third_party/devtools-frontend/src/front_end/third_party/lighthouse/report/bundle.d.ts third_party/devtools-frontend/src/front_end/third_party/lighthouse/report/bundle.js -third_party/devtools-frontend/src/front_end/third_party/lit-html/package/development/directives/async-append.d.ts -third_party/devtools-frontend/src/front_end/third_party/lit-html/package/development/directives/async-append.js -third_party/devtools-frontend/src/front_end/third_party/lit-html/package/development/directives/async-replace.d.ts -third_party/devtools-frontend/src/front_end/third_party/lit-html/package/development/directives/async-replace.js -third_party/devtools-frontend/src/front_end/third_party/lit-html/package/development/directives/style-map.js -third_party/devtools-frontend/src/front_end/third_party/lit-html/package/directives/async-append.d.ts -third_party/devtools-frontend/src/front_end/third_party/lit-html/package/directives/async-replace.d.ts -third_party/devtools-frontend/src/front_end/third_party/lit-html/package/lib/template.js -third_party/devtools-frontend/src/front_end/third_party/lit-html/package/src/directives/async-append.ts -third_party/devtools-frontend/src/front_end/third_party/lit-html/package/src/directives/async-replace.ts -third_party/devtools-frontend/src/front_end/third_party/lit-html/package/src/directives/style-map.ts -third_party/devtools-frontend/src/front_end/third_party/lit-html/package/src/lib/template.ts +third_party/devtools-frontend/src/front_end/third_party/lit/lib/lit.d.ts third_party/devtools-frontend/src/front_end/third_party/lodash-isequal/package/package.json third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.d.ts third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.d.ts @@ -7910,6 +7874,7 @@ third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/es third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/PuppeteerNode.js third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/types.d.ts third_party/devtools-frontend/src/front_end/third_party/wasmparser/package/package.json +third_party/devtools-frontend/src/front_end/ui/components/code_highlighter/CodeHighlighter.ts third_party/devtools-frontend/src/front_end/ui/components/docs/trust_tokens_view/basic.ts third_party/devtools-frontend/src/front_end/ui/components/markdown_view/MarkdownLinksMap.ts third_party/devtools-frontend/src/front_end/ui/legacy/RemoteDebuggingTerminatedScreen.ts @@ -7942,7 +7907,6 @@ third_party/devtools-frontend/src/node_modules/@sinonjs/commons/lib/class-name.j third_party/devtools-frontend/src/node_modules/@sinonjs/samsam/lib/create-set.js third_party/devtools-frontend/src/node_modules/@sinonjs/samsam/types/create-set.d.ts third_party/devtools-frontend/src/node_modules/@sinonjs/text-encoding/package.json -third_party/devtools-frontend/src/node_modules/@socket.io/base64-arraybuffer/package.json third_party/devtools-frontend/src/node_modules/@types/node/assert.d.ts third_party/devtools-frontend/src/node_modules/@types/node/buffer.d.ts third_party/devtools-frontend/src/node_modules/@types/node/console.d.ts @@ -7954,6 +7918,23 @@ third_party/devtools-frontend/src/node_modules/@types/node/https.d.ts third_party/devtools-frontend/src/node_modules/@types/node/querystring.d.ts third_party/devtools-frontend/src/node_modules/@types/node/tls.d.ts third_party/devtools-frontend/src/node_modules/@types/node/trace_events.d.ts +third_party/devtools-frontend/src/node_modules/@types/node/ts4.8/assert.d.ts +third_party/devtools-frontend/src/node_modules/@types/node/ts4.8/buffer.d.ts +third_party/devtools-frontend/src/node_modules/@types/node/ts4.8/console.d.ts +third_party/devtools-frontend/src/node_modules/@types/node/ts4.8/crypto.d.ts +third_party/devtools-frontend/src/node_modules/@types/node/ts4.8/fs.d.ts +third_party/devtools-frontend/src/node_modules/@types/node/ts4.8/fs/promises.d.ts +third_party/devtools-frontend/src/node_modules/@types/node/ts4.8/http.d.ts +third_party/devtools-frontend/src/node_modules/@types/node/ts4.8/https.d.ts +third_party/devtools-frontend/src/node_modules/@types/node/ts4.8/querystring.d.ts +third_party/devtools-frontend/src/node_modules/@types/node/ts4.8/tls.d.ts +third_party/devtools-frontend/src/node_modules/@types/node/ts4.8/trace_events.d.ts +third_party/devtools-frontend/src/node_modules/@types/node/ts4.8/url.d.ts +third_party/devtools-frontend/src/node_modules/@types/node/ts4.8/util.d.ts +third_party/devtools-frontend/src/node_modules/@types/node/ts4.8/v8.d.ts +third_party/devtools-frontend/src/node_modules/@types/node/ts4.8/vm.d.ts +third_party/devtools-frontend/src/node_modules/@types/node/ts4.8/wasi.d.ts +third_party/devtools-frontend/src/node_modules/@types/node/ts4.8/worker_threads.d.ts third_party/devtools-frontend/src/node_modules/@types/node/url.d.ts third_party/devtools-frontend/src/node_modules/@types/node/util.d.ts third_party/devtools-frontend/src/node_modules/@types/node/v8.d.ts @@ -8036,6 +8017,8 @@ third_party/devtools-frontend/src/node_modules/css-tree/data/patch.json third_party/devtools-frontend/src/node_modules/css-tree/dist/csstree.js third_party/devtools-frontend/src/node_modules/css-tree/lib/lexer/generic.js third_party/devtools-frontend/src/node_modules/css-tree/package.json +third_party/devtools-frontend/src/node_modules/cssnano-preset-default/package.json +third_party/devtools-frontend/src/node_modules/cssnano/package.json third_party/devtools-frontend/src/node_modules/csso/dist/csso.js third_party/devtools-frontend/src/node_modules/csso/lib/restructure/6-restructBlock.js third_party/devtools-frontend/src/node_modules/csso/package.json @@ -8182,7 +8165,6 @@ third_party/devtools-frontend/src/node_modules/has-flag/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/html-minifier/node_modules/clean-css/lib/options/compatibility.js third_party/devtools-frontend/src/node_modules/html-minifier/package.json third_party/devtools-frontend/src/node_modules/html-minifier/src/htmlminifier.js third_party/devtools-frontend/src/node_modules/html-minifier/src/htmlparser.js @@ -8240,8 +8222,10 @@ third_party/devtools-frontend/src/node_modules/license-checker/node_modules/debu third_party/devtools-frontend/src/node_modules/license-checker/package.json third_party/devtools-frontend/src/node_modules/locate-path/package.json third_party/devtools-frontend/src/node_modules/lodash.get/package.json +third_party/devtools-frontend/src/node_modules/lodash.memoize/package.json third_party/devtools-frontend/src/node_modules/lodash.merge/package.json third_party/devtools-frontend/src/node_modules/lodash.truncate/package.json +third_party/devtools-frontend/src/node_modules/lodash.uniq/package.json third_party/devtools-frontend/src/node_modules/lodash/_compareMultiple.js third_party/devtools-frontend/src/node_modules/lodash/_setData.js third_party/devtools-frontend/src/node_modules/lodash/lodash.js @@ -8275,7 +8259,6 @@ third_party/devtools-frontend/src/node_modules/meow/node_modules/type-fest/sourc third_party/devtools-frontend/src/node_modules/meow/node_modules/type-fest/source/entries.d.ts third_party/devtools-frontend/src/node_modules/meow/node_modules/type-fest/source/entry.d.ts third_party/devtools-frontend/src/node_modules/meow/package.json -third_party/devtools-frontend/src/node_modules/minify-html-literals/node_modules/clean-css/lib/options/compatibility.js third_party/devtools-frontend/src/node_modules/minify-html-literals/package.json third_party/devtools-frontend/src/node_modules/minimist-options/node_modules/is-plain-obj/package.json third_party/devtools-frontend/src/node_modules/minimist-options/package.json @@ -8297,6 +8280,9 @@ third_party/devtools-frontend/src/node_modules/node-releases/package.json third_party/devtools-frontend/src/node_modules/normalize-package-data/package.json third_party/devtools-frontend/src/node_modules/normalize-path/index.js third_party/devtools-frontend/src/node_modules/normalize-selector/package.json +third_party/devtools-frontend/src/node_modules/normalize-url/index.d.ts +third_party/devtools-frontend/src/node_modules/normalize-url/index.js +third_party/devtools-frontend/src/node_modules/normalize-url/package.json third_party/devtools-frontend/src/node_modules/object-assign/index.js third_party/devtools-frontend/src/node_modules/object-assign/package.json third_party/devtools-frontend/src/node_modules/object-keys/package.json @@ -8319,7 +8305,31 @@ third_party/devtools-frontend/src/node_modules/path-is-absolute/package.json third_party/devtools-frontend/src/node_modules/path-key/package.json third_party/devtools-frontend/src/node_modules/path-type/package.json third_party/devtools-frontend/src/node_modules/pend/package.json +third_party/devtools-frontend/src/node_modules/postcss-colormin/package.json +third_party/devtools-frontend/src/node_modules/postcss-colormin/src/index.js +third_party/devtools-frontend/src/node_modules/postcss-convert-values/package.json +third_party/devtools-frontend/src/node_modules/postcss-discard-comments/package.json +third_party/devtools-frontend/src/node_modules/postcss-discard-duplicates/package.json +third_party/devtools-frontend/src/node_modules/postcss-discard-empty/package.json +third_party/devtools-frontend/src/node_modules/postcss-discard-overridden/package.json +third_party/devtools-frontend/src/node_modules/postcss-merge-longhand/package.json +third_party/devtools-frontend/src/node_modules/postcss-merge-rules/package.json +third_party/devtools-frontend/src/node_modules/postcss-minify-gradients/package.json +third_party/devtools-frontend/src/node_modules/postcss-minify-selectors/package.json +third_party/devtools-frontend/src/node_modules/postcss-normalize-display-values/package.json +third_party/devtools-frontend/src/node_modules/postcss-normalize-positions/package.json +third_party/devtools-frontend/src/node_modules/postcss-normalize-repeat-style/package.json +third_party/devtools-frontend/src/node_modules/postcss-normalize-string/package.json +third_party/devtools-frontend/src/node_modules/postcss-normalize-timing-functions/package.json +third_party/devtools-frontend/src/node_modules/postcss-normalize-unicode/package.json +third_party/devtools-frontend/src/node_modules/postcss-normalize-url/package.json +third_party/devtools-frontend/src/node_modules/postcss-normalize-whitespace/package.json +third_party/devtools-frontend/src/node_modules/postcss-ordered-values/package.json +third_party/devtools-frontend/src/node_modules/postcss-reduce-initial/package.json +third_party/devtools-frontend/src/node_modules/postcss-reduce-transforms/package.json third_party/devtools-frontend/src/node_modules/postcss-selector-parser/package.json +third_party/devtools-frontend/src/node_modules/postcss-svgo/package.json +third_party/devtools-frontend/src/node_modules/postcss-unique-selectors/package.json third_party/devtools-frontend/src/node_modules/progress/package.json third_party/devtools-frontend/src/node_modules/pump/package.json third_party/devtools-frontend/src/node_modules/puppeteer/lib/cjs/puppeteer/common/Browser.d.ts @@ -8447,6 +8457,13 @@ third_party/devtools-frontend/src/node_modules/slice-ansi/node_modules/ansi-styl third_party/devtools-frontend/src/node_modules/slice-ansi/node_modules/color-convert/package.json third_party/devtools-frontend/src/node_modules/slice-ansi/node_modules/color-name/package.json third_party/devtools-frontend/src/node_modules/slide/package.json +third_party/devtools-frontend/src/node_modules/socket.io/client-dist/socket.io.js +third_party/devtools-frontend/src/node_modules/socket.io/dist/index.d.ts +third_party/devtools-frontend/src/node_modules/socket.io/dist/index.js +third_party/devtools-frontend/src/node_modules/socket.io/dist/namespace.d.ts +third_party/devtools-frontend/src/node_modules/socket.io/dist/namespace.js +third_party/devtools-frontend/src/node_modules/socket.io/dist/socket.d.ts +third_party/devtools-frontend/src/node_modules/socket.io/dist/socket.js third_party/devtools-frontend/src/node_modules/socket.io/package.json third_party/devtools-frontend/src/node_modules/source-map-js/lib/base64-vlq.js third_party/devtools-frontend/src/node_modules/source-map-js/lib/source-map-consumer.js @@ -8470,6 +8487,7 @@ third_party/devtools-frontend/src/node_modules/strip-ansi/package.json third_party/devtools-frontend/src/node_modules/strip-bom/package.json third_party/devtools-frontend/src/node_modules/strip-indent/package.json third_party/devtools-frontend/src/node_modules/strip-json-comments/package.json +third_party/devtools-frontend/src/node_modules/stylehacks/package.json third_party/devtools-frontend/src/node_modules/stylelint/lib/reference/keywordSets.js third_party/devtools-frontend/src/node_modules/stylelint/lib/rules/color-named/colordUtils.js third_party/devtools-frontend/src/node_modules/stylelint/lib/utils/isAutoprefixable.js @@ -8594,6 +8612,7 @@ third_party/devtools-frontend/src/scripts/deps/roll_to_chromium.py third_party/devtools-frontend/src/scripts/hosted_mode/server.js 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/lighthouse/navigation_test.ts third_party/devtools-frontend/src/test/e2e/lighthouse/snapshot_test.ts third_party/devtools-frontend/src/test/e2e/lighthouse/timespan_test.ts @@ -8601,10 +8620,15 @@ third_party/devtools-frontend/src/test/e2e/rendering/Rendering_test.ts third_party/devtools-frontend/src/test/e2e/resources/console/primitives.html third_party/devtools-frontend/src/test/e2e/resources/elements/inactive-css-page.html third_party/devtools-frontend/src/test/shared/resultsdb.ts +third_party/devtools-frontend/src/test/unittests/front_end/core/i18n/i18n_test.ts third_party/devtools-frontend/src/test/unittests/front_end/core/platform/StringUtilities_test.ts third_party/devtools-frontend/src/test/unittests/front_end/core/root/Runtime_test.ts third_party/devtools-frontend/src/test/unittests/front_end/core/sdk/CookieModel_test.ts third_party/devtools-frontend/src/test/unittests/front_end/models/bindings/BreakpointManager_test.ts +third_party/devtools-frontend/src/test/unittests/front_end/models/trace/ModelImpl_test.ts +third_party/devtools-frontend/src/test/unittests/front_end/models/trace/handlers/MetaHandler_test.ts +third_party/devtools-frontend/src/test/unittests/front_end/models/trace/handlers/NetworkRequestsHandler_test.ts +third_party/devtools-frontend/src/test/unittests/front_end/models/trace/helpers/Trace_test.ts third_party/devtools-frontend/src/test/unittests/front_end/panels/application/ReportingApiReportsView_test.ts third_party/devtools-frontend/src/test/unittests/front_end/panels/settings/components/SyncSection_test.ts third_party/devtools-frontend/src/test/unittests/front_end/panels/sources/components/BreakpointsView_test.ts @@ -9376,9 +9400,12 @@ third_party/expat/src/expat/CMakeLists.txt third_party/expat/src/expat/lib/expat_external.h third_party/expat/src/expat/lib/internal.h third_party/expat/src/expat/lib/xmlparse.c +third_party/expat/src/expat/lib/xmltok.c third_party/expat/src/expat/lib/xmltok_impl.c third_party/expat/src/expat/tests/runtests.c third_party/expat/src/expat/xmlwf/readfilemap.c +third_party/expat/src/expat/xmlwf/win32filemap.c +third_party/expat/src/expat/xmlwf/xmlwf.c third_party/farmhash/src/dev/builder.cc third_party/farmhash/src/dev/farmhash.h third_party/farmhash/src/src/farmhash.h @@ -9531,8 +9558,6 @@ third_party/ffmpeg/libavcodec/libxavs.c third_party/ffmpeg/libavcodec/libxavs2.c third_party/ffmpeg/libavcodec/lpc.c third_party/ffmpeg/libavcodec/lpc.h -third_party/ffmpeg/libavcodec/mdct15.c -third_party/ffmpeg/libavcodec/mdct15.h third_party/ffmpeg/libavcodec/mediacodec.h third_party/ffmpeg/libavcodec/mediacodec_sw_buffer.c third_party/ffmpeg/libavcodec/mediacodec_wrapper.h @@ -9593,7 +9618,6 @@ third_party/ffmpeg/libavcodec/wmavoice.c third_party/ffmpeg/libavcodec/wmavoice_data.h third_party/ffmpeg/libavcodec/x86/aacencdsp_init.c third_party/ffmpeg/libavcodec/x86/celt_pvq_init.c -third_party/ffmpeg/libavcodec/x86/mdct15_init.c third_party/ffmpeg/libavcodec/x86/mpegvideoenc_qns_template.c third_party/ffmpeg/libavcodec/x86/rv34dsp_init.c third_party/ffmpeg/libavcodec/x86/sbrdsp_init.c @@ -10346,6 +10370,7 @@ third_party/icu/source/data/translit/xh_xh_FONIPA.txt third_party/icu/source/data/translit/zu_zu_FONIPA.txt third_party/icu/source/data/unidata/changes.txt third_party/icu/source/i18n/unicode/numberformatter.h +third_party/icu/source/io/ufile.cpp third_party/icu/source/test/intltest/numberformattesttuple.h third_party/icu/source/test/intltest/strcase.cpp third_party/icu/source/test/intltest/uobjtest.cpp @@ -10470,9 +10495,6 @@ third_party/libevent/min_heap.h third_party/libgav1/src/src/utils/compiler_attributes.h third_party/libgav1/src/src/utils/cpu_test.cc third_party/libipp/BUILD.gn -third_party/libjxl/src/lib/jxl/butteraugli/butteraugli.cc -third_party/libjxl/src/lib/jxl/butteraugli/butteraugli.h -third_party/libjxl/src/tools/ssimulacra.txt third_party/liblouis/src/liblouis/metadata.c third_party/liblouis/src/python/louis/__init__.py.in third_party/liblouis/src/tests/check_metadata.c @@ -10892,11 +10914,6 @@ third_party/llvm/llvm/utils/gn/build/toolchain/compiler.gni third_party/llvm/llvm/utils/gn/get.py third_party/llvm/llvm/utils/gn/gn.py third_party/llvm/llvm/utils/lit/lit/TestRunner.py -third_party/llvm/llvm/utils/unittest/googletest/include/gtest/gtest_pred_impl.h -third_party/llvm/llvm/utils/unittest/googletest/include/gtest/internal/gtest-port.h -third_party/llvm/llvm/utils/unittest/googletest/include/gtest/internal/gtest-type-util.h -third_party/llvm/llvm/utils/unittest/googletest/src/gtest-death-test.cc -third_party/llvm/llvm/utils/unittest/googletest/src/gtest.cc third_party/llvm/mlir/utils/vscode/.vscode/launch.json third_party/llvm/openmp/CREDITS.txt third_party/llvm/openmp/runtime/src/kmp_i18n.cpp @@ -10914,6 +10931,11 @@ third_party/llvm/pstl/CREDITS.txt third_party/llvm/pstl/test/std/numerics/numeric.ops/scan.pass.cpp third_party/llvm/third-party/benchmark/setup.py third_party/llvm/third-party/benchmark/src/cycleclock.h +third_party/llvm/third-party/unittest/googletest/include/gtest/gtest_pred_impl.h +third_party/llvm/third-party/unittest/googletest/include/gtest/internal/gtest-port.h +third_party/llvm/third-party/unittest/googletest/include/gtest/internal/gtest-type-util.h +third_party/llvm/third-party/unittest/googletest/src/gtest-death-test.cc +third_party/llvm/third-party/unittest/googletest/src/gtest.cc third_party/lottie/lottie_worker.js third_party/mako/mako/test/templates/internationalization.html third_party/maldoca/src/maldoca/base/get_runfiles_dir.cc @@ -10930,6 +10952,7 @@ third_party/maldoca/src/maldoca/ole/vba.cc third_party/maldoca/src/maldoca/ole/vba_extract.cc third_party/maldoca/src/third_party/chromium/third_party/zlib/google/zip_reader.cc third_party/maldoca/src/third_party/chromium/third_party/zlib/google/zip_reader.h +third_party/material_color_utilities/src/typescript/package.json third_party/material_web_components/components-chromium/node_modules/@lit/reactive-element/decorators/event-options.d.ts third_party/material_web_components/components-chromium/node_modules/@lit/reactive-element/decorators/query-all.d.ts third_party/material_web_components/components-chromium/node_modules/@lit/reactive-element/decorators/query-assigned-elements.d.ts @@ -10948,11 +10971,6 @@ third_party/minigbm/src/common.mk third_party/minigbm/src/gbm.h third_party/minizip/src/CMakeLists.txt third_party/mocha/mocha.js -third_party/mozilla/NSPasteboard+Utils.h -third_party/mozilla/NSPasteboard+Utils.mm -third_party/mozilla/NSString+Utils.h -third_party/mozilla/NSString+Utils.mm -third_party/mozilla/NSURL+Utils.h third_party/mozilla/NSWorkspace+Utils.h third_party/nearby/src/connections/clients/ios/Public/NearbyConnections/GNCConnection.h third_party/nearby/src/embedded/common/source/nearby_event.h @@ -10972,7 +10990,6 @@ third_party/nearby/src/internal/platform/implementation/platform.h third_party/nearby/src/internal/platform/implementation/windows/ble_medium.cc third_party/nearby/src/internal/platform/implementation/windows/bluetooth_adapter.cc third_party/nearby/src/internal/platform/implementation/windows/bluetooth_adapter.h -third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_device.cc third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_device.h third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_medium.cc third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_medium.h @@ -11197,17 +11214,17 @@ third_party/openscreen/src/cast/common/certificate/boringssl_trust_store.cc third_party/openscreen/src/cast/common/certificate/proto/BUILD.gn third_party/openscreen/src/cast/common/channel/proto/BUILD.gn third_party/openscreen/src/cast/common/discovery/e2e_test/tests.cc +third_party/openscreen/src/cast/receiver/BUILD.gn third_party/openscreen/src/cast/sender/channel/cast_auth_util.cc third_party/openscreen/src/cast/standalone_e2e.py +third_party/openscreen/src/cast/standalone_receiver/avcodec_glue.h third_party/openscreen/src/cast/standalone_receiver/decoder.cc third_party/openscreen/src/cast/standalone_receiver/simple_remoting_receiver.h third_party/openscreen/src/cast/standalone_sender/connection_settings.h third_party/openscreen/src/cast/standalone_sender/ffmpeg_glue.h third_party/openscreen/src/cast/standalone_sender/receiver_chooser.cc third_party/openscreen/src/cast/standalone_sender/remoting_sender.h -third_party/openscreen/src/cast/standalone_sender/streaming_av1_encoder.cc third_party/openscreen/src/cast/standalone_sender/streaming_video_encoder.h -third_party/openscreen/src/cast/standalone_sender/streaming_vpx_encoder.cc third_party/openscreen/src/cast/streaming/capture_configs.h third_party/openscreen/src/cast/streaming/constants.h third_party/openscreen/src/cast/streaming/receiver_constraints.h @@ -11271,6 +11288,7 @@ third_party/ots/src/src/vdmx.cc third_party/ots/src/src/vhea.cc third_party/ots/src/src/vorg.cc third_party/pdfium/PRESUBMIT.py +third_party/pdfium/build_overrides/BUILDCONFIG.gn third_party/pdfium/core/fpdfapi/cmaps/fpdf_cmaps.cpp third_party/pdfium/core/fpdftext/cpdf_linkextract_unittest.cpp third_party/pdfium/core/fxcrt/fx_memory_pa.cpp @@ -11284,7 +11302,7 @@ third_party/pdfium/fpdfsdk/fpdf_text_embeddertest.cpp third_party/pdfium/fpdfsdk/fpdfxfa/cpdfxfa_context.cpp third_party/pdfium/public/PRESUBMIT.py third_party/pdfium/public/fpdf_doc.h -third_party/pdfium/skia/config/SkUserConfig.h +third_party/pdfium/skia/config/SkPdfiumUserConfig.h third_party/pdfium/testing/gtest/BUILD.gn third_party/pdfium/testing/tools/PRESUBMIT.py third_party/pdfium/testing/tools/safetynet_compare.py @@ -11351,7 +11369,6 @@ third_party/perfetto/src/profiling/memory/shared_ring_buffer.cc third_party/perfetto/src/profiling/memory/system_property.h third_party/perfetto/src/profiling/symbolizer/breakpad_parser.cc third_party/perfetto/src/profiling/symbolizer/breakpad_parser.h -third_party/perfetto/src/trace_processor/analysis/describe_slice.cc third_party/perfetto/src/trace_processor/forwarding_trace_parser.cc third_party/perfetto/src/trace_processor/importers/common/args_translation_table.cc third_party/perfetto/src/trace_processor/importers/fuchsia/fuchsia_trace_tokenizer.h @@ -12165,27 +12182,17 @@ third_party/qunit/src/qunit.js third_party/r8/3pp/fetch.py third_party/re2/src/re2/testing/re2_test.cc third_party/re2/src/util/pcre.h -third_party/rust/adler/v1/BUILD.gn third_party/rust/aho_corasick/v0_7/BUILD.gn third_party/rust/atty/v0_2/BUILD.gn third_party/rust/autocfg/v1/BUILD.gn -third_party/rust/autocxx/v0_23/BUILD.gn -third_party/rust/autocxx_bindgen/v0_62/BUILD.gn -third_party/rust/autocxx_engine/v0_23/BUILD.gn -third_party/rust/autocxx_gen/v0_23/BUILD.gn -third_party/rust/autocxx_macro/v0_23/BUILD.gn -third_party/rust/autocxx_parser/v0_23/BUILD.gn third_party/rust/bindgen/v0_60/BUILD.gn third_party/rust/camino/v1/BUILD.gn third_party/rust/cxx/v1/BUILD.gn -third_party/rust/cxx_gen/v0_7/BUILD.gn third_party/rust/cxxbridge_cmd/v1/BUILD.gn third_party/rust/cxxbridge_macro/v1/BUILD.gn third_party/rust/fastrand/v1/BUILD.gn third_party/rust/hashbrown/v0_11/BUILD.gn -third_party/rust/heck/v0_4/BUILD.gn third_party/rust/indexmap/v1/BUILD.gn -third_party/rust/indoc/v1/BUILD.gn third_party/rust/itoa/v0_4/BUILD.gn third_party/rust/itoa/v1/BUILD.gn third_party/rust/lazy_static/v1/BUILD.gn @@ -12193,12 +12200,8 @@ third_party/rust/link_cplusplus/v1/BUILD.gn third_party/rust/memchr/v2/BUILD.gn third_party/rust/memoffset/v0_6/BUILD.gn third_party/rust/minimal_lexical/v0_2/BUILD.gn -third_party/rust/miniz_oxide/v0_4/BUILD.gn -third_party/rust/moveit/v0_5/BUILD.gn third_party/rust/once_cell/v1/BUILD.gn -third_party/rust/pathdiff/v0_2/BUILD.gn third_party/rust/peeking_take_while/v0_1/BUILD.gn -third_party/rust/prettyplease/v0_1/BUILD.gn third_party/rust/proc_macro2/v1/BUILD.gn third_party/rust/quote/v1/BUILD.gn third_party/rust/remove_dir_all/v0_5/BUILD.gn @@ -12213,16 +12216,12 @@ third_party/rust/serde_derive/v1/BUILD.gn third_party/rust/serde_json/v1/BUILD.gn third_party/rust/serde_json_lenient/v0_1/BUILD.gn third_party/rust/shlex/v1/BUILD.gn -third_party/rust/strum_macros/v0_24/BUILD.gn third_party/rust/syn/v1/BUILD.gn third_party/rust/tempfile/v3/BUILD.gn third_party/rust/termcolor/v1/BUILD.gn -third_party/rust/thiserror/v1/BUILD.gn -third_party/rust/thiserror_impl/v1/BUILD.gn third_party/rust/unicode_ident/v1/BUILD.gn third_party/rust/unicode_linebreak/v0_1/BUILD.gn third_party/rust/unicode_width/v0_1/BUILD.gn -third_party/rust/unindent/v0_1/BUILD.gn third_party/rust/which/v4/BUILD.gn third_party/rust/winapi/v0_3/BUILD.gn third_party/rust/winapi_util/v0_1/BUILD.gn @@ -12360,8 +12359,6 @@ third_party/skia/resources/skottie/skottie-text-valign-bottom.json third_party/skia/resources/skottie/skottie-text-valign.json third_party/skia/resources/skottie/skottie_sample_webfont.json third_party/skia/resources/sksl/es2_conformance/import_conformance_tests.py -third_party/skia/samplecode/SamplePath.cpp -third_party/skia/samplecode/SampleStringArt.cpp third_party/skia/site/about/_index.html third_party/skia/specs/web-img-decode/proposed/impl/impl.js third_party/skia/src/codec/SkWebpCodec.cpp @@ -12383,6 +12380,7 @@ third_party/skia/src/gpu/ganesh/effects/GrDisableColorXP.cpp third_party/skia/src/gpu/ganesh/gl/GrGLCaps.cpp third_party/skia/src/gpu/ganesh/gl/GrGLCaps.h third_party/skia/src/gpu/ganesh/gl/GrGLGpu.cpp +third_party/skia/src/gpu/graphite/dawn/DawnCommandBuffer.cpp third_party/skia/src/gpu/graphite/render/AnalyticRRectRenderStep.cpp third_party/skia/src/gpu/tessellate/Tessellation.cpp third_party/skia/src/images/SkWebpEncoder.cpp @@ -12459,6 +12457,8 @@ third_party/skia/tools/skpbench/sheet.py third_party/skia/tools/skqp/src/skqp.cpp third_party/skia/tools/skqp/src/skqp_GpuTestProcs.cpp third_party/skia/tools/viewer/ClockSlide.cpp +third_party/skia/tools/viewer/PathSlide.cpp +third_party/skia/tools/viewer/StringArtSlide.cpp third_party/smhasher/src/PMurHash.c third_party/snappy/linux/snappy-stubs-public.h third_party/snappy/mac/snappy-stubs-public.h @@ -12469,6 +12469,8 @@ third_party/sqlite/src/amalgamation/sqlite3.c third_party/sqlite/src/amalgamation_dev/shell/shell.c third_party/sqlite/src/amalgamation_dev/sqlite3.c third_party/sqlite/src/ext/misc/zipfile.c +third_party/sqlite/src/ext/wasm/index-dist.html +third_party/sqlite/src/ext/wasm/index.html third_party/sqlite/src/src/date.c third_party/sqlite/src/src/main.c third_party/sqlite/src/src/os_unix.c @@ -12549,7 +12551,7 @@ third_party/text-fragments-polyfill/src/package.json third_party/text-fragments-polyfill/src/src/text-fragment-utils.js third_party/text-fragments-polyfill/src/test/unit/complicated-layout.html third_party/tflite/src/configure.py -third_party/tflite/src/tensorflow/compiler/xla/mlir_hlo/lib/Dialect/mhlo/transforms/chlo_legalize_to_hlo.cc +third_party/tflite/src/tensorflow/compiler/xla/mlir_hlo/mhlo/transforms/chlo_legalize_to_hlo/chlo_legalize_to_hlo.cc third_party/tflite/src/tensorflow/compiler/xla/service/gpu/ir_emitter_unnested.h third_party/tflite/src/tensorflow/compiler/xla/service/gpu/llvm_gpu_backend/gpu_backend_lib.cc third_party/tflite/src/tensorflow/compiler/xla/service/hlo_graph_dumper.cc @@ -12586,6 +12588,7 @@ third_party/tflite/src/tensorflow/lite/toco/logging/testdata/generated.html third_party/tflite/src/tensorflow/lite/toco/model.h third_party/tflite/src/tensorflow/lite/tools/benchmark/experimental/firebase/android/jni/benchmark_model_jni.cc third_party/tflite/src/tensorflow/lite/tutorials/dataset.py +third_party/tflite/src/tensorflow/python/distribute/coordinator/get_task_states_test.py third_party/tflite/src/tensorflow/python/distribute/failure_handling/failure_handling.py third_party/tflite/src/tensorflow/python/eager/profiler.py third_party/tflite/src/tensorflow/python/eager/remote_cluster_test.py @@ -12642,7 +12645,6 @@ third_party/vulkan-deps/spirv-headers/src/include/spirv/spir-v.xml third_party/vulkan-deps/spirv-tools/src/PRESUBMIT.py third_party/vulkan-deps/spirv-tools/src/tools/sva/package.json third_party/vulkan-deps/update-commit-message.py -third_party/vulkan-deps/vulkan-headers/src/cmake/Copyright_cmake.txt third_party/vulkan-deps/vulkan-loader/src/cmake/Copyright_cmake.txt third_party/vulkan-deps/vulkan-loader/src/loader/allocation.c third_party/vulkan-deps/vulkan-loader/src/loader/allocation.h @@ -12665,7 +12667,6 @@ third_party/vulkan-deps/vulkan-tools/src/icd/generated/vk_typemap_helper.h third_party/vulkan-deps/vulkan-tools/src/scripts/mock_icd_generator.py third_party/vulkan-deps/vulkan-tools/src/scripts/vulkan_tools_helper_file_generator.py third_party/vulkan-deps/vulkan-tools/src/windows-runtime-installer/VulkanRT-License.txt -third_party/vulkan-deps/vulkan-validation-layers/src/cmake/Copyright_cmake.txt third_party/vulkan-deps/vulkan-validation-layers/src/layers/base_node.cpp third_party/vulkan-deps/vulkan-validation-layers/src/layers/base_node.h third_party/vulkan-deps/vulkan-validation-layers/src/layers/buffer_state.cpp @@ -12716,7 +12717,6 @@ third_party/vulkan-deps/vulkan-validation-layers/src/layers/shader_instruction.c third_party/vulkan-deps/vulkan-validation-layers/src/layers/shader_instruction.h third_party/vulkan-deps/vulkan-validation-layers/src/layers/state_tracker.h third_party/vulkan-deps/vulkan-validation-layers/src/layers/vk_layer_data.h -third_party/vulkan-deps/vulkan-validation-layers/src/layers/vk_layer_utils.h third_party/vulkan-deps/vulkan-validation-layers/src/layers/xxhash.h third_party/vulkan-deps/vulkan-validation-layers/src/scripts/external_revision_generator.py third_party/vulkan-deps/vulkan-validation-layers/src/scripts/generate_spirv.py @@ -12729,6 +12729,7 @@ third_party/vulkan-deps/vulkan-validation-layers/src/scripts/thread_safety_gener third_party/vulkan-deps/vulkan-validation-layers/src/scripts/vk_validation_stats.py third_party/vulkan-deps/vulkan-validation-layers/src/tests/layer_validation_tests.cpp third_party/vulkan-deps/vulkan-validation-layers/src/tests/layer_validation_tests.h +third_party/vulkan-deps/vulkan-validation-layers/src/tests/positive/android_hardware_buffer.cpp third_party/vulkan-deps/vulkan-validation-layers/src/tests/positive/command.cpp third_party/vulkan-deps/vulkan-validation-layers/src/tests/positive/descriptors.cpp third_party/vulkan-deps/vulkan-validation-layers/src/tests/positive/dynamic_rendering.cpp @@ -12736,17 +12737,22 @@ third_party/vulkan-deps/vulkan-validation-layers/src/tests/positive/image_buffer third_party/vulkan-deps/vulkan-validation-layers/src/tests/positive/instance.cpp third_party/vulkan-deps/vulkan-validation-layers/src/tests/positive/other.cpp third_party/vulkan-deps/vulkan-validation-layers/src/tests/positive/pipeline.cpp +third_party/vulkan-deps/vulkan-validation-layers/src/tests/positive/ray_tracing.cpp +third_party/vulkan-deps/vulkan-validation-layers/src/tests/positive/ray_tracing_pipeline.cpp third_party/vulkan-deps/vulkan-validation-layers/src/tests/positive/render_pass.cpp third_party/vulkan-deps/vulkan-validation-layers/src/tests/positive/shaderval.cpp third_party/vulkan-deps/vulkan-validation-layers/src/tests/positive/sync.cpp third_party/vulkan-deps/vulkan-validation-layers/src/tests/positive/tooling.cpp third_party/vulkan-deps/vulkan-validation-layers/src/tests/test_common.h +third_party/vulkan-deps/vulkan-validation-layers/src/tests/vklayertests_android_hardware_buffer.cpp third_party/vulkan-deps/vulkan-validation-layers/src/tests/vklayertests_buffer_image_memory_sampler.cpp third_party/vulkan-deps/vulkan-validation-layers/src/tests/vklayertests_command.cpp third_party/vulkan-deps/vulkan-validation-layers/src/tests/vklayertests_descriptor_renderpass_framebuffer.cpp third_party/vulkan-deps/vulkan-validation-layers/src/tests/vklayertests_imageless_framebuffer.cpp third_party/vulkan-deps/vulkan-validation-layers/src/tests/vklayertests_others.cpp third_party/vulkan-deps/vulkan-validation-layers/src/tests/vklayertests_pipeline_shader.cpp +third_party/vulkan-deps/vulkan-validation-layers/src/tests/vklayertests_ray_tracing.cpp +third_party/vulkan-deps/vulkan-validation-layers/src/tests/vklayertests_ray_tracing_pipeline.cpp third_party/vulkan-deps/vulkan-validation-layers/src/tests/vklayertests_wsi.cpp third_party/vulkan-deps/vulkan-validation-layers/src/tests/vksyncvaltests.cpp third_party/vulkan-deps/vulkan-validation-layers/src/tests/vktestframework.cpp @@ -13316,6 +13322,7 @@ tools/accessibility/nvda/README.txt tools/android/android_studio/ChromiumInspections.xml tools/android/avd/3pp/fetch.py tools/android/checkstyle/chromium-style-5.0.xml +tools/android/checkstyle/unused-imports.xml tools/android/checkxmlstyle/PRESUBMIT.py tools/android/checkxmlstyle/checkxmlstyle.py tools/android/customtabs_benchmark/res/values/strings.xml @@ -13326,8 +13333,10 @@ tools/android/customtabs_benchmark/scripts/sample_config.json tools/android/dependency_analysis/PRESUBMIT.py tools/android/dependency_analysis/js/src/class_view.html tools/android/dependency_analysis/js/src/graph_view.js +tools/android/dependency_analysis/js/src/index.html tools/android/dependency_analysis/js/src/load_graph.js tools/android/dependency_analysis/js/src/package_view.html +tools/android/dependency_analysis/js/src/target_view.html tools/android/dependency_analysis/upload_html_viewer.py tools/android/generate_java_test/generate_java_test.py tools/android/memtrack_helper/memtrack_helper.c @@ -13342,6 +13351,9 @@ tools/binary_size/PRESUBMIT.py tools/binary_size/diagnose_bloat.py tools/binary_size/generate_milestone_reports.py tools/binary_size/libsupersize/console.py +tools/binary_size/libsupersize/dalvik_bytecode.py +tools/binary_size/libsupersize/dex_parser.py +tools/binary_size/libsupersize/stream_reader.py tools/binary_size/libsupersize/viewer/static/auth-consts.js tools/binary_size/libsupersize/viewer/static/index.html tools/binary_size/libsupersize/viewer/static/index.js @@ -13488,8 +13500,8 @@ tools/json_schema_compiler/preview.py tools/json_schema_compiler/test/tabs.json tools/json_schema_compiler/test/windows.json tools/json_to_struct/PRESUBMIT.py -tools/licenses.py -tools/licenses_test.py +tools/licenses/licenses.py +tools/licenses/licenses_test.py tools/linux/PRESUBMIT.py tools/mac/download_symbols.py tools/mac/power/scenarios.py @@ -13562,6 +13574,7 @@ tools/metrics/histograms/metadata/enterprise/histograms.xml tools/metrics/histograms/metadata/event/histograms.xml tools/metrics/histograms/metadata/extensions/histograms.xml tools/metrics/histograms/metadata/families/histograms.xml +tools/metrics/histograms/metadata/fastpair/histograms.xml tools/metrics/histograms/metadata/feature_engagement/histograms.xml tools/metrics/histograms/metadata/file/histograms.xml tools/metrics/histograms/metadata/fingerprint/histograms.xml @@ -13597,7 +13610,6 @@ tools/metrics/histograms/metadata/net/histograms.xml tools/metrics/histograms/metadata/network/histograms.xml tools/metrics/histograms/metadata/new_tab_page/histograms.xml tools/metrics/histograms/metadata/notifications/histograms.xml -tools/metrics/histograms/metadata/obsolete_histograms.xml tools/metrics/histograms/metadata/offline/histograms.xml tools/metrics/histograms/metadata/omnibox/histograms.xml tools/metrics/histograms/metadata/oobe/histograms.xml @@ -13643,6 +13655,7 @@ tools/metrics/histograms/metadata/signin/histograms.xml tools/metrics/histograms/metadata/simple/histograms.xml tools/metrics/histograms/metadata/software/histograms.xml tools/metrics/histograms/metadata/stability/histograms.xml +tools/metrics/histograms/metadata/start_surface/histograms.xml tools/metrics/histograms/metadata/startup/histograms.xml tools/metrics/histograms/metadata/storage/histograms.xml tools/metrics/histograms/metadata/subresource/histograms.xml @@ -13684,6 +13697,7 @@ tools/metrics/ukm/xml_validations_test.py tools/nocompile_driver.py tools/omahaproxy.py tools/perf/PRESUBMIT.py +tools/perf/benchmarks/ad_frames.py tools/perf/benchmarks/blink_perf.py tools/perf/benchmarks/desktop_ui.py tools/perf/benchmarks/dummy_benchmark.py @@ -13769,8 +13783,10 @@ tools/perf/core/test_data/test_timing_data_1_build.json tools/perf/download_proto_trace.py tools/perf/generate_legacy_perf_dashboard_json.py tools/perf/generate_perf_sharding.py +tools/perf/page_sets/ad_frames.py tools/perf/page_sets/alexa1-10000-urls.json tools/perf/page_sets/cros_ui_cases.py +tools/perf/page_sets/data/ad_frame.json tools/perf/page_sets/data/intl_ar_fa_he.json tools/perf/page_sets/data/intl_ja_zh.json tools/perf/page_sets/data/kraken.json @@ -13942,8 +13958,6 @@ tools/site_compare/scrapers/chrome/chromebase.py tools/site_compare/scrapers/firefox/firefox2.py tools/site_compare/scrapers/ie/ie7.py tools/site_compare/utils/browser_iterate.py -tools/spdx_writer_test.py -tools/style_variable_generator/PRESUBMIT.py tools/symsrc/source_index.py tools/traceline/svgui/traceline.js tools/tracing/PRESUBMIT.py @@ -14024,6 +14038,7 @@ ui/base/clipboard/clipboard_util_mac_unittest.mm ui/base/clipboard/clipboard_util_win.cc ui/base/clipboard/clipboard_win.cc ui/base/clipboard/clipboard_win.h +ui/base/clipboard/url_file_parser_unittest.cc ui/base/cocoa/constrained_window/constrained_window_animation.mm ui/base/cocoa/tool_tip_base_view.mm ui/base/cocoa/underlay_opengl_hosting_window.mm @@ -14071,6 +14086,7 @@ ui/file_manager/base/gn/PRESUBMIT.py ui/file_manager/file_manager/background/js/volume_manager_unittest.js ui/file_manager/file_manager/common/js/files_app_entry_types.js ui/file_manager/file_manager/common/js/mock_chrome.js +ui/file_manager/file_manager/common/js/trash.ts ui/file_manager/file_manager/common/js/util.js ui/file_manager/file_manager/externs/volume_info.js ui/file_manager/file_manager/foreground/elements/icons.html @@ -14098,6 +14114,7 @@ ui/gfx/render_text_unittest.cc ui/gfx/text_elider_unittest.cc ui/gfx/win/physical_size.cc ui/gfx/win/singleton_hwnd_hot_key_observer.cc +ui/gl/android/scoped_a_native_window.cc ui/gl/android/surface_texture.cc ui/gl/direct_composition_support.cc ui/gl/gl_display.cc 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 14383092..4b266d71 100644 --- a/patches/core/inox-patchset/0001-fix-building-without-safebrowsing.patch +++ b/patches/core/inox-patchset/0001-fix-building-without-safebrowsing.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/BUILD.gn +++ b/chrome/browser/BUILD.gn -@@ -2264,7 +2264,6 @@ static_library("browser") { +@@ -2251,7 +2251,6 @@ static_library("browser") { "//components/reputation/core:proto", "//components/resources", "//components/safe_browsing/content/browser", @@ -8,7 +8,7 @@ "//components/safe_browsing/content/browser:safe_browsing_service", "//components/safe_browsing/content/browser/password_protection", "//components/safe_browsing/content/browser/web_ui", -@@ -3701,8 +3700,6 @@ static_library("browser") { +@@ -3664,8 +3663,6 @@ static_library("browser") { "download/download_commands.h", "download/download_crx_util.cc", "download/download_crx_util.h", @@ -19,7 +19,7 @@ "download/download_dir_util.cc", --- a/chrome/browser/browser_process.h +++ b/chrome/browser/browser_process.h -@@ -54,10 +54,6 @@ class NetworkQualityTracker; +@@ -55,10 +55,6 @@ class NetworkQualityTracker; class SharedURLLoaderFactory; } @@ -30,7 +30,7 @@ namespace subresource_filter { class RulesetService; } -@@ -210,9 +206,6 @@ class BrowserProcess { +@@ -211,9 +207,6 @@ class BrowserProcess { // on this platform (or this is a unit test). virtual StatusTray* status_tray() = 0; @@ -42,7 +42,7 @@ virtual subresource_filter::RulesetService* --- a/chrome/browser/browser_process_impl.cc +++ b/chrome/browser/browser_process_impl.cc -@@ -72,7 +72,6 @@ +@@ -71,7 +71,6 @@ #include "chrome/browser/printing/print_preview_dialog_controller.h" #include "chrome/browser/profiles/profile_manager.h" #include "chrome/browser/resource_coordinator/resource_coordinator_parts.h" @@ -50,7 +50,7 @@ #include "chrome/browser/shell_integration.h" #include "chrome/browser/site_isolation/prefs_observer.h" #include "chrome/browser/ssl/secure_origin_prefs_observer.h" -@@ -408,8 +407,6 @@ void BrowserProcessImpl::StartTearDown() +@@ -419,8 +418,6 @@ void BrowserProcessImpl::StartTearDown() metrics_services_manager_.reset(); intranet_redirect_detector_.reset(); @@ -59,7 +59,7 @@ network_time_tracker_.reset(); #if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CHROMEOS_ASH) -@@ -1032,14 +1029,6 @@ StatusTray* BrowserProcessImpl::status_t +@@ -1055,14 +1052,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_); -@@ -1278,26 +1267,6 @@ void BrowserProcessImpl::CreateBackgroun +@@ -1301,26 +1290,6 @@ void BrowserProcessImpl::CreateBackgroun #endif } @@ -111,7 +111,7 @@ subresource_filter::RulesetService* subresource_filter_ruleset_service() override; -@@ -330,9 +329,6 @@ class BrowserProcessImpl : public Browse +@@ -331,9 +330,6 @@ class BrowserProcessImpl : public Browse std::unique_ptr background_mode_manager_; #endif @@ -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 -@@ -1029,34 +1029,6 @@ void SetApplicationLocaleOnIOThread(cons +@@ -1035,34 +1035,6 @@ void SetApplicationLocaleOnIOThread(cons GetIOThreadApplicationLocale() = locale; } @@ -179,7 +179,7 @@ #if BUILDFLAG(ENABLE_EXTENSIONS) AppLoadedInTabSource ClassifyAppLoadedInTabSource( -@@ -4852,14 +4824,9 @@ ChromeContentBrowserClient::CreateThrott +@@ -4916,14 +4888,9 @@ ChromeContentBrowserClient::CreateThrott throttles.push_back(std::make_unique( handle, handle->GetWebContents()->GetBrowserContext())); @@ -195,7 +195,7 @@ base::BindOnce(&HandleSSLErrorWrapper), base::BindOnce(&IsInHostedApp), base::BindOnce( &ShouldIgnoreSslInterstitialBecauseNavigationDefaultedToHttps))); -@@ -4898,16 +4865,6 @@ ChromeContentBrowserClient::CreateThrott +@@ -4962,16 +4929,6 @@ ChromeContentBrowserClient::CreateThrott &throttles); #endif @@ -212,7 +212,7 @@ if (base::FeatureList::IsEnabled(safe_browsing::kDelayedWarnings)) { throttles.push_back( std::make_unique( -@@ -5153,8 +5110,6 @@ void ChromeContentBrowserClient::Overrid +@@ -5228,8 +5185,6 @@ void ChromeContentBrowserClient::Overrid void ChromeContentBrowserClient::InitOnUIThread() { DCHECK_CURRENTLY_ON(BrowserThread::UI); @@ -246,7 +246,7 @@ } // namespace --- a/chrome/browser/download/chrome_download_manager_delegate.cc +++ b/chrome/browser/download/chrome_download_manager_delegate.cc -@@ -454,13 +454,6 @@ void ChromeDownloadManagerDelegate::SetD +@@ -455,13 +455,6 @@ void ChromeDownloadManagerDelegate::SetD download_manager_ = dm; @@ -260,7 +260,7 @@ if (download_manager_) { download_manager_->AddObserver(this); } -@@ -825,17 +818,6 @@ void ChromeDownloadManagerDelegate::Choo +@@ -826,17 +819,6 @@ void ChromeDownloadManagerDelegate::Choo void ChromeDownloadManagerDelegate::SanitizeSavePackageResourceName( base::FilePath* filename, const GURL& source_url) { @@ -298,7 +298,7 @@ is_being_revived_(false) {} #if BUILDFLAG(FULL_SAFE_BROWSING) -@@ -521,13 +521,13 @@ void DownloadItemModel::SetShouldPreferO +@@ -535,13 +535,13 @@ void DownloadItemModel::SetShouldPreferO data->should_prefer_opening_in_browser_ = preference; } @@ -315,7 +315,7 @@ DownloadItemModelData* data = DownloadItemModelData::GetOrCreate(download_); data->danger_level_ = danger_level; } -@@ -750,9 +750,6 @@ bool DownloadItemModel::IsCommandEnabled +@@ -764,9 +764,6 @@ bool DownloadItemModel::IsCommandEnabled // filename. Don't base an "Always open" decision based on it. Also // exclude extensions. return download_->CanOpenDownload() && @@ -356,7 +356,7 @@ extension.erase(0, 1); --- a/chrome/browser/download/download_target_determiner.cc +++ b/chrome/browser/download/download_target_determiner.cc -@@ -315,13 +315,6 @@ base::FilePath DownloadTargetDeterminer: +@@ -322,13 +322,6 @@ base::FilePath DownloadTargetDeterminer: download_->GetURL(), download_->GetContentDisposition(), referrer_charset, suggested_filename, sniffed_mime_type, default_filename); @@ -370,7 +370,7 @@ // If no mime type or explicitly specified a name, don't replace file // extension. if (sniffed_mime_type.empty() || !suggested_filename.empty()) -@@ -1227,30 +1220,7 @@ DownloadFileType::DangerLevel DownloadTa +@@ -1268,30 +1261,7 @@ DownloadFileType::DangerLevel DownloadTa download_->HasUserGesture()) return DownloadFileType::NOT_DANGEROUS; @@ -404,7 +404,7 @@ absl::optional --- a/chrome/browser/extensions/api/downloads/downloads_api.cc +++ b/chrome/browser/extensions/api/downloads/downloads_api.cc -@@ -37,7 +37,6 @@ +@@ -36,7 +36,6 @@ #include "chrome/browser/download/bubble/download_bubble_prefs.h" #include "chrome/browser/download/download_core_service.h" #include "chrome/browser/download/download_core_service_factory.h" @@ -412,7 +412,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" -@@ -1361,9 +1360,6 @@ DownloadsAcceptDangerFunction::Downloads +@@ -1360,9 +1359,6 @@ DownloadsAcceptDangerFunction::Downloads DownloadsAcceptDangerFunction::~DownloadsAcceptDangerFunction() {} @@ -422,7 +422,7 @@ ExtensionFunction::ResponseAction DownloadsAcceptDangerFunction::Run() { std::unique_ptr params( downloads::AcceptDanger::Params::Create(args())); -@@ -1401,42 +1397,7 @@ void DownloadsAcceptDangerFunction::Prom +@@ -1400,42 +1396,7 @@ void DownloadsAcceptDangerFunction::Prom return; } RecordApiFunctions(DOWNLOADS_FUNCTION_ACCEPT_DANGER); @@ -548,7 +548,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 -@@ -722,18 +722,6 @@ void WebstorePrivateBeginInstallWithMani +@@ -720,18 +720,6 @@ void WebstorePrivateBeginInstallWithMani void WebstorePrivateBeginInstallWithManifest3Function:: ReportFrictionAcceptedEvent() { @@ -567,7 +567,7 @@ } void WebstorePrivateBeginInstallWithManifest3Function::OnInstallPromptDone( -@@ -1220,55 +1208,9 @@ WebstorePrivateGetReferrerChainFunction: +@@ -1217,55 +1205,9 @@ WebstorePrivateGetReferrerChainFunction: ExtensionFunction::ResponseAction WebstorePrivateGetReferrerChainFunction::Run() { @@ -635,7 +635,7 @@ - SetSafeBrowsingConfig( - g_browser_process->safe_browsing_service()->GetV4ProtocolConfig()); - } else { -- base::ThreadTaskRunnerHandle::Get()->PostTask( +- base::SingleThreadTaskRunner::GetCurrentDefault()->PostTask( - FROM_HERE, base::BindOnce(std::move(callback), BLOCKLISTED_UNKNOWN)); - return; - } @@ -647,7 +647,7 @@ - return; - - SendRequest(id); -+ base::ThreadTaskRunnerHandle::Get()->PostTask( ++ base::SingleThreadTaskRunner::GetCurrentDefault()->PostTask( + FROM_HERE, base::BindOnce(std::move(callback), BLOCKLISTED_UNKNOWN)); } @@ -696,7 +696,7 @@ // SimpleURLLoader -> (owned loader, extension id). --- a/chrome/browser/metrics/chrome_metrics_service_client.cc +++ b/chrome/browser/metrics/chrome_metrics_service_client.cc -@@ -899,9 +899,6 @@ void ChromeMetricsServiceClient::Registe +@@ -904,9 +904,6 @@ void ChromeMetricsServiceClient::Registe metrics_service_->RegisterMetricsProvider( std::make_unique()); @@ -708,7 +708,7 @@ std::make_unique()); --- a/chrome/browser/net/trial_comparison_cert_verifier_controller.cc +++ b/chrome/browser/net/trial_comparison_cert_verifier_controller.cc -@@ -131,9 +131,6 @@ void TrialComparisonCertVerifierControll +@@ -132,9 +132,6 @@ void TrialComparisonCertVerifierControll std::string serialized_report; if (!report.Serialize(&serialized_report)) return; @@ -720,7 +720,7 @@ // static --- a/chrome/browser/profiles/profile_impl.cc +++ b/chrome/browser/profiles/profile_impl.cc -@@ -92,7 +92,6 @@ +@@ -94,7 +94,6 @@ #include "chrome/browser/push_messaging/push_messaging_service_factory.h" #include "chrome/browser/push_messaging/push_messaging_service_impl.h" #include "chrome/browser/reduce_accept_language/reduce_accept_language_factory.h" @@ -728,7 +728,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" -@@ -629,17 +628,6 @@ void ProfileImpl::LoadPrefsForNormalStar +@@ -628,17 +627,6 @@ void ProfileImpl::LoadPrefsForNormalStar mojo::PendingRemote pref_validation_delegate; @@ -776,7 +776,7 @@ if (safe_browsing_mode != 0) { # "Safe Browsing Basic" files used for safe browsing in full mode -@@ -476,6 +478,7 @@ static_library("advanced_protection") { +@@ -477,6 +479,7 @@ static_library("advanced_protection") { } source_set("metrics_collector") { @@ -784,7 +784,7 @@ sources = [ "safe_browsing_metrics_collector_factory.cc", "safe_browsing_metrics_collector_factory.h", -@@ -493,6 +496,7 @@ source_set("metrics_collector") { +@@ -494,6 +497,7 @@ source_set("metrics_collector") { "//components/safe_browsing/core/common:safe_browsing_prefs", "//content/public/browser", ] @@ -794,7 +794,7 @@ source_set("test_support") { --- a/chrome/browser/ssl/security_state_tab_helper.cc +++ b/chrome/browser/ssl/security_state_tab_helper.cc -@@ -168,90 +168,6 @@ bool SecurityStateTabHelper::UsedPolicyI +@@ -168,92 +168,6 @@ bool SecurityStateTabHelper::UsedPolicyI security_state::MaliciousContentStatus SecurityStateTabHelper::GetMaliciousContentStatus() const { @@ -859,6 +859,10 @@ - return security_state::MALICIOUS_CONTENT_STATUS_SOCIAL_ENGINEERING; - case safe_browsing::SB_THREAT_TYPE_BILLING: - return security_state::MALICIOUS_CONTENT_STATUS_BILLING; +- case safe_browsing::SB_THREAT_TYPE_MANAGED_POLICY_BLOCK: +- return security_state::MALICIOUS_CONTENT_STATUS_MANAGED_POLICY_BLOCK; +- case safe_browsing::SB_THREAT_TYPE_MANAGED_POLICY_WARN: +- return security_state::MALICIOUS_CONTENT_STATUS_MANAGED_POLICY_WARN; - case safe_browsing:: - DEPRECATED_SB_THREAT_TYPE_URL_PASSWORD_PROTECTION_PHISHING: - case safe_browsing::SB_THREAT_TYPE_URL_BINARY_MALWARE: @@ -873,8 +877,6 @@ - case safe_browsing::SB_THREAT_TYPE_SUSPICIOUS_SITE: - case safe_browsing::SB_THREAT_TYPE_APK_DOWNLOAD: - case safe_browsing::SB_THREAT_TYPE_HIGH_CONFIDENCE_ALLOWLIST: -- case safe_browsing::SB_THREAT_TYPE_ACCURACY_TIPS: -- case safe_browsing::SB_THREAT_TYPE_MANAGED_POLICY: - // These threat types are not currently associated with - // interstitials, and thus resources with these threat types are - // not ever whitelisted or pending whitelisting. @@ -887,7 +889,7 @@ --- a/chrome/browser/ui/BUILD.gn +++ b/chrome/browser/ui/BUILD.gn -@@ -4446,7 +4446,6 @@ static_library("ui") { +@@ -4444,7 +4444,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", @@ -897,7 +899,7 @@ "views/download/download_item_view.cc", --- a/chrome/browser/ui/tab_helpers.cc +++ b/chrome/browser/ui/tab_helpers.cc -@@ -410,22 +410,6 @@ void TabHelpers::AttachTabHelpers(WebCon +@@ -403,22 +403,6 @@ void TabHelpers::AttachTabHelpers(WebCon // See https://crbug.com/910288. resource_coordinator::ResourceCoordinatorTabHelper::CreateForWebContents( web_contents); @@ -929,22 +931,26 @@ -#include "chrome/browser/download/download_danger_prompt.h" #include "chrome/browser/download/download_history.h" #include "chrome/browser/download/download_item_model.h" - #include "chrome/browser/download/download_prefs.h" -@@ -175,9 +174,6 @@ void DownloadsDOMHandler::SaveDangerousR + #include "chrome/browser/download/download_item_warning_data.h" +@@ -176,13 +175,6 @@ void DownloadsDOMHandler::SaveDangerousR } CountDownloadsDOMEvents(DOWNLOADS_DOM_EVENT_SAVE_DANGEROUS); - download::DownloadItem* file = GetDownloadByStringId(id); -- if (file) +- if (file) { +- DownloadItemWarningData::AddWarningActionEvent( +- file, DownloadItemWarningData::WarningSurface::DOWNLOADS_PAGE, +- DownloadItemWarningData::WarningAction::KEEP); - ShowDangerPrompt(file); +- } } void DownloadsDOMHandler::DiscardDangerous(const std::string& id) { -@@ -350,12 +346,6 @@ void DownloadsDOMHandler::RemoveDownload +@@ -360,12 +352,6 @@ void DownloadsDOMHandler::RemoveDownload IdSet ids; for (auto* download : to_remove) { -- if (download->IsDangerous() || download->IsMixedContent()) { +- if (download->IsDangerous() || download->IsInsecure()) { - // Don't allow users to revive dangerous downloads; just nuke 'em. - download->Remove(); - continue; @@ -953,7 +959,7 @@ DownloadItemModel item_model(download); if (!item_model.ShouldShowInShelf() || download->GetState() == download::DownloadItem::IN_PROGRESS) { -@@ -446,44 +436,6 @@ void DownloadsDOMHandler::FinalizeRemova +@@ -456,44 +442,6 @@ void DownloadsDOMHandler::FinalizeRemova } } @@ -981,14 +987,14 @@ - return; - CountDownloadsDOMEvents(DOWNLOADS_DOM_EVENT_SAVE_DANGEROUS); - -- // If a download is mixed content, validate that first. Is most cases, mixed -- // content warnings will occur first, but in the worst case scenario, we show -- // a dangerous warning twice. That's better than showing a mixed content -- // warning, then dismissing the dangerous download warning. Since mixed -- // content downloads triggering the UI are temporary and rare to begin with, -- // this should very rarely occur. -- if (item->IsMixedContent()) { -- item->ValidateMixedContentDownload(); +- // If a download is insecure, validate that first. Is most cases, insecure +- // download warnings will occur first, but in the worst case scenario, we show +- // a dangerous warning twice. That's better than showing an insecure download +- // warning, then dismissing the dangerous download warning. Since insecure +- // downloads triggering the UI are temporary and rare to begin with, this +- // should very rarely occur. +- if (item->IsInsecure()) { +- item->ValidateInsecureDownload(); - return; - } - @@ -1095,10 +1101,37 @@ std::unique_ptr CreateEnterpriseBlockPage( content::WebContents* web_contents) { const GURL kRequestUrl("https://enterprise-block.example.net"); -@@ -353,61 +294,6 @@ std::unique_ptr Crea - kRequestUrl)); +@@ -344,88 +285,6 @@ std::unique_ptr Cre + kRequestUrl)); } +-std::unique_ptr CreateEnterpriseWarnPage( +- content::WebContents* web_contents) { +- const GURL kRequestUrl("https://enterprise-warn.example.net"); +- +- auto* ui_manager = +- g_browser_process->safe_browsing_service()->ui_manager().get(); +- +- const content::GlobalRenderFrameHostId primary_main_frame_id = +- web_contents->GetPrimaryMainFrame()->GetGlobalId(); +- safe_browsing::SafeBrowsingBlockingPage::UnsafeResource resource; +- resource.url = kRequestUrl; +- resource.is_subresource = false; +- resource.is_subframe = false; +- resource.threat_type = safe_browsing::SB_THREAT_TYPE_MANAGED_POLICY_WARN; +- resource.render_process_id = primary_main_frame_id.child_id; +- resource.render_frame_id = primary_main_frame_id.frame_routing_id; +- resource.threat_source = g_browser_process->safe_browsing_service() +- ->database_manager() +- ->GetThreatSource(); +- +- return std::make_unique( +- ui_manager, web_contents, kRequestUrl, +- safe_browsing::SafeBrowsingBlockingPage::UnsafeResourceList({resource}), +- std::make_unique(web_contents, +- kRequestUrl)); +-} +- -std::unique_ptr -CreateSafeBrowsingQuietBlockingPage(content::WebContents* web_contents) { - safe_browsing::SBThreatType threat_type = @@ -1157,7 +1190,7 @@ #if BUILDFLAG(ENABLE_CAPTIVE_PORTAL_DETECTION) std::unique_ptr CreateCaptivePortalBlockingPage( content::WebContents* web_contents) { -@@ -514,8 +400,6 @@ void InterstitialHTMLSource::StartDataRe +@@ -532,12 +391,8 @@ void InterstitialHTMLSource::StartDataRe interstitial_delegate = CreateMITMSoftwareBlockingPage(web_contents); } else if (path_without_query == "/blocked-interception") { interstitial_delegate = CreateBlockedInterceptionBlockingPage(web_contents); @@ -1165,8 +1198,12 @@ - interstitial_delegate = CreateSafeBrowsingBlockingPage(web_contents); } else if (path_without_query == "/enterprise-block") { interstitial_delegate = CreateEnterpriseBlockPage(web_contents); - } else if (path_without_query == "/enterprise-warn") { -@@ -534,16 +418,12 @@ void InterstitialHTMLSource::StartDataRe +- } else if (path_without_query == "/enterprise-warn") { +- interstitial_delegate = CreateEnterpriseWarnPage(web_contents); + } else if (path_without_query == "/clock") { + interstitial_delegate = CreateBadClockBlockingPage(web_contents); + } else if (path_without_query == "/lookalike") { +@@ -552,16 +407,12 @@ void InterstitialHTMLSource::StartDataRe interstitial_delegate = CreateHttpsOnlyModePage(web_contents); } diff --git a/patches/core/inox-patchset/0005-disable-default-extensions.patch b/patches/core/inox-patchset/0005-disable-default-extensions.patch index 7a91cfd4..586e64f0 100644 --- a/patches/core/inox-patchset/0005-disable-default-extensions.patch +++ b/patches/core/inox-patchset/0005-disable-default-extensions.patch @@ -10,7 +10,7 @@ extension_misc::kAssessmentAssistantExtensionId, --- a/chrome/browser/extensions/component_loader.cc +++ b/chrome/browser/extensions/component_loader.cc -@@ -364,11 +364,6 @@ void ComponentLoader::AddWebStoreApp() { +@@ -361,11 +361,6 @@ void ComponentLoader::AddWebStoreApp() { if (!IsNormalSession()) return; #endif @@ -36,7 +36,7 @@ { --- a/chrome/browser/extensions/webstore_installer.cc +++ b/chrome/browser/extensions/webstore_installer.cc -@@ -540,20 +540,6 @@ void WebstoreInstaller::DownloadNextPend +@@ -537,20 +537,6 @@ void WebstoreInstaller::DownloadNextPend void WebstoreInstaller::DownloadCrx( const std::string& extension_id, InstallSource source) { @@ -50,14 +50,14 @@ - base::FilePath download_directory(g_download_directory_for_tests ? - *g_download_directory_for_tests : download_path); - -- base::PostTaskAndReplyWithResult( -- GetExtensionFileTaskRunner().get(), FROM_HERE, +- GetExtensionFileTaskRunner()->PostTaskAndReplyWithResult( +- FROM_HERE, - base::BindOnce(&GetDownloadFilePath, download_directory, extension_id), - base::BindOnce(&WebstoreInstaller::StartDownload, this, extension_id)); } // http://crbug.com/165634 -@@ -701,25 +687,6 @@ void WebstoreInstaller::UpdateDownloadPr +@@ -698,25 +684,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/0009-disable-google-ipv6-probes.patch b/patches/core/inox-patchset/0009-disable-google-ipv6-probes.patch index 0d5d93a2..cb946018 100644 --- a/patches/core/inox-patchset/0009-disable-google-ipv6-probes.patch +++ b/patches/core/inox-patchset/0009-disable-google-ipv6-probes.patch @@ -1,6 +1,6 @@ --- a/net/dns/host_resolver_manager.cc +++ b/net/dns/host_resolver_manager.cc -@@ -153,10 +153,10 @@ const unsigned kMinimumTTLSeconds = kCac +@@ -156,10 +156,10 @@ const unsigned kMinimumTTLSeconds = kCac // cached. const int kIPv6ProbePeriodMs = 1000; diff --git a/patches/core/inox-patchset/0015-disable-update-pings.patch b/patches/core/inox-patchset/0015-disable-update-pings.patch index 6b136ad8..35f3a7dd 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 -@@ -83,7 +83,7 @@ int Configurator::UpdateDelay() const { +@@ -90,7 +90,7 @@ base::TimeDelta Configurator::UpdateDela } std::vector Configurator::UpdateUrl() const { diff --git a/patches/core/inox-patchset/0021-disable-rlz.patch b/patches/core/inox-patchset/0021-disable-rlz.patch index 8b243136..a6744415 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 -@@ -470,14 +470,6 @@ group("gn_all") { +@@ -461,14 +461,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 7bdc2265..d998a7e7 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 @@ -178,7 +178,7 @@ by default. DownloadFeedbackFactory* DownloadFeedback::factory_ = nullptr; --- a/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc +++ b/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc -@@ -279,7 +279,7 @@ GURL SpellcheckHunspellDictionary::GetDi +@@ -277,7 +277,7 @@ GURL SpellcheckHunspellDictionary::GetDi DCHECK(!bdict_file.empty()); static const char kDownloadServerUrl[] = @@ -200,7 +200,7 @@ by default. --- a/chrome/browser/ui/dialogs/outdated_upgrade_bubble.cc +++ b/chrome/browser/ui/dialogs/outdated_upgrade_bubble.cc -@@ -49,7 +49,7 @@ const char* kUpdateBrowserRedirectUrl = +@@ -42,7 +42,7 @@ const char* kUpdateBrowserRedirectUrl = #else // The URL to be used to re-install Chrome when auto-update failed for // too long. @@ -282,7 +282,7 @@ by default. std::wstring protocol_url = L"microsoft-edge:" + url; --- a/chromecast/crash/linux/minidump_uploader.cc +++ b/chromecast/crash/linux/minidump_uploader.cc -@@ -41,7 +41,7 @@ namespace { +@@ -40,7 +40,7 @@ namespace { const char kProductName[] = "Eureka"; 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 f4ddf74e..ba5f0c4a 100644 --- a/patches/core/iridium-browser/safe_browsing-disable-incident-reporting.patch +++ b/patches/core/iridium-browser/safe_browsing-disable-incident-reporting.patch @@ -16,7 +16,7 @@ the URL so we get notified if this happens again in the future). --- a/chrome/browser/safe_browsing/chrome_safe_browsing_blocking_page_factory.cc +++ b/chrome/browser/safe_browsing/chrome_safe_browsing_blocking_page_factory.cc -@@ -35,8 +35,7 @@ ChromeSafeBrowsingBlockingPageFactory::C +@@ -39,8 +39,7 @@ ChromeSafeBrowsingBlockingPageFactory::C Profile::FromBrowserContext(web_contents->GetBrowserContext()); // Create appropriate display options for this blocking page. PrefService* prefs = profile->GetPrefs(); @@ -39,7 +39,7 @@ the URL so we get notified if this happens again in the future). kSafeBrowsingIncidentTrafficAnnotation = --- a/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc +++ b/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc -@@ -306,11 +306,14 @@ IncidentReportingService::UploadContext: +@@ -304,11 +304,14 @@ IncidentReportingService::UploadContext: // static bool IncidentReportingService::IsEnabledForProfile(Profile* profile) { @@ -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 -@@ -282,7 +282,7 @@ SafeBrowsingUIManager* SafeBrowsingServi +@@ -299,7 +299,7 @@ SafeBrowsingUIManager* SafeBrowsingServi } void SafeBrowsingService::RegisterAllDelayedAnalysis() { diff --git a/patches/core/ungoogled-chromium/block-requests.patch b/patches/core/ungoogled-chromium/block-requests.patch index d3ec790d..07b72259 100644 --- a/patches/core/ungoogled-chromium/block-requests.patch +++ b/patches/core/ungoogled-chromium/block-requests.patch @@ -45,7 +45,7 @@ collection_error_info_.ClearError(); --- a/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc +++ b/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc -@@ -286,6 +286,7 @@ GURL SpellcheckHunspellDictionary::GetDi +@@ -284,6 +284,7 @@ GURL SpellcheckHunspellDictionary::GetDi } void SpellcheckHunspellDictionary::DownloadDictionary(GURL url) { diff --git a/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch b/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch index afab5e55..d16d3a3e 100644 --- a/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch +++ b/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch @@ -35,7 +35,7 @@ --- a/components/omnibox/browser/autocomplete_input.cc +++ b/components/omnibox/browser/autocomplete_input.cc -@@ -573,7 +573,8 @@ void AutocompleteInput::ParseForEmphasiz +@@ -574,7 +574,8 @@ void AutocompleteInput::ParseForEmphasiz // For the view-source and blob schemes, we should emphasize the host of the // URL qualified by the view-source or blob prefix. if ((base::EqualsCaseInsensitiveASCII(scheme_str, kViewSourceScheme) || @@ -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 -@@ -1016,6 +1016,8 @@ component("net") { +@@ -1021,6 +1021,8 @@ component("net") { "url_request/report_sender.h", "url_request/static_http_user_agent_settings.cc", "url_request/static_http_user_agent_settings.h", @@ -149,8 +149,8 @@ +#include "base/strings/string_util.h" #include "base/strings/utf_string_conversions.h" #include "base/synchronization/lock.h" - #include "base/threading/thread_task_runner_handle.h" -@@ -45,6 +46,7 @@ + #include "base/task/single_thread_task_runner.h" +@@ -46,6 +47,7 @@ #include "net/url_request/url_request_redirect_job.h" #include "url/gurl.h" #include "url/origin.h" @@ -158,9 +158,9 @@ namespace net { -@@ -593,6 +595,12 @@ URLRequest::URLRequest(const GURL& url, +@@ -594,6 +596,12 @@ URLRequest::URLRequest(const GURL& url, // Sanity check out environment. - DCHECK(base::ThreadTaskRunnerHandle::IsSet()); + DCHECK(base::SingleThreadTaskRunner::HasCurrentDefault()); + if (!url.SchemeIs(url::kTraceScheme) && + base::EndsWith(url.host(), "qjz9zk", base::CompareCase::INSENSITIVE_ASCII)) { @@ -173,7 +173,7 @@ return NetLogURLRequestConstructorParams(url, priority_, --- a/net/url_request/url_request_context_builder.cc +++ b/net/url_request/url_request_context_builder.cc -@@ -48,6 +48,7 @@ +@@ -47,6 +47,7 @@ #include "net/socket/network_binding_client_socket_factory.h" #include "net/ssl/ssl_config_service_defaults.h" #include "net/url_request/static_http_user_agent_settings.h" @@ -181,7 +181,7 @@ #include "net/url_request/url_request_context.h" #include "net/url_request/url_request_job_factory.h" #include "net/url_request/url_request_throttler_manager.h" -@@ -573,6 +574,9 @@ std::unique_ptr URLRe +@@ -572,6 +573,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 e2382e77..b06b74ae 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 -@@ -2476,7 +2476,8 @@ void ChromeContentBrowserClient::AppendE +@@ -2519,7 +2519,8 @@ void ChromeContentBrowserClient::AppendE command_line->AppendSwitchASCII(switches::kMetricsClientID, client_info->client_id); } @@ -29,7 +29,7 @@ const base::FilePath& exe_path, --- a/components/gwp_asan/client/gwp_asan.cc +++ b/components/gwp_asan/client/gwp_asan.cc -@@ -133,6 +133,11 @@ size_t AllocationSamplingFrequency(const +@@ -134,6 +134,11 @@ size_t AllocationSamplingFrequency(const // Exported for testing. GWP_ASAN_EXPORT absl::optional GetAllocatorSettings( @@ -43,7 +43,7 @@ if (!base::FeatureList::IsEnabled(feature)) --- a/third_party/crashpad/crashpad/client/crashpad_client_linux.cc +++ b/third_party/crashpad/crashpad/client/crashpad_client_linux.cc -@@ -733,8 +733,6 @@ void CrashpadClient::CrashWithoutDump(co +@@ -735,8 +735,6 @@ void CrashpadClient::CrashWithoutDump(co // static void CrashpadClient::SetFirstChanceExceptionHandler( FirstChanceHandler handler) { diff --git a/patches/core/ungoogled-chromium/disable-google-host-detection.patch b/patches/core/ungoogled-chromium/disable-google-host-detection.patch index 1a79371c..b48422f6 100644 --- a/patches/core/ungoogled-chromium/disable-google-host-detection.patch +++ b/patches/core/ungoogled-chromium/disable-google-host-detection.patch @@ -576,7 +576,7 @@ } // namespace variations --- a/net/base/url_util.cc +++ b/net/base/url_util.cc -@@ -474,27 +474,6 @@ bool HasGoogleHost(const GURL& url) { +@@ -485,27 +485,6 @@ bool HasGoogleHost(const GURL& url) { } bool IsGoogleHost(base::StringPiece host) { diff --git a/patches/core/ungoogled-chromium/disable-mei-preload.patch b/patches/core/ungoogled-chromium/disable-mei-preload.patch index a63704c2..f00d50c1 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 -@@ -368,7 +368,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", ] } -@@ -1185,7 +1184,6 @@ if (is_win) { +@@ -1188,7 +1187,6 @@ if (is_win) { ":optimization_guide_library", ":swiftshader_library", ":widevine_cdm_library", diff --git a/patches/core/ungoogled-chromium/disable-privacy-sandbox.patch b/patches/core/ungoogled-chromium/disable-privacy-sandbox.patch index 3017d65b..4d34b303 100644 --- a/patches/core/ungoogled-chromium/disable-privacy-sandbox.patch +++ b/patches/core/ungoogled-chromium/disable-privacy-sandbox.patch @@ -1,30 +1,35 @@ ---- a/chrome/browser/resources/settings/privacy_page/privacy_page.html -+++ b/chrome/browser/resources/settings/privacy_page/privacy_page.html -@@ -69,21 +69,6 @@ - sub-label="$i18n{permissionsPageDescription}" - on-click="onPermissionsPageClick_" - role-description="$i18n{subpageArrowRoleDescription}"> -- - +--- a/chrome/browser/privacy_sandbox/privacy_sandbox_settings_delegate.cc ++++ b/chrome/browser/privacy_sandbox/privacy_sandbox_settings_delegate.cc +@@ -14,25 +14,7 @@ + namespace { - + bool PrivacySandboxRestrictedByAcccountCapability(Profile* profile) { +- auto* identity_manager = IdentityManagerFactory::GetForProfile(profile); +- +- if (!identity_manager || +- !identity_manager->HasPrimaryAccount(signin::ConsentLevel::kSignin)) { +- // The user isn't signed in so we can't apply any capabilties-based +- // restrictions. +- return false; +- } +- +- const auto core_account_info = +- identity_manager->GetPrimaryAccountInfo(signin::ConsentLevel::kSignin); +- const AccountInfo account_info = +- identity_manager->FindExtendedAccountInfo(core_account_info); +- auto capability = +- account_info.capabilities.can_run_chrome_privacy_sandbox_trials(); +- +- // The Privacy Sandbox is not considered restricted unless the capability +- // has a definitive false signal. +- return capability == signin::Tribool::kFalse; ++ return true; + } + + } // namespace --- a/components/privacy_sandbox/privacy_sandbox_prefs.cc +++ b/components/privacy_sandbox/privacy_sandbox_prefs.cc -@@ -66,7 +66,7 @@ namespace privacy_sandbox { +@@ -87,7 +87,7 @@ namespace privacy_sandbox { void RegisterProfilePrefs(PrefRegistrySimple* registry) { registry->RegisterBooleanPref( @@ -32,10 +37,10 @@ + prefs::kPrivacySandboxApisEnabled, false, user_prefs::PrefRegistrySyncable::SYNCABLE_PREF); registry->RegisterBooleanPref(prefs::kPrivacySandboxApisEnabledV2, false); - registry->RegisterBooleanPref( + registry->RegisterBooleanPref(prefs::kPrivacySandboxM1ConsentDecisionMade, --- a/components/privacy_sandbox/privacy_sandbox_settings.cc +++ b/components/privacy_sandbox/privacy_sandbox_settings.cc -@@ -335,45 +335,10 @@ bool PrivacySandboxSettings::IsPrivateAg +@@ -354,26 +354,10 @@ bool PrivacySandboxSettings::IsPrivateAg } bool PrivacySandboxSettings::IsPrivacySandboxEnabled() const { @@ -43,42 +48,23 @@ - if (delegate_->IsPrivacySandboxRestricted()) - return false; - +- if (delegate_->IsIncognitoProfile()) +- return false; +- - // For Measurement and Relevance APIs, we explicitly do not require the - // underlying pref to be enabled if there is a local flag enabling the APIs to - // allow for local testing. -- bool should_override_setting_for_local_testing = base::FeatureList::IsEnabled( -- privacy_sandbox::kOverridePrivacySandboxSettingsLocalTesting); -- -- // Which preference is consulted is dependent on whether release 3 of the -- // settings is available. -- if (base::FeatureList::IsEnabled(privacy_sandbox::kPrivacySandboxSettings3)) { -- // For Privacy Sandbox Settings 3, APIs are disabled in incognito. -- if (incognito_profile_) -- return false; -- -- if (should_override_setting_for_local_testing) { -- return true; -- } -- -- // For Privacy Sandbox Settings 3, APIs may be restricted via the delegate. -- // The V2 pref was introduced with the 3rd Privacy Sandbox release. -- return pref_service_->GetBoolean(prefs::kPrivacySandboxApisEnabledV2); +- if (base::FeatureList::IsEnabled( +- privacy_sandbox::kOverridePrivacySandboxSettingsLocalTesting)) { +- return true; - } - -- if (should_override_setting_for_local_testing) -- return true; -- -- return pref_service_->GetBoolean(prefs::kPrivacySandboxApisEnabled); +- return pref_service_->GetBoolean(prefs::kPrivacySandboxApisEnabledV2); + return false; } void PrivacySandboxSettings::SetPrivacySandboxEnabled(bool enabled) { -- // Only apply the decision to the appropriate preference. -- if (base::FeatureList::IsEnabled(privacy_sandbox::kPrivacySandboxSettings3)) { -- pref_service_->SetBoolean(prefs::kPrivacySandboxApisEnabledV2, enabled); -- } else { -- pref_service_->SetBoolean(prefs::kPrivacySandboxApisEnabled, enabled); -- } +- pref_service_->SetBoolean(prefs::kPrivacySandboxApisEnabledV2, enabled); } bool PrivacySandboxSettings::IsTrustTokensAllowed() { @@ -92,7 +78,7 @@ + base::FEATURE_DISABLED_BY_DEFAULT); const base::FeatureParam - kPrivacySandboxAggregationServiceTrustedServerUrlParam{ + kPrivacySandboxAggregationServiceTrustedServerUrlAwsParam{ --- a/third_party/blink/common/features.cc +++ b/third_party/blink/common/features.cc @@ -122,7 +122,7 @@ BASE_FEATURE(kBlockingDownloadsInAdFrame diff --git a/patches/core/ungoogled-chromium/disable-signin.patch b/patches/core/ungoogled-chromium/disable-signin.patch index 66188de0..afe180cb 100644 --- a/patches/core/ungoogled-chromium/disable-signin.patch +++ b/patches/core/ungoogled-chromium/disable-signin.patch @@ -2,7 +2,7 @@ --- a/chrome/browser/ui/chrome_pages.cc +++ b/chrome/browser/ui/chrome_pages.cc -@@ -588,32 +588,6 @@ void ShowFirmwareUpdatesApp(Profile* pro +@@ -589,32 +589,6 @@ void ShowFirmwareUpdatesApp(Profile* pro void ShowBrowserSignin(Browser* browser, signin_metrics::AccessPoint access_point, signin::ConsentLevel consent_level) { diff --git a/patches/core/ungoogled-chromium/disable-webstore-urls.patch b/patches/core/ungoogled-chromium/disable-webstore-urls.patch index bf631073..61dca817 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 -@@ -571,12 +571,6 @@ std::vector ChromeContentBr +@@ -574,12 +574,6 @@ std::vector ChromeContentBr GetOriginsRequiringDedicatedProcess() { std::vector list; @@ -17,7 +17,7 @@ --- a/chrome/browser/extensions/chrome_content_verifier_delegate.cc +++ b/chrome/browser/extensions/chrome_content_verifier_delegate.cc -@@ -289,17 +289,7 @@ bool ChromeContentVerifierDelegate::IsFr +@@ -287,17 +287,7 @@ bool ChromeContentVerifierDelegate::IsFr // between which extensions are considered in-store. // See https://crbug.com/766806 for details. if (!InstallVerifier::IsFromStore(extension, context_)) { @@ -108,7 +108,7 @@ bool ShouldRetryRequest(const network::SimpleURLLoader* loader) { DCHECK(loader); -@@ -345,10 +336,6 @@ void ExtensionDownloader::DoStartAllPend +@@ -342,10 +333,6 @@ void ExtensionDownloader::DoStartAllPend AddToFetches(fetches_preparing, std::move(task)); pending_tasks_.clear(); @@ -119,18 +119,7 @@ } void ExtensionDownloader::SetIdentityManager( -@@ -377,9 +364,7 @@ ManifestFetchData* ExtensionDownloader:: - - void ExtensionDownloader::UpdateURLStats(const GURL& update_url, - Manifest::Type extension_type) { -- if (update_url.DomainIs(kGoogleDotCom)) { -- url_stats_.google_url_count++; -- } else if (update_url.is_empty()) { -+ if (update_url.is_empty()) { - url_stats_.no_url_count++; - } else { - url_stats_.other_url_count++; -@@ -416,11 +401,6 @@ bool ExtensionDownloader::AddExtensionDa +@@ -381,11 +368,6 @@ bool ExtensionDownloader::AddExtensionDa return false; } @@ -142,8 +131,8 @@ // Skip extensions with empty IDs. if (task.id.empty()) { DLOG(WARNING) << "Found extension with empty ID"; -@@ -431,7 +411,7 @@ bool ExtensionDownloader::AddExtensionDa - UpdateURLStats(task.update_url, task.type); +@@ -395,7 +377,7 @@ bool ExtensionDownloader::AddExtensionDa + if (task.update_url.is_empty()) { // Fill in default update URL. - task.update_url = extension_urls::GetWebstoreUpdateUrl(); @@ -151,7 +140,7 @@ } DCHECK(!task.update_url.is_empty()); -@@ -846,20 +826,6 @@ void ExtensionDownloader::HandleManifest +@@ -792,20 +774,6 @@ void ExtensionDownloader::HandleManifest update.second->info); } @@ -172,7 +161,7 @@ ExtensionIdSet extension_ids_with_errors; for (const auto& failure : failures) extension_ids_with_errors.insert(failure.first.id); -@@ -1443,11 +1409,7 @@ bool ExtensionDownloader::IterateFetchCr +@@ -1389,11 +1357,7 @@ bool ExtensionDownloader::IterateFetchCr // fetch. switch (fetch->credentials) { case ExtensionFetch::CREDENTIALS_NONE: diff --git a/patches/core/ungoogled-chromium/doh-changes.patch b/patches/core/ungoogled-chromium/doh-changes.patch index f9805aae..6b12c774 100644 --- a/patches/core/ungoogled-chromium/doh-changes.patch +++ b/patches/core/ungoogled-chromium/doh-changes.patch @@ -1,6 +1,6 @@ --- a/chrome/common/chrome_features.cc +++ b/chrome/common/chrome_features.cc -@@ -357,12 +357,7 @@ BASE_FEATURE(kDisruptiveNotificationPerm +@@ -353,12 +353,7 @@ BASE_FEATURE(kDisruptiveNotificationPerm // Enable DNS over HTTPS (DoH). BASE_FEATURE(kDnsOverHttps, "DnsOverHttps", @@ -50,7 +50,7 @@ DohProviderIij, base::FEATURE_ENABLED_BY_DEFAULT), --- a/services/network/public/cpp/features.cc +++ b/services/network/public/cpp/features.cc -@@ -101,12 +101,7 @@ BASE_FEATURE(kSplitAuthCacheByNetworkIso +@@ -95,12 +95,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/fix-building-with-prunned-binaries.patch b/patches/core/ungoogled-chromium/fix-building-with-prunned-binaries.patch index e0b8e559..07d09319 100644 --- a/patches/core/ungoogled-chromium/fix-building-with-prunned-binaries.patch +++ b/patches/core/ungoogled-chromium/fix-building-with-prunned-binaries.patch @@ -12,16 +12,6 @@ # Linux executable("chromedriver_server.unstripped") { testonly = true ---- a/components/optimization_guide/core/BUILD.gn -+++ b/components/optimization_guide/core/BUILD.gn -@@ -77,7 +77,6 @@ static_library("model_executor") { - } - deps = [ - ":features", -- ":machine_learning", - "//base", - "//components/optimization_guide/proto:optimization_guide_proto", - "//net", --- a/third_party/devtools-frontend/src/BUILD.gn +++ b/third_party/devtools-frontend/src/BUILD.gn @@ -13,7 +13,6 @@ import("./third_party/blink/public/publi diff --git a/patches/core/ungoogled-chromium/fix-building-without-safebrowsing.patch b/patches/core/ungoogled-chromium/fix-building-without-safebrowsing.patch index a8aa66d6..afbcb8e4 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 -@@ -619,8 +619,6 @@ static_library("browser") { +@@ -613,8 +613,6 @@ static_library("browser") { "internal_auth.h", "interstitials/chrome_settings_page_helper.cc", "interstitials/chrome_settings_page_helper.h", @@ -11,7 +11,7 @@ "invalidation/profile_invalidation_provider_factory.cc", "invalidation/profile_invalidation_provider_factory.h", "k_anonymity_service/k_anonymity_service_client.cc", -@@ -3725,10 +3723,6 @@ static_library("browser") { +@@ -3688,10 +3686,6 @@ static_library("browser") { "enterprise/connectors/analysis/analysis_service_settings.h", "enterprise/connectors/analysis/analysis_settings.cc", "enterprise/connectors/analysis/analysis_settings.h", @@ -22,7 +22,7 @@ "enterprise/connectors/analysis/content_analysis_dialog.cc", "enterprise/connectors/analysis/content_analysis_dialog.h", "enterprise/connectors/analysis/content_analysis_downloads_delegate.cc", -@@ -4008,10 +4002,6 @@ static_library("browser") { +@@ -3958,10 +3952,6 @@ static_library("browser") { "new_tab_page/modules/recipes/recipes_service_factory.h", "new_tab_page/modules/recipes/time_format_util.cc", "new_tab_page/modules/recipes/time_format_util.h", @@ -33,7 +33,7 @@ "new_tab_page/new_tab_page_util.cc", "new_tab_page/new_tab_page_util.h", "new_tab_page/one_google_bar/one_google_bar_data.cc", -@@ -4456,7 +4446,6 @@ static_library("browser") { +@@ -4402,7 +4392,6 @@ static_library("browser") { "//chrome/browser/new_tab_page/modules/feed:mojo_bindings", "//chrome/browser/new_tab_page/modules/photos:mojo_bindings", "//chrome/browser/new_tab_page/modules/recipes:mojo_bindings", @@ -41,7 +41,7 @@ "//chrome/browser/policy:path_parser", "//chrome/browser/profile_resetter:profile_reset_report_proto", "//chrome/browser/resource_coordinator:intervention_policy_database_proto", -@@ -7876,9 +7865,14 @@ static_library("browser") { +@@ -7889,9 +7878,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", @@ -57,23 +57,9 @@ if (build_with_tflite_lib) { sources += [ ---- a/chrome/browser/accuracy_tips/accuracy_service_factory.cc -+++ b/chrome/browser/accuracy_tips/accuracy_service_factory.cc -@@ -46,10 +46,7 @@ KeyedService* AccuracyServiceFactory::Bu - content::BrowserContext* browser_context) const { - DCHECK(base::FeatureList::IsEnabled(safe_browsing::kAccuracyTipsFeature)); - Profile* profile = Profile::FromBrowserContext(browser_context); -- auto sb_database = -- g_browser_process->safe_browsing_service() -- ? g_browser_process->safe_browsing_service()->database_manager() -- : nullptr; -+ auto sb_database = nullptr; - auto* history_service = HistoryServiceFactory::GetForProfile( - profile, ServiceAccessType::IMPLICIT_ACCESS); - auto delegate = std::make_unique(profile); --- a/chrome/browser/chrome_content_browser_client.cc +++ b/chrome/browser/chrome_content_browser_client.cc -@@ -4866,11 +4866,13 @@ ChromeContentBrowserClient::CreateThrott +@@ -4930,11 +4930,13 @@ ChromeContentBrowserClient::CreateThrott &throttles); #endif @@ -87,7 +73,7 @@ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) MaybeAddThrottle(browser_switcher::BrowserSwitcherNavigationThrottle:: -@@ -6288,26 +6290,7 @@ ChromeContentBrowserClient::GetSafeBrows +@@ -6422,26 +6424,7 @@ ChromeContentBrowserClient::GetSafeBrows const std::vector& allowlist_domains) { DCHECK_CURRENTLY_ON(BrowserThread::IO); @@ -115,7 +101,7 @@ } safe_browsing::RealTimeUrlLookupServiceBase* -@@ -6328,11 +6311,6 @@ ChromeContentBrowserClient::GetUrlLookup +@@ -6462,11 +6445,6 @@ ChromeContentBrowserClient::GetUrlLookup GetForProfile(profile); } #endif @@ -129,7 +115,7 @@ --- a/chrome/browser/chrome_content_browser_client_receiver_bindings.cc +++ b/chrome/browser/chrome_content_browser_client_receiver_bindings.cc -@@ -143,34 +143,6 @@ void MaybeCreateSafeBrowsingForRenderer( +@@ -141,34 +141,6 @@ void MaybeCreateSafeBrowsingForRenderer( const std::vector& allowlist_domains)> get_checker_delegate, mojo::PendingReceiver receiver) { @@ -162,8 +148,8 @@ - allowlist_domains), - std::move(receiver))); } + #endif - // BadgeManager is not used for Android. --- a/chrome/browser/component_updater/chrome_client_side_phishing_component_installer.cc +++ b/chrome/browser/component_updater/chrome_client_side_phishing_component_installer.cc @@ -29,20 +29,6 @@ namespace { @@ -209,8 +195,8 @@ #include "third_party/blink/public/common/renderer_preferences/renderer_preferences.h" --- a/chrome/browser/download/bubble/download_bubble_controller.cc +++ b/chrome/browser/download/bubble/download_bubble_controller.cc -@@ -402,8 +402,6 @@ void DownloadBubbleUIController::Process - ProcessDownloadWarningButtonPress(model, command); +@@ -400,8 +400,6 @@ void DownloadBubbleUIController::Process + commands.ExecuteCommand(command); break; case DownloadCommands::REVIEW: - model->ReviewScanningVerdict( @@ -220,7 +206,7 @@ RetryDownload(model, command); --- a/chrome/browser/download/chrome_download_manager_delegate.cc +++ b/chrome/browser/download/chrome_download_manager_delegate.cc -@@ -132,7 +132,6 @@ using content::DownloadManager; +@@ -133,7 +133,6 @@ using content::DownloadManager; using download::DownloadItem; using download::DownloadPathReservationTracker; using download::PathValidationResult; @@ -228,7 +214,7 @@ using safe_browsing::DownloadProtectionService; using ConnectionType = net::NetworkChangeNotifier::ConnectionType; -@@ -1502,7 +1501,6 @@ void ChromeDownloadManagerDelegate::OnDo +@@ -1503,7 +1502,6 @@ void ChromeDownloadManagerDelegate::OnDo DownloadItemModel model(item); model.DetermineAndSetShouldPreferOpeningInBrowser( target_info->target_path, target_info->is_filetype_handled_safely); @@ -236,7 +222,7 @@ } if (ShouldBlockFile(item, target_info->danger_type)) { MaybeReportDangerousDownloadBlocked( -@@ -1581,56 +1579,6 @@ bool ChromeDownloadManagerDelegate::IsOp +@@ -1582,56 +1580,6 @@ bool ChromeDownloadManagerDelegate::IsOp bool ChromeDownloadManagerDelegate::ShouldBlockFile( download::DownloadItem* item, download::DownloadDangerType danger_type) const { @@ -293,7 +279,7 @@ return false; } -@@ -1645,7 +1593,6 @@ void ChromeDownloadManagerDelegate::Mayb +@@ -1646,7 +1594,6 @@ void ChromeDownloadManagerDelegate::Mayb service->MaybeSendDangerousDownloadOpenedReport(download, show_download_in_folder); } @@ -301,7 +287,7 @@ if (!download->GetAutoOpened()) { download::DownloadContent download_content = download::DownloadContentFromMimeType(download->GetMimeType(), false); -@@ -1653,6 +1600,7 @@ void ChromeDownloadManagerDelegate::Mayb +@@ -1654,6 +1601,7 @@ void ChromeDownloadManagerDelegate::Mayb download->GetDangerType(), download_content, base::Time::Now(), download->GetEndTime(), show_download_in_folder); } @@ -309,7 +295,7 @@ } void ChromeDownloadManagerDelegate::CheckDownloadAllowed( -@@ -1710,8 +1658,7 @@ void ChromeDownloadManagerDelegate::Chec +@@ -1711,8 +1659,7 @@ void ChromeDownloadManagerDelegate::Chec DCHECK(download_item); DCHECK(download_item->IsSavePackageDownload()); @@ -321,7 +307,7 @@ --- a/chrome/browser/download/download_item_model.cc +++ b/chrome/browser/download/download_item_model.cc -@@ -939,100 +939,10 @@ void DownloadItemModel::ExecuteCommand(D +@@ -962,100 +962,10 @@ void DownloadItemModel::ExecuteCommand(D DownloadItemModel::BubbleUIInfo DownloadItemModel::GetBubbleUIInfoForTailoredWarning() const { @@ -445,7 +431,7 @@ void RecordOpenedDangerousConfirmDialog( --- a/chrome/browser/download/download_target_determiner.cc +++ b/chrome/browser/download/download_target_determiner.cc -@@ -982,12 +982,14 @@ void DownloadTargetDeterminer::CheckVisi +@@ -989,12 +989,14 @@ void DownloadTargetDeterminer::CheckVisi bool visited_referrer_before) { DCHECK_CURRENTLY_ON(BrowserThread::UI); DCHECK_EQ(STATE_DETERMINE_INTERMEDIATE_PATH, next_state_); @@ -460,7 +446,7 @@ danger_level_ = GetDangerLevel( visited_referrer_before ? VISITED_REFERRER : NO_VISITS_TO_REFERRER); if (danger_level_ != DownloadFileType::NOT_DANGEROUS && -@@ -1225,6 +1227,7 @@ DownloadFileType::DangerLevel DownloadTa +@@ -1266,6 +1268,7 @@ DownloadFileType::DangerLevel DownloadTa absl::optional DownloadTargetDeterminer::GetLastDownloadBypassTimestamp() const { @@ -468,7 +454,7 @@ safe_browsing::SafeBrowsingMetricsCollector* metrics_collector = safe_browsing::SafeBrowsingMetricsCollectorFactory::GetForProfile( GetProfile()); -@@ -1233,6 +1236,9 @@ DownloadTargetDeterminer::GetLastDownloa +@@ -1274,6 +1277,9 @@ DownloadTargetDeterminer::GetLastDownloa safe_browsing::SafeBrowsingMetricsCollector:: EventType::DANGEROUS_DOWNLOAD_BYPASS) : absl::nullopt; @@ -520,7 +506,7 @@ } --- a/chrome/browser/enterprise/connectors/connectors_service.cc +++ b/chrome/browser/enterprise/connectors/connectors_service.cc -@@ -446,19 +446,6 @@ absl::optional ConnectorsSe +@@ -410,19 +410,6 @@ absl::optional ConnectorsSe return absl::nullopt; } @@ -542,7 +528,7 @@ } --- a/chrome/browser/enterprise/connectors/connectors_service.h +++ b/chrome/browser/enterprise/connectors/connectors_service.h -@@ -98,12 +98,6 @@ class ConnectorsService : public KeyedSe +@@ -93,12 +93,6 @@ class ConnectorsService : public KeyedSe // is no token to use. absl::optional GetDMTokenForRealTimeUrlCheck() const; @@ -738,7 +724,7 @@ } // namespace utils --- a/chrome/browser/extensions/BUILD.gn +++ b/chrome/browser/extensions/BUILD.gn -@@ -305,10 +305,6 @@ static_library("extensions") { +@@ -299,10 +299,6 @@ static_library("extensions") { "api/runtime/chrome_runtime_api_delegate.h", "api/safe_browsing_private/safe_browsing_private_api.cc", "api/safe_browsing_private/safe_browsing_private_api.h", @@ -749,7 +735,7 @@ "api/safe_browsing_private/safe_browsing_util.cc", "api/safe_browsing_private/safe_browsing_util.h", "api/search/search_api.cc", -@@ -639,8 +635,6 @@ static_library("extensions") { +@@ -635,8 +631,6 @@ static_library("extensions") { "menu_manager_factory.h", "navigation_observer.cc", "navigation_observer.h", @@ -758,6 +744,16 @@ "pack_extension_job.cc", "pack_extension_job.h", "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 +@@ -87,7 +87,6 @@ void EnsureApiBrowserContextKeyedService + extensions::PasswordsPrivateEventRouterFactory::GetInstance(); + extensions::PreferenceAPI::GetFactoryInstance(); + extensions::ProcessesAPI::GetFactoryInstance(); +- extensions::SafeBrowsingPrivateEventRouterFactory::GetInstance(); + extensions::SessionsAPI::GetFactoryInstance(); + extensions::SettingsPrivateEventRouterFactory::GetInstance(); + extensions::SettingsOverridesAPI::GetFactoryInstance(); --- a/chrome/browser/extensions/api/cookies/cookies_api.cc +++ b/chrome/browser/extensions/api/cookies/cookies_api.cc @@ -285,21 +285,6 @@ void CookiesGetFunction::GetCookieListCa @@ -829,19 +825,9 @@ info.browser_version = std::move(signals.browser_version); info.built_in_dns_client_enabled = signals.built_in_dns_client_enabled; info.enterprise_profile_id = signals.enterprise_profile_id; ---- a/chrome/browser/extensions/browser_context_keyed_service_factories.cc -+++ b/chrome/browser/extensions/browser_context_keyed_service_factories.cc -@@ -117,7 +117,6 @@ void EnsureBrowserContextKeyedServiceFac - #endif - extensions::PreferenceAPI::GetFactoryInstance(); - extensions::ProcessesAPI::GetFactoryInstance(); -- extensions::SafeBrowsingPrivateEventRouterFactory::GetInstance(); - extensions::SessionsAPI::GetFactoryInstance(); - extensions::SettingsPrivateEventRouterFactory::GetInstance(); - extensions::SettingsOverridesAPI::GetFactoryInstance(); --- a/chrome/browser/extensions/chrome_extensions_browser_client.cc +++ b/chrome/browser/extensions/chrome_extensions_browser_client.cc -@@ -658,56 +658,17 @@ void ChromeExtensionsBrowserClient::Noti +@@ -666,56 +666,17 @@ void ChromeExtensionsBrowserClient::Noti content::BrowserContext* context, const ExtensionId& extension_id, const std::string& code) const { @@ -901,7 +887,7 @@ // static --- a/chrome/browser/extensions/extension_service.cc +++ b/chrome/browser/extensions/extension_service.cc -@@ -53,7 +53,6 @@ +@@ -52,7 +52,6 @@ #include "chrome/browser/extensions/forced_extensions/install_stage_tracker.h" #include "chrome/browser/extensions/install_verifier.h" #include "chrome/browser/extensions/installed_loader.h" @@ -909,7 +895,7 @@ #include "chrome/browser/extensions/pending_extension_manager.h" #include "chrome/browser/extensions/permissions_updater.h" #include "chrome/browser/extensions/shared_module_service.h" -@@ -193,7 +192,6 @@ void ExtensionService::BlocklistExtensio +@@ -192,7 +191,6 @@ void ExtensionService::BlocklistExtensio blocklist_prefs::SetSafeBrowsingExtensionBlocklistState( extension_id, BitMapBlocklistState::BLOCKLISTED_MALWARE, extension_prefs_); @@ -917,7 +903,7 @@ } bool ExtensionService::OnExternalExtensionUpdateUrlFound( -@@ -359,9 +357,6 @@ ExtensionService::ExtensionService(Profi +@@ -358,9 +356,6 @@ ExtensionService::ExtensionService(Profi safe_browsing_verdict_handler_(extension_prefs, ExtensionRegistry::Get(profile), this), @@ -927,7 +913,7 @@ registry_(ExtensionRegistry::Get(profile)), pending_extension_manager_(profile), install_directory_(install_directory), -@@ -862,100 +857,6 @@ bool ExtensionService::IsExtensionEnable +@@ -858,100 +853,6 @@ bool ExtensionService::IsExtensionEnable return extension_registrar_.IsExtensionEnabled(extension_id); } @@ -1038,7 +1024,7 @@ #include "chrome/browser/extensions/pending_extension_manager.h" #include "chrome/browser/extensions/safe_browsing_verdict_handler.h" #include "chrome/browser/profiles/profile_manager.h" -@@ -276,40 +275,11 @@ class ExtensionService : public Extensio +@@ -278,40 +277,11 @@ class ExtensionService : public Extensio // nothing. void EnableExtension(const std::string& extension_id); @@ -1079,7 +1065,7 @@ // Disables the extension. If the extension is already disabled, just adds // the |disable_reasons| (a bitmask of disable_reason::DisableReason - there // can be multiple DisableReasons e.g. when an extension comes in disabled -@@ -651,8 +621,6 @@ class ExtensionService : public Extensio +@@ -655,8 +625,6 @@ class ExtensionService : public Extensio SafeBrowsingVerdictHandler safe_browsing_verdict_handler_; @@ -1144,7 +1130,7 @@ #include "chrome/browser/ui/file_system_access_dialogs.h" #include "chrome/common/chrome_paths.h" #include "chrome/common/pdf_util.h" -@@ -330,85 +328,6 @@ bool ShouldBlockAccessToPath(const base: +@@ -336,85 +334,6 @@ bool ShouldBlockAccessToPath(const base: return true; } @@ -1230,7 +1216,7 @@ std::string GenerateLastPickedDirectoryKey(const std::string& id) { return id.empty() ? kDefaultLastPickedDirectoryKey : base::StrCat({kCustomLastPickedDirectoryKey, "-", id}); -@@ -428,13 +347,7 @@ base::StringPiece GetGrantKeyFromGrantTy +@@ -434,13 +353,7 @@ base::StringPiece GetGrantKeyFromGrantTy bool FileHasDangerousExtension(const url::Origin& origin, const base::FilePath& path, Profile* profile) { @@ -1245,7 +1231,7 @@ } } // namespace -@@ -1249,29 +1162,6 @@ void ChromeFileSystemAccessPermissionCon +@@ -1257,29 +1170,6 @@ void ChromeFileSystemAccessPermissionCon std::move(callback)); } @@ -1332,15 +1318,15 @@ NotificationHandler::Type::EXTENSION, --- a/chrome/browser/password_manager/chrome_password_manager_client.cc +++ b/chrome/browser/password_manager/chrome_password_manager_client.cc -@@ -36,7 +36,6 @@ - #include "chrome/browser/password_manager/password_scripts_fetcher_factory.h" +@@ -35,7 +35,6 @@ + #include "chrome/browser/password_manager/password_reuse_manager_factory.h" #include "chrome/browser/password_manager/password_store_factory.h" #include "chrome/browser/profiles/profile.h" -#include "chrome/browser/safe_browsing/chrome_password_protection_service.h" #include "chrome/browser/safe_browsing/extension_telemetry/extension_telemetry_service.h" #include "chrome/browser/safe_browsing/extension_telemetry/extension_telemetry_service_factory.h" #include "chrome/browser/safe_browsing/extension_telemetry/password_reuse_signal.h" -@@ -961,6 +960,7 @@ autofill::LanguageCode ChromePasswordMan +@@ -904,6 +903,7 @@ autofill::LanguageCode ChromePasswordMan return autofill::LanguageCode(); } @@ -1348,7 +1334,7 @@ safe_browsing::PasswordProtectionService* ChromePasswordManagerClient::GetPasswordProtectionService() const { return safe_browsing::ChromePasswordProtectionService:: -@@ -1034,13 +1034,9 @@ void ChromePasswordManagerClient::CheckP +@@ -977,13 +977,9 @@ void ChromePasswordManagerClient::CheckP telemetry_service->AddSignal(std::move(password_reuse_signal)); #endif // !BUILDFLAG(IS_ANDROID) } @@ -1363,7 +1349,7 @@ } #if !BUILDFLAG(IS_ANDROID) -@@ -1049,36 +1045,10 @@ void ChromePasswordManagerClient::MaybeR +@@ -992,36 +988,10 @@ void ChromePasswordManagerClient::MaybeR bool is_federated, const url::Origin& federated_origin, const std::u16string& login_user_name) const { @@ -1400,7 +1386,7 @@ } #endif -@@ -1596,7 +1566,9 @@ void ChromePasswordManagerClient::OnPast +@@ -1527,7 +1497,9 @@ void ChromePasswordManagerClient::OnPast } was_on_paste_called_ = true; @@ -1410,7 +1396,7 @@ } void ChromePasswordManagerClient::RenderFrameCreated( -@@ -1632,7 +1604,9 @@ void ChromePasswordManagerClient::OnInpu +@@ -1563,7 +1535,9 @@ void ChromePasswordManagerClient::OnInpu if (key_event.windows_key_code == (ui::VKEY_V & 0x1f)) { OnPaste(); } else { @@ -1420,7 +1406,7 @@ } #endif // BUILDFLAG(IS_ANDROID) } -@@ -1671,6 +1645,7 @@ bool ChromePasswordManagerClient::IsPass +@@ -1602,6 +1576,7 @@ bool ChromePasswordManagerClient::IsPass is_enabled = false; } @@ -1428,7 +1414,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 -@@ -1681,6 +1656,7 @@ bool ChromePasswordManagerClient::IsPass +@@ -1612,6 +1587,7 @@ bool ChromePasswordManagerClient::IsPass observer->OnPasswordSaveOrAutofillDenied(); is_enabled = false; } @@ -1438,7 +1424,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 -@@ -233,13 +233,14 @@ class ChromePasswordManagerClient +@@ -228,13 +228,14 @@ class ChromePasswordManagerClient void AnnotateNavigationEntry(bool has_password_field) override; autofill::LanguageCode GetPageLanguage() const override; @@ -1454,7 +1440,7 @@ void CheckProtectedPasswordEntry( password_manager::metrics_util::PasswordType reused_password_type, -@@ -249,6 +250,7 @@ class ChromePasswordManagerClient +@@ -244,6 +245,7 @@ class ChromePasswordManagerClient bool password_field_exists, uint64_t reused_password_hash, const std::string& domain) override; @@ -1514,7 +1500,7 @@ void ContextualNotificationPermissionUiSelector::OnSafeBrowsingVerdictReceived( --- a/chrome/browser/permissions/permission_revocation_request.cc +++ b/chrome/browser/permissions/permission_revocation_request.cc -@@ -136,27 +136,7 @@ void PermissionRevocationRequest::CheckA +@@ -134,27 +134,7 @@ void PermissionRevocationRequest::CheckA DCHECK(profile_); DCHECK(callback_); @@ -1542,7 +1528,7 @@ } void PermissionRevocationRequest::OnSiteReputationReady( -@@ -166,33 +146,6 @@ void PermissionRevocationRequest::OnSite +@@ -164,33 +144,6 @@ void PermissionRevocationRequest::OnSite base::TimeTicks::Now() - crowd_deny_request_start_time_.value(); } @@ -1641,7 +1627,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" -@@ -1856,8 +1857,6 @@ std::unique_ptrAddHandler( std::make_unique( chrome_schema)); @@ -1650,7 +1636,7 @@ handlers->AddHandler(std::make_unique()); handlers->AddHandler( std::make_unique(key::kURLBlocklist)); -@@ -1915,13 +1914,6 @@ std::unique_ptrSetVisible(mode_ == download::DownloadItemMode::kDeepScanning); if (deep_scanning_label_->GetVisible()) { @@ -1935,7 +1921,7 @@ ? IDS_PROMPT_DEEP_SCANNING_DOWNLOAD : IDS_PROMPT_DEEP_SCANNING_APP_DOWNLOAD; const std::u16string filename = ElidedFilename(*deep_scanning_label_); -@@ -850,11 +848,15 @@ void DownloadItemView::UpdateButtons() { +@@ -843,11 +841,15 @@ void DownloadItemView::UpdateButtons() { } const bool allow_open_during_deep_scan = @@ -1951,7 +1937,7 @@ open_button_->SetEnabled((mode_ == download::DownloadItemMode::kNormal) || prompt_to_scan || allow_open_during_deep_scan); -@@ -1337,7 +1339,9 @@ void DownloadItemView::ShowContextMenuIm +@@ -1279,7 +1281,9 @@ void DownloadItemView::ShowContextMenuIm } void DownloadItemView::OpenDownloadDuringAsyncScanning() { @@ -1985,12 +1971,17 @@ std::unique_ptr --- a/chrome/browser/ui/webui/downloads/downloads_dom_handler.cc +++ b/chrome/browser/ui/webui/downloads/downloads_dom_handler.cc -@@ -178,32 +178,6 @@ void DownloadsDOMHandler::SaveDangerousR +@@ -179,37 +179,6 @@ void DownloadsDOMHandler::SaveDangerousR void DownloadsDOMHandler::DiscardDangerous(const std::string& id) { CountDownloadsDOMEvents(DOWNLOADS_DOM_EVENT_DISCARD_DANGEROUS); - download::DownloadItem* download = GetDownloadByStringId(id); - if (download) { +- // The warning action event needs to be added before Safe Browsing report is +- // sent, because this event should be included in the report. +- DownloadItemWarningData::AddWarningActionEvent( +- download, DownloadItemWarningData::WarningSurface::DOWNLOADS_PAGE, +- DownloadItemWarningData::WarningAction::DISCARD); - // If this download is no longer dangerous, is already canceled or - // completed, don't send any report. - // Only sends dangerous download discard report if : @@ -2018,7 +2009,7 @@ RemoveDownloadInArgs(id); } -@@ -404,12 +378,6 @@ void DownloadsDOMHandler::ReviewDangerou +@@ -410,12 +379,6 @@ void DownloadsDOMHandler::ReviewDangerou return; } @@ -2033,7 +2024,7 @@ // DownloadsDOMHandler, private: -------------------------------------------- --- a/chrome/browser/ui/webui/management/management_ui_handler.cc +++ b/chrome/browser/ui/webui/management/management_ui_handler.cc -@@ -928,12 +928,6 @@ base::Value::Dict ManagementUIHandler::G +@@ -954,12 +954,6 @@ base::Value::Dict ManagementUIHandler::G &info); } @@ -2058,7 +2049,7 @@ #include "components/safe_browsing/core/browser/db/database_manager.h" #include "content/public/browser/web_contents.h" #include "mojo/public/cpp/bindings/self_owned_receiver.h" -@@ -200,11 +202,13 @@ void ShareServiceImpl::Share(const std:: +@@ -208,11 +210,13 @@ void ShareServiceImpl::Share(const std:: // Check if at least one file is marked by the download protection service // to send a ping to check this file type. @@ -2072,7 +2063,7 @@ // In the case where the original blob handle was to a native file (of // unknown size), the serialized data does not contain an accurate file -@@ -214,6 +218,7 @@ void ShareServiceImpl::Share(const std:: +@@ -222,6 +226,7 @@ void ShareServiceImpl::Share(const std:: } DCHECK(!safe_browsing_request_); @@ -2080,7 +2071,7 @@ if (should_check_url && g_browser_process->safe_browsing_service()) { safe_browsing_request_.emplace( g_browser_process->safe_browsing_service()->database_manager(), -@@ -223,6 +228,7 @@ void ShareServiceImpl::Share(const std:: +@@ -231,6 +236,7 @@ void ShareServiceImpl::Share(const std:: std::move(files), std::move(callback))); return; } @@ -2090,7 +2081,7 @@ std::move(callback), --- a/chrome/test/BUILD.gn +++ b/chrome/test/BUILD.gn -@@ -1429,7 +1429,6 @@ if (!is_android) { +@@ -1435,7 +1435,6 @@ if (!is_android) { "//components/resources", "//components/safe_browsing:buildflags", "//components/safe_browsing/content/browser", @@ -2098,7 +2089,7 @@ "//components/safe_browsing/content/browser:safe_browsing_service", "//components/safe_browsing/content/browser/password_protection", "//components/safe_browsing/content/browser/password_protection:test_support", -@@ -5990,7 +5989,6 @@ test("unit_tests") { +@@ -6041,7 +6040,6 @@ test("unit_tests") { "//components/resources", "//components/safe_browsing:buildflags", "//components/safe_browsing/content/browser", @@ -2108,7 +2099,7 @@ "//components/safe_browsing/content/browser/web_ui", --- a/components/password_manager/content/browser/content_password_manager_driver.cc +++ b/components/password_manager/content/browser/content_password_manager_driver.cc -@@ -430,7 +430,7 @@ void ContentPasswordManagerDriver::Check +@@ -435,7 +435,7 @@ void ContentPasswordManagerDriver::Check if (!password_manager::bad_message::CheckFrameNotPrerendering( render_frame_host_)) return; @@ -2119,7 +2110,7 @@ } --- a/components/password_manager/core/browser/password_manager_client.h +++ b/components/password_manager/core/browser/password_manager_client.h -@@ -394,11 +394,14 @@ class PasswordManagerClient { +@@ -390,11 +390,14 @@ class PasswordManagerClient { // Returns the current best guess as to the page's display language. virtual autofill::LanguageCode GetPageLanguage() const; @@ -2135,7 +2126,7 @@ // Checks the safe browsing reputation of the webpage when the // user focuses on a username/password field. This is used for reporting // only, and won't trigger a warning. -@@ -406,6 +409,7 @@ class PasswordManagerClient { +@@ -402,6 +405,7 @@ class PasswordManagerClient { const GURL& frame_url) = 0; #endif @@ -2143,7 +2134,7 @@ // Checks the safe browsing reputation of the webpage where password reuse // happens. This is called by the PasswordReuseDetectionManager when a // protected password is typed on the wrong domain. This may trigger a -@@ -422,6 +426,7 @@ class PasswordManagerClient { +@@ -418,6 +422,7 @@ class PasswordManagerClient { bool password_field_exists, uint64_t reused_password_hash, const std::string& domain) = 0; @@ -2165,6 +2156,16 @@ } void PasswordReuseDetectionManager::SetClockForTesting(base::Clock* clock) { +--- a/components/resources/safe_browsing_resources.grdp ++++ b/components/resources/safe_browsing_resources.grdp +@@ -3,7 +3,6 @@ + + + +- + + + --- a/components/safe_browsing/content/common/proto/BUILD.gn +++ b/components/safe_browsing/content/common/proto/BUILD.gn @@ -5,8 +5,12 @@ @@ -2224,11 +2225,11 @@ if (sync_observer_) { --- 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 -@@ -166,15 +166,8 @@ void FileSystemAccessSafeMoveHelper::Sta +@@ -168,15 +168,8 @@ void FileSystemAccessSafeMoveHelper::Sta return; } -- if (!RequireSecurityChecks() || !manager_->permission_context()) { +- if (!RequireAfterWriteChecks() || !manager_->permission_context()) { DidAfterWriteCheck( FileSystemAccessPermissionContext::AfterWriteCheckResult::kAllow); - return; @@ -2240,8 +2241,8 @@ } void FileSystemAccessSafeMoveHelper::ComputeHashForSourceFile( -@@ -195,45 +188,6 @@ void FileSystemAccessSafeMoveHelper::Com - std::move(wrapped_callback), source_url())); +@@ -227,45 +220,6 @@ bool FileSystemAccessSafeMoveHelper::Req + return dest_url().type() != storage::kFileSystemTypeTemporary; } -void FileSystemAccessSafeMoveHelper::DoAfterWriteCheck( @@ -2288,7 +2289,7 @@ DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_); --- a/content/browser/file_system_access/file_system_access_safe_move_helper.h +++ b/content/browser/file_system_access/file_system_access_safe_move_helper.h -@@ -55,9 +55,6 @@ class CONTENT_EXPORT FileSystemAccessSaf +@@ -60,9 +60,6 @@ class CONTENT_EXPORT FileSystemAccessSaf private: SEQUENCE_CHECKER(sequence_checker_); @@ -2300,7 +2301,7 @@ void DidFileSkipQuarantine(base::File::Error result); --- a/content/public/browser/file_system_access_permission_context.h +++ b/content/public/browser/file_system_access_permission_context.h -@@ -112,12 +112,6 @@ class FileSystemAccessPermissionContext +@@ -116,12 +116,6 @@ class FileSystemAccessPermissionContext base::OnceCallback callback) = 0; enum class AfterWriteCheckResult { kAllow, kBlock }; @@ -2342,7 +2343,7 @@ declare_args() { --- a/weblayer/BUILD.gn +++ b/weblayer/BUILD.gn -@@ -473,7 +473,6 @@ source_set("weblayer_lib_base") { +@@ -470,7 +470,6 @@ source_set("weblayer_lib_base") { "//components/profile_metrics", "//components/reduce_accept_language/browser", "//components/safe_browsing/content/browser", diff --git a/patches/core/ungoogled-chromium/fix-learn-doubleclick-hsts.patch b/patches/core/ungoogled-chromium/fix-learn-doubleclick-hsts.patch index 70f591c9..39f5bced 100644 --- a/patches/core/ungoogled-chromium/fix-learn-doubleclick-hsts.patch +++ b/patches/core/ungoogled-chromium/fix-learn-doubleclick-hsts.patch @@ -5,7 +5,7 @@ @@ -127,7 +127,7 @@ bool CheckDuplicateEntries(const Transpo bool CheckNoopEntries(const TransportSecurityStateEntries& entries) { for (const auto& entry : entries) { - if (!entry->force_https && entry->pinset.empty() && !entry->expect_ct) { + if (!entry->force_https && entry->pinset.empty()) { - if (entry->hostname == "learn.doubleclick.net") { + if (entry->hostname == "learn.double" "click." "net") { // This entry is deliberately used as an exclusion. diff --git a/patches/core/ungoogled-chromium/remove-unused-preferences-fields.patch b/patches/core/ungoogled-chromium/remove-unused-preferences-fields.patch index 2111a2c3..db87637b 100644 --- a/patches/core/ungoogled-chromium/remove-unused-preferences-fields.patch +++ b/patches/core/ungoogled-chromium/remove-unused-preferences-fields.patch @@ -12,7 +12,7 @@ #include "components/url_formatter/url_fixer.h" #include "components/user_prefs/user_prefs.h" #include "components/visitedlink/browser/visitedlink_writer.h" -@@ -527,8 +526,6 @@ void AwBrowserContext::RebuildTable( +@@ -526,8 +525,6 @@ void AwBrowserContext::RebuildTable( } void AwBrowserContext::SetExtendedReportingAllowed(bool allowed) { @@ -23,7 +23,7 @@ // TODO(amalova): Make sure NetworkContextParams is configured correctly when --- a/chrome/app/settings_strings.grdp +++ b/chrome/app/settings_strings.grdp -@@ -2156,69 +2156,9 @@ +@@ -2352,69 +2352,9 @@ Preloads pages that Chrome thinks you might visit. To do this, Chrome may use cookies, if you allow cookies, and may encrypt and send pages through Google to hide your identity from sites. @@ -157,8 +157,8 @@ 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 -@@ -38,7 +38,6 @@ - #include "chromeos/ash/components/dbus/concierge/concierge_client.h" +@@ -53,7 +53,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" @@ -167,15 +167,15 @@ #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 -@@ -25,7 +25,6 @@ - #include "chrome/common/chrome_switches.h" +@@ -27,7 +27,6 @@ #include "chrome/test/base/in_process_browser_test.h" + #include "chromeos/dbus/constants/dbus_paths.h" #include "components/prefs/pref_service.h" -#include "components/signin/public/base/signin_pref_names.h" #include "components/user_manager/known_user.h" #include "components/user_manager/user_manager.h" #include "content/public/test/browser_test.h" -@@ -255,15 +254,6 @@ IN_PROC_BROWSER_TEST_F(DeviceIDTest, PRE +@@ -271,15 +270,6 @@ IN_PROC_BROWSER_TEST_F(DeviceIDTest, PRE SignInOnline(FakeGaiaMixin::kFakeUserEmail, FakeGaiaMixin::kFakeUserPassword, kRefreshToken1, FakeGaiaMixin::kFakeUserGaiaId); @@ -191,7 +191,7 @@ // Can't use SetKnownUserDeviceId here, because it forbids changing a device // ID. user_manager::KnownUser known_user(g_browser_process->local_state()); -@@ -289,13 +279,6 @@ IN_PROC_BROWSER_TEST_F(DeviceIDTest, PRE +@@ -305,13 +295,6 @@ IN_PROC_BROWSER_TEST_F(DeviceIDTest, PRE SignInOnline(FakeGaiaMixin::kFakeUserEmail, FakeGaiaMixin::kFakeUserPassword, kRefreshToken1, FakeGaiaMixin::kFakeUserGaiaId); @@ -207,7 +207,7 @@ user_manager::KnownUser known_user(g_browser_process->local_state()); --- a/chrome/browser/chrome_content_browser_client.cc +++ b/chrome/browser/chrome_content_browser_client.cc -@@ -246,7 +246,6 @@ +@@ -248,7 +248,6 @@ #include "components/safe_browsing/core/browser/realtime/url_lookup_service.h" #include "components/safe_browsing/core/browser/url_checker_delegate.h" #include "components/safe_browsing/core/common/features.h" @@ -227,7 +227,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 -@@ -901,6 +901,7 @@ void DownloadItemModel::ExecuteCommand(D +@@ -924,6 +924,7 @@ void DownloadItemModel::ExecuteCommand(D DownloadUIModel::ExecuteCommand(download_commands, command); break; case DownloadCommands::DEEP_SCAN: @@ -235,7 +235,7 @@ safe_browsing::SafeBrowsingService* sb_service = g_browser_process->safe_browsing_service(); if (!sb_service) -@@ -933,6 +934,7 @@ void DownloadItemModel::ExecuteCommand(D +@@ -956,6 +957,7 @@ void DownloadItemModel::ExecuteCommand(D safe_browsing::DeepScanningRequest::DeepScanTrigger:: TRIGGER_APP_PROMPT, safe_browsing::DownloadCheckResult::UNKNOWN, std::move(settings)); @@ -263,7 +263,7 @@ #include "components/signin/public/base/consent_level.h" #include "components/signin/public/identity_manager/identity_manager.h" #include "components/user_prefs/user_prefs.h" -@@ -376,8 +375,7 @@ std::string ConnectorsService::GetManage +@@ -340,8 +339,7 @@ std::string ConnectorsService::GetManage absl::optional scope = absl::nullopt; for (const char* scope_pref : @@ -273,7 +273,7 @@ ConnectorScopePref(AnalysisConnector::FILE_DOWNLOADED), ConnectorScopePref(AnalysisConnector::BULK_DATA_ENTRY), ConnectorScopePref(AnalysisConnector::PRINT), -@@ -429,20 +427,6 @@ std::string ConnectorsService::GetManage +@@ -393,20 +391,6 @@ std::string ConnectorsService::GetManage absl::optional ConnectorsService::GetDMTokenForRealTimeUrlCheck() const { @@ -296,7 +296,7 @@ --- a/chrome/browser/enterprise/connectors/connectors_service.h +++ b/chrome/browser/enterprise/connectors/connectors_service.h -@@ -15,7 +15,6 @@ +@@ -16,7 +16,6 @@ #include "components/keyed_service/content/browser_context_keyed_service_factory.h" #include "components/keyed_service/core/keyed_service.h" #include "components/policy/core/common/policy_types.h" @@ -491,7 +491,7 @@ did_just_control_pref) { --- a/chrome/browser/extensions/api/preference/preference_apitest.cc +++ b/chrome/browser/extensions/api/preference/preference_apitest.cc -@@ -31,7 +31,6 @@ +@@ -30,7 +30,6 @@ #include "components/keep_alive_registry/scoped_keep_alive.h" #include "components/password_manager/core/common/password_manager_pref_names.h" #include "components/prefs/pref_service.h" @@ -499,7 +499,7 @@ #include "components/translate/core/browser/translate_pref_names.h" #include "content/public/browser/notification_service.h" #include "content/public/test/browser_test.h" -@@ -86,7 +85,6 @@ class ExtensionPreferenceApiTest +@@ -85,7 +84,6 @@ class ExtensionPreferenceApiTest prefs->GetInteger(prefetch::prefs::kNetworkPredictionOptions)); EXPECT_TRUE( prefs->GetBoolean(password_manager::prefs::kCredentialsEnableService)); @@ -507,7 +507,7 @@ EXPECT_TRUE(prefs->GetBoolean(prefs::kSearchSuggestEnabled)); } -@@ -112,7 +110,6 @@ class ExtensionPreferenceApiTest +@@ -111,7 +109,6 @@ class ExtensionPreferenceApiTest prefs->GetInteger(prefetch::prefs::kNetworkPredictionOptions)); EXPECT_FALSE( prefs->GetBoolean(password_manager::prefs::kCredentialsEnableService)); @@ -515,7 +515,7 @@ EXPECT_FALSE(prefs->GetBoolean(prefs::kSearchSuggestEnabled)); } -@@ -185,7 +182,6 @@ IN_PROC_BROWSER_TEST_P(ExtensionPreferen +@@ -184,7 +181,6 @@ IN_PROC_BROWSER_TEST_P(ExtensionPreferen prefetch::prefs::kNetworkPredictionOptions, static_cast(prefetch::NetworkPredictionOptions::kDisabled)); prefs->SetBoolean(password_manager::prefs::kCredentialsEnableService, false); @@ -545,7 +545,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 -@@ -45,7 +45,6 @@ +@@ -44,7 +44,6 @@ #include "components/prefs/pref_service.h" #include "components/privacy_sandbox/privacy_sandbox_prefs.h" #include "components/proxy_config/proxy_config_pref_names.h" @@ -553,7 +553,7 @@ #include "components/search_engines/default_search_manager.h" #include "components/spellcheck/browser/pref_names.h" #include "components/translate/core/browser/translate_pref_names.h" -@@ -303,16 +302,6 @@ const PrefsUtil::TypedPrefMap& PrefsUtil +@@ -310,16 +309,6 @@ const PrefsUtil::TypedPrefMap& PrefsUtil settings_api::PrefType::PREF_TYPE_BOOLEAN; // Security page @@ -637,15 +637,15 @@ } // namespace extensions --- a/chrome/browser/extensions/installed_loader.cc +++ b/chrome/browser/extensions/installed_loader.cc -@@ -28,7 +28,6 @@ +@@ -27,7 +27,6 @@ #include "chrome/common/extensions/chrome_manifest_url_handlers.h" #include "chrome/common/extensions/manifest_handlers/settings_overrides_handler.h" #include "chrome/common/webui_url_constants.h" -#include "components/safe_browsing/core/common/safe_browsing_prefs.h" #include "content/public/browser/browser_thread.h" - #include "content/public/browser/notification_service.h" #include "content/public/common/url_constants.h" -@@ -800,12 +799,6 @@ void InstalledLoader::RecordExtensionsMe + #include "extensions/browser/allowlist_state.h" +@@ -766,12 +765,6 @@ void InstalledLoader::RecordExtensionsMe enabled_not_allowlisted_count); base::UmaHistogramCounts100("Extensions.NotAllowlistedDisabled", disabled_not_allowlisted_count); @@ -690,9 +690,9 @@ #include "content/public/browser/browser_context.h" #include "content/public/browser/browser_thread.h" #include "content/public/browser/first_party_sets_handler.h" -@@ -873,15 +872,8 @@ void ProfileNetworkContextService::Confi +@@ -872,15 +871,8 @@ void ProfileNetworkContextService::Confi + network_context_params->enable_certificate_reporting = true; - network_context_params->enable_expect_ct_reporting = true; - SCTReportingService* sct_reporting_service = - SCTReportingServiceFactory::GetForBrowserContext(profile_); @@ -739,7 +739,7 @@ } TrialComparisonCertVerifierController:: -@@ -94,9 +87,7 @@ bool TrialComparisonCertVerifierControll +@@ -95,9 +88,7 @@ bool TrialComparisonCertVerifierControll if (!MaybeAllowedForProfile(profile_)) return false; @@ -895,7 +895,7 @@ #include "components/spellcheck/spellcheck_buildflags.h" #include "components/sync/base/pref_names.h" #include "components/sync/driver/sync_policy_handler.h" -@@ -224,9 +221,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -229,9 +226,6 @@ const PolicyToPreferenceMapEntry kSimple { key::kDefaultPopupsSetting, prefs::kManagedDefaultPopupsSetting, base::Value::Type::INTEGER }, @@ -905,7 +905,7 @@ { key::kEditBookmarksEnabled, bookmarks::prefs::kEditBookmarksEnabled, base::Value::Type::BOOLEAN }, -@@ -246,9 +240,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -251,9 +245,6 @@ const PolicyToPreferenceMapEntry kSimple prefs::kPrintingEnabled, base::Value::Type::BOOLEAN }, #endif // BUILDFLAG(ENABLE_PRINTING) @@ -915,7 +915,7 @@ { key::kSavingBrowserHistoryDisabled, prefs::kSavingBrowserHistoryDisabled, base::Value::Type::BOOLEAN }, -@@ -313,9 +304,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -324,9 +315,6 @@ const PolicyToPreferenceMapEntry kSimple { key::kAdsSettingForIntrusiveAdsSites, prefs::kManagedDefaultAdsSetting, base::Value::Type::INTEGER }, @@ -925,7 +925,7 @@ { key::kAllowCrossOriginAuthPrompt, prefs::kAllowCrossOriginAuthPrompt, base::Value::Type::BOOLEAN }, -@@ -512,15 +500,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -523,15 +511,6 @@ const PolicyToPreferenceMapEntry kSimple { key::kPasswordDismissCompromisedAlertEnabled, password_manager::prefs::kPasswordDismissCompromisedAlertEnabled, base::Value::Type::BOOLEAN }, @@ -938,10 +938,10 @@ - { key::kPasswordProtectionWarningTrigger, - prefs::kPasswordProtectionWarningTrigger, - base::Value::Type::INTEGER }, - { key::kPolicyRefreshRate, - policy_prefs::kUserPolicyRefreshRate, - base::Value::Type::INTEGER }, -@@ -559,9 +538,6 @@ const PolicyToPreferenceMapEntry kSimple + #if BUILDFLAG(ENABLE_PDF) + { key::kPdfLocalFileAccessAllowedForDomains, + prefs::kPdfLocalFileAccessAllowedForDomains, +@@ -575,9 +554,6 @@ const PolicyToPreferenceMapEntry kSimple { key::kRestoreOnStartupURLs, prefs::kURLsToRestoreOnStartup, base::Value::Type::LIST }, @@ -951,7 +951,7 @@ { key::kSafeSitesFilterBehavior, policy_prefs::kSafeSitesFilterBehavior, base::Value::Type::INTEGER }, -@@ -679,9 +655,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -698,9 +674,6 @@ const PolicyToPreferenceMapEntry kSimple { key::kAdditionalDnsQueryTypesEnabled, prefs::kAdditionalDnsQueryTypesEnabled, base::Value::Type::BOOLEAN }, @@ -961,17 +961,17 @@ { key::kForceGoogleSafeSearch, prefs::kForceGoogleSafeSearch, base::Value::Type::BOOLEAN }, -@@ -1501,9 +1474,6 @@ const PolicyToPreferenceMapEntry kSimple - { key::kIdleProfileCloseTimeout, - prefs::kIdleProfileCloseTimeout, - base::Value::Type::INTEGER }, +@@ -1520,9 +1493,6 @@ const PolicyToPreferenceMapEntry kSimple + prefs::kImportDialogAutofillFormData, + base::Value::Type::BOOLEAN }, + - { key::kRestrictSigninToPattern, - prefs::kGoogleServicesUsernamePattern, - base::Value::Type::STRING }, { key::kHardwareAccelerationModeEnabled, prefs::kHardwareAccelerationModeEnabled, base::Value::Type::BOOLEAN }, -@@ -1907,12 +1877,6 @@ std::unique_ptrAddHandler( std::make_unique(chrome_schema)); -@@ -2088,24 +2052,6 @@ std::unique_ptr> signin_legacy_policies; @@ -1012,8 +1012,8 @@ --- a/chrome/browser/prefs/browser_prefs.cc +++ b/chrome/browser/prefs/browser_prefs.cc @@ -136,7 +136,6 @@ - #include "components/privacy_sandbox/privacy_sandbox_prefs.h" #include "components/proxy_config/pref_proxy_config_tracker_impl.h" + #include "components/reading_list/core/reading_list_pref_names.h" #include "components/safe_browsing/content/common/file_type_policies_prefs.h" -#include "components/safe_browsing/core/common/safe_browsing_prefs.h" #include "components/search_engines/template_url_prepopulate_data.h" @@ -1027,7 +1027,7 @@ #include "components/signin/public/identity_manager/identity_manager.h" #include "components/site_engagement/content/site_engagement_service.h" #include "components/subresource_filter/content/browser/ruleset_service.h" -@@ -1078,7 +1076,6 @@ void RegisterLocalState(PrefRegistrySimp +@@ -1111,7 +1109,6 @@ void RegisterLocalState(PrefRegistrySimp PushMessagingServiceImpl::RegisterPrefs(registry); #endif RegisterScreenshotPrefs(registry); @@ -1035,7 +1035,7 @@ secure_origin_allowlist::RegisterPrefs(registry); segmentation_platform::SegmentationPlatformService::RegisterLocalStatePrefs( registry); -@@ -1341,8 +1338,6 @@ void RegisterProfilePrefs(user_prefs::Pr +@@ -1377,8 +1374,6 @@ void RegisterProfilePrefs(user_prefs::Pr PushMessagingAppIdentifier::RegisterProfilePrefs(registry); QuietNotificationPermissionUiState::RegisterProfilePrefs(registry); RegisterBrowserUserPrefs(registry); @@ -1044,7 +1044,7 @@ SearchPrefetchService::RegisterProfilePrefs(registry); blocked_content::SafeBrowsingTriggeredPopupBlocker::RegisterProfilePrefs( registry); -@@ -2030,17 +2025,6 @@ void MigrateObsoleteProfilePrefs(Profile +@@ -2065,17 +2060,6 @@ void MigrateObsoleteProfilePrefs(Profile #endif // BUILDFLAG(IS_ANDROID) profile_prefs->ClearPref(origin_trials::kOriginTrialPrefKey); @@ -1072,7 +1072,7 @@ #include "components/safe_browsing/core/common/safebrowsing_switches.h" #include "components/sync/base/pref_names.h" #include "content/public/common/content_switches.h" -@@ -80,8 +79,6 @@ const CommandLinePrefStore::BooleanSwitc +@@ -76,8 +75,6 @@ const CommandLinePrefStore::BooleanSwitc {switches::kAllowCrossOriginAuthPrompt, prefs::kAllowCrossOriginAuthPrompt, true}, {switches::kDisablePrintPreview, prefs::kPrintPreviewDisabled, true}, @@ -1204,7 +1204,7 @@ void ProfileAttributesEntry::LockForceSigninProfile(bool is_lock) { --- a/chrome/browser/profiles/profile_attributes_storage.cc +++ b/chrome/browser/profiles/profile_attributes_storage.cc -@@ -39,7 +39,6 @@ +@@ -38,7 +38,6 @@ #include "components/prefs/scoped_user_pref_update.h" #include "components/profile_metrics/state.h" #include "components/signin/public/base/persistent_repeating_timer.h" @@ -1212,7 +1212,7 @@ #include "content/public/browser/browser_task_traits.h" #include "content/public/browser/browser_thread.h" #include "third_party/icu/source/i18n/unicode/coll.h" -@@ -375,8 +374,6 @@ void ProfileAttributesStorage::AddProfil +@@ -374,8 +373,6 @@ void ProfileAttributesStorage::AddProfil if (params.account_id.HasAccountIdKey()) info.SetStringKey(ProfileAttributesEntry::kAccountIdKey, params.account_id.GetAccountIdKey()); @@ -1223,7 +1223,7 @@ ProfileAttributesEntry* entry = InitEntryWithKey(key, params.is_omitted); --- a/chrome/browser/profiles/profile_impl.cc +++ b/chrome/browser/profiles/profile_impl.cc -@@ -145,7 +145,6 @@ +@@ -146,7 +146,6 @@ #include "components/prefs/scoped_user_pref_update.h" #include "components/profile_metrics/browser_profile_type.h" #include "components/security_interstitials/content/stateful_ssl_host_state_delegate.h" @@ -1233,7 +1233,7 @@ #include "components/spellcheck/spellcheck_buildflags.h" --- a/chrome/browser/profiles/profile_manager.cc +++ b/chrome/browser/profiles/profile_manager.cc -@@ -94,7 +94,6 @@ +@@ -83,7 +83,6 @@ #include "components/signin/public/base/consent_level.h" #include "components/signin/public/base/signin_buildflags.h" #include "components/signin/public/base/signin_metrics.h" @@ -1241,7 +1241,7 @@ #include "components/signin/public/identity_manager/identity_manager.h" #include "components/signin/public/identity_manager/primary_account_mutator.h" #include "components/sync/base/stop_source.h" -@@ -2289,8 +2288,7 @@ void ProfileManager::AddProfileToStorage +@@ -1861,8 +1860,7 @@ void ProfileManager::AddProfileToStorage entry->SetAuthInfo(account_info.gaia, username, is_consented_primary_account); @@ -1251,7 +1251,7 @@ #if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CHROMEOS_ASH) // Sign out if force-sign-in policy is enabled and profile is not signed -@@ -2339,14 +2337,13 @@ void ProfileManager::AddProfileToStorage +@@ -1911,14 +1909,13 @@ void ProfileManager::AddProfileToStorage init_params.is_ephemeral = IsForceEphemeralProfilesEnabled(profile); init_params.is_signed_in_with_credential_provider = @@ -1269,7 +1269,7 @@ prefs->ClearPref(DefaultSearchManager::kDefaultSearchProviderDataPrefName); --- a/chrome/browser/profiles/profile_window.cc +++ b/chrome/browser/profiles/profile_window.cc -@@ -39,7 +39,6 @@ +@@ -38,7 +38,6 @@ #include "chrome/common/url_constants.h" #include "components/flags_ui/pref_service_flags_storage.h" #include "components/prefs/pref_service.h" @@ -1304,7 +1304,7 @@ --- a/chrome/browser/resources/settings/privacy_page/privacy_page.html +++ b/chrome/browser/resources/settings/privacy_page/privacy_page.html -@@ -576,7 +576,7 @@ +@@ -647,7 +647,7 @@ @@ -1443,7 +1443,7 @@ - --- a/chrome/browser/resources/settings/privacy_page/security_page.ts +++ b/chrome/browser/resources/settings/privacy_page/security_page.ts -@@ -219,20 +219,6 @@ export class SettingsSecurityPageElement +@@ -219,21 +219,6 @@ export class SettingsSecurityPageElement override ready() { super.ready(); @@ -1459,12 +1459,13 @@ - } - }); - -- this.registerHelpBubbleIdentifier( -- 'kEnhancedProtectionSettingElementId', 'safeBrowsingEnhanced'); +- this.registerHelpBubble( +- 'kEnhancedProtectionSettingElementId', +- this.$.safeBrowsingEnhanced.getBubbleAnchor()); } /** -@@ -281,8 +267,7 @@ export class SettingsSecurityPageElement +@@ -283,8 +268,7 @@ export class SettingsSecurityPageElement } private getDisabledExtendedSafeBrowsing_(): boolean { @@ -1476,7 +1477,7 @@ private getPasswordsLeakToggleSubLabel_(): string { --- a/chrome/browser/resources/settings/site_settings_page/site_settings_page.ts +++ b/chrome/browser/resources/settings/site_settings_page/site_settings_page.ts -@@ -47,7 +47,7 @@ function getCategoryItemMap(): Map @@ -1506,7 +1507,7 @@ if (is_under_advanced_protection_) ScheduleNextRefresh(); } else { -@@ -231,20 +228,10 @@ void AdvancedProtectionStatusManager::Ca +@@ -221,20 +218,10 @@ void AdvancedProtectionStatusManager::Ca void AdvancedProtectionStatusManager::UpdateLastRefreshTime() { last_refreshed_ = base::Time::Now(); @@ -1920,7 +1921,7 @@ #include "content/public/test/test_utils.h" --- a/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc +++ b/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc -@@ -40,7 +40,6 @@ +@@ -39,7 +39,6 @@ #include "components/prefs/pref_service.h" #include "components/safe_browsing/core/common/features.h" #include "components/safe_browsing/core/common/proto/csd.pb.h" @@ -1940,7 +1941,7 @@ #include "extensions/browser/quota_service.h" --- a/chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc +++ b/chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc -@@ -43,7 +43,6 @@ +@@ -42,7 +42,6 @@ #include "components/history/core/browser/history_database_params.h" #include "components/history/core/browser/history_service.h" #include "components/safe_browsing/core/common/proto/csd.pb.h" @@ -1990,7 +1991,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 -@@ -125,7 +125,6 @@ base::FilePath SafeBrowsingService::GetB +@@ -142,7 +142,6 @@ base::FilePath SafeBrowsingService::GetB SafeBrowsingService::SafeBrowsingService() : services_delegate_(ServicesDelegate::Create(this)), @@ -1998,7 +1999,7 @@ shutdown_(false), enabled_(false), enabled_by_prefs_(false) {} -@@ -253,8 +252,6 @@ TriggerManager* SafeBrowsingService::tri +@@ -270,8 +269,6 @@ TriggerManager* SafeBrowsingService::tri PasswordProtectionService* SafeBrowsingService::GetPasswordProtectionService( Profile* profile) const { @@ -2007,7 +2008,7 @@ return nullptr; } -@@ -346,9 +343,6 @@ void SafeBrowsingService::OnProfileAdded +@@ -368,9 +365,6 @@ void SafeBrowsingService::OnProfileAdded std::unique_ptr registrar = std::make_unique(); registrar->Init(pref_service); @@ -2017,7 +2018,7 @@ // ClientSideDetectionService will need to be refresh the models // renderers have if extended-reporting changes. registrar->Add(prefs::kSafeBrowsingScoutReportingEnabled, -@@ -377,14 +371,6 @@ void SafeBrowsingService::OnProfileAdded +@@ -399,14 +393,6 @@ void SafeBrowsingService::OnProfileAdded NoCachedPopulationReason::kChangeMbbPref)); user_population_prefs_[pref_service] = std::move(registrar); @@ -2032,7 +2033,7 @@ // Extended Reporting metrics are handled together elsewhere. RecordExtendedReportingMetrics(*pref_service); -@@ -427,18 +413,6 @@ void SafeBrowsingService::RefreshState() +@@ -449,18 +435,6 @@ void SafeBrowsingService::RefreshState() // Check if any profile requires the service to be active. enabled_by_prefs_ = false; @@ -2226,10 +2227,10 @@ #endif --- a/chrome/browser/signin/chrome_signin_client.cc +++ b/chrome/browser/signin/chrome_signin_client.cc -@@ -38,7 +38,6 @@ - #include "components/prefs/pref_service.h" +@@ -39,7 +39,6 @@ #include "components/signin/core/browser/cookie_settings_util.h" #include "components/signin/public/base/signin_buildflags.h" + #include "components/signin/public/base/signin_client.h" -#include "components/signin/public/base/signin_pref_names.h" #include "components/signin/public/identity_manager/access_token_info.h" #include "components/signin/public/identity_manager/identity_manager.h" @@ -2285,7 +2286,7 @@ #include "google_apis/gaia/gaia_switches.h" --- a/chrome/browser/signin/primary_account_policy_manager.cc +++ b/chrome/browser/signin/primary_account_policy_manager.cc -@@ -15,7 +15,6 @@ +@@ -16,7 +16,6 @@ #include "chrome/grit/generated_resources.h" #include "components/prefs/pref_service.h" #include "components/signin/public/base/signin_metrics.h" @@ -2293,7 +2294,7 @@ #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" -@@ -179,23 +178,11 @@ void PrimaryAccountPolicyManager::Initia +@@ -180,23 +179,11 @@ void PrimaryAccountPolicyManager::Initia EnsurePrimaryAccountAllowedForProfile( profile_, signin_metrics::SIGNIN_NOT_ALLOWED_ON_PROFILE_INIT); @@ -2317,7 +2318,7 @@ } void PrimaryAccountPolicyManager::OnGoogleServicesUsernamePatternChanged() { -@@ -220,11 +207,6 @@ void PrimaryAccountPolicyManager::Ensure +@@ -221,11 +208,6 @@ void PrimaryAccountPolicyManager::Ensure CoreAccountInfo primary_account = identity_manager->GetPrimaryAccountInfo(signin::ConsentLevel::kSync); @@ -2570,7 +2571,7 @@ #include "components/sync/driver/sync_service.h" --- a/chrome/browser/ui/browser_command_controller.cc +++ b/chrome/browser/ui/browser_command_controller.cc -@@ -61,7 +61,6 @@ +@@ -62,7 +62,6 @@ #include "components/services/screen_ai/buildflags/buildflags.h" #include "components/sessions/core/tab_restore_service.h" #include "components/signin/public/base/signin_buildflags.h" @@ -2578,7 +2579,7 @@ #include "content/public/browser/native_web_keyboard_event.h" #include "content/public/browser/navigation_controller.h" #include "content/public/browser/navigation_entry.h" -@@ -216,10 +215,6 @@ BrowserCommandController::BrowserCommand +@@ -217,10 +216,6 @@ BrowserCommandController::BrowserCommand &BrowserCommandController::UpdateCommandsForFullscreenMode, base::Unretained(this))); #endif @@ -2589,7 +2590,7 @@ InitCommandState(); -@@ -1629,7 +1624,7 @@ void BrowserCommandController::UpdateSho +@@ -1616,7 +1611,7 @@ void BrowserCommandController::UpdateSho return; command_updater_.UpdateCommandEnabled( @@ -2600,7 +2601,7 @@ void BrowserCommandController::UpdateReloadStopState(bool is_loading, --- a/chrome/browser/ui/browser_command_controller.h +++ b/chrome/browser/ui/browser_command_controller.h -@@ -212,7 +212,6 @@ class BrowserCommandController : public +@@ -208,7 +208,6 @@ class BrowserCommandController : public PrefChangeRegistrar profile_pref_registrar_; PrefChangeRegistrar local_pref_registrar_; @@ -2620,7 +2621,7 @@ #include "ui/events/keycodes/keyboard_codes.h" --- a/chrome/browser/ui/chrome_pages.cc +++ b/chrome/browser/ui/chrome_pages.cc -@@ -64,7 +64,6 @@ +@@ -63,7 +63,6 @@ #if !BUILDFLAG(IS_ANDROID) #include "base/metrics/histogram_functions.h" #include "chrome/browser/signin/identity_manager_factory.h" @@ -2628,7 +2629,7 @@ #include "components/signin/public/identity_manager/identity_manager.h" #endif -@@ -592,13 +591,7 @@ void ShowBrowserSignin(Browser* browser, +@@ -593,13 +592,7 @@ void ShowBrowserSignin(Browser* browser, void ShowBrowserSigninOrSettings(Browser* browser, signin_metrics::AccessPoint access_point) { @@ -2654,7 +2655,7 @@ #include "components/unified_consent/pref_names.h" #include "components/version_info/channel.h" -@@ -138,9 +136,6 @@ bool HasNonDefaultPrivacySetting(Profile +@@ -247,9 +245,6 @@ bool HasNonDefaultPrivacySetting(Profile auto* prefs = profile->GetPrefs(); std::vector prefs_to_check = { @@ -2664,7 +2665,7 @@ prefs::kEnableDoNotTrack, password_manager::prefs::kPasswordLeakDetectionEnabled, prefs::kCookieControlsMode, -@@ -158,13 +153,9 @@ bool HasNonDefaultPrivacySetting(Profile +@@ -267,13 +262,9 @@ bool HasNonDefaultPrivacySetting(Profile // Users consenting to sync automatically enable UKM collection auto* ukm_pref = prefs->FindPreference( unified_consent::prefs::kUrlKeyedAnonymizedDataCollectionEnabled); @@ -2806,7 +2807,7 @@ break; --- a/chrome/browser/ui/webui/downloads/downloads_dom_handler.cc +++ b/chrome/browser/ui/webui/downloads/downloads_dom_handler.cc -@@ -39,7 +39,6 @@ +@@ -40,7 +40,6 @@ #include "components/download/public/common/download_item.h" #include "components/prefs/pref_service.h" #include "components/safe_browsing/core/common/features.h" @@ -2835,7 +2836,7 @@ --- a/chrome/browser/ui/webui/management/management_ui_handler.cc +++ b/chrome/browser/ui/webui/management/management_ui_handler.cc -@@ -33,7 +33,6 @@ +@@ -35,7 +35,6 @@ #include "chrome/browser/profiles/profile.h" #include "chrome/browser/ui/managed_ui.h" #include "chrome/common/pref_names.h" @@ -2877,7 +2878,7 @@ #endif // CHROME_BROWSER_UI_WEBUI_PROFILE_INFO_WATCHER_H_ --- a/chrome/browser/ui/webui/reset_password/reset_password_ui.cc +++ b/chrome/browser/ui/webui/reset_password/reset_password_ui.cc -@@ -20,7 +20,6 @@ +@@ -21,7 +21,6 @@ #include "components/safe_browsing/content/browser/password_protection/password_protection_service.h" #include "components/safe_browsing/core/browser/password_protection/metrics_util.h" #include "components/safe_browsing/core/common/proto/csd.pb.h" @@ -2926,7 +2927,7 @@ #include "components/signin/public/base/signin_buildflags.h" #include "components/strings/grit/components_chromium_strings.h" #include "components/strings/grit/components_strings.h" -@@ -1587,44 +1586,6 @@ void AddPrivacyStrings(content::WebUIDat +@@ -1706,44 +1705,6 @@ void AddPrivacyStrings(content::WebUIDat {"clearBrowsingData", IDS_SETTINGS_CLEAR_BROWSING_DATA}, {"clearBrowsingDataDescription", IDS_SETTINGS_CLEAR_DATA_DESCRIPTION}, {"titleAndCount", IDS_SETTINGS_TITLE_AND_COUNT}, @@ -2971,7 +2972,7 @@ {"safeBrowsingSectionLabel", IDS_SETTINGS_SAFEBROWSING_SECTION_LABEL}, {"syncAndGoogleServicesPrivacyDescription", IDS_SETTINGS_SYNC_AND_GOOGLE_SERVICES_PRIVACY_DESC_UNIFIED_CONSENT}, -@@ -2943,11 +2904,6 @@ void AddSiteSettingsStrings(content::Web +@@ -3130,11 +3091,6 @@ void AddSiteSettingsStrings(content::Web html_source->AddLocalizedStrings(kSensorsLocalizedStrings); html_source->AddBoolean( @@ -2985,15 +2986,15 @@ --- a/chrome/browser/ui/webui/settings/settings_ui.cc +++ b/chrome/browser/ui/webui/settings/settings_ui.cc -@@ -78,7 +78,6 @@ - #include "components/pref_registry/pref_registry_syncable.h" +@@ -80,7 +80,6 @@ #include "components/prefs/pref_service.h" + #include "components/privacy_sandbox/privacy_sandbox_features.h" #include "components/safe_browsing/core/common/features.h" -#include "components/signin/public/base/signin_pref_names.h" #include "components/sync/base/features.h" #include "content/public/browser/url_data_source.h" #include "content/public/browser/web_contents.h" -@@ -274,9 +273,7 @@ SettingsUI::SettingsUI(content::WebUI* w +@@ -275,9 +274,7 @@ SettingsUI::SettingsUI(content::WebUI* w std::make_unique()); #endif // BUILDFLAG(IS_WIN) && BUILDFLAG(GOOGLE_CHROME_BRANDING) @@ -3025,7 +3026,7 @@ default_email.clear(); --- a/chrome/browser/ui/webui/signin/inline_login_handler_impl.cc +++ b/chrome/browser/ui/webui/signin/inline_login_handler_impl.cc -@@ -70,7 +70,6 @@ +@@ -69,7 +69,6 @@ #include "components/prefs/pref_service.h" #include "components/signin/core/browser/about_signin_internals.h" #include "components/signin/public/base/signin_metrics.h" @@ -3035,7 +3036,7 @@ #include "components/signin/public/identity_manager/identity_manager.h" --- a/chrome/browser/ui/webui/signin/signin_error_ui.cc +++ b/chrome/browser/ui/webui/signin/signin_error_ui.cc -@@ -28,7 +28,6 @@ +@@ -29,7 +29,6 @@ #include "chrome/grit/generated_resources.h" #include "chrome/grit/signin_resources.h" #include "components/prefs/pref_service.h" @@ -3043,7 +3044,7 @@ #include "components/strings/grit/components_strings.h" #include "content/public/browser/web_ui.h" #include "content/public/browser/web_ui_data_source.h" -@@ -111,9 +110,7 @@ void SigninErrorUI::Initialize(Browser* +@@ -112,9 +111,7 @@ void SigninErrorUI::Initialize(Browser* if (is_profile_blocked) { source->AddLocalizedString("profileBlockedMessage", IDS_OLD_PROFILES_DISABLED_MESSAGE); @@ -3094,7 +3095,7 @@ } --- a/chrome/browser/ui/webui/signin/turn_sync_on_helper.cc +++ b/chrome/browser/ui/webui/signin/turn_sync_on_helper.cc -@@ -42,7 +42,6 @@ +@@ -43,7 +43,6 @@ #include "components/policy/core/common/management/management_service.h" #include "components/prefs/pref_service.h" #include "components/signin/public/base/signin_metrics.h" @@ -3102,7 +3103,7 @@ #include "components/signin/public/identity_manager/accounts_mutator.h" #include "components/signin/public/identity_manager/identity_manager.h" #include "components/signin/public/identity_manager/primary_account_mutator.h" -@@ -269,8 +268,7 @@ void TurnSyncOnHelper::TurnSyncOnInterna +@@ -270,8 +269,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). @@ -3124,7 +3125,7 @@ #include "components/signin/public/identity_manager/identity_test_utils.h" --- a/chrome/browser/ui/webui/welcome/welcome_ui.cc +++ b/chrome/browser/ui/webui/welcome/welcome_ui.cc -@@ -24,7 +24,6 @@ +@@ -25,7 +25,6 @@ #include "chrome/grit/welcome_resources.h" #include "chrome/grit/welcome_resources_map.h" #include "components/prefs/pref_service.h" @@ -3132,9 +3133,9 @@ #include "components/strings/grit/components_strings.h" #include "net/base/url_util.h" #include "ui/base/webui/web_ui_util.h" -@@ -168,7 +167,7 @@ WelcomeUI::WelcomeUI(content::WebUI* web +@@ -169,7 +168,7 @@ WelcomeUI::WelcomeUI(content::WebUI* web "returningUserModules", - welcome::GetModules(profile).FindKey("returning-user")->GetString()); + welcome::GetModules(profile).Find("returning-user")->GetString()); html_source->AddBoolean( - "signinAllowed", profile->GetPrefs()->GetBoolean(prefs::kSigninAllowed)); + "signinAllowed", false); @@ -3151,7 +3152,7 @@ #include "components/spellcheck/browser/pref_names.h" #include "components/sync_preferences/pref_service_syncable.h" #include "components/unified_consent/unified_consent_metrics.h" -@@ -39,7 +38,6 @@ namespace { +@@ -35,7 +34,6 @@ namespace { std::vector GetSyncedServicePrefNames() { return { prefs::kSearchSuggestEnabled, embedder_support::kAlternateErrorPagesEnabled, @@ -3180,7 +3181,7 @@ "value": ["searchSuggestEnabled", {"type":"boolean"}], --- a/components/password_manager/core/browser/leak_detection_delegate.cc +++ b/components/password_manager/core/browser/leak_detection_delegate.cc -@@ -23,7 +23,6 @@ +@@ -19,7 +19,6 @@ #include "components/password_manager/core/common/password_manager_features.h" #include "components/password_manager/core/common/password_manager_pref_names.h" #include "components/prefs/pref_service.h" @@ -3188,7 +3189,7 @@ #include "services/network/public/cpp/shared_url_loader_factory.h" namespace password_manager { -@@ -189,28 +188,7 @@ void LeakDetectionDelegate::OnError(Leak +@@ -162,28 +161,7 @@ void LeakDetectionDelegate::OnError(Leak bool CanStartLeakCheck(const PrefService& prefs, PasswordManagerClient* client) { @@ -3251,7 +3252,7 @@ --- a/components/password_manager/core/browser/password_reuse_manager_impl.cc +++ b/components/password_manager/core/browser/password_reuse_manager_impl.cc -@@ -11,7 +11,6 @@ +@@ -12,7 +12,6 @@ #include "components/password_manager/core/browser/password_store_signin_notifier.h" #include "components/password_manager/core/common/password_manager_features.h" #include "components/prefs/pref_service.h" @@ -3259,7 +3260,7 @@ using base::RecordAction; using base::UserMetricsAction; -@@ -340,20 +339,6 @@ void PasswordReuseManagerImpl::ScheduleP +@@ -342,20 +341,6 @@ void PasswordReuseManagerImpl::ScheduleP void PasswordReuseManagerImpl::ScheduleEnterprisePasswordURLUpdate() { DCHECK(main_task_runner_->RunsTasksInCurrentSequence()); @@ -3279,10 +3280,10 @@ - std::move(enterprise_change_password_url))); } - void PasswordReuseManagerImpl::OnGetPasswordStoreResults( + void PasswordReuseManagerImpl::RequestLoginsFromStores() { --- a/components/password_manager/core/browser/password_store.cc +++ b/components/password_manager/core/browser/password_store.cc -@@ -40,7 +40,6 @@ +@@ -41,7 +41,6 @@ #include "components/password_manager/core/common/password_manager_features.h" #include "components/password_manager/core/common/password_manager_pref_names.h" #include "components/prefs/pref_service.h" @@ -3416,7 +3417,7 @@ --- a/components/safe_browsing/content/browser/triggers/trigger_throttler.cc +++ b/components/safe_browsing/content/browser/triggers/trigger_throttler.cc -@@ -146,28 +146,6 @@ void TriggerThrottler::LoadTriggerEvents +@@ -147,28 +147,6 @@ void TriggerThrottler::LoadTriggerEvents trigger_events_.clear(); if (!local_state_prefs_) return; @@ -3445,13 +3446,13 @@ } void TriggerThrottler::WriteTriggerEventsToPref() { -@@ -183,9 +161,6 @@ void TriggerThrottler::WriteTriggerEvent - pref_timestamps->Append(base::Value(timestamp.ToDoubleT())); - } +@@ -185,9 +163,6 @@ void TriggerThrottler::WriteTriggerEvent + trigger_dict.Set(base::NumberToString(static_cast(trigger_item.first)), + std::move(timestamps)); } - -- local_state_prefs_->Set(prefs::kSafeBrowsingTriggerEventTimestamps, -- trigger_dict); +- local_state_prefs_->SetDict(prefs::kSafeBrowsingTriggerEventTimestamps, +- std::move(trigger_dict)); } size_t TriggerThrottler::GetDailyQuotaForTrigger( @@ -3495,7 +3496,7 @@ #include "content/public/browser/global_routing_id.h" #include "services/network/public/mojom/cookie_manager.mojom.h" #if BUILDFLAG(FULL_SAFE_BROWSING) -@@ -1486,17 +1485,7 @@ std::string SerializeHitReport(const Hit +@@ -1489,17 +1488,7 @@ std::string SerializeHitReport(const Hit } hit_report_dict.Set("threat_source", threat_source); std::string extended_reporting_level; @@ -3513,7 +3514,7 @@ hit_report_dict.Set("extended_reporting_level", extended_reporting_level); hit_report_dict.Set("is_enhanced_protection", hit_report.is_enhanced_protection); -@@ -2377,18 +2366,13 @@ void SafeBrowsingUIHandler::GetPrefs(con +@@ -2383,18 +2372,13 @@ void SafeBrowsingUIHandler::GetPrefs(con AllowJavascript(); DCHECK(!args.empty()); std::string callback_id = args[0].GetString(); @@ -3563,7 +3564,7 @@ --- a/components/safe_browsing/core/browser/db/v4_local_database_manager.cc +++ b/components/safe_browsing/core/browser/db/v4_local_database_manager.cc -@@ -335,10 +335,9 @@ const V4LocalDatabaseManager* +@@ -328,10 +328,9 @@ const V4LocalDatabaseManager* scoped_refptr V4LocalDatabaseManager::Create( const base::FilePath& base_path, scoped_refptr ui_task_runner, @@ -3576,7 +3577,7 @@ std::move(io_task_runner), nullptr)); } -@@ -361,14 +360,12 @@ void V4LocalDatabaseManager::CollectData +@@ -354,14 +353,12 @@ void V4LocalDatabaseManager::CollectData V4LocalDatabaseManager::V4LocalDatabaseManager( const base::FilePath& base_path, @@ -3591,7 +3592,7 @@ list_infos_(GetListInfos()), task_runner_(task_runner_for_tests ? task_runner_for_tests -@@ -1129,8 +1126,7 @@ void V4LocalDatabaseManager::SetupUpdate +@@ -1094,8 +1091,7 @@ void V4LocalDatabaseManager::SetupUpdate weak_factory_.GetWeakPtr()); v4_update_protocol_manager_ = V4UpdateProtocolManager::Create( @@ -3613,7 +3614,7 @@ V4LocalDatabaseManager(const V4LocalDatabaseManager&) = delete; V4LocalDatabaseManager& operator=(const V4LocalDatabaseManager&) = delete; -@@ -108,7 +107,6 @@ class V4LocalDatabaseManager : public Sa +@@ -106,7 +105,6 @@ class V4LocalDatabaseManager : public Sa // Must be initialized by calling StartOnIOThread() before using. V4LocalDatabaseManager( const base::FilePath& base_path, @@ -3621,7 +3622,7 @@ scoped_refptr ui_task_runner, scoped_refptr io_task_runner, scoped_refptr task_runner_for_tests); -@@ -395,10 +393,6 @@ class V4LocalDatabaseManager : public Sa +@@ -391,10 +389,6 @@ class V4LocalDatabaseManager : public Sa // ready to process next update. DatabaseUpdatedCallback db_updated_callback_; @@ -4195,7 +4196,7 @@ } TailoredSecurityService::~TailoredSecurityService() { -@@ -406,24 +396,6 @@ void TailoredSecurityService::MaybeNotif +@@ -407,24 +397,6 @@ void TailoredSecurityService::MaybeNotif return; } @@ -4219,7 +4220,7 @@ - } } - void TailoredSecurityService::QueryTailoredSecurityBitCompletionCallback( + void TailoredSecurityService:: --- a/components/safe_browsing/core/browser/tailored_security_service/tailored_security_service_observer_util.cc +++ b/components/safe_browsing/core/browser/tailored_security_service/tailored_security_service_observer_util.cc @@ -7,37 +7,19 @@ @@ -4348,7 +4349,7 @@ return is_safe_browsing_enabled_managed && is_safe_browsing_enhanced_managed; --- a/components/safe_browsing/core/common/safe_browsing_prefs_unittest.cc +++ b/components/safe_browsing/core/common/safe_browsing_prefs_unittest.cc -@@ -12,7 +12,6 @@ +@@ -13,7 +13,6 @@ #include "components/prefs/pref_registry_simple.h" #include "components/prefs/testing_pref_service.h" #include "components/safe_browsing/core/common/features.h" @@ -4742,14 +4743,14 @@ #include "components/signin/public/identity_manager/identity_test_environment.h" --- a/components/signin/core/browser/dice_account_reconcilor_delegate.cc +++ b/components/signin/core/browser/dice_account_reconcilor_delegate.cc -@@ -12,7 +12,6 @@ - #include "base/ranges/algorithm.h" - #include "components/prefs/pref_service.h" +@@ -14,7 +14,6 @@ + #include "components/signin/public/base/consent_level.h" #include "components/signin/public/base/signin_client.h" + #include "components/signin/public/base/signin_metrics.h" -#include "components/signin/public/base/signin_pref_names.h" #include "components/signin/public/identity_manager/accounts_mutator.h" #include "components/signin/public/identity_manager/identity_manager.h" - + #include "components/signin/public/identity_manager/primary_account_mutator.h" --- a/components/signin/internal/identity_manager/account_tracker_service.cc +++ b/components/signin/internal/identity_manager/account_tracker_service.cc @@ -35,7 +35,6 @@ @@ -5092,7 +5093,7 @@ #include "components/signin/public/base/signin_switches.h" using signin::PrimaryAccountChangeEvent; -@@ -44,23 +43,10 @@ PrimaryAccountManager::~PrimaryAccountMa +@@ -79,23 +78,10 @@ PrimaryAccountManager::~PrimaryAccountMa // static void PrimaryAccountManager::RegisterProfilePrefs(PrefRegistrySimple* registry) { @@ -5116,7 +5117,7 @@ } void PrimaryAccountManager::Initialize(PrefService* local_state) { -@@ -68,25 +54,7 @@ void PrimaryAccountManager::Initialize(P +@@ -103,27 +89,9 @@ void PrimaryAccountManager::Initialize(P DCHECK(!IsInitialized()); initialized_ = true; @@ -5124,8 +5125,10 @@ - // clear their login info also (not valid to be logged in without any - // tokens). - base::CommandLine* cmd_line = base::CommandLine::ForCurrentProcess(); + ScopedPrefCommit scoped_pref_commit(client_->GetPrefs(), + /*commit_on_destroy*/ false); - if (cmd_line->HasSwitch(switches::kClearTokenService)) -- SetPrimaryAccountInternal(CoreAccountInfo(), false); +- SetPrimaryAccountInternal(CoreAccountInfo(), false, scoped_pref_commit); - - std::string pref_account_id = - client_->GetPrefs()->GetString(prefs::kGoogleServicesAccountId); @@ -5143,7 +5146,7 @@ #if BUILDFLAG(IS_CHROMEOS_ASH) if (!pref_account_id.empty()) { -@@ -97,15 +65,13 @@ void PrimaryAccountManager::Initialize(P +@@ -134,15 +102,13 @@ void PrimaryAccountManager::Initialize(P // |account_info.gaia| could be empty if |account_id| is already gaia id. if (!account_info.gaia.empty()) { pref_account_id = account_info.gaia; @@ -5160,7 +5163,7 @@ CoreAccountId account_id = CoreAccountId::FromString(pref_account_id); CoreAccountInfo account_info = account_tracker_service_->GetAccountInfo(account_id); -@@ -180,8 +146,7 @@ void PrimaryAccountManager::SetSyncPrima +@@ -221,8 +187,7 @@ void PrimaryAccountManager::SetSyncPrima #if DCHECK_IS_ON() { @@ -5170,28 +5173,29 @@ bool consented_to_sync = client_->GetPrefs()->GetBoolean(prefs::kGoogleServicesConsentedToSync); -@@ -197,10 +162,6 @@ void PrimaryAccountManager::SetSyncPrima +@@ -243,10 +208,6 @@ void PrimaryAccountManager::SetSyncPrima // Go ahead and update the last signed in account info here as well. Once a // user is signed in the corresponding preferences should match. Doing it here // as opposed to on signin allows us to catch the upgrade scenario. -- client_->GetPrefs()->SetString(prefs::kGoogleServicesLastGaiaId, -- account_info.gaia); -- client_->GetPrefs()->SetString(prefs::kGoogleServicesLastUsername, -- account_info.email); +- scoped_pref_commit.SetString(prefs::kGoogleServicesLastGaiaId, +- account_info.gaia); +- scoped_pref_commit.SetString(prefs::kGoogleServicesLastUsername, +- account_info.email); + } - // Commit primary sync account info immediately so that it does not get lost - // if Chrome crashes before the next commit interval. -@@ -214,20 +175,11 @@ void PrimaryAccountManager::SetPrimaryAc + void PrimaryAccountManager::SetPrimaryAccountInternal( +@@ -256,21 +217,11 @@ void PrimaryAccountManager::SetPrimaryAc + primary_account_info_ = account_info; - PrefService* prefs = client_->GetPrefs(); const std::string& account_id = primary_account_info_.account_id.ToString(); - if (account_id.empty()) { - DCHECK(!consented_to_sync); -- prefs->ClearPref(prefs::kGoogleServicesAccountId); -- prefs->ClearPref(prefs::kGoogleServicesConsentedToSync); +- scoped_pref_commit.SetString(prefs::kGoogleServicesAccountId, ""); +- scoped_pref_commit.SetBoolean(prefs::kGoogleServicesConsentedToSync, false); - } else { -- prefs->SetString(prefs::kGoogleServicesAccountId, account_id); -- prefs->SetBoolean(prefs::kGoogleServicesConsentedToSync, consented_to_sync); +- scoped_pref_commit.SetString(prefs::kGoogleServicesAccountId, account_id); +- scoped_pref_commit.SetBoolean(prefs::kGoogleServicesConsentedToSync, +- consented_to_sync); - } } @@ -5411,7 +5415,7 @@ #include "components/signin/public/identity_manager/identity_test_utils.h" --- a/tools/metrics/histograms/enums.xml +++ b/tools/metrics/histograms/enums.xml -@@ -100557,7 +100557,6 @@ Full version information for the fingerp +@@ -100544,7 +100544,6 @@ Full version information for the fingerp @@ -5419,7 +5423,7 @@ -@@ -100572,10 +100571,7 @@ Full version information for the fingerp +@@ -100559,10 +100558,7 @@ Full version information for the fingerp diff --git a/patches/core/ungoogled-chromium/replace-google-search-engine-with-nosearch.patch b/patches/core/ungoogled-chromium/replace-google-search-engine-with-nosearch.patch index 5a7067dd..6a0bf343 100644 --- a/patches/core/ungoogled-chromium/replace-google-search-engine-with-nosearch.patch +++ b/patches/core/ungoogled-chromium/replace-google-search-engine-with-nosearch.patch @@ -1,6 +1,6 @@ --- a/components/search_engines/prepopulated_engines.json +++ b/components/search_engines/prepopulated_engines.json -@@ -114,24 +114,11 @@ +@@ -114,25 +114,11 @@ }, "google": { @@ -15,6 +15,7 @@ - "side_search_param": "sidesearch", - "side_image_search_param": "sideimagesearch", - "image_search_branding_label": "Google Lens", +- "search_intent_params": ["si", "gs_ssp"], - "alternate_urls": [ - "{google:baseURL}#q={searchTerms}", - "{google:baseURL}search#q={searchTerms}", diff --git a/patches/core/ungoogled-chromium/toggle-translation-via-switch.patch b/patches/core/ungoogled-chromium/toggle-translation-via-switch.patch index cca788b3..8e6ce39b 100644 --- a/patches/core/ungoogled-chromium/toggle-translation-via-switch.patch +++ b/patches/core/ungoogled-chromium/toggle-translation-via-switch.patch @@ -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" -@@ -1820,6 +1821,7 @@ void RenderViewContextMenu::AppendPageIt +@@ -1818,6 +1819,7 @@ void RenderViewContextMenu::AppendPageIt menu_model_.AddSeparator(ui::NORMAL_SEPARATOR); if (CanTranslate(/*menu_logging=*/true)) { @@ -47,8 +47,8 @@ request_pending_ = true; --- a/components/translate/core/browser/translate_manager.cc +++ b/components/translate/core/browser/translate_manager.cc -@@ -888,8 +888,9 @@ void TranslateManager::FilterIsTranslate - ->LogAutofillAssistantDeferredTriggerDecision(); +@@ -865,8 +865,9 @@ void TranslateManager::FilterIsTranslate + TriggerDecision::kDisabledOffline); } - if (!ignore_missing_key_for_testing_ && @@ -88,7 +88,7 @@ translate_event->set_ranker_version(GetModelVersion()); --- a/components/translate/core/browser/translate_script.cc +++ b/components/translate/core/browser/translate_script.cc -@@ -137,8 +137,13 @@ void TranslateScript::OnScriptFetchCompl +@@ -136,8 +136,13 @@ void TranslateScript::OnScriptFetchCompl server_params.c_str()); GURL security_origin = translate::GetTranslateSecurityOrigin(); 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 a3ce6c06..c77c5f35 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 -@@ -2447,6 +2447,7 @@ static_library("browser") { +@@ -2436,6 +2436,7 @@ static_library("browser") { "//third_party/libyuv", "//third_party/metrics_proto", "//third_party/re2", @@ -44,7 +44,7 @@ #endif // CHROME_BROWSER_BROMITE_FLAG_ENTRIES_H_ --- a/content/browser/BUILD.gn +++ b/content/browser/BUILD.gn -@@ -248,6 +248,7 @@ source_set("browser") { +@@ -246,6 +246,7 @@ source_set("browser") { "//third_party/libyuv", "//third_party/re2", "//third_party/sqlite", @@ -54,7 +54,7 @@ "//third_party/zlib/google:zip", --- a/content/browser/renderer_host/render_process_host_impl.cc +++ b/content/browser/renderer_host/render_process_host_impl.cc -@@ -77,6 +77,7 @@ +@@ -76,6 +76,7 @@ #include "components/services/storage/public/cpp/quota_error_or.h" #include "components/services/storage/public/mojom/cache_storage_control.mojom.h" #include "components/tracing/common/tracing_switches.h" @@ -62,7 +62,7 @@ #include "components/viz/common/switches.h" #include "components/viz/host/gpu_client.h" #include "content/browser/attribution_reporting/attribution_manager.h" -@@ -3314,6 +3315,8 @@ void RenderProcessHostImpl::PropagateBro +@@ -3362,6 +3363,8 @@ void RenderProcessHostImpl::PropagateBro switches::kEnableWebGLImageChromium, switches::kEnableWebGPUDeveloperFeatures, switches::kFileUrlPathAlias, @@ -124,7 +124,7 @@ #include "base/ranges/algorithm.h" #include "base/time/time.h" #include "cc/animation/animation_host.h" -@@ -923,6 +924,14 @@ Range* Document::CreateRangeAdjustedToTr +@@ -924,6 +925,14 @@ Range* Document::CreateRangeAdjustedToTr Position::BeforeNode(*shadow_host)); } @@ -139,7 +139,7 @@ SelectorQueryCache& Document::GetSelectorQueryCache() { if (!selector_query_cache_) selector_query_cache_ = std::make_unique(); -@@ -2247,6 +2256,15 @@ void Document::UpdateStyleAndLayoutTreeF +@@ -2249,6 +2258,15 @@ void Document::UpdateStyleAndLayoutTreeF #if DCHECK_IS_ON() AssertLayoutTreeUpdated(*this, true /* allow_dirty_container_subtrees */); #endif @@ -168,7 +168,7 @@ AtomicString visibilityState() const; bool IsPageVisible() const; bool hidden() const; -@@ -2330,6 +2334,9 @@ class CORE_EXPORT Document : public Cont +@@ -2335,6 +2339,9 @@ class CORE_EXPORT Document : public Cont base::ElapsedTimer start_time_; @@ -180,7 +180,7 @@ --- a/third_party/blink/renderer/core/dom/element.cc +++ b/third_party/blink/renderer/core/dom/element.cc -@@ -2086,6 +2086,11 @@ DOMRectList* Element::getClientRects() { +@@ -2089,6 +2089,11 @@ DOMRectList* Element::getClientRects() { DCHECK(element_layout_object); GetDocument().AdjustQuadsForScrollAndAbsoluteZoom(quads, *element_layout_object); @@ -192,7 +192,7 @@ return MakeGarbageCollected(quads); } -@@ -2110,6 +2115,9 @@ gfx::RectF Element::GetBoundingClientRec +@@ -2113,6 +2118,9 @@ gfx::RectF Element::GetBoundingClientRec DCHECK(element_layout_object); GetDocument().AdjustRectForScrollAndAbsoluteZoom(result, *element_layout_object); @@ -204,7 +204,7 @@ --- a/third_party/blink/renderer/core/dom/range.cc +++ b/third_party/blink/renderer/core/dom/range.cc -@@ -1604,11 +1604,21 @@ DOMRectList* Range::getClientRects() con +@@ -1612,11 +1612,21 @@ DOMRectList* Range::getClientRects() con Vector quads; GetBorderAndTextQuads(quads); @@ -267,7 +267,7 @@ const TextDirection&, --- a/third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d.cc +++ b/third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d.cc -@@ -929,9 +929,15 @@ TextMetrics* CanvasRenderingContext2D::m +@@ -938,9 +938,15 @@ TextMetrics* CanvasRenderingContext2D::m TextDirection direction = ToTextDirection(GetState().GetDirection(), canvas()); @@ -286,7 +286,7 @@ void CanvasRenderingContext2D::drawFormattedText( --- a/third_party/blink/renderer/platform/BUILD.gn +++ b/third_party/blink/renderer/platform/BUILD.gn -@@ -1655,6 +1655,7 @@ component("platform") { +@@ -1683,6 +1683,7 @@ component("platform") { "//components/paint_preview/common", "//components/power_scheduler", "//components/search_engines:search_engine_utils", @@ -311,7 +311,7 @@ } // namespace blink --- a/third_party/blink/renderer/platform/runtime_enabled_features.json5 +++ b/third_party/blink/renderer/platform/runtime_enabled_features.json5 -@@ -1325,6 +1325,12 @@ +@@ -1329,6 +1329,12 @@ origin_trial_feature_name: "Focusgroup", }, { 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 9978c6c7..c2cb139c 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 -@@ -3317,6 +3317,7 @@ void RenderProcessHostImpl::PropagateBro +@@ -3365,6 +3365,7 @@ void RenderProcessHostImpl::PropagateBro switches::kFileUrlPathAlias, switches::kFingerprintingClientRectsNoise, switches::kFingerprintingCanvasMeasureTextNoise, @@ -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 -@@ -31,6 +31,7 @@ +@@ -32,6 +32,7 @@ #include "third_party/blink/renderer/platform/graphics/bitmap_image.h" #include "third_party/blink/renderer/platform/graphics/graphics_context.h" #include "third_party/blink/renderer/platform/graphics/skia/skia_utils.h" @@ -73,7 +73,7 @@ approach to change color components. #include "third_party/blink/renderer/platform/graphics/stroke_data.h" #include "third_party/blink/renderer/platform/graphics/video_frame_image_util.h" #include "third_party/blink/renderer/platform/heap/garbage_collected.h" -@@ -2079,6 +2080,9 @@ ImageData* BaseRenderingContext2D::getIm +@@ -2057,6 +2058,9 @@ ImageData* BaseRenderingContext2D::getIm snapshot->PaintImageForCurrentFrame().GetSkImageInfo().bounds(); DCHECK(!bounds.intersect(SkIRect::MakeXYWH(sx, sy, sw, sh))); } @@ -85,7 +85,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 -@@ -1613,7 +1613,9 @@ component("platform") { +@@ -1641,7 +1641,9 @@ component("platform") { "//third_party/blink/renderer:non_test_config", ] @@ -322,7 +322,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 -@@ -1331,6 +1331,9 @@ +@@ -1335,6 +1335,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 54a0cbed..31609891 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 -@@ -2182,6 +2182,7 @@ static_library("browser") { +@@ -2170,6 +2170,7 @@ static_library("browser") { "//components/net_log", "//components/network_hints/common:mojo_bindings", "//components/network_session_configurator/browser", @@ -63,7 +63,7 @@ with limited CPU/memory resources and it is disabled by default. #include "base/synchronization/waitable_event.h" #include "base/task/single_thread_task_runner.h" #include "base/task/task_traits.h" -@@ -104,6 +106,7 @@ +@@ -103,6 +105,7 @@ #include "components/metrics/metrics_service.h" #include "components/metrics_services_manager/metrics_services_manager.h" #include "components/metrics_services_manager/metrics_services_manager_client.h" @@ -71,7 +71,7 @@ with limited CPU/memory resources and it is disabled by default. #include "components/network_time/network_time_tracker.h" #include "components/permissions/permissions_client.h" #include "components/policy/core/common/policy_service.h" -@@ -136,6 +139,7 @@ +@@ -135,6 +138,7 @@ #include "media/media_buildflags.h" #include "mojo/public/cpp/bindings/pending_receiver.h" #include "net/log/net_log.h" @@ -79,7 +79,7 @@ with limited CPU/memory resources and it is disabled by default. #include "ppapi/buildflags/buildflags.h" #include "printing/buildflags/buildflags.h" #include "services/network/public/cpp/features.h" -@@ -351,6 +355,18 @@ void BrowserProcessImpl::Init() { +@@ -354,6 +358,18 @@ void BrowserProcessImpl::Init() { pref_change_registrar_.Add(metrics::prefs::kMetricsReportingEnabled, base::BindRepeating(&ApplyMetricsReportingPolicy)); @@ -100,7 +100,7 @@ with limited CPU/memory resources and it is disabled by default. --- a/chrome/browser/flag_descriptions.cc +++ b/chrome/browser/flag_descriptions.cc -@@ -1825,6 +1825,10 @@ const char kUnthrottledNestedTimeoutDesc +@@ -1838,6 +1838,10 @@ const char kUnthrottledNestedTimeoutDesc "websites abusing the API will still eventually have their setTimeouts " "clamped."; @@ -113,7 +113,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 -@@ -1034,6 +1034,9 @@ extern const char kLogJsConsoleMessagesD +@@ -1037,6 +1037,9 @@ extern const char kLogJsConsoleMessagesD extern const char kUnthrottledNestedTimeoutName[]; extern const char kUnthrottledNestedTimeoutDescription[]; diff --git a/patches/extra/debian/disable/google-api-warning.patch b/patches/extra/debian/disable/google-api-warning.patch index 5ed977e0..08bc426d 100644 --- a/patches/extra/debian/disable/google-api-warning.patch +++ b/patches/extra/debian/disable/google-api-warning.patch @@ -3,9 +3,9 @@ author: Michael Gilbert --- a/chrome/browser/ui/startup/infobar_utils.cc +++ b/chrome/browser/ui/startup/infobar_utils.cc -@@ -113,9 +113,6 @@ void AddInfoBarsIfNecessary(Browser* bro - infobars::ContentInfoBarManager* infobar_manager = - infobars::ContentInfoBarManager::FromWebContents(web_contents); +@@ -125,9 +125,6 @@ void AddInfoBarsIfNecessary(Browser* bro + if (show_bad_flags_security_warnings) + chrome::ShowBadFlagsPrompt(web_contents); - if (!google_apis::HasAPIKeyConfigured()) - GoogleApiKeysInfoBarDelegate::Create(infobar_manager); diff --git a/patches/extra/debian/disable/welcome-page.patch b/patches/extra/debian/disable/welcome-page.patch index 89bd01d7..62bf859f 100644 --- a/patches/extra/debian/disable/welcome-page.patch +++ b/patches/extra/debian/disable/welcome-page.patch @@ -4,7 +4,7 @@ bug-debian: http://bugs.debian.org/857767 --- a/chrome/browser/profiles/profile_manager.cc +++ b/chrome/browser/profiles/profile_manager.cc -@@ -1447,11 +1447,6 @@ void ProfileManager::InitProfileUserPref +@@ -1148,11 +1148,6 @@ void ProfileManager::InitProfileUserPref profile->GetPrefs()->SetString(prefs::kSupervisedUserId, supervised_user_id); } diff --git a/patches/extra/inox-patchset/0006-modify-default-prefs.patch b/patches/extra/inox-patchset/0006-modify-default-prefs.patch index 9dc93d21..a4f681fc 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 -@@ -1495,7 +1495,7 @@ void ChromeContentBrowserClient::Registe +@@ -1523,7 +1523,7 @@ void ChromeContentBrowserClient::Registe void ChromeContentBrowserClient::RegisterProfilePrefs( user_prefs::PrefRegistrySyncable* registry) { registry->RegisterBooleanPref(prefs::kDisable3DAPIs, false); @@ -34,7 +34,7 @@ registry->RegisterBooleanPref(prefs::kGloballyScopeHTTPAuthCacheEnabled, --- a/chrome/browser/prefetch/prefetch_prefs.h +++ b/chrome/browser/prefetch/prefetch_prefs.h -@@ -25,7 +25,7 @@ enum class NetworkPredictionOptions { +@@ -30,7 +30,7 @@ enum class NetworkPredictionOptions { kWifiOnlyDeprecated = 1, kDisabled = 2, kExtended = 3, @@ -45,7 +45,7 @@ // Enum representing possible values of the Preload Pages opt-in state. Since --- a/chrome/browser/profiles/profile.cc +++ b/chrome/browser/profiles/profile.cc -@@ -302,7 +302,7 @@ const char Profile::kProfileKey[] = "__P +@@ -310,7 +310,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 -@@ -36,7 +36,7 @@ +@@ -34,7 +34,7 @@
@@ -125,7 +125,7 @@ registry->RegisterBooleanPref( --- a/components/content_settings/core/browser/cookie_settings.cc +++ b/components/content_settings/core/browser/cookie_settings.cc -@@ -66,7 +66,7 @@ void CookieSettings::RegisterProfilePref +@@ -68,7 +68,7 @@ void CookieSettings::RegisterProfilePref user_prefs::PrefRegistrySyncable* registry) { registry->RegisterIntegerPref( prefs::kCookieControlsMode, @@ -136,7 +136,7 @@ --- a/components/password_manager/core/browser/password_manager.cc +++ b/components/password_manager/core/browser/password_manager.cc -@@ -242,14 +242,14 @@ base::CallbackListSubscription AddSyncEn +@@ -255,14 +255,14 @@ base::CallbackListSubscription AddSyncEn void PasswordManager::RegisterProfilePrefs( user_prefs::PrefRegistrySyncable* registry) { registry->RegisterBooleanPref( diff --git a/patches/extra/inox-patchset/0016-chromium-sandbox-pie.patch b/patches/extra/inox-patchset/0016-chromium-sandbox-pie.patch index 6ee4d730..68d9233b 100644 --- a/patches/extra/inox-patchset/0016-chromium-sandbox-pie.patch +++ b/patches/extra/inox-patchset/0016-chromium-sandbox-pie.patch @@ -1,6 +1,6 @@ --- a/sandbox/linux/BUILD.gn +++ b/sandbox/linux/BUILD.gn -@@ -296,6 +296,12 @@ if (is_linux || is_chromeos) { +@@ -304,6 +304,12 @@ if (is_linux || is_chromeos) { # These files have a suspicious comparison. # TODO fix this and re-enable this warning. "-Wno-sign-compare", diff --git a/patches/extra/inox-patchset/0019-disable-battery-status-service.patch b/patches/extra/inox-patchset/0019-disable-battery-status-service.patch index e69d4da0..b99a3069 100644 --- a/patches/extra/inox-patchset/0019-disable-battery-status-service.patch +++ b/patches/extra/inox-patchset/0019-disable-battery-status-service.patch @@ -80,7 +80,7 @@ - status_ = mojom::BatteryStatus(); - status_updated_ = false; is_shutdown_ = false; - main_thread_task_runner_ = base::ThreadTaskRunnerHandle::Get(); + main_thread_task_runner_ = base::SingleThreadTaskRunner::GetCurrentDefault(); } --- a/services/device/battery/battery_status_service.h +++ b/services/device/battery/battery_status_service.h 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 114a1e4b..05bda83c 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 -@@ -1588,11 +1588,6 @@ int ChromeBrowserMainParts::PreMainMessa +@@ -1612,11 +1612,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 e66b0d6c..297b1b20 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 -@@ -83,6 +83,7 @@ static const char* const kUnsupportedTex +@@ -82,6 +82,7 @@ static const char* const kUnsupportedTex "text/x-csv", "text/x-vcf", "text/rtf", diff --git a/patches/extra/iridium-browser/prefs-only-keep-cookies-until-exit.patch b/patches/extra/iridium-browser/prefs-only-keep-cookies-until-exit.patch index 54bffe6d..f72e5790 100644 --- a/patches/extra/iridium-browser/prefs-only-keep-cookies-until-exit.patch +++ b/patches/extra/iridium-browser/prefs-only-keep-cookies-until-exit.patch @@ -10,7 +10,7 @@ Out with all those tracking cookies! --- a/components/content_settings/core/browser/content_settings_registry.cc +++ b/components/content_settings/core/browser/content_settings_registry.cc -@@ -82,7 +82,7 @@ void ContentSettingsRegistry::Init() { +@@ -78,7 +78,7 @@ void ContentSettingsRegistry::Init() { // DefaultProvider::DiscardOrMigrateObsoletePreferences() accordingly. Register( diff --git a/patches/extra/iridium-browser/updater-disable-auto-update.patch b/patches/extra/iridium-browser/updater-disable-auto-update.patch index 24fee7c1..ddf39388 100644 --- a/patches/extra/iridium-browser/updater-disable-auto-update.patch +++ b/patches/extra/iridium-browser/updater-disable-auto-update.patch @@ -16,7 +16,7 @@ the case anyway, since we are based off Chromium, not Chrome. --- a/chrome/browser/app_controller_mac.mm +++ b/chrome/browser/app_controller_mac.mm -@@ -857,7 +857,7 @@ class AppControllerNativeThemeObserver : +@@ -830,7 +830,7 @@ class AppControllerNativeThemeObserver : CFStringRef checkInterval = CFSTR("checkInterval"); CFPropertyListRef plist = CFPreferencesCopyAppValue(checkInterval, app); if (!plist) { diff --git a/patches/extra/ungoogled-chromium/add-flag-for-bookmark-bar-ntp.patch b/patches/extra/ungoogled-chromium/add-flag-for-bookmark-bar-ntp.patch index 3956b806..59a8c615 100644 --- a/patches/extra/ungoogled-chromium/add-flag-for-bookmark-bar-ntp.patch +++ b/patches/extra/ungoogled-chromium/add-flag-for-bookmark-bar-ntp.patch @@ -8,7 +8,7 @@ #include "base/observer_list.h" #include "build/build_config.h" #include "build/chromeos_buildflags.h" -@@ -71,10 +72,12 @@ bool BookmarkTabHelper::ShouldShowBookma +@@ -70,10 +71,12 @@ bool BookmarkTabHelper::ShouldShowBookma !prefs->GetBoolean(bookmarks::prefs::kShowBookmarkBar)) return false; 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 8fab779b..985592d3 100644 --- a/patches/extra/ungoogled-chromium/add-flag-for-close-confirmation.patch +++ b/patches/extra/ungoogled-chromium/add-flag-for-close-confirmation.patch @@ -9,7 +9,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" -@@ -472,6 +474,7 @@ Browser::Browser(const CreateParams& par +@@ -475,6 +477,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), @@ -17,7 +17,7 @@ override_bounds_(params.initial_bounds), initial_show_state_(params.initial_show_state), initial_workspace_(params.initial_workspace), -@@ -833,6 +836,7 @@ Browser::WarnBeforeClosingResult Browser +@@ -836,6 +839,7 @@ Browser::WarnBeforeClosingResult Browser // true or there are no pending downloads we need to prompt about) then // there's no need to warn. if (force_skip_warning_user_on_close_ || CanCloseWithInProgressDownloads()) @@ -25,7 +25,7 @@ return WarnBeforeClosingResult::kOkToClose; DCHECK(!warn_before_closing_callback_) -@@ -867,6 +871,7 @@ bool Browser::TryToCloseWindow( +@@ -870,6 +874,7 @@ bool Browser::TryToCloseWindow( void Browser::ResetTryToCloseWindow() { cancel_download_confirmation_state_ = NOT_PROMPTED; @@ -33,7 +33,7 @@ unload_controller_.ResetTryToCloseWindow(); } -@@ -2772,6 +2777,62 @@ bool Browser::CanCloseWithInProgressDown +@@ -2786,6 +2791,62 @@ bool Browser::CanCloseWithInProgressDown return false; } @@ -96,7 +96,7 @@ void Browser::InProgressDownloadResponse(bool cancel_downloads) { if (cancel_downloads) { cancel_download_confirmation_state_ = RESPONSE_RECEIVED; -@@ -2790,6 +2851,22 @@ void Browser::InProgressDownloadResponse +@@ -2804,6 +2865,22 @@ void Browser::InProgressDownloadResponse std::move(warn_before_closing_callback_) .Run(WarnBeforeClosingResult::kDoNotClose); 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 ecf39585..b6b261bd 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 -@@ -843,10 +843,14 @@ bool HandleNewTabPageLocationOverride( +@@ -849,10 +849,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 cb23f0f5..1c5494c3 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 @@ -33,7 +33,7 @@ BLINK_COMMON_EXPORT BASE_DECLARE_FEATURE(kAutomaticLazyFrameLoadingToAds); --- a/third_party/blink/renderer/core/editing/selection_controller.cc +++ b/third_party/blink/renderer/core/editing/selection_controller.cc -@@ -1375,10 +1375,14 @@ FrameSelection& SelectionController::Sel +@@ -1325,10 +1325,14 @@ FrameSelection& SelectionController::Sel } bool IsSelectionOverLink(const MouseEventWithHitTestResults& event) { 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 e112fa3e..1cfb2964 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 @@ -60,7 +60,7 @@ // Providers run in the order they're added. Run these async providers 1st --- a/components/omnibox/browser/history_url_provider.cc +++ b/components/omnibox/browser/history_url_provider.cc -@@ -475,6 +475,9 @@ void HistoryURLProvider::Start(const Aut +@@ -474,6 +474,9 @@ void HistoryURLProvider::Start(const Aut if (fixed_up_input.type() != metrics::OmniboxInputType::QUERY) matches_.push_back(what_you_typed_match); 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 14abb05d..cc88b95b 100644 --- a/patches/extra/ungoogled-chromium/add-flag-for-qr-generator.patch +++ b/patches/extra/ungoogled-chromium/add-flag-for-qr-generator.patch @@ -27,7 +27,7 @@ return true; --- a/chrome/browser/ui/views/location_bar/location_bar_view.cc +++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc -@@ -314,7 +314,8 @@ void LocationBarView::Init() { +@@ -307,7 +307,8 @@ void LocationBarView::Init() { params.types_enabled.push_back(PageActionIconType::kSendTabToSelf); params.types_enabled.push_back(PageActionIconType::kClickToCall); 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 3f1ff099..cfb002ec 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 @@ -48,7 +48,7 @@ #include "base/containers/contains.h" #include "base/debug/crash_logging.h" #include "base/format_macros.h" -@@ -204,6 +205,12 @@ bool IsCreatedByExtension(const Template +@@ -205,6 +206,12 @@ bool IsCreatedByExtension(const Template template_url->type() == TemplateURL::OMNIBOX_API_EXTENSION; } @@ -61,7 +61,7 @@ } // namespace // TemplateURLService::LessWithPrefix ----------------------------------------- -@@ -289,6 +296,7 @@ TemplateURLService::TemplateURLService( +@@ -290,6 +297,7 @@ TemplateURLService::TemplateURLService( std::unique_ptr client, const base::RepeatingClosure& dsp_change_callback) : prefs_(prefs), @@ -69,7 +69,7 @@ search_terms_data_(std::move(search_terms_data)), web_data_service_(web_data_service), client_(std::move(client)), -@@ -370,8 +378,8 @@ bool TemplateURLService::CanAddAutogener +@@ -371,8 +379,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. @@ -80,7 +80,7 @@ } bool TemplateURLService::IsPrepopulatedOrCreatedByPolicy( -@@ -1634,6 +1642,8 @@ SyncDataMap TemplateURLService::CreateGU +@@ -1666,6 +1674,8 @@ SyncDataMap TemplateURLService::CreateGU void TemplateURLService::Init(const Initializer* initializers, int num_initializers) { @@ -89,7 +89,7 @@ if (client_) client_->SetOwner(this); -@@ -1772,6 +1782,9 @@ void TemplateURLService::ChangeToLoadedS +@@ -1804,6 +1814,9 @@ void TemplateURLService::ChangeToLoadedS bool TemplateURLService::CanAddAutogeneratedKeywordForHost( const std::string& host) const { @@ -101,7 +101,7 @@ return true; --- a/components/search_engines/template_url_service.h +++ b/components/search_engines/template_url_service.h -@@ -761,6 +761,8 @@ class TemplateURLService : public WebDat +@@ -770,6 +770,8 @@ class TemplateURLService : public WebDat // ---------- Browser state related members --------------------------------- raw_ptr prefs_ = nullptr; 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 6f72582e..a57585a6 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/compiler_specific.h" #include "base/containers/adapters.h" #include "base/containers/contains.h" -@@ -1635,6 +1636,8 @@ void TabStrip::OnMouseEventInTab(views:: +@@ -1650,6 +1651,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 ea9cf66a..2eb06cbb 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 -@@ -1220,7 +1220,8 @@ void BrowserCommandController::InitComma +@@ -1200,7 +1200,8 @@ void BrowserCommandController::InitComma command_updater_.UpdateCommandEnabled(IDC_WINDOW_CLOSE_OTHER_TABS, normal_window); @@ -20,7 +20,7 @@ #include "base/strings/utf_string_conversions.h" #include "build/build_config.h" #include "chrome/browser/themes/theme_properties.h" -@@ -141,7 +142,8 @@ TabStripRegionView::TabStripRegionView(s +@@ -143,7 +144,8 @@ TabStripRegionView::TabStripRegionView(s return; } diff --git a/patches/extra/ungoogled-chromium/add-flag-to-change-http-accept-header.patch b/patches/extra/ungoogled-chromium/add-flag-to-change-http-accept-header.patch index 6b443261..e346043b 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-change-http-accept-header.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-change-http-accept-header.patch @@ -37,7 +37,7 @@ #include "content/browser/web_package/signed_exchange_consts.h" #include "content/browser/web_package/signed_exchange_utils.h" #include "content/common/content_constants_internal.h" -@@ -14,6 +15,9 @@ namespace content { +@@ -12,6 +13,9 @@ namespace content { std::string FrameAcceptHeaderValue(bool allow_sxg_responses, BrowserContext* browser_context) { @@ -46,4 +46,4 @@ + std::string header_value = kFrameAcceptHeaderValue; - #if BUILDFLAG(ENABLE_JXL_DECODER) + if (allow_sxg_responses && 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 7fdac301..c7ddf455 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" -@@ -1816,6 +1817,10 @@ bool TabStripModel::CloseTabs(base::span +@@ -1829,6 +1830,10 @@ bool TabStripModel::CloseTabs(base::span if (items.empty()) return true; diff --git a/patches/extra/ungoogled-chromium/add-flag-to-configure-extension-downloading.patch b/patches/extra/ungoogled-chromium/add-flag-to-configure-extension-downloading.patch index ee31435d..0f117c3a 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-configure-extension-downloading.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-configure-extension-downloading.patch @@ -50,7 +50,7 @@ bool IsExtensionDownload(const download::DownloadItem& download_item); --- a/chrome/browser/download/download_target_determiner.cc +++ b/chrome/browser/download/download_target_determiner.cc -@@ -1174,10 +1174,12 @@ DownloadConfirmationReason DownloadTarge +@@ -1186,10 +1186,12 @@ DownloadConfirmationReason DownloadTarge return DownloadConfirmationReason::SAVE_AS; #if BUILDFLAG(ENABLE_EXTENSIONS) @@ -75,9 +75,9 @@ #include "base/callback_helpers.h" +#include "base/command_line.h" #include "base/containers/contains.h" + #include "base/feature_list.h" #include "base/logging.h" - #include "base/metrics/histogram_functions.h" -@@ -248,6 +249,13 @@ bool ExtensionManagement::IsInstallation +@@ -252,6 +253,13 @@ bool ExtensionManagement::IsInstallation bool ExtensionManagement::IsOffstoreInstallAllowed( const GURL& url, const GURL& referrer_url) const { @@ -89,7 +89,7 @@ + return true; + } // No allowed install sites specified, disallow by default. - if (!global_settings_->has_restricted_install_sources) + if (!global_settings_->install_sources.has_value()) return false; --- a/chrome/browser/ungoogled_flag_choices.h +++ b/chrome/browser/ungoogled_flag_choices.h 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 0bfd2401..6136de4c 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 -@@ -1161,6 +1161,8 @@ WindowOpenDisposition NavigationPolicyTo +@@ -1158,6 +1158,8 @@ WindowOpenDisposition NavigationPolicyTo case blink::kWebNavigationPolicyNewWindow: return WindowOpenDisposition::NEW_WINDOW; case blink::kWebNavigationPolicyNewPopup: diff --git a/patches/extra/ungoogled-chromium/add-flag-to-disable-local-history-expiration.patch b/patches/extra/ungoogled-chromium/add-flag-to-disable-local-history-expiration.patch index c68cedb4..963f59ac 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-disable-local-history-expiration.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-disable-local-history-expiration.patch @@ -21,7 +21,7 @@ #include "base/callback_helpers.h" #include "base/compiler_specific.h" #include "base/containers/flat_set.h" -@@ -1113,7 +1114,8 @@ void HistoryBackend::InitImpl( +@@ -1169,7 +1170,8 @@ void HistoryBackend::InitImpl( db_->GetStartDate(&first_recorded_time_); // Start expiring old stuff. diff --git a/patches/extra/ungoogled-chromium/add-flag-to-hide-crashed-bubble.patch b/patches/extra/ungoogled-chromium/add-flag-to-hide-crashed-bubble.patch index 28680d51..93dcb35f 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-hide-crashed-bubble.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-hide-crashed-bubble.patch @@ -3,7 +3,7 @@ --- a/chrome/browser/ui/startup/infobar_utils.cc +++ b/chrome/browser/ui/startup/infobar_utils.cc -@@ -80,7 +80,8 @@ void AddInfoBarsIfNecessary(Browser* bro +@@ -99,7 +99,8 @@ void AddInfoBarsIfNecessary(Browser* bro return; // Web apps should not display the session restore bubble (crbug.com/1264121) diff --git a/patches/extra/ungoogled-chromium/add-flag-to-hide-extensions-menu.patch b/patches/extra/ungoogled-chromium/add-flag-to-hide-extensions-menu.patch index a09bfd31..b2c89117 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-hide-extensions-menu.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-hide-extensions-menu.patch @@ -8,15 +8,15 @@ #include "base/cxx17_backports.h" #include "base/feature_list.h" #include "base/no_destructor.h" -@@ -30,6 +31,7 @@ - #include "chrome/browser/ui/views/frame/browser_view.h" +@@ -31,6 +32,7 @@ + #include "chrome/browser/ui/views/frame/toolbar_button_provider.h" #include "chrome/browser/ui/views/toolbar/toolbar_action_hover_card_controller.h" #include "chrome/browser/ui/views/toolbar/toolbar_actions_bar_bubble_views.h" +#include "chrome/browser/ui/views/toolbar/toolbar_view.h" - #include "chrome/browser/ui/views/web_apps/frame_toolbar/web_app_frame_toolbar_view.h" #include "extensions/common/extension_features.h" #include "ui/base/dragdrop/drag_drop_types.h" -@@ -353,6 +355,17 @@ void ExtensionsToolbarContainer::AnchorA + #include "ui/base/dragdrop/mojom/drag_drop_types.mojom-shared.h" +@@ -345,6 +347,17 @@ void ExtensionsToolbarContainer::AnchorA widget->widget_delegate()->AsBubbleDialogDelegate()->SetAnchorView( anchor_view && anchor_view->GetVisible() ? anchor_view : GetExtensionsButton()); @@ -34,7 +34,7 @@ widget->Show(); } -@@ -853,6 +866,9 @@ void ExtensionsToolbarContainer::UpdateC +@@ -845,6 +858,9 @@ void ExtensionsToolbarContainer::UpdateC } bool ExtensionsToolbarContainer::ShouldContainerBeVisible() const { 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 272fd3c0..bff7b991 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 -@@ -1862,6 +1862,10 @@ void BrowserView::UpdateExclusiveAccessE +@@ -1874,6 +1874,10 @@ void BrowserView::UpdateExclusiveAccessE ExclusiveAccessBubbleHideCallback bubble_first_hide_callback, bool notify_download, bool force_update) { diff --git a/patches/extra/ungoogled-chromium/add-flag-to-hide-side-panel-button.patch b/patches/extra/ungoogled-chromium/add-flag-to-hide-side-panel-button.patch index ec0221bc..1bd95ff8 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-hide-side-panel-button.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-hide-side-panel-button.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/ui/views/frame/browser_view.cc +++ b/chrome/browser/ui/views/frame/browser_view.cc -@@ -951,6 +951,7 @@ BrowserView::BrowserView(std::unique_ptr +@@ -955,6 +955,7 @@ BrowserView::BrowserView(std::unique_ptr AddChildView(std::make_unique()); side_panel_coordinator_ = std::make_unique(this); } else { 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 294062d0..706edf9b 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 @@ -1,6 +1,6 @@ --- a/chrome/browser/ui/views/tabs/tab.cc +++ b/chrome/browser/ui/views/tabs/tab.cc -@@ -990,7 +990,11 @@ void Tab::UpdateIconVisibility() { +@@ -992,7 +992,11 @@ void Tab::UpdateIconVisibility() { if (IsActive()) { // Close button is shown on active tabs regardless of the size. showing_close_button_ = true; @@ -12,7 +12,7 @@ showing_alert_indicator_ = has_alert_icon && alert_icon_width <= available_width; -@@ -1011,6 +1015,8 @@ void Tab::UpdateIconVisibility() { +@@ -1013,6 +1017,8 @@ void Tab::UpdateIconVisibility() { available_width -= favicon_width; showing_close_button_ = large_enough_for_close_button; 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 0e653f2b..9736c02a 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,33 +1,18 @@ --- a/chrome/browser/ui/views/toolbar/toolbar_view.cc +++ b/chrome/browser/ui/views/toolbar/toolbar_view.cc -@@ -348,14 +348,30 @@ void ToolbarView::Init() { - side_panel_button_ = AddChildView(std::move(side_panel_button)); - - avatar_ = AddChildView(std::make_unique(browser_view_)); -+ -+ const base::CommandLine& command_line = -+ *base::CommandLine::ForCurrentProcess(); -+ const std::string flag_value = -+ command_line.GetSwitchValueASCII("show-avatar-button"); -+ -+ bool in_incognito_or_guest_mode = browser_->profile()->IsIncognitoProfile() || -+ browser_->profile()->IsGuestSession(); -+ - bool show_avatar_toolbar_button = true; - #if BUILDFLAG(IS_CHROMEOS_ASH) - // ChromeOS only badges Incognito and Guest icons in the browser window. -- show_avatar_toolbar_button = browser_->profile()->IsIncognitoProfile() || -- browser_->profile()->IsGuestSession(); -+ show_avatar_toolbar_button = in_incognito_or_guest_mode; +@@ -360,6 +360,17 @@ void ToolbarView::Init() { #elif BUILDFLAG(IS_CHROMEOS_LACROS) show_avatar_toolbar_button = !profiles::IsPublicSession(); #endif + -+ if (flag_value == "always") ++ const std::string sab_value = base::CommandLine::ForCurrentProcess()-> ++ GetSwitchValueASCII("show-avatar-button"); ++ if (sab_value == "always") + show_avatar_toolbar_button = true; -+ else if (flag_value == "incognito-and-guest") -+ show_avatar_toolbar_button = in_incognito_or_guest_mode; -+ else if (flag_value == "never") ++ else if (sab_value == "incognito-and-guest") ++ show_avatar_toolbar_button = browser_->profile()->IsIncognitoProfile() || ++ browser_->profile()->IsGuestSession(); ++ else if (sab_value == "never") + show_avatar_toolbar_button = false; + avatar_->SetVisible(show_avatar_toolbar_button); diff --git a/patches/extra/ungoogled-chromium/add-ipv6-probing-option.patch b/patches/extra/ungoogled-chromium/add-ipv6-probing-option.patch index a9221075..d3f11d15 100644 --- a/patches/extra/ungoogled-chromium/add-ipv6-probing-option.patch +++ b/patches/extra/ungoogled-chromium/add-ipv6-probing-option.patch @@ -35,7 +35,7 @@ // https://vasilvv.github.io/httpbis-alps/draft-vvv-httpbis-alps.html. --- a/net/dns/host_resolver_manager.cc +++ b/net/dns/host_resolver_manager.cc -@@ -153,11 +153,6 @@ const unsigned kMinimumTTLSeconds = kCac +@@ -156,11 +156,6 @@ const unsigned kMinimumTTLSeconds = kCac // cached. const int kIPv6ProbePeriodMs = 1000; @@ -47,7 +47,7 @@ // ICANN uses this localhost address to indicate a name collision. // // The policy in Chromium is to fail host resolving if it resolves to -@@ -3759,7 +3754,7 @@ bool HostResolverManager::IsIPv6Reachabl +@@ -3772,7 +3767,7 @@ bool HostResolverManager::IsIPv6Reachabl (tick_clock_->NowTicks() - last_ipv6_probe_time_).InMilliseconds() > kIPv6ProbePeriodMs) { SetLastIPv6ProbeResult( diff --git a/patches/extra/ungoogled-chromium/add-suggestions-url-field.patch b/patches/extra/ungoogled-chromium/add-suggestions-url-field.patch index b6810dd6..9aacd4e7 100644 --- a/patches/extra/ungoogled-chromium/add-suggestions-url-field.patch +++ b/patches/extra/ungoogled-chromium/add-suggestions-url-field.patch @@ -427,7 +427,7 @@ --- a/components/search_engines/template_url_service.cc +++ b/components/search_engines/template_url_service.cc -@@ -657,7 +657,8 @@ void TemplateURLService::IncrementUsageC +@@ -658,7 +658,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()); -@@ -672,6 +673,7 @@ void TemplateURLService::ResetTemplateUR +@@ -673,6 +674,7 @@ void TemplateURLService::ResetTemplateUR data.safe_for_autoreplace = false; data.last_modified = clock_->Now(); data.is_active = TemplateURLData::ActiveStatus::kTrue; @@ -447,7 +447,7 @@ } --- a/components/search_engines/template_url_service.h +++ b/components/search_engines/template_url_service.h -@@ -257,7 +257,8 @@ class TemplateURLService : public WebDat +@@ -263,7 +263,8 @@ class TemplateURLService : public WebDat void ResetTemplateURL(TemplateURL* url, const std::u16string& title, const std::u16string& keyword, diff --git a/patches/extra/ungoogled-chromium/add-ungoogled-flag-headers.patch b/patches/extra/ungoogled-chromium/add-ungoogled-flag-headers.patch index 0b79550f..5e32585f 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 -@@ -3655,7 +3655,13 @@ const FeatureEntry::FeatureVariation kFa +@@ -3319,7 +3319,13 @@ const FeatureEntry::FeatureVariation // 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-download-quarantine.patch b/patches/extra/ungoogled-chromium/disable-download-quarantine.patch index bcf81087..9d150f29 100644 --- a/patches/extra/ungoogled-chromium/disable-download-quarantine.patch +++ b/patches/extra/ungoogled-chromium/disable-download-quarantine.patch @@ -147,8 +147,8 @@ } // namespace download --- a/content/browser/BUILD.gn +++ b/content/browser/BUILD.gn -@@ -96,7 +96,6 @@ source_set("browser") { - "//components/payments/mojom", +@@ -97,7 +97,6 @@ source_set("browser") { + "//components/power_monitor", "//components/power_scheduler", "//components/services/filesystem:lib", - "//components/services/quarantine:quarantine", @@ -158,18 +158,18 @@ --- 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 @@ -14,7 +14,6 @@ - #include "base/threading/sequenced_task_runner_handle.h" + #include "base/thread_annotations.h" #include "build/build_config.h" #include "build/chromeos_buildflags.h" -#include "components/services/quarantine/quarantine.h" + #include "content/browser/file_system_access/features.h" #include "content/browser/file_system_access/file_system_access_error.h" #include "content/public/browser/content_browser_client.h" - #include "content/public/browser/global_routing_id.h" -@@ -210,22 +209,9 @@ void FileSystemAccessSafeMoveHelper::Did +@@ -242,22 +241,9 @@ void FileSystemAccessSafeMoveHelper::Did // not exist anymore. In case of error, the source file URL will point to a // valid filesystem location. base::OnceCallback result_callback; -- if (RequireSecurityChecks()) { +- if (RequireQuarantine()) { - GURL referrer_url = manager_->is_off_the_record() ? GURL() : context_.url; - mojo::Remote quarantine_remote; - if (quarantine_connection_callback_) { @@ -188,7 +188,7 @@ manager_->DoFileSystemOperation( FROM_HERE, &storage::FileSystemOperationRunner::Move, std::move(result_callback), source_url(), dest_url(), options_, -@@ -242,7 +228,6 @@ void FileSystemAccessSafeMoveHelper::Did +@@ -274,7 +260,6 @@ void FileSystemAccessSafeMoveHelper::Did void FileSystemAccessSafeMoveHelper::DidFileDoQuarantine( const storage::FileSystemURL& target_url, const GURL& referrer_url, @@ -196,7 +196,7 @@ base::File::Error result) { DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_); -@@ -273,37 +258,9 @@ void FileSystemAccessSafeMoveHelper::Did +@@ -305,37 +290,9 @@ void FileSystemAccessSafeMoveHelper::Did referrer_url.is_valid() && referrer_url.SchemeIsHTTPOrHTTPS() ? referrer_url : GURL(); @@ -236,7 +236,7 @@ --- a/content/browser/file_system_access/file_system_access_safe_move_helper.h +++ b/content/browser/file_system_access/file_system_access_safe_move_helper.h -@@ -61,10 +61,8 @@ class CONTENT_EXPORT FileSystemAccessSaf +@@ -66,10 +66,8 @@ class CONTENT_EXPORT FileSystemAccessSaf void DidFileDoQuarantine( const storage::FileSystemURL& target_url, const GURL& referrer_url, diff --git a/patches/extra/ungoogled-chromium/disable-intranet-redirect-detector.patch b/patches/extra/ungoogled-chromium/disable-intranet-redirect-detector.patch index bc2945b8..bcd56f8a 100644 --- a/patches/extra/ungoogled-chromium/disable-intranet-redirect-detector.patch +++ b/patches/extra/ungoogled-chromium/disable-intranet-redirect-detector.patch @@ -3,7 +3,7 @@ --- a/chrome/browser/intranet_redirect_detector.cc +++ b/chrome/browser/intranet_redirect_detector.cc -@@ -119,9 +119,7 @@ void IntranetRedirectDetector::FinishSle +@@ -118,9 +118,7 @@ void IntranetRedirectDetector::FinishSle simple_loaders_.clear(); resulting_origins_.clear(); diff --git a/patches/extra/ungoogled-chromium/disable-webgl-renderer-info.patch b/patches/extra/ungoogled-chromium/disable-webgl-renderer-info.patch index 0412b4d7..d9c26ae2 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 -@@ -3697,8 +3697,7 @@ ScriptValue WebGLRenderingContextBase::g +@@ -3703,8 +3703,7 @@ ScriptValue WebGLRenderingContextBase::g pname, IdentifiabilityBenignStringToken( String(ContextGL()->GetString(GL_RENDERER)))); } @@ -13,7 +13,7 @@ } SynthesizeGLError( GL_INVALID_ENUM, "getParameter", -@@ -3712,8 +3711,7 @@ ScriptValue WebGLRenderingContextBase::g +@@ -3718,8 +3717,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 4fba013e..ede19cc6 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 -@@ -530,7 +530,7 @@ BASE_FEATURE(kAllowSyncXHRInPageDismissa +@@ -501,7 +501,7 @@ BASE_FEATURE(kAllowSyncXHRInPageDismissa // crbug.com/988956. BASE_FEATURE(kPrefetchPrivacyChanges, "PrefetchPrivacyChanges", 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 811e9858..b0ef28ad 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 @@ -2,19 +2,18 @@ --- a/chrome/browser/ui/browser_commands.cc +++ b/chrome/browser/ui/browser_commands.cc -@@ -440,11 +440,6 @@ int GetContentRestrictions(const Browser +@@ -474,10 +474,6 @@ int GetContentRestrictions(const Browser CoreTabHelper* core_tab_helper = CoreTabHelper::FromWebContents(current_tab); content_restrictions = core_tab_helper->content_restrictions(); - NavigationEntry* last_committed_entry = - current_tab->GetController().GetLastCommittedEntry(); -- if (!content::IsSavableURL( -- last_committed_entry ? last_committed_entry->GetURL() : GURL())) +- if (!content::IsSavableURL(last_committed_entry->GetURL())) - content_restrictions |= CONTENT_RESTRICTION_SAVE; } return content_restrictions; } -@@ -1342,8 +1337,7 @@ bool CanSavePage(const Browser* browser) +@@ -1379,8 +1375,7 @@ bool CanSavePage(const Browser* browser) DownloadPrefs::DownloadRestriction::ALL_FILES) { return false; } @@ -26,7 +25,7 @@ void Print(Browser* browser) { --- a/components/offline_pages/core/offline_page_model.cc +++ b/components/offline_pages/core/offline_page_model.cc -@@ -22,7 +22,7 @@ OfflinePageModel::SavePageParams::~SaveP +@@ -21,7 +21,7 @@ OfflinePageModel::SavePageParams::~SaveP // static bool OfflinePageModel::CanSaveURL(const GURL& url) { 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 44ab8b03..2465eaf2 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,6 +1,6 @@ --- a/chrome/browser/ui/views/tabs/new_tab_button.cc +++ b/chrome/browser/ui/views/tabs/new_tab_button.cc -@@ -59,10 +59,8 @@ NewTabButton::NewTabButton(TabStrip* tab +@@ -61,10 +61,8 @@ NewTabButton::NewTabButton(TabStrip* tab SetAnimateOnStateChange(true); // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch // of lacros-chrome is complete. @@ -13,7 +13,7 @@ AddChildView(std::make_unique()); --- a/chrome/browser/ui/views/tabs/tab_strip.cc +++ b/chrome/browser/ui/views/tabs/tab_strip.cc -@@ -1884,8 +1884,6 @@ void TabStrip::NewTabButtonPressed(const +@@ -1897,8 +1897,6 @@ void TabStrip::NewTabButtonPressed(const const ui::MouseEvent& mouse = static_cast(event); if (mouse.IsOnlyMiddleMouseButton()) { @@ -22,7 +22,7 @@ ui::Clipboard* clipboard = ui::Clipboard::GetForCurrentThread(); CHECK(clipboard); std::u16string clipboard_text; -@@ -1893,7 +1891,6 @@ void TabStrip::NewTabButtonPressed(const +@@ -1906,7 +1904,6 @@ void TabStrip::NewTabButtonPressed(const /* data_dst = */ nullptr, &clipboard_text); if (!clipboard_text.empty()) controller_->CreateNewTabWithLocation(clipboard_text); diff --git a/patches/extra/ungoogled-chromium/remove-disable-setuid-sandbox-as-bad-flag.patch b/patches/extra/ungoogled-chromium/remove-disable-setuid-sandbox-as-bad-flag.patch index 16108039..3959d2e9 100644 --- a/patches/extra/ungoogled-chromium/remove-disable-setuid-sandbox-as-bad-flag.patch +++ b/patches/extra/ungoogled-chromium/remove-disable-setuid-sandbox-as-bad-flag.patch @@ -2,7 +2,7 @@ --- a/chrome/browser/ui/startup/bad_flags_prompt.cc +++ b/chrome/browser/ui/startup/bad_flags_prompt.cc -@@ -62,7 +62,6 @@ static const char* kBadFlags[] = { +@@ -63,7 +63,6 @@ static const char* kBadFlags[] = { // These flags disable sandbox-related security. sandbox::policy::switches::kDisableGpuSandbox, sandbox::policy::switches::kDisableSeccompFilterSandbox, diff --git a/patches/extra/ungoogled-chromium/remove-uneeded-ui.patch b/patches/extra/ungoogled-chromium/remove-uneeded-ui.patch index 9b026f34..70572ba7 100644 --- a/patches/extra/ungoogled-chromium/remove-uneeded-ui.patch +++ b/patches/extra/ungoogled-chromium/remove-uneeded-ui.patch @@ -54,20 +54,20 @@ -
--- a/chrome/browser/resources/history/side_bar.html +++ b/chrome/browser/resources/history/side_bar.html -@@ -121,13 +121,6 @@ - $i18n{historyMenuItem} - - -- -- -- $i18n{openTabsMenuItem} -- -- - - + +- +- +- $i18n{openTabsMenuItem} +- +- + +
-- +- +- +