diff --git a/chromium_version.txt b/chromium_version.txt index 7e2b2f17..cee9e122 100644 --- a/chromium_version.txt +++ b/chromium_version.txt @@ -1 +1 @@ -145.0.7632.116 +146.0.7680.65 diff --git a/domain_substitution.list b/domain_substitution.list index c3ecd15f..921d0c6e 100644 --- a/domain_substitution.list +++ b/domain_substitution.list @@ -28,7 +28,7 @@ ash/auth/views/auth_header_view_pixeltest.cc ash/birch/birch_item.cc ash/birch/birch_item_unittest.cc ash/birch/birch_model_unittest.cc -ash/capture_mode/capture_mode_camera_unittests.cc +ash/capture_mode/capture_mode_camera_unittest.cc ash/capture_mode/capture_mode_controller.cc ash/capture_mode/sunfish_unittest.cc ash/capture_mode/test_capture_mode_delegate.cc @@ -354,6 +354,7 @@ 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_type.h base/test/file_path_reparse_point_win.cc base/test/gtest_links_unittest.cc base/test/gtest_xml_unittest_result_printer_unittest.cc @@ -370,7 +371,6 @@ base/third_party/cityhash/city.h base/third_party/nspr/prtime.cc base/third_party/nspr/prtime.h base/third_party/symbolize/symbolize.cc -base/threading/platform_thread.h base/threading/platform_thread_android.cc base/threading/platform_thread_unittest.cc base/threading/platform_thread_win.cc @@ -461,11 +461,11 @@ build/config/android/config.gni build/config/android/internal_rules.gni build/config/android/rules.gni build/config/arm.gni +build/config/c++/c++.gni build/config/c++/modules.gni build/config/chrome_build.gni build/config/chromeos/args.gni build/config/chromeos/rules.gni -build/config/clang/clang.gni build/config/compiler/BUILD.gn build/config/compiler/compiler.gni build/config/cronet/config.gni @@ -501,6 +501,7 @@ build/skia_gold_common/PRESUBMIT.py build/toolchain/check_rewrapper_cfg.py build/toolchain/cros_toolchain.gni build/toolchain/gcc_toolchain.gni +build/toolchain/kythe.gni build/toolchain/win/midl.py build/toolchain/win/rc/rc.py build/util/lib/common/google_storage_helper.py @@ -523,7 +524,6 @@ cc/metrics/scroll_jank_v4_decision_queue.h cc/metrics/scroll_jank_v4_processor.h cc/metrics/scroll_jank_v4_result.h cc/paint/paint_image.h -cc/paint/tone_map_util.cc cc/scheduler/scheduler_state_machine.cc cc/tiles/gpu_image_decode_cache.h cc/trees/layer_tree_host_impl.cc @@ -534,7 +534,6 @@ chrome/PRESUBMIT.py chrome/app/PRESUBMIT.py chrome/app/app_management_strings.grdp chrome/app/chrome_command_ids.h -chrome/app/chrome_main_delegate.cc chrome/app/chromeos_strings.grdp chrome/app/chromium_strings.grd chrome/app/delay_load_failure_hook_win.cc @@ -804,6 +803,8 @@ chrome/browser/ash/net/network_diagnostics/dns_latency_routine.cc chrome/browser/ash/net/network_diagnostics/dns_resolution_routine.cc chrome/browser/ash/net/network_diagnostics/gateway_can_be_pinged_routine.cc chrome/browser/ash/net/network_diagnostics/gateway_can_be_pinged_routine_unittest.cc +chrome/browser/ash/net/network_diagnostics/google_services_connectivity_routine.cc +chrome/browser/ash/net/network_diagnostics/google_services_connectivity_routine_unittest.cc chrome/browser/ash/net/network_diagnostics/http_request_manager.h chrome/browser/ash/net/network_diagnostics/http_request_manager_unittest.cc chrome/browser/ash/net/network_diagnostics/network_diagnostics_unittest.cc @@ -859,11 +860,11 @@ chrome/browser/ash/system_web_apps/apps/help_app/help_app_notification_controlle chrome/browser/ash/system_web_apps/apps/personalization_app/personalization_app_sea_pen_provider_impl_unittest.cc chrome/browser/ash/system_web_apps/apps/personalization_app/personalization_app_utils_unittest.cc chrome/browser/ash/tpm/tpm_firmware_update.h -chrome/browser/ash/u2f/u2f_notification.cc chrome/browser/ash/wallpaper_handlers/google_photos_wallpaper_handlers.cc chrome/browser/ash/wallpaper_handlers/google_photos_wallpaper_handlers_unittest.cc chrome/browser/ash/wallpaper_handlers/sea_pen_fetcher.cc chrome/browser/ash/wallpaper_handlers/wallpaper_handlers.cc +chrome/browser/autocomplete/aim_eligibility_refresh_navigation_throttle_unittest.cc chrome/browser/autocomplete/autocomplete_browsertest.cc chrome/browser/autocomplete/chrome_aim_eligibility_service_browsertest.cc chrome/browser/autocomplete/chrome_autocomplete_provider_client_browsertest.cc @@ -1002,8 +1003,6 @@ chrome/browser/enterprise/connectors/analysis/page_print_request_handler_unittes chrome/browser/enterprise/connectors/device_trust/attestation/ash/ash_attestation_cleanup_manager_unittest.cc chrome/browser/enterprise/connectors/device_trust/attestation/ash/ash_attestation_service_impl_unittest.cc chrome/browser/enterprise/connectors/device_trust/attestation/browser/google_keys.cc -chrome/browser/enterprise/connectors/device_trust/key_management/browser/commands/mac_key_rotation_command.cc -chrome/browser/enterprise/connectors/device_trust/key_management/browser/commands/mac_key_rotation_command_unittest.cc chrome/browser/enterprise/connectors/device_trust/key_management/core/network/win_key_network_delegate_unittest.cc chrome/browser/enterprise/connectors/device_trust/key_management/installer/management_service/rotate_util.cc chrome/browser/enterprise/connectors/device_trust/key_management/installer/management_service/rotate_util_unittest.cc @@ -1086,6 +1085,7 @@ chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc chrome/browser/extensions/api/printing/printing_api_utils.h chrome/browser/extensions/api/protocol_handlers/protocol_handlers_manager_browsertest.cc chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc +chrome/browser/extensions/api/proxy_override_rules_private_apitest.cc chrome/browser/extensions/api/quick_unlock_private/quick_unlock_private_api_unittest.cc chrome/browser/extensions/api/runtime/runtime_apitest.cc chrome/browser/extensions/api/scripting/scripting_apitest.cc @@ -1160,8 +1160,6 @@ chrome/browser/extensions/webstore_installer_browsertest.cc chrome/browser/extensions/webstore_reinstaller_browsertest.cc chrome/browser/external_protocol/external_protocol_handler.cc chrome/browser/external_protocol/external_protocol_handler_browsertest.cc -chrome/browser/fast_checkout/fast_checkout_capabilities_fetcher_impl.cc -chrome/browser/fast_checkout/fast_checkout_capabilities_fetcher_impl_unittest.cc chrome/browser/favicon/favicon_utils_unittest.cc chrome/browser/feed/android/feed_reliability_logging_bridge.cc chrome/browser/feedback/android/family_info_feedback_source_unittest.cc @@ -1183,6 +1181,8 @@ chrome/browser/glic/fre/glic_fre_controller_interactive_uitest.cc chrome/browser/glic/fre/glic_fre_controller_unittest.cc chrome/browser/glic/fre/glic_fre_page_handler.cc chrome/browser/glic/glic_metrics_unittest.cc +chrome/browser/glic/glic_navigation_throttle.h +chrome/browser/glic/glic_navigation_throttle_browsertest.cc chrome/browser/glic/glic_user_status_browsertest.cc chrome/browser/glic/host/glic_annotation_manager_interactive_uitest.cc chrome/browser/glic/host/glic_api_browsertest.cc @@ -1211,10 +1211,8 @@ chrome/browser/importer/firefox_profile_lock_posix.cc chrome/browser/importer/firefox_profile_lock_win.cc chrome/browser/importer/ie_importer_browsertest_win.cc chrome/browser/importer/profile_writer_unittest.cc -chrome/browser/k_anonymity_service/k_anonymity_service_client_browsertest.cc -chrome/browser/k_anonymity_service/k_anonymity_service_client_unittest.cc -chrome/browser/k_anonymity_service/k_anonymity_trust_token_getter_unittest.cc chrome/browser/keyboard_accessory/android/address_accessory_controller_impl_unittest.cc +chrome/browser/legion/connection_factory_impl_browsertest.cc chrome/browser/lifetime/switch_utils_unittest.cc chrome/browser/loader/from_gws_navigation_and_keep_alive_request_observer_unittest.cc chrome/browser/loader/keep_alive_request_browsertest_util.h @@ -1309,6 +1307,7 @@ chrome/browser/new_tab_page/modules/v2/most_relevant_tab_resumption/most_relevan chrome/browser/new_tab_page/modules/v2/most_relevant_tab_resumption/most_relevant_tab_resumption_page_handler_unittest.cc chrome/browser/new_tab_page/modules/v2/tab_groups/tab_groups_page_handler.cc chrome/browser/new_tab_page/modules/v2/tab_groups/tab_groups_page_handler_unittest.cc +chrome/browser/new_tab_page/new_tab_page_realbox_interactive_uitest.cc chrome/browser/new_tab_page/new_tab_page_util_browsertest.cc chrome/browser/new_tab_page/ntp_promo/ntp_promo_interactive_uitest.cc chrome/browser/new_tab_page/one_google_bar/one_google_bar_loader_impl.cc @@ -1348,7 +1347,6 @@ chrome/browser/page_load_metrics/observers/gws_page_load_metrics_observer_browse chrome/browser/page_load_metrics/observers/gws_page_load_metrics_observer_unittest.cc chrome/browser/page_load_metrics/observers/initial_webui_page_load_metrics_observer.h chrome/browser/page_load_metrics/observers/loading_predictor_page_load_metrics_observer_unittest.cc -chrome/browser/page_load_metrics/observers/local_network_requests_page_load_metrics_observer_unittest.cc chrome/browser/page_load_metrics/observers/multi_tab_loading_page_load_metrics_observer_unittest.cc chrome/browser/page_load_metrics/observers/omnibox_suggestion_used_page_load_metrics_observer.cc chrome/browser/page_load_metrics/observers/page_anchors_metrics_observer_browsertest.cc @@ -1359,6 +1357,9 @@ 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/security_state_page_load_metrics_observer_browsertest.cc chrome/browser/partnerbookmarks/partner_bookmarks_reader.cc +chrome/browser/password_manager/actor_login/internal/actor_login_federated_credentials_fetcher.cc +chrome/browser/password_manager/actor_login/internal/siwg_button_finder.cc +chrome/browser/password_manager/actor_login/internal/siwg_button_finder_unittest.cc chrome/browser/password_manager/android/all_passwords_bottom_sheet_controller_unittest.cc chrome/browser/password_manager/android/chromesync_status_code.h chrome/browser/password_manager/android/credential_leak_controller_android_unittest.cc @@ -1370,6 +1371,7 @@ chrome/browser/password_manager/android/unified_password_manager_proto_utils_uni chrome/browser/password_manager/chrome_password_manager_client_unittest.cc chrome/browser/password_manager/password_change_delegate_impl_unittest.cc chrome/browser/password_manager/password_manager_browsertest.cc +chrome/browser/password_manager/password_manager_captured_sites_interactive_uitest.cc chrome/browser/password_manager/password_manager_signin_intercept_test_helper.cc chrome/browser/password_manager/password_manager_util_win.cc chrome/browser/payments/android_payment_app_factory_browsertest.cc @@ -1379,7 +1381,7 @@ chrome/browser/payments/payment_request_app_store_billing_browsertest.cc chrome/browser/payments/service_worker_payment_app_finder_browsertest.cc chrome/browser/performance_manager/mechanisms/termination_target_setter.h chrome/browser/performance_manager/policies/discard_eligibility_policy_unittest.cc -chrome/browser/performance_manager/policies/priority_boost_disabler.cc +chrome/browser/performance_manager/policies/priority_boost_helpers.cc chrome/browser/performance_manager/policies/report_page_processes_policy.cc chrome/browser/permissions/notifications_engagement_service_unittest.cc chrome/browser/permissions/permission_context_base_permissions_policy_unittest.cc @@ -1390,8 +1392,8 @@ chrome/browser/permissions/permissions_security_model_interactive_uitest.cc chrome/browser/permissions/prediction_service/prediction_service_browsertest.cc chrome/browser/permissions/quiet_permission_prompt_model_android.cc chrome/browser/policy/cloud/cloud_policy_browsertest.cc -chrome/browser/policy/cloud/cloud_policy_invalidator.h chrome/browser/policy/cloud/device_management_service_browsertest.cc +chrome/browser/policy/cloud/policy_invalidator.h chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc chrome/browser/policy/developer_tools_policy_checker_unittest.cc chrome/browser/policy/extension_policy_browsertest.cc @@ -1426,6 +1428,7 @@ chrome/browser/prefs/chrome_command_line_pref_store_proxy_unittest.cc chrome/browser/prefs/pref_functional_browsertest.cc chrome/browser/prefs/pref_metrics_service.cc chrome/browser/prefs/session_startup_pref_unittest.cc +chrome/browser/preloading/new_tab_page_preload/new_tab_page_preload_browsertest.cc chrome/browser/preloading/prefetch/no_state_prefetch/no_state_prefetch_unittest.cc chrome/browser/preloading/prefetch/no_state_prefetch/prerender_nostate_prefetch_browsertest.cc chrome/browser/preloading/prefetch/no_state_prefetch/tools/prerender_test_server/index.html @@ -1512,10 +1515,8 @@ chrome/browser/resources/bookmarks/command_manager.ts chrome/browser/resources/browsing_topics/browsing_topics_internals.html chrome/browser/resources/certificate_manager/certificate_manager_icons.html chrome/browser/resources/chromeos/about_os_credits.html -chrome/browser/resources/chromeos/accessibility/accessibility_common/mv2/dictation/macros/list_commands_macro.ts -chrome/browser/resources/chromeos/accessibility/accessibility_common/mv2/facegaze/mouse_controller.ts -chrome/browser/resources/chromeos/accessibility/accessibility_common/mv3/dictation/macros/list_commands_macro.ts -chrome/browser/resources/chromeos/accessibility/accessibility_common/mv3/facegaze/mouse_controller.ts +chrome/browser/resources/chromeos/accessibility/accessibility_common/dictation/macros/list_commands_macro.ts +chrome/browser/resources/chromeos/accessibility/accessibility_common/facegaze/mouse_controller.ts chrome/browser/resources/chromeos/accessibility/chromevox/mv2/background/background_test.js chrome/browser/resources/chromeos/accessibility/chromevox/mv2/background/braille/braille_input_handler_test.js chrome/browser/resources/chromeos/accessibility/chromevox/mv2/background/editing/editable_text_test.js @@ -1541,10 +1542,9 @@ chrome/browser/resources/chromeos/accessibility/common/paragraph_utils_unittest. chrome/browser/resources/chromeos/accessibility/common/testing/mock_tts.js chrome/browser/resources/chromeos/accessibility/common/tutorial/chromevox_tutorial.js chrome/browser/resources/chromeos/accessibility/definitions/command_line_private.d.ts -chrome/browser/resources/chromeos/accessibility/select_to_speak/mv2/select_to_speak.ts -chrome/browser/resources/chromeos/accessibility/select_to_speak/mv3/select_to_speak.ts -chrome/browser/resources/chromeos/accessibility/select_to_speak/mv3/select_to_speak_navigation_control_test.js -chrome/browser/resources/chromeos/accessibility/select_to_speak/mv3/select_to_speak_unittest.js +chrome/browser/resources/chromeos/accessibility/select_to_speak/select_to_speak.ts +chrome/browser/resources/chromeos/accessibility/select_to_speak/select_to_speak_navigation_control_test.js +chrome/browser/resources/chromeos/accessibility/select_to_speak/select_to_speak_unittest.js chrome/browser/resources/chromeos/accessibility/select_to_speak_manifest.json.jinja2 chrome/browser/resources/chromeos/accessibility/strings/chromevox_strings.grdp chrome/browser/resources/chromeos/accessibility/switch_access/mv3/item_scan_manager_test.js @@ -1598,7 +1598,7 @@ chrome/browser/resources/hangout_services/manifest_v2.json chrome/browser/resources/hangout_services/manifest_v3.json chrome/browser/resources/inspect/inspect.html chrome/browser/resources/key_value_pair_viewer_shared/key_value_pair_entry.ts -chrome/browser/resources/management/management_ui.ts +chrome/browser/resources/management/promotion_banner.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 @@ -1669,6 +1669,7 @@ chrome/browser/safe_browsing/extension_telemetry/extension_telemetry_service_uni chrome/browser/safe_browsing/extension_telemetry/extension_telemetry_uploader.cc chrome/browser/safe_browsing/extension_telemetry/potential_password_theft_signal_processor_unittest.cc chrome/browser/safe_browsing/extension_telemetry/remote_host_contacted_signal_processor_unittest.cc +chrome/browser/safe_browsing/gemini_antiscam_protection/gemini_antiscam_protection_service_browsertest.cc chrome/browser/safe_browsing/incident_reporting/extension_data_collection_unittest.cc chrome/browser/safe_browsing/incident_reporting/incident_report_uploader_impl.cc chrome/browser/safe_browsing/incident_reporting/incident_reporting_service_unittest.cc @@ -1688,7 +1689,6 @@ chrome/browser/save_to_drive/resumable_drive_uploader.cc chrome/browser/save_to_drive/resumable_drive_uploader_unittest.cc chrome/browser/save_to_drive/save_to_drive_flow_browsertest.cc chrome/browser/search/background/ntp_custom_background_service.cc -chrome/browser/search/ntp_features_unittest.cc chrome/browser/search/search.h chrome/browser/search_engine_choice/search_engine_choice_dialog_browsertest.cc chrome/browser/search_engines/template_url_parser_unittest.cc @@ -1754,12 +1754,13 @@ chrome/browser/signin/header_modification_delegate_impl_unittest.cc chrome/browser/signin/mirror_browsertest.cc chrome/browser/signin/mirror_interactive_uitest.cc chrome/browser/signin/process_dice_header_delegate_impl_unittest.cc -chrome/browser/signin/signin_manager_unittest.cc chrome/browser/signin/signin_promo_unittest.cc chrome/browser/signin/signin_ui_util.cc chrome/browser/signin/signin_ui_util_browsertest.cc +chrome/browser/signin/signin_util.cc chrome/browser/signin/signin_util_unittest.cc chrome/browser/signin/signin_util_win_browsertest.cc +chrome/browser/skills/skills_update_observer_unittest.cc chrome/browser/smart_card/smart_card_reader_tracker_impl.h chrome/browser/ssl/ask_before_http_dialog_controller.cc chrome/browser/ssl/cert_verifier_platform_browser_test.h @@ -1771,7 +1772,7 @@ chrome/browser/ssl/ssl_browsertest.cc chrome/browser/ssl/stateful_ssl_host_state_delegate_test.cc chrome/browser/ssl/typed_navigation_upgrade_throttle_interactive_uitest.cc chrome/browser/startup_data.h -chrome/browser/storage/durable_storage_permission_context_unittest.cc +chrome/browser/storage/persistent_storage_permission_context_unittest.cc chrome/browser/storage/shared_storage_browsertest.cc chrome/browser/subresource_filter/subresource_filter_browsertest.cc chrome/browser/subresource_filter/subresource_filter_fenced_frame_browsertest.cc @@ -1828,14 +1829,14 @@ chrome/browser/sync/test/integration/web_apps/two_client_web_apps_sync_test.cc chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc chrome/browser/sync_file_system/sync_file_system_service.h chrome/browser/tab_contents/navigation_metrics_recorder_browsertest.cc +chrome/browser/tab_list/tab_list_interface_observer.h chrome/browser/tab_ui/android/java/strings/android_tab_ui_strings.grd -chrome/browser/task_manager/sampling/shared_sampler_win_defines.h chrome/browser/themes/theme_syncable_service.cc chrome/browser/translate/translate_manager_browsertest.cc chrome/browser/trusted_vault/trusted_vault_encryption_keys_tab_helper_browsertest.cc chrome/browser/ui/accelerator_table.cc -chrome/browser/ui/android/browser_navigator_android_browsertest.cc chrome/browser/ui/android/extensions/extension_action_popup_contents.cc +chrome/browser/ui/android/extensions/windowing/test/test_extension/default_popup.html chrome/browser/ui/android/strings/android_chrome_strings.grd chrome/browser/ui/ash/app_list/app_list_interactive_uitest.cc chrome/browser/ui/ash/arc/arc_open_url_delegate_impl_browsertest.cc @@ -1906,8 +1907,7 @@ chrome/browser/ui/browser_navigator_browsertest.cc chrome/browser/ui/browser_navigator_browsertest_chromeos.cc chrome/browser/ui/browser_navigator_params.h chrome/browser/ui/browser_tabstrip_browsertest_chromeos.cc -chrome/browser/ui/browser_window/internal/android/android_browser_window_browsertest.cc -chrome/browser/ui/browser_window/internal/android/create_browser_window_android_browsertest.cc +chrome/browser/ui/browser_window/test/android/browser_window_android_browsertest_base.cc chrome/browser/ui/chrome_pages.cc chrome/browser/ui/cocoa/applescript/bookmark_folder_applescript_browsertest.mm chrome/browser/ui/cocoa/applescript/tab_applescript.mm @@ -1919,7 +1919,6 @@ chrome/browser/ui/cocoa/history_menu_cocoa_controller_unittest.mm chrome/browser/ui/cocoa/share_menu_controller.mm chrome/browser/ui/cocoa/share_menu_controller_browsertest.mm chrome/browser/ui/commerce/price_tracking_page_action_controller.cc -chrome/browser/ui/commerce/product_specifications_entry_point_controller.cc chrome/browser/ui/content_settings/content_setting_bubble_model_unittest.cc chrome/browser/ui/content_settings/content_setting_image_model_unittest.cc chrome/browser/ui/crypto_module_password_dialog_nss.cc @@ -1975,6 +1974,8 @@ chrome/browser/ui/passwords/well_known_change_password_navigation_throttle_unitt chrome/browser/ui/plus_addresses/android/all_plus_addresses_bottom_sheet_view_browsertest.cc chrome/browser/ui/plus_addresses/plus_address_menu_model_unittest.cc chrome/browser/ui/profiles/profile_picker_unittest.cc +chrome/browser/ui/read_anything/read_anything_entry_point_controller.cc +chrome/browser/ui/read_anything/read_anything_entry_point_controller_browsertest.cc chrome/browser/ui/safety_hub/disruptive_notification_permissions_manager_unittest.cc chrome/browser/ui/safety_hub/notification_permission_review_service_unittest.cc chrome/browser/ui/safety_hub/password_status_check_service_unittest.cc @@ -1983,7 +1984,6 @@ chrome/browser/ui/search/search_tab_helper.h chrome/browser/ui/search/third_party_ntp_browsertest.cc chrome/browser/ui/search_engines/template_url_table_model_unittest.cc chrome/browser/ui/signin/account_settings_page_pixel_browsertest.cc -chrome/browser/ui/signin/cookie_clear_on_exit_migration_notice_browsertest.cc chrome/browser/ui/signin/dice_migration_service.cc chrome/browser/ui/signin/dice_migration_service_browsertest.cc chrome/browser/ui/signin/dice_migration_service_interactive_uitest.cc @@ -1996,6 +1996,7 @@ chrome/browser/ui/singleton_tabs_browsertest.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/first_run_service_unittest.cc +chrome/browser/ui/startup/google_chrome_scheme_util_unittest.cc chrome/browser/ui/startup/launch_mode_recorder_unittest.cc chrome/browser/ui/startup/startup_browser_creator_browsertest.cc chrome/browser/ui/startup/startup_tab_provider_unittest.cc @@ -2010,7 +2011,6 @@ chrome/browser/ui/tabs/saved_tab_groups/collaboration_messaging_tab_data_unittes chrome/browser/ui/tabs/saved_tab_groups/instant_message_queue_processor_unittest.cc chrome/browser/ui/tabs/saved_tab_groups/tab_group_menu_utils_unittest.cc chrome/browser/ui/tabs/saved_tab_groups/tab_group_sync_delegate_browsertest.cc -chrome/browser/ui/tabs/tab_list_interface_observer.h chrome/browser/ui/tabs/tab_strip_api/tab_strip_service_impl_browsertest.cc chrome/browser/ui/tabs/tab_strip_model_unittest.cc chrome/browser/ui/test/popup_browsertest.cc @@ -2120,7 +2120,6 @@ chrome/browser/ui/views/web_apps/frame_toolbar/web_app_frame_toolbar_browsertest chrome/browser/ui/views/webauthn/passkey_upgrade_bubble_view.cc chrome/browser/ui/views/webid/fedcm_account_selection_view_desktop_browsertest.cc chrome/browser/ui/wallet/walletable_pass_save_bubble_view_browsertest.cc -chrome/browser/ui/web_applications/sub_apps_admin_policy_browsertest.cc chrome/browser/ui/web_applications/web_app_browsertest.cc chrome/browser/ui/web_applications/web_app_navigate_browsertest.cc chrome/browser/ui/web_applications/web_app_profile_deletion_browsertest.cc @@ -2229,6 +2228,7 @@ chrome/browser/ui/webui/signin/sync_confirmation_handler_unittest.cc chrome/browser/ui/webui/signin/sync_confirmation_ui.cc chrome/browser/ui/webui/signin/turn_sync_on_helper_browsertest.cc chrome/browser/ui/webui/signin/turn_sync_on_helper_unittest.cc +chrome/browser/ui/webui/skills/skills_dialog_handler_unittest.cc chrome/browser/ui/webui/theme_source_unittest.cc chrome/browser/ui/webui/webui_allowlist_provider_unittest.cc chrome/browser/ui/webui/whats_new/whats_new_fetcher.cc @@ -2277,6 +2277,7 @@ chrome/browser/web_applications/preinstalled_web_apps/preinstalled_web_apps.cc chrome/browser/web_applications/preinstalled_web_apps/vids.cc chrome/browser/web_applications/preinstalled_web_apps/youtube.cc chrome/browser/web_applications/preinstalled_web_apps_browsertest.cc +chrome/browser/web_applications/sub_apps_admin_policy_browsertest.cc chrome/browser/web_applications/web_app_command_scheduler.cc chrome/browser/web_applications/web_app_helpers_unittest.cc chrome/browser/web_applications/web_app_install_utils_unittest.cc @@ -2574,7 +2575,6 @@ chrome/test/enterprise/e2e/webstore/enterprise_cws/enterprise_cws_webdriver.py chrome/test/fuzzing/atspi_in_process_fuzzer.cc chrome/test/fuzzing/in_process_fuzzer.cc chrome/test/interaction/interactive_browser_test_interactive_uitest.cc -chrome/test/media/performance/openscreen_cast_performance_test.py chrome/test/media_router/media_router_gmc_ui_for_test.cc chrome/test/mini_installer/PRESUBMIT.py chrome/test/mini_installer/create_zip.py @@ -2676,6 +2676,7 @@ chromeos/ash/components/data_migration/data_migration.cc chromeos/ash/components/dbus/arc/arc_obb_mounter_client.h chromeos/ash/components/dbus/biod/fake_biod_client_unittest.cc chromeos/ash/components/dbus/debug_daemon/debug_daemon_client.h +chromeos/ash/components/dbus/debug_daemon/fake_debug_daemon_client.cc chromeos/ash/components/dbus/dlcservice/dlcservice_client.h chromeos/ash/components/dbus/fwupd/fwupd_client.cc chromeos/ash/components/dbus/fwupd/fwupd_client_unittest.cc @@ -2732,7 +2733,7 @@ chromeos/ash/experiences/arc/net/passpoint_dialog_view.cc chromeos/ash/experiences/arc/session/arc_upgrade_params.h chromeos/ash/experiences/arc/session/serial_number_util_unittest.cc chromeos/ash/experiences/arc/volume_mounter/arc_volume_mounter_bridge_unittest.cc -chromeos/ash/experiences/guest_os/borealis/motd/borealis_motd_dialog.cc +chromeos/ash/experiences/guest_os/borealis/motd/borealis_motd_ui.cc chromeos/ash/services/device_sync/cryptauth_api_call_flow_unittest.cc chromeos/ash/services/device_sync/cryptauth_client_impl.cc chromeos/ash/services/device_sync/cryptauth_client_impl_unittest.cc @@ -2779,6 +2780,7 @@ chromeos/printing/uri_fuzzer_seed_corpus/uri49.txt chromeos/printing/uri_fuzzer_seed_corpus/uri5.txt components/BUILD.gn components/account_manager_core/account_manager_facade_impl_unittest.cc +components/activity_reporter/constants.h components/affiliations/core/browser/affiliation_utils.h components/affiliations/core/browser/affiliation_utils_unittest.cc components/affiliations/core/browser/hash_affiliation_fetcher.cc @@ -2802,7 +2804,7 @@ components/autofill/core/browser/data_manager/addresses/account_name_email_store components/autofill/core/browser/data_manager/addresses/address_data_cleaner_unittest.cc components/autofill/core/browser/data_manager/addresses/address_data_manager_unittest.cc components/autofill/core/browser/data_manager/payments/payments_data_manager_unittest.cc -components/autofill/core/browser/data_model/addresses/autofill_profile_unittest.cc +components/autofill/core/browser/data_model/valuables/loyalty_card_unittest.cc components/autofill/core/browser/form_import/form_data_importer_unittest.cc components/autofill/core/browser/form_qualifiers_unittest.cc components/autofill/core/browser/form_structure_unittest.cc @@ -2952,7 +2954,6 @@ components/cronet/gn2bp/gen_android_bp.py components/cronet/gn2bp/gn_utils.py components/cronet/gn2bp/run_gn2bp.py components/cronet/license/license_utils.py -components/cronet/native/cronet.idl components/cronet/tools/cr_cronet.py components/cronet/tools/utils.py components/custom_handlers/protocol_handler_registry_unittest.cc @@ -2964,15 +2965,15 @@ components/data_sharing/internal/preview_server_proxy_unittest.cc components/data_sharing/public/data_sharing_network_utils.h components/data_sharing/public/features.cc components/data_sharing/public/group_data.h -components/desks_storage/core/admin_template_service_unittests.cc -components/desks_storage/core/desk_model_wrapper_unittests.cc +components/desks_storage/core/admin_template_service_unittest.cc +components/desks_storage/core/desk_model_wrapper_unittest.cc components/desks_storage/core/desk_sync_bridge_unittest.cc components/desks_storage/core/desk_template_conversion.cc -components/desks_storage/core/desk_template_conversion_unittests.cc -components/desks_storage/core/desk_template_semantics_unittests.cc +components/desks_storage/core/desk_template_conversion_unittest.cc +components/desks_storage/core/desk_template_semantics_unittest.cc components/desks_storage/core/desk_test_util.h -components/desks_storage/core/desk_test_util_unittests.cc -components/desks_storage/core/local_desk_data_manager_unittests.cc +components/desks_storage/core/desk_test_util_unittest.cc +components/desks_storage/core/local_desk_data_manager_unittest.cc components/device_signals/core/browser/android/android_os_signals_collector_unittest.cc components/device_signals/core/browser/browser_utils.cc components/device_signals/core/browser/desktop/desktop_os_signals_collector_unittest.cc @@ -2980,10 +2981,11 @@ components/device_signals/core/common/win/platform_utils_win.cc components/device_signals/core/common/win/win_types.h components/device_signals/core/system_signals/win/wsc_client.h components/dom_distiller/content/browser/distiller_page_web_contents_browsertest.cc +components/dom_distiller/content/browser/distiller_referrer_throttle_unittest.cc components/dom_distiller/content/browser/dom_distiller_viewer_source.cc components/dom_distiller/core/html/dom_distiller_viewer.html components/dom_distiller/core/html/preview.html -components/dom_distiller/core/javascript/dom_distiller_viewer.js +components/dom_distiller/core/javascript/content_processing.js components/dom_distiller/core/url_utils_unittest.cc components/dom_distiller/core/viewer.cc components/domain_reliability/bake_in_configs.py @@ -2996,7 +2998,9 @@ components/drive/service/drive_service_interface.h components/drive/service/fake_drive_service.cc components/embedder_support/android/BUILD.gn components/endpoint_fetcher/endpoint_fetcher_unittest.cc -components/enterprise/browser/reporting/saas_domain/domain_reporting_aggregation_utils_unittest.cc +components/enterprise/browser/reporting/saas_usage/saas_usage_aggregation_utils_unittest.cc +components/enterprise/browser/reporting/saas_usage/saas_usage_report_factory_unittest.cc +components/enterprise/browser/reporting/saas_usage/saas_usage_reporting_controller_unittest.cc components/enterprise/connectors/core/cloud_content_scanning/resumable_uploader_base_unittest.cc components/enterprise/connectors/core/content_area_user_provider.cc components/enterprise/connectors/core/content_area_user_provider.h @@ -3060,6 +3064,7 @@ components/gwp_asan/client/extreme_lightweight_detector_quarantine.h components/history/core/browser/BUILD.gn components/history/core/browser/browsing_history_service.cc components/history/core/browser/expire_history_backend_unittest.cc +components/history/core/browser/features.cc components/history/core/browser/history_backend.cc components/history/core/browser/history_backend.h components/history/core/browser/history_backend_notifier.h @@ -3107,13 +3112,14 @@ components/input/render_widget_host_input_event_router.cc components/input/render_widget_host_input_event_router.h components/input/render_widget_host_view_input.h components/input/touch_action_filter.h -components/input/utils.cc components/invalidation/impl/per_user_topic_subscription_manager.cc components/invalidation/impl/per_user_topic_subscription_manager_unittest.cc components/javascript_dialogs/tab_modal_dialog_manager.cc components/javascript_dialogs_strings.grdp components/keyed_service/core/keyed_service_base_factory.cc components/keyed_service/core/simple_keyed_service_factory.h +components/legion/attestation/handler_impl_unittest.cc +components/legion/attestation/server_verification_key_unittest.cc components/legion/phosphor/config_http.cc components/legion/websocket_client.cc components/lens/lens_features.cc @@ -3259,6 +3265,7 @@ components/optimization_guide/core/hints/optimization_metadata_unittest.cc components/optimization_guide/core/inference/model_handler_unittest.cc components/optimization_guide/core/inference/tflite_model_executor_unittest.cc components/optimization_guide/core/model_execution/json_response_parser_unittest.cc +components/optimization_guide/core/model_execution/model_execution_fetcher.cc components/optimization_guide/core/model_execution/model_execution_fetcher_impl.cc components/optimization_guide/core/model_execution/model_execution_fetcher_impl_unittest.cc components/optimization_guide/core/model_execution/model_execution_manager_unittest.cc @@ -3441,7 +3448,6 @@ components/permissions/prediction_service/prediction_model_handler.cc components/permissions/prediction_service/prediction_service_base.h components/permissions/test/mock_permission_request.h components/permissions_strings.grdp -components/persistent_cache/sqlite/vfs/sandboxed_file.cc components/plus_addresses/core/browser/metrics/plus_address_submission_logger_unittest.cc components/plus_addresses/core/browser/plus_address_http_client_impl.cc components/plus_addresses/core/browser/plus_address_http_client_impl_unittest.cc @@ -3530,6 +3536,10 @@ components/policy/test/data/pref_mapping/LocalFontsAllowedForUrls.json components/policy/test/data/pref_mapping/LocalFontsBlockedForUrls.json components/policy/test/data/pref_mapping/LocalNetworkAccessAllowedForUrls.json components/policy/test/data/pref_mapping/LocalNetworkAccessBlockedForUrls.json +components/policy/test/data/pref_mapping/LocalNetworkAllowedForUrls.json +components/policy/test/data/pref_mapping/LocalNetworkBlockedForUrls.json +components/policy/test/data/pref_mapping/LoopbackNetworkAllowedForUrls.json +components/policy/test/data/pref_mapping/LoopbackNetworkBlockedForUrls.json components/policy/test/data/pref_mapping/ManagedBookmarks.json components/policy/test/data/pref_mapping/MultiScreenCaptureAllowedForUrls.json components/policy/test/data/pref_mapping/NotificationsAllowedForUrls.json @@ -3544,8 +3554,8 @@ components/policy/test/data/pref_mapping/ReportWebsiteActivityAllowlist.json components/policy/test/data/pref_mapping/ReportWebsiteTelemetryAllowlist.json components/policy/test/data/pref_mapping/RestoreOnStartupURLs.json components/policy/test/data/pref_mapping/RestrictSigninToPattern.json -components/policy/test/data/pref_mapping/SaaSReportDomainUrlsForBrowser.json -components/policy/test/data/pref_mapping/SaaSReportDomainUrlsForProfile.json +components/policy/test/data/pref_mapping/SaasUsageReportingDomainUrlsForBrowsers.json +components/policy/test/data/pref_mapping/SaasUsageReportingDomainUrlsForProfiles.json components/policy/test/data/pref_mapping/SafeBrowsingAllowlistDomains.json components/policy/test/data/pref_mapping/SameOriginTabCaptureAllowedByOrigins.json components/policy/test/data/pref_mapping/ScreenCaptureAllowedByOrigins.json @@ -3555,7 +3565,6 @@ components/policy/test/data/pref_mapping/SerialAllowAllPortsForUrls.json components/policy/test/data/pref_mapping/SerialAllowUsbDevicesForUrls.json components/policy/test/data/pref_mapping/SerialBlockedForUrls.json components/policy/test/data/pref_mapping/TabCaptureAllowedByOrigins.json -components/policy/test/data/pref_mapping/ThirdPartyStoragePartitioningBlockedForOrigins.json components/policy/test/data/pref_mapping/URLAllowlist.json components/policy/test/data/pref_mapping/URLBlocklist.json components/policy/test/data/pref_mapping/VideoCaptureAllowedUrls.json @@ -3591,11 +3600,7 @@ components/policy/tools/template_writers/writers/json_writer_unittest.py components/policy/tools/template_writers/writers/template_writer.py components/policy/tools/template_writers/writers/template_writer_unittest.py components/policy_strings.grdp -components/power_bookmarks/common/power.cc -components/power_bookmarks/common/power_unittest.cc -components/power_bookmarks/core/power_bookmark_service_unittest.cc components/power_bookmarks/core/power_bookmark_utils_unittest.cc -components/power_bookmarks/storage/power_bookmark_database_impl_unittest.cc components/power_metrics/energy_metrics_provider_win.cc components/prefs/pref_change_registrar.cc components/prefs/pref_change_registrar_unittest.cc @@ -3618,57 +3623,109 @@ components/reporting/encryption/testing_primitives.cc components/reporting/storage/storage_queue_unittest.cc components/resources/PRESUBMIT.py components/resources/terms/terms_am.html +components/resources/terms/terms_am.txt components/resources/terms/terms_ar.html +components/resources/terms/terms_ar.txt components/resources/terms/terms_bg.html +components/resources/terms/terms_bg.txt components/resources/terms/terms_bn.html +components/resources/terms/terms_bn.txt components/resources/terms/terms_ca.html +components/resources/terms/terms_ca.txt components/resources/terms/terms_cs.html +components/resources/terms/terms_cs.txt components/resources/terms/terms_da.html +components/resources/terms/terms_da.txt components/resources/terms/terms_de.html +components/resources/terms/terms_de.txt components/resources/terms/terms_el.html +components/resources/terms/terms_el.txt components/resources/terms/terms_en-GB.html +components/resources/terms/terms_en-GB.txt components/resources/terms/terms_en.html +components/resources/terms/terms_en.txt components/resources/terms/terms_es-419.html +components/resources/terms/terms_es-419.txt components/resources/terms/terms_es.html +components/resources/terms/terms_es.txt components/resources/terms/terms_et.html +components/resources/terms/terms_et.txt components/resources/terms/terms_fa.html +components/resources/terms/terms_fa.txt components/resources/terms/terms_fi.html +components/resources/terms/terms_fi.txt components/resources/terms/terms_fil.html +components/resources/terms/terms_fil.txt components/resources/terms/terms_fr.html +components/resources/terms/terms_fr.txt components/resources/terms/terms_gu.html +components/resources/terms/terms_gu.txt components/resources/terms/terms_he.html +components/resources/terms/terms_he.txt components/resources/terms/terms_hi.html +components/resources/terms/terms_hi.txt components/resources/terms/terms_hr.html +components/resources/terms/terms_hr.txt components/resources/terms/terms_hu.html +components/resources/terms/terms_hu.txt components/resources/terms/terms_id.html +components/resources/terms/terms_id.txt components/resources/terms/terms_it.html +components/resources/terms/terms_it.txt components/resources/terms/terms_ja.html +components/resources/terms/terms_ja.txt components/resources/terms/terms_kn.html +components/resources/terms/terms_kn.txt components/resources/terms/terms_ko.html +components/resources/terms/terms_ko.txt components/resources/terms/terms_lt.html +components/resources/terms/terms_lt.txt components/resources/terms/terms_lv.html +components/resources/terms/terms_lv.txt components/resources/terms/terms_ml.html +components/resources/terms/terms_ml.txt components/resources/terms/terms_mr.html +components/resources/terms/terms_mr.txt components/resources/terms/terms_nb.html +components/resources/terms/terms_nb.txt components/resources/terms/terms_nl.html +components/resources/terms/terms_nl.txt components/resources/terms/terms_pl.html +components/resources/terms/terms_pl.txt components/resources/terms/terms_pt-BR.html +components/resources/terms/terms_pt-BR.txt components/resources/terms/terms_pt-PT.html +components/resources/terms/terms_pt-PT.txt components/resources/terms/terms_ro.html +components/resources/terms/terms_ro.txt components/resources/terms/terms_ru.html +components/resources/terms/terms_ru.txt components/resources/terms/terms_sk.html +components/resources/terms/terms_sk.txt components/resources/terms/terms_sl.html +components/resources/terms/terms_sl.txt components/resources/terms/terms_sr.html +components/resources/terms/terms_sr.txt components/resources/terms/terms_sv.html +components/resources/terms/terms_sv.txt components/resources/terms/terms_sw.html +components/resources/terms/terms_sw.txt components/resources/terms/terms_ta.html +components/resources/terms/terms_ta.txt components/resources/terms/terms_te.html +components/resources/terms/terms_te.txt components/resources/terms/terms_th.html +components/resources/terms/terms_th.txt components/resources/terms/terms_tr.html +components/resources/terms/terms_tr.txt components/resources/terms/terms_uk.html +components/resources/terms/terms_uk.txt components/resources/terms/terms_vi.html +components/resources/terms/terms_vi.txt components/resources/terms/terms_zh-CN.html +components/resources/terms/terms_zh-CN.txt components/resources/terms/terms_zh-TW.html +components/resources/terms/terms_zh-TW.txt 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 @@ -3730,6 +3787,7 @@ components/search_engines/android/template_url_service_android_unittest.cc components/search_engines/choice_made_location.h components/search_engines/enterprise/default_search_policy_handler_unittest.cc components/search_engines/keyword_table_unittest.cc +components/search_engines/reconciling_template_url_data_holder_unittest.cc components/search_engines/template_url.cc components/search_engines/template_url_data_unittest.cc components/search_engines/template_url_prepopulate_data_unittest.cc @@ -3806,6 +3864,7 @@ components/signin/internal/identity_manager/account_tracker_service_unittest.cc components/signin/internal/identity_manager/gaia_cookie_manager_service.cc components/signin/internal/identity_manager/mutable_profile_oauth2_token_service_delegate.cc components/signin/internal/identity_manager/mutable_profile_oauth2_token_service_delegate_unittest.cc +components/signin/internal/identity_manager/oauth_multilogin_helper.cc components/signin/internal/identity_manager/oauth_multilogin_helper_unittest.cc components/signin/internal/identity_manager/primary_account_manager_unittest.cc components/signin/internal/identity_manager/profile_oauth2_token_service_delegate_android.cc @@ -3839,9 +3898,13 @@ components/site_engagement/content/site_engagement_helper.cc components/site_engagement/content/site_engagement_helper_unittest.cc components/site_engagement/content/site_engagement_score_unittest.cc components/site_isolation/site_isolation_policy_unittest.cc +components/skills/internal/skills_downloader.cc +components/skills/internal/skills_downloader_unittest.cc +components/skills/internal/skills_service_impl_unittest.cc components/speech/endpointer/energy_endpointer.cc components/spellcheck/browser/spelling_service_client.cc components/spellcheck/browser/windows_spell_checker.cc +components/sqlite_vfs/sandboxed_file.cc components/ssl_errors/error_classification.h components/ssl_errors/error_classification_unittest.cc components/startup_metric_utils/browser/startup_metric_utils.cc @@ -3851,6 +3914,11 @@ components/subresource_filter/content/browser/content_subresource_filter_web_con components/subresource_filter/content/browser/content_subresource_filter_web_contents_helper.h components/subresource_filter/core/browser/subresource_filter_constants.h components/subresource_filter/core/common/PRESUBMIT.py +components/supervised_user/core/browser/family_link_settings_service_unittest.cc +components/supervised_user/core/browser/family_link_url_filter.cc +components/supervised_user/core/browser/family_link_url_filter.h +components/supervised_user/core/browser/family_link_url_filter_manual_behavior_unittest.cc +components/supervised_user/core/browser/family_link_url_filter_unittest.cc components/supervised_user/core/browser/family_link_user_capabilities_unittest.cc components/supervised_user/core/browser/fetcher_config.cc components/supervised_user/core/browser/fetcher_config.h @@ -3861,11 +3929,8 @@ components/supervised_user/core/browser/proto_fetcher_status.h components/supervised_user/core/browser/proto_fetcher_unittest.cc components/supervised_user/core/browser/supervised_user_log_record_unittest.cc components/supervised_user/core/browser/supervised_user_service_unittest.cc -components/supervised_user/core/browser/supervised_user_settings_service_unittest.cc components/supervised_user/core/browser/supervised_user_synthetic_field_trial_service_delegate.h -components/supervised_user/core/browser/supervised_user_url_filter.cc -components/supervised_user/core/browser/supervised_user_url_filter.h -components/supervised_user/core/browser/supervised_user_url_filter_unittest.cc +components/supervised_user/core/browser/supervised_user_url_filtering_service_android_unittest.cc components/supervised_user/core/browser/supervised_user_utils.cc components/supervised_user/core/common/supervised_user_constants.cc components/supervised_user/core/common/supervised_user_shared_constants.cc @@ -3874,6 +3939,8 @@ components/supervised_user/test_support/account_repository_unittest.cc components/supervised_user/test_support/family_link_settings_state_management.cc components/supervised_user/test_support/kids_chrome_management_test_utils.cc components/supervised_user/test_support/kids_management_api_server_mock.cc +components/surface_embed/common/features.cc +components/surface_embed/common/features.h components/sync/PRESUBMIT.py components/sync/base/data_type.cc components/sync/base/sync_util.h @@ -3904,7 +3971,6 @@ components/themes/ntp_background_service.cc components/touch_to_search/core/browser/contextual_search_context.h components/touch_to_search/core/browser/contextual_search_delegate_impl.cc components/touch_to_search/core/browser/contextual_search_delegate_impl_unittest.cc -components/tpcd/enterprise_reporting/enterprise_reporting_tab_helper_unittest.cc components/tpcd/metadata/browser/parser_unittest.cc components/tracing/common/etw_consumer_win.cc components/tracing/common/etw_consumer_win.h @@ -3972,7 +4038,7 @@ components/variations/net/omnibox_autofocus_http_headers_unittest.cc components/variations/net/omnibox_autofocus_url_loader_throttle_unittest.cc components/variations/net/variations_http_headers.cc components/variations/net/variations_http_headers_unittest.cc -components/variations/pref_names.cc +components/variations/pref_names.h components/variations/proto/PRESUBMIT.py components/variations/proto/devtools/client_variations_uncompiled.js components/variations/service/safe_seed_manager.cc @@ -4002,8 +4068,8 @@ components/viz/service/display/renderer_pixeltest.cc components/viz/service/display_embedder/skia_output_surface_impl_on_gpu.cc components/viz/service/display_embedder/skia_render_copy_results.cc components/viz/service/input/input_manager.cc +components/wallet/core/browser/ingestion/walletable_pass_ingestion_controller_unittest.cc components/wallet/core/browser/network/wallet_http_client_impl.cc -components/wallet/core/browser/walletable_pass_ingestion_controller_unittest.cc components/wallet/core/browser/walletable_permission_utils_unittest.cc components/wallet_strings.grdp components/webapps/browser/android/add_to_homescreen_data_fetcher_unittest.cc @@ -4031,6 +4097,7 @@ components/zucchini/exception_filter_helper_win.cc components/zucchini/type_dex.h content/app/content_main_runner_impl.cc content/app_shim_remote_cocoa/render_widget_host_view_cocoa.mm +content/app_shim_remote_cocoa/web_menu_runner_mac.mm content/browser/accessibility/accessibility_action_browsertest.cc content/browser/accessibility/accessibility_auralinux_browsertest.cc content/browser/accessibility/browser_accessibility_android.cc @@ -4088,7 +4155,6 @@ content/browser/geolocation/geolocation_service_impl_unittest.cc content/browser/gpu/gpu_data_manager_impl_private.cc content/browser/hid/hid_service_unittest.cc content/browser/idle/idle_manager_unittest.cc -content/browser/indexed_db/indexed_db_context_impl.h content/browser/indexed_db/indexed_db_context_unittest.cc content/browser/indexed_db/indexed_db_reporting.cc content/browser/indexed_db/instance/leveldb/backing_store.cc @@ -4230,6 +4296,7 @@ content/browser/web_contents/web_contents_impl_browsertest.cc content/browser/web_contents/web_contents_impl_unittest.cc content/browser/web_contents/web_contents_view_android.cc content/browser/web_contents/web_contents_view_aura_unittest.cc +content/browser/web_contents/web_contents_view_mac_unittest.mm content/browser/web_contents/web_drag_dest_mac_unittest.mm content/browser/webauth/authenticator_common_impl.cc content/browser/webauth/authenticator_impl_unittest.cc @@ -4443,11 +4510,13 @@ docs/website/scripts/fetch_lobs.py docs/website/scripts/fetch_node_modules.py docs/website/site/Home/google-ssl.xml docs/website/site/administrators/err_ssl_weak_server_ephemeral_dh_key/redirect-dh.xml -docs/website/site/chromium-os/developer-library/guides/testing/puppeteer-system-apps/test-file-download.js -docs/website/site/chromium-os/developer-library/guides/testing/web-testing/test-chrome-connection.js -docs/website/site/chromium-os/developer-library/guides/testing/web-testing/test-iwa-interaction.js -docs/website/site/chromium-os/developer-library/guides/testing/web-testing/test-iwa-kiosk.js -docs/website/site/chromium-os/developer-library/guides/testing/web-testing/test-pwa-lifecycle.js +docs/website/site/chromium-os/developer-library/guides/testing/web-testing/browser-connection/test-chrome-connection.js +docs/website/site/chromium-os/developer-library/guides/testing/web-testing/iwa/test-iwa-interaction.js +docs/website/site/chromium-os/developer-library/guides/testing/web-testing/kiosk/test-iwa-kiosk.js +docs/website/site/chromium-os/developer-library/guides/testing/web-testing/pwa/test-pwa-lifecycle.js +docs/website/site/chromium-os/developer-library/guides/testing/web-testing/pwa/test-pwa-lifecycle.py +docs/website/site/chromium-os/developer-library/guides/testing/web-testing/pwa/test-pwa-lifecycle.ts +docs/website/site/chromium-os/developer-library/guides/testing/web-testing/swa/test-file-download.js docs/website/site/chromium-os/developer-library/reference/linux-constants/syscalls/syscalls.py docs/website/site/chromium-os/developer-library/reference/upstart-cookbook/index.html docs/website/site/developers/design-documents/accessibility/tracker/CSUN_Accessibility_in_the_Cloud.txt @@ -4495,11 +4564,7 @@ extensions/common/api/PRESUBMIT.py extensions/common/api/app_window.idl extensions/common/api/extensions_manifest_types.json extensions/common/api/i18n.json -extensions/common/api/networking_onc.idl -extensions/common/api/networking_private.idl -extensions/common/api/offscreen.idl extensions/common/api/printer_provider.idl -extensions/common/api/serial.idl extensions/common/api/socket.idl extensions/common/api/sockets_tcp.idl extensions/common/api/sockets_tcp_server.idl @@ -4551,6 +4616,7 @@ extensions/renderer/script_context.cc extensions/shell/browser/shell_prefs.cc extensions/strings/extensions_strings.grd extensions/test/extension_background_page_waiter.h +fuchsia_web/av_testing/cast_starter.html fuchsia_web/webengine/browser/frame_impl_browsertest.cc fuchsia_web/webengine/browser/web_engine_content_browser_client_unittest.cc fuchsia_web/webengine/test/data/play_video.html @@ -4679,6 +4745,7 @@ gpu/vulkan/PRESUBMIT.py headless/lib/browser/protocol/headless_handler.cc headless/test/data/dom_tree_test.html headless/test/data/structured_doc.html +headless/test/data/structured_doc/doc.html headless/test/dom_tree_extraction_expected_nodes.txt headless/test/headless_compositor_browsertest.cc infra/config/PRESUBMIT.py @@ -4745,6 +4812,7 @@ media/ffmpeg/ffmpeg_regression_tests.cc media/ffmpeg/scripts/build_ffmpeg.py media/ffmpeg/scripts/credits_updater.py media/ffmpeg/scripts/generate_gn.py +media/ffmpeg/scripts/robo_branch.py media/ffmpeg/scripts/robo_setup.py media/filters/decrypting_audio_decoder.h media/filters/decrypting_video_decoder.h @@ -4784,7 +4852,6 @@ media/gpu/windows/d3d12_video_helpers.h media/gpu/windows/media_foundation_video_encode_accelerator_win.cc media/gpu/windows/mf_audio_encoder.cc media/gpu/windows/mf_audio_encoder.h -media/gpu/windows/supported_profile_helpers.cc media/mojo/clients/mojo_gpu_video_accelerator_factories.cc media/mojo/mojom/stable/native_pixmap_handle_mojom_traits.cc media/mojo/services/media_foundation_service.cc @@ -4808,7 +4875,7 @@ media/renderers/win/media_foundation_stream_wrapper.cc media/renderers/win/media_foundation_stream_wrapper.h media/renderers/win/media_foundation_video_stream.cc media/test/PRESUBMIT.py -media/video/gpu_memory_buffer_video_frame_pool.cc +media/video/mappable_shared_image_video_frame_pool.cc media/video/video_encode_accelerator.h media/video/vpx_video_encoder.cc mojo/PRESUBMIT.py @@ -4946,6 +5013,7 @@ net/http/http_stream_pool_attempt_manager.cc net/http/http_transaction_test_util.cc net/http/http_util.cc net/http/http_util_unittest.cc +net/http/mock_sspi_library_win.cc net/http/no_vary_search_cache.h net/http/transport_security_state.cc net/http/transport_security_state.h @@ -5063,6 +5131,7 @@ pdf/pdfium/accessibility_unittest.cc pdf/pdfium/pdfium_engine.cc pdf/pdfium/pdfium_engine_unittest.cc pdf/pdfium/pdfium_form_filler_unittest.cc +pdf/pdfium/pdfium_mem_buffer_file_write.cc pdf/pdfium/pdfium_page_unittest.cc pdf/pdfium/pdfium_test_base.cc pdf/test/PRESUBMIT.py @@ -5117,6 +5186,7 @@ remoting/host/win/rdp_client_window.cc remoting/host/win/trust_util.cc remoting/protocol/authenticator_test_base.h remoting/protocol/fake_session.cc +remoting/protocol/jingle_messages.h remoting/protocol/jingle_messages_unittest.cc remoting/protocol/jingle_session_unittest.cc remoting/protocol/negotiating_authenticator_unittest.cc @@ -5203,6 +5273,9 @@ services/network/network_context_unittest.cc services/network/orb/orb_impl.cc services/network/orb/orb_impl_unittest.cc services/network/orb/orb_sniffers.cc +services/network/pervasive_resources/shared_resource_checker.cc +services/network/pervasive_resources/shared_resource_checker.h +services/network/pervasive_resources/shared_resource_checker_patterns.h services/network/proxy_resolver_factory_mojo_unittest.cc services/network/public/cpp/content_security_policy/content_security_policy_unittest.cc services/network/public/cpp/cors/cors_error_status.h @@ -5218,8 +5291,6 @@ services/network/public/cpp/proxy_config_mojom_traits_unittest.cc services/network/public/cpp/transferable_socket.cc services/network/public/mojom/permissions_policy/PRESUBMIT.py services/network/sct_auditing/sct_auditing_reporter.cc -services/network/shared_resource_checker.cc -services/network/shared_resource_checker.h services/network/trust_tokens/trust_token_client_data_canonicalization.h services/network/trust_tokens/trust_token_key_commitment_parser.h services/network/trust_tokens/trust_token_key_commitments.h @@ -5677,7 +5748,6 @@ third_party/blink/renderer/core/dom/node_iterator_base.cc third_party/blink/renderer/core/dom/node_iterator_base.h third_party/blink/renderer/core/dom/node_list.idl third_party/blink/renderer/core/dom/node_lists_node_data.h -third_party/blink/renderer/core/dom/node_rare_data.h third_party/blink/renderer/core/dom/observable.cc third_party/blink/renderer/core/dom/observable.h third_party/blink/renderer/core/dom/processing_instruction.idl @@ -5703,7 +5773,6 @@ third_party/blink/renderer/core/editing/serializers/serialization.cc third_party/blink/renderer/core/editing/spellcheck/cold_mode_spell_check_requester.h third_party/blink/renderer/core/editing/spellcheck/hot_mode_spell_check_requester.h third_party/blink/renderer/core/editing/spellcheck/idle_spell_check_controller.h -third_party/blink/renderer/core/editing/spellcheck/spell_checker_test.cc third_party/blink/renderer/core/editing/visible_units.cc third_party/blink/renderer/core/editing/visible_units_line_test.cc third_party/blink/renderer/core/events/before_unload_event.cc @@ -5726,7 +5795,6 @@ third_party/blink/renderer/core/events/wheel_event.cc third_party/blink/renderer/core/events/wheel_event.h third_party/blink/renderer/core/events/wheel_event.idl third_party/blink/renderer/core/execution_context/execution_context.h -third_party/blink/renderer/core/execution_context/navigator_base.cc third_party/blink/renderer/core/execution_context/security_context.cc third_party/blink/renderer/core/exported/web_plugin_container_impl.cc third_party/blink/renderer/core/exported/web_searchable_form_data.cc @@ -5765,6 +5833,7 @@ third_party/blink/renderer/core/html/forms/html_button_element.idl third_party/blink/renderer/core/html/forms/html_form_controls_collection.cc third_party/blink/renderer/core/html/forms/html_form_controls_collection.idl third_party/blink/renderer/core/html/forms/html_form_element.idl +third_party/blink/renderer/core/html/forms/html_form_mcp_tool_test.cc third_party/blink/renderer/core/html/forms/html_input_element.idl third_party/blink/renderer/core/html/forms/html_input_element_test.cc third_party/blink/renderer/core/html/forms/html_label_element.idl @@ -5975,6 +6044,7 @@ third_party/blink/renderer/modules/accessibility/ax_node_object.cc third_party/blink/renderer/modules/accessibility/ax_object_cache_impl.cc third_party/blink/renderer/modules/accessibility/ax_object_cache_impl.h third_party/blink/renderer/modules/accessibility/testing/internals_accessibility.h +third_party/blink/renderer/modules/ai/feedback_helpers.cc third_party/blink/renderer/modules/bluetooth/bluetooth_error.cc third_party/blink/renderer/modules/clipboard/clipboard.idl third_party/blink/renderer/modules/content_extraction/ai_page_content_agent_unittest.cc @@ -6180,7 +6250,6 @@ third_party/boringssl/src/third_party/googletest/googletest/test/gtest_list_outp third_party/boringssl/src/third_party/googletest/googletest/test/gtest_skip_test.cc third_party/boringssl/src/tool/fd.cc third_party/breakpad/BUILD.gn -third_party/breakpad/breakpad/default.xml 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 @@ -6251,7 +6320,6 @@ third_party/breakpad/breakpad/src/processor/static_range_map_unittest.cc third_party/breakpad/breakpad/src/processor/windows_frame_info.h third_party/breakpad/breakpad/src/tools/linux/core_handler/core_handler.cc third_party/breakpad/breakpad/src/tools/linux/md2core/minidump-2-core.cc -third_party/breakpad/breakpad/src/tools/python/deps-to-manifest.py third_party/breakpad/breakpad/src/tools/python/filter_syms.py third_party/breakpad/breakpad/src/tools/windows/converter/ms_symbol_server_converter.cc third_party/breakpad/breakpad/src/tools/windows/converter/ms_symbol_server_converter.h @@ -7492,6 +7560,7 @@ third_party/crossbench/crossbench/action_runner/default_bond_action_runner.py third_party/crossbench/crossbench/benchmarks/loading/config/login/google.py third_party/crossbench/crossbench/benchmarks/loading/loading_benchmark.py third_party/crossbench/crossbench/benchmarks/loading/page/live.py +third_party/crossbench/crossbench/benchmarks/loadline/loadline.py third_party/crossbench/crossbench/benchmarks/powerline/powerline_benchmark.py third_party/crossbench/crossbench/bond/bond.py third_party/crossbench/crossbench/browsers/chrome/downloader.py @@ -7509,6 +7578,7 @@ third_party/crossbench/crossbench/cli/exception_formatter.py third_party/crossbench/crossbench/cli/subcommand/pinpoint.py third_party/crossbench/crossbench/pinpoint/api.py third_party/crossbench/crossbench/pinpoint/auth.py +third_party/crossbench/crossbench/pinpoint/job_results.py third_party/crossbench/crossbench/pinpoint/list_jobs.py third_party/crossbench/crossbench/pinpoint/patch_resolver.py third_party/crossbench/crossbench/plt/android_adb.py @@ -7559,7 +7629,9 @@ third_party/dawn/src/dawn/common/SystemUtils.cpp third_party/dawn/src/dawn/dawn.json third_party/dawn/src/dawn/native/BindGroupLayoutInternal.h third_party/dawn/src/dawn/native/CommandAllocator.cpp +third_party/dawn/src/dawn/native/Commands.h third_party/dawn/src/dawn/native/CopyTextureForBrowserHelper.cpp +third_party/dawn/src/dawn/native/Device.h third_party/dawn/src/dawn/native/Features.cpp third_party/dawn/src/dawn/native/Limits.cpp third_party/dawn/src/dawn/native/ResourceTable.cpp @@ -7568,6 +7640,7 @@ third_party/dawn/src/dawn/native/Sampler.h third_party/dawn/src/dawn/native/ShaderModule.cpp third_party/dawn/src/dawn/native/SubresourceStorage.h third_party/dawn/src/dawn/native/Texture.cpp +third_party/dawn/src/dawn/native/Texture.h third_party/dawn/src/dawn/native/Toggles.cpp third_party/dawn/src/dawn/native/d3d/D3DError.cpp third_party/dawn/src/dawn/native/d3d11/BindGroupTrackerD3D11.cpp @@ -7583,7 +7656,6 @@ third_party/dawn/src/dawn/native/d3d11/TextureD3D11.cpp third_party/dawn/src/dawn/native/d3d12/BufferD3D12.cpp third_party/dawn/src/dawn/native/d3d12/CommandBufferD3D12.cpp third_party/dawn/src/dawn/native/d3d12/D3D12Info.cpp -third_party/dawn/src/dawn/native/d3d12/DeviceD3D12.cpp third_party/dawn/src/dawn/native/d3d12/PhysicalDeviceD3D12.cpp third_party/dawn/src/dawn/native/d3d12/ResourceAllocatorManagerD3D12.cpp third_party/dawn/src/dawn/native/d3d12/ResourceAllocatorManagerD3D12.h @@ -7617,6 +7689,7 @@ third_party/dawn/src/dawn/tests/end2end/ArchTierLimitsExhaustive.cpp third_party/dawn/src/dawn/tests/end2end/BindingArrayTests.cpp third_party/dawn/src/dawn/tests/end2end/BufferHostMappedPointerTests_win.cpp third_party/dawn/src/dawn/tests/end2end/CompressedTextureFormatTests.cpp +third_party/dawn/src/dawn/tests/end2end/CopyTests.cpp third_party/dawn/src/dawn/tests/end2end/DepthBiasTests.cpp third_party/dawn/src/dawn/tests/end2end/ResourceTableTests.cpp third_party/dawn/src/dawn/tests/end2end/TextureViewTests.cpp @@ -7805,6 +7878,7 @@ third_party/dawn/third_party/webgpu-headers/src/webgpu.json third_party/dawn/tools/src/cmd/cts/config.json third_party/dawn/tools/src/cmd/cts/treemap/treemap.html third_party/depot_tools/PRESUBMIT.py +third_party/depot_tools/agents/skills/luci-test-results/scripts/luci_triage.py third_party/depot_tools/auth.py third_party/depot_tools/autoninja.py third_party/depot_tools/bootstrap/bootstrap.py @@ -7976,6 +8050,7 @@ third_party/depot_tools/recipes/recipe_modules/git/examples/full.expected/count- third_party/depot_tools/recipes/recipe_modules/git/examples/full.expected/curl_trace_file.json third_party/depot_tools/recipes/recipe_modules/git/examples/full.expected/git-cache-checkout.json third_party/depot_tools/recipes/recipe_modules/git/examples/full.expected/git-checkout-with-depth.json +third_party/depot_tools/recipes/recipe_modules/git/examples/full.expected/git-fetch-with-maintenance.json third_party/depot_tools/recipes/recipe_modules/git/examples/full.expected/git-fetch-without-auto-gc.json third_party/depot_tools/recipes/recipe_modules/git/examples/full.expected/new_branch_failed.json third_party/depot_tools/recipes/recipe_modules/git/examples/full.expected/platform_win.json @@ -8032,6 +8107,7 @@ third_party/depot_tools/tests/presubmit_support_test.py third_party/depot_tools/tests/presubmit_unittest.py third_party/depot_tools/tests/reclient_helper_test.py third_party/depot_tools/tests/roll_dep_test.py +third_party/depot_tools/tests/siso_test.py third_party/depot_tools/tests/split_cl_test.py third_party/depot_tools/tests/watchlists_unittest.py third_party/depot_tools/watchlists.py @@ -8306,8 +8382,6 @@ third_party/devtools-frontend/src/front_end/panels/network/network-meta.ts third_party/devtools-frontend/src/front_end/panels/profiler/HeapSnapshotGridNodes.ts third_party/devtools-frontend/src/front_end/panels/recorder/RecorderController.ts third_party/devtools-frontend/src/front_end/panels/recorder/components/CreateRecordingView.ts -third_party/devtools-frontend/src/front_end/panels/security/CookieControlsView.ts -third_party/devtools-frontend/src/front_end/panels/security/CookieReportView.ts third_party/devtools-frontend/src/front_end/panels/settings/AISettingsTab.ts third_party/devtools-frontend/src/front_end/panels/settings/FrameworkIgnoreListSettingsTab.ts third_party/devtools-frontend/src/front_end/panels/settings/KeybindsSettingsTab.ts @@ -9485,6 +9559,7 @@ third_party/devtools-frontend/src/node_modules/zod/v4/core/regexes.d.ts third_party/devtools-frontend/src/node_modules/zod/v4/core/regexes.js third_party/devtools-frontend/src/package.json third_party/devtools-frontend/src/scripts/ai_assistance/suite/helpers/gemini.ts +third_party/devtools-frontend/src/scripts/ai_assistance/suite/helpers/report_generator.ts third_party/devtools-frontend/src/scripts/build/compress_files.js third_party/devtools-frontend/src/scripts/check_external_links.js third_party/devtools-frontend/src/scripts/component_docs/component_docs.css @@ -12146,7 +12221,6 @@ third_party/litert/src/litert/js/demos/efficientvit_segmentation/src/index.ts third_party/litert/src/litert/js/demos/mobilenetv2/src/index.ts third_party/litert/src/litert/js/packages/core/src/datatypes.ts third_party/litert/src/litert/runtime/ahwb_wrapper.h -third_party/litert/src/litert/vendors/CMakeLists.txt third_party/litert/src/litert/vendors/google_tensor/dispatch/sb_api.h third_party/litert/src/tflite/core/c/common.h third_party/litert/src/tflite/delegates/gpu/android_hardware_buffer.h @@ -12343,6 +12417,7 @@ third_party/mediapipe/src/mediapipe/calculators/util/face_to_rect_calculator.cc third_party/mediapipe/src/mediapipe/calculators/util/resource_provider_calculator.h third_party/mediapipe/src/mediapipe/calculators/video/flow_to_image_calculator.cc third_party/mediapipe/src/mediapipe/calculators/video/opencv_video_encoder_calculator.cc +third_party/mediapipe/src/mediapipe/framework/api3/contract.h third_party/mediapipe/src/mediapipe/framework/formats/unique_fd.h third_party/mediapipe/src/mediapipe/framework/resources.h third_party/mediapipe/src/mediapipe/framework/tool/proto_util_lite.cc @@ -12440,11 +12515,20 @@ third_party/node/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobu third_party/node/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/api_pb.d.ts third_party/node/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/timestamp_pb.d.ts third_party/node/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/type_pb.d.ts +third_party/node/node_modules/@csstools/css-parser-algorithms/package.json +third_party/node/node_modules/@csstools/css-syntax-patches-for-csstree/package.json +third_party/node/node_modules/@csstools/css-tokenizer/package.json +third_party/node/node_modules/@csstools/media-query-list-parser/package.json third_party/node/node_modules/@lit/reactive-element/css-tag.d.ts third_party/node/node_modules/@lit/reactive-element/reactive-element.d.ts third_party/node/node_modules/@mediapipe/tasks-vision/vision.d.ts third_party/node/node_modules/@rollup/wasm-node/dist/shared/index.js third_party/node/node_modules/@rollup/wasm-node/dist/shared/rollup.js +third_party/node/node_modules/@sindresorhus/merge-streams/package.json +third_party/node/node_modules/@stylistic/stylelint-plugin/lib/utils/isStandardSyntaxValue/index.js +third_party/node/node_modules/@stylistic/stylelint-plugin/lib/utils/validateTypes/index.js +third_party/node/node_modules/@stylistic/stylelint-plugin/node_modules/postcss-selector-parser/package.json +third_party/node/node_modules/@stylistic/stylelint-plugin/package.json third_party/node/node_modules/@types/dom-speech-recognition/index.d.ts third_party/node/node_modules/@types/dom-webcodecs/index.d.ts third_party/node/node_modules/@types/google.analytics/index.d.ts @@ -12453,12 +12537,16 @@ third_party/node/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer third_party/node/node_modules/acorn/dist/acorn.js third_party/node/node_modules/acorn/package.json third_party/node/node_modules/ajv/dist/ajv.bundle.js +third_party/node/node_modules/ansi-regex/package.json third_party/node/node_modules/ansi-styles/package.json +third_party/node/node_modules/astral-regex/package.json third_party/node/node_modules/callsites/package.json third_party/node/node_modules/chai/index.js third_party/node/node_modules/chai/package.json third_party/node/node_modules/color-convert/package.json third_party/node/node_modules/color-name/package.json +third_party/node/node_modules/cosmiconfig/package.json +third_party/node/node_modules/css-functions-list/package.json third_party/node/node_modules/css-tree/data/patch.json third_party/node/node_modules/css-tree/lib/lexer/generic.js third_party/node/node_modules/css-tree/package.json @@ -12481,6 +12569,8 @@ third_party/node/node_modules/debug/package.json third_party/node/node_modules/debug/src/browser.js third_party/node/node_modules/domutils/lib/esm/stringify.js third_party/node/node_modules/domutils/lib/stringify.js +third_party/node/node_modules/env-paths/package.json +third_party/node/node_modules/error-ex/package.json third_party/node/node_modules/eslint-plugin-jsdoc/node_modules/escape-string-regexp/package.json third_party/node/node_modules/eslint-plugin-jsdoc/src/tagNames.js third_party/node/node_modules/eslint-plugin-lit/lib/rules/no-native-attributes.js @@ -12494,8 +12584,6 @@ third_party/node/node_modules/eslint-scope/lib/scope.js third_party/node/node_modules/eslint-scope/lib/variable.js third_party/node/node_modules/eslint/lib/rules/max-lines-per-function.js third_party/node/node_modules/eslint/node_modules/escape-string-regexp/package.json -third_party/node/node_modules/eslint/node_modules/has-flag/package.json -third_party/node/node_modules/eslint/node_modules/supports-color/package.json third_party/node/node_modules/espree/espree.js third_party/node/node_modules/esquery/dist/esquery.esm.js third_party/node/node_modules/esquery/dist/esquery.js @@ -12513,19 +12601,29 @@ third_party/node/node_modules/esutils/lib/utils.js third_party/node/node_modules/esutils/package.json third_party/node/node_modules/fast-glob/node_modules/glob-parent/package.json third_party/node/node_modules/fast-glob/out/utils/path.js +third_party/node/node_modules/fast-uri/package.json third_party/node/node_modules/find-up/package.json +third_party/node/node_modules/get-east-asian-width/package.json third_party/node/node_modules/glob-parent/package.json third_party/node/node_modules/globals/package.json +third_party/node/node_modules/globby/package.json +third_party/node/node_modules/has-flag/package.json +third_party/node/node_modules/html-tags/package.json third_party/node/node_modules/import-fresh/package.json +third_party/node/node_modules/import-meta-resolve/package.json third_party/node/node_modules/imurmurhash/imurmurhash.js third_party/node/node_modules/imurmurhash/imurmurhash.min.js third_party/node/node_modules/imurmurhash/package.json +third_party/node/node_modules/is-fullwidth-code-point/package.json +third_party/node/node_modules/is-path-inside/package.json third_party/node/node_modules/js-yaml/package.json third_party/node/node_modules/json-buffer/package.json third_party/node/node_modules/lit-html/directives/async-append.d.ts third_party/node/node_modules/lit-html/directives/async-replace.d.ts third_party/node/node_modules/locate-path/package.json third_party/node/node_modules/lodash.merge/package.json +third_party/node/node_modules/lodash.truncate/package.json +third_party/node/node_modules/mathml-tag-names/package.json third_party/node/node_modules/mdn-data/css/at-rules.json third_party/node/node_modules/mdn-data/css/at-rules.schema.json third_party/node/node_modules/mdn-data/css/properties.json @@ -12535,24 +12633,29 @@ third_party/node/node_modules/mdn-data/css/selectors.schema.json third_party/node/node_modules/mdn-data/css/types.json third_party/node/node_modules/mdn-data/css/types.schema.json third_party/node/node_modules/mdn-data/package.json +third_party/node/node_modules/meow/package.json third_party/node/node_modules/messageformat/lib/functions/datetime.d.ts third_party/node/node_modules/messageformat/lib/functions/datetime.js third_party/node/node_modules/messageformat/lib/messageformat.d.ts third_party/node/node_modules/messageformat/package.json third_party/node/node_modules/mocha/mocha.js +third_party/node/node_modules/normalize-path/index.js third_party/node/node_modules/p-limit/package.json third_party/node/node_modules/p-locate/package.json third_party/node/node_modules/parent-module/package.json third_party/node/node_modules/parse-imports/package.json +third_party/node/node_modules/parse-json/package.json third_party/node/node_modules/parse5-htmlparser2-tree-adapter/package.json third_party/node/node_modules/parse5/lib/tokenizer/index.js third_party/node/node_modules/parse5/package.json third_party/node/node_modules/path-exists/package.json third_party/node/node_modules/path-key/package.json third_party/node/node_modules/postcss-selector-parser/package.json +third_party/node/node_modules/require-from-string/package.json third_party/node/node_modules/resolve-from/package.json third_party/node/node_modules/shebang-command/package.json third_party/node/node_modules/shebang-regex/package.json +third_party/node/node_modules/slash/package.json third_party/node/node_modules/source-map-js/lib/base64-vlq.js third_party/node/node_modules/source-map-js/lib/source-map-consumer.js third_party/node/node_modules/source-map-js/package.json @@ -12561,7 +12664,33 @@ third_party/node/node_modules/source-map-support/node_modules/source-map/lib/bas third_party/node/node_modules/source-map-support/node_modules/source-map/lib/source-map-consumer.js third_party/node/node_modules/source-map-support/node_modules/source-map/package.json third_party/node/node_modules/source-map-support/source-map-support.js +third_party/node/node_modules/string-width/package.json +third_party/node/node_modules/strip-ansi/package.json third_party/node/node_modules/strip-json-comments/package.json +third_party/node/node_modules/stylelint/node_modules/@csstools/selector-resolve-nested/package.json +third_party/node/node_modules/stylelint/node_modules/@csstools/selector-specificity/package.json +third_party/node/node_modules/stylelint/node_modules/ansi-regex/package.json +third_party/node/node_modules/stylelint/node_modules/css-tree/data/patch.json +third_party/node/node_modules/stylelint/node_modules/css-tree/lib/lexer/generic.js +third_party/node/node_modules/stylelint/node_modules/css-tree/package.json +third_party/node/node_modules/stylelint/node_modules/mdn-data/css/at-rules.json +third_party/node/node_modules/stylelint/node_modules/mdn-data/css/at-rules.schema.json +third_party/node/node_modules/stylelint/node_modules/mdn-data/css/functions.json +third_party/node/node_modules/stylelint/node_modules/mdn-data/css/functions.schema.json +third_party/node/node_modules/stylelint/node_modules/mdn-data/css/properties.json +third_party/node/node_modules/stylelint/node_modules/mdn-data/css/properties.schema.json +third_party/node/node_modules/stylelint/node_modules/mdn-data/css/selectors.json +third_party/node/node_modules/stylelint/node_modules/mdn-data/css/selectors.schema.json +third_party/node/node_modules/stylelint/node_modules/mdn-data/css/types.json +third_party/node/node_modules/stylelint/node_modules/mdn-data/css/types.schema.json +third_party/node/node_modules/stylelint/node_modules/mdn-data/package.json +third_party/node/node_modules/stylelint/node_modules/postcss-selector-parser/package.json +third_party/node/node_modules/stylelint/node_modules/string-width/package.json +third_party/node/node_modules/stylelint/node_modules/strip-ansi/package.json +third_party/node/node_modules/supports-color/package.json +third_party/node/node_modules/supports-hyperlinks/node_modules/has-flag/package.json +third_party/node/node_modules/supports-hyperlinks/node_modules/supports-color/package.json +third_party/node/node_modules/svg-tags/package.json third_party/node/node_modules/svgo/dist/svgo.browser.js third_party/node/node_modules/svgo/plugins/_collections.js third_party/node/node_modules/svgo/plugins/inlineStyles.js @@ -12609,6 +12738,7 @@ third_party/node/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts third_party/node/node_modules/typescript/lib/lib.webworker.d.ts third_party/node/node_modules/typescript/lib/lib.webworker.iterable.d.ts third_party/node/node_modules/typescript/lib/typescript.js +third_party/node/node_modules/unicorn-magic/package.json third_party/node/node_modules/uri-js/dist/es5/uri.all.js third_party/node/node_modules/uri-js/dist/esnext/uri.js third_party/node/node_modules/uri-js/package.json @@ -12671,7 +12801,6 @@ third_party/openscreen/src/discovery/common/reporting_client.h third_party/openscreen/src/discovery/dnssd/impl/dns_data_graph.h third_party/openscreen/src/discovery/dnssd/public/dns_sd_instance.h third_party/openscreen/src/discovery/dnssd/public/dns_sd_querier.h -third_party/openscreen/src/discovery/mdns/impl/mdns_probe_unittest.cc third_party/openscreen/src/discovery/mdns/impl/mdns_responder.cc third_party/openscreen/src/discovery/mdns/public/mdns_reader.cc third_party/openscreen/src/discovery/public/dns_sd_service_watcher.h @@ -13877,6 +14006,7 @@ third_party/pdfium/third_party/libopenjpeg/j2k.c third_party/pdfium/third_party/libopenjpeg/opj_includes.h third_party/pdfium/third_party/libopenjpeg/t2.c third_party/pdfium/tools/lsan/lsan_suppressions.txt +third_party/pdfium/tools/roll_pdfium_deps_test.py third_party/pefile_py3/pefile.py third_party/perfetto/CONTRIBUTORS.txt third_party/perfetto/gn/standalone/BUILD.gn @@ -13937,12 +14067,10 @@ third_party/perfetto/src/base/utils.cc third_party/perfetto/src/bigtrace/worker/repository_policies/gcs_trace_processor_loader.cc third_party/perfetto/src/perfetto_cmd/perfetto_cmd_android.cc third_party/perfetto/src/profiling/common/proc_utils.cc -third_party/perfetto/src/profiling/deobfuscator_unittest.cc third_party/perfetto/src/profiling/memory/client.cc third_party/perfetto/src/profiling/memory/sampler.h 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.h third_party/perfetto/src/trace_processor/importers/art_method/art_method_parser.cc third_party/perfetto/src/trace_processor/importers/art_method/art_method_tokenizer.cc third_party/perfetto/src/trace_processor/importers/common/args_translation_table.cc @@ -13962,8 +14090,11 @@ third_party/perfetto/src/trace_processor/importers/proto/system_probes_parser.cc third_party/perfetto/src/trace_processor/perfetto_sql/stdlib/android/battery/doze.sql third_party/perfetto/src/trace_processor/perfetto_sql/stdlib/android/startup/time_to_display.sql third_party/perfetto/src/trace_processor/perfetto_sql/stdlib/chrome/page_loads.sql +third_party/perfetto/src/trace_processor/perfetto_sql/stdlib/chrome/scroll_jank_v4.sql third_party/perfetto/src/trace_processor/perfetto_sql/stdlib/export/to_firefox_profile.sql third_party/perfetto/src/trace_processor/perfetto_sql/stdlib/stacks/symbolization_candidates.sql +third_party/perfetto/src/trace_processor/util/deobfuscation/deobfuscator_unittest.cc +third_party/perfetto/src/trace_processor/util/symbolizer/breakpad_parser.h third_party/perfetto/src/trace_processor/util/trace_type.cc third_party/perfetto/src/trace_redaction/redact_process_events.cc third_party/perfetto/src/traceconv/trace_to_firefox.h @@ -14001,7 +14132,6 @@ third_party/perfetto/ui/src/frontend/post_message_handler.ts third_party/perfetto/ui/src/frontend/post_message_handler_unittest.ts third_party/perfetto/ui/src/frontend/sidebar.ts third_party/perfetto/ui/src/frontend/timeline_page/wasd_navigation_handler.ts -third_party/perfetto/ui/src/frontend/trace_url_handler.ts third_party/perfetto/ui/src/open_perfetto_trace/index.html third_party/perfetto/ui/src/plugins/dev.perfetto.ProcessSummary/index.ts third_party/perfetto/ui/src/plugins/dev.perfetto.RecordTraceV2/adb/adb_msg.ts @@ -14010,7 +14140,9 @@ third_party/perfetto/ui/src/plugins/dev.perfetto.RecordTraceV2/pages/android.ts third_party/perfetto/ui/src/plugins/dev.perfetto.RecordTraceV2/pages/record_page.ts third_party/perfetto/ui/src/plugins/dev.perfetto.TraceInfoPage/tabs/android.ts third_party/perfetto/ui/src/plugins/dev.perfetto.TraceProcessorTrack/slice_tracks.ts +third_party/perfetto/ui/src/plugins/org.chromium.ChromeScrollJank/scroll_timeline_v4_model.ts third_party/perfetto/ui/src/plugins/org.kernel.Wattson/warning.ts +third_party/perfetto/ui/src/service_worker/service_worker.ts third_party/perfetto/ui/src/trace_processor/engine.ts third_party/perfetto/ui/src/widgets/hotkey_context.ts third_party/polymer/v3_0/BUILD.gn @@ -15399,16 +15531,18 @@ third_party/rust/foldhash/v0_2/BUILD.gn third_party/rust/hashbrown/v0_15/BUILD.gn third_party/rust/hashbrown/v0_16/BUILD.gn third_party/rust/itoa/v1/BUILD.gn -third_party/rust/jxl/v0_2/BUILD.gn -third_party/rust/jxl_macros/v0_2/BUILD.gn -third_party/rust/jxl_simd/v0_2/BUILD.gn -third_party/rust/jxl_transforms/v0_2/BUILD.gn +third_party/rust/jxl/v0_3/BUILD.gn +third_party/rust/jxl_macros/v0_3/BUILD.gn +third_party/rust/jxl_simd/v0_3/BUILD.gn +third_party/rust/jxl_transforms/v0_3/BUILD.gn third_party/rust/lazy_static/v1/BUILD.gn +third_party/rust/libm/v0_2/BUILD.gn third_party/rust/lock_api/v0_4/BUILD.gn third_party/rust/memchr/v2/BUILD.gn third_party/rust/miniz_oxide/v0_8/BUILD.gn third_party/rust/murmur3/v0_4/BUILD.gn third_party/rust/once_cell/v1/BUILD.gn +third_party/rust/ordered_float/v5/BUILD.gn third_party/rust/parking_lot/v0_12/BUILD.gn third_party/rust/parking_lot_core/v0_9/BUILD.gn third_party/rust/proc_macro2/v1/BUILD.gn @@ -15421,6 +15555,7 @@ third_party/rust/quote/v1/BUILD.gn third_party/rust/regex_automata/v0_4/BUILD.gn third_party/rust/regex_syntax/v0_8/BUILD.gn third_party/rust/rustc_demangle_capi/v0_1/BUILD.gn +third_party/rust/rustversion/v1/BUILD.gn third_party/rust/ryu/v1/BUILD.gn third_party/rust/serde/v1/BUILD.gn third_party/rust/serde_core/v1/BUILD.gn @@ -15433,6 +15568,8 @@ third_party/rust/strum/v0_27/BUILD.gn third_party/rust/strum_macros/v0_27/BUILD.gn third_party/rust/symphonia/v0_5/BUILD.gn third_party/rust/symphonia_bundle_flac/v0_5/BUILD.gn +third_party/rust/symphonia_bundle_mp3/v0_5/BUILD.gn +third_party/rust/symphonia_codec_pcm/v0_5/BUILD.gn third_party/rust/symphonia_core/v0_5/BUILD.gn third_party/rust/symphonia_metadata/v0_5/BUILD.gn third_party/rust/symphonia_utils_xiph/v0_5/BUILD.gn @@ -15449,7 +15586,7 @@ third_party/rust/yoke_derive/v0_8/BUILD.gn third_party/rust/zerofrom/v0_1/BUILD.gn third_party/rust/zerofrom_derive/v0_1/BUILD.gn third_party/rust/zerovec_derive/v0_11/BUILD.gn -third_party/rust/zip/v6/BUILD.gn +third_party/rust/zip/v7/BUILD.gn third_party/rust/zmij/v1/BUILD.gn third_party/s2cellid/src/s2/_fpcontractoff.h third_party/s2cellid/src/s2/r1interval.h @@ -15492,7 +15629,6 @@ third_party/skia/gm/gradients.cpp third_party/skia/gm/labyrinth.cpp third_party/skia/gm/mandoline.cpp third_party/skia/gm/pictureshader.cpp -third_party/skia/gm/png_codec.cpp third_party/skia/gm/postercircle.cpp third_party/skia/gm/smallarc.cpp third_party/skia/gm/smallpaths.cpp @@ -15502,13 +15638,15 @@ third_party/skia/gm/strokes.cpp third_party/skia/gm/stroketext.cpp third_party/skia/gn/gn_to_bp.py third_party/skia/gn/skia/BUILD.gn +third_party/skia/include/core/SkColorSpace.h third_party/skia/include/ports/SkImageGeneratorWIC.h third_party/skia/include/ports/SkTypeface_mac.h third_party/skia/include/private/SkGainmapInfo.h third_party/skia/infra/bots/assets/android_ndk_darwin/create.py third_party/skia/infra/bots/assets/android_ndk_linux/create.py third_party/skia/infra/bots/assets/android_ndk_windows/create.py -third_party/skia/infra/bots/assets/clang_mac_universal/create.py +third_party/skia/infra/bots/assets/clang_mac_arm/create.py +third_party/skia/infra/bots/assets/clang_mac_intel/create.py third_party/skia/infra/bots/assets/clang_win/create.py third_party/skia/infra/bots/assets/gcloud_linux/create.py third_party/skia/infra/bots/assets/gsutil/create.py @@ -15591,7 +15729,6 @@ third_party/skia/specs/web-img-decode/proposed/impl/impl.js third_party/skia/src/base/SkLeanWindows.h third_party/skia/src/codec/SkCodec.cpp third_party/skia/src/codec/SkCrabbyAvifCodec.cpp -third_party/skia/src/codec/SkHdrAgtmParse.cpp third_party/skia/src/codec/SkPngRustCodec.cpp third_party/skia/src/codec/SkWebpCodec.cpp third_party/skia/src/codec/SkWuffsCodec.cpp @@ -15622,6 +15759,7 @@ third_party/skia/src/gpu/graphite/dawn/DawnCommandBuffer.cpp third_party/skia/src/gpu/graphite/dawn/DawnResourceProvider.cpp third_party/skia/src/gpu/graphite/render/AnalyticRRectRenderStep.cpp third_party/skia/src/gpu/graphite/render/PerEdgeAAQuadRenderStep.cpp +third_party/skia/src/gpu/graphite/surface/Surface_AndroidFactories.cpp third_party/skia/src/gpu/tessellate/Tessellation.cpp third_party/skia/src/opts/SkRasterPipeline_opts.h third_party/skia/src/pathops/SkOpAngle.cpp @@ -15709,15 +15847,6 @@ third_party/skia/tools/skpbench/_hardware_pixel_c.py 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/testrunners/benchmark/BazelBenchmarkTestRunner.cpp -third_party/skia/tools/testrunners/benchmark/target/BenchmarkTarget.h -third_party/skia/tools/testrunners/benchmark/target/GaneshBenchmarkTarget.cpp -third_party/skia/tools/testrunners/benchmark/target/RasterBenchmarkTarget.cpp -third_party/skia/tools/testrunners/common/surface_manager/GaneshGLSurfaceManager.cpp -third_party/skia/tools/testrunners/common/surface_manager/GaneshVulkanSurfaceManager.cpp -third_party/skia/tools/testrunners/common/surface_manager/RasterSurfaceManager.cpp -third_party/skia/tools/testrunners/common/surface_manager/SurfaceManager.cpp -third_party/skia/tools/testrunners/gm/vias/SimpleVias.cpp third_party/skia/tools/viewer/ClockSlide.cpp third_party/skia/tools/viewer/MotionMarkSlide.cpp third_party/skia/tools/viewer/PathSlide.cpp @@ -16337,6 +16466,9 @@ third_party/webrtc/video/full_stack_tests.cc third_party/webrtc/video/pc_full_stack_tests.cc third_party/webrtc/video/render/video_render_frames.cc third_party/webrtc/video/rtp_video_stream_receiver2.h +third_party/webrtc/video/timing/simulator/log_classifiers.h +third_party/webrtc/video/timing/simulator/rtp_packet_simulator.h +third_party/webrtc/video/timing/simulator/test/test_resources_unittest.cc third_party/webrtc/video/video_send_stream_tests.cc third_party/webrtc/webrtc.gni third_party/webxr_test_pages/bucket_latest.html @@ -16474,6 +16606,7 @@ 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/checkxmlstyle/checkxmlstyle_test.py tools/android/colabutils/memory_usage/PRESUBMIT.py tools/android/colabutils/wpr.py tools/android/customtabs_benchmark/res/values/strings.xml @@ -16603,6 +16736,7 @@ tools/flags/list_flags.py tools/fuchsia/3pp/gn-sdk/3pp/fetch.py tools/fuchsia/3pp/test-scripts/3pp/fetch.py tools/generate_stubs/generate_stubs.py +tools/gerrit/send_after_cq_dryrun.py tools/get_asan_chrome/get_asan_chrome.py tools/git/suggest_owners.py tools/grit/PRESUBMIT.py @@ -16636,6 +16770,7 @@ tools/infra/PRESUBMIT.py tools/infra/clobber_cache_utils.py tools/infra/find_bad_builds.py tools/jj/upload.py +tools/jj/util.py tools/json_data_generator/PRESUBMIT.py tools/json_schema_compiler/PRESUBMIT.py tools/json_schema_compiler/js_externs_generator.py @@ -16647,7 +16782,11 @@ tools/json_schema_compiler/test/content_settings.json tools/json_schema_compiler/test/converted_schemas/app_runtime.idl tools/json_schema_compiler/test/converted_schemas/bluetooth_low_energy.idl tools/json_schema_compiler/test/converted_schemas/bluetooth_socket.idl +tools/json_schema_compiler/test/converted_schemas/networking_onc.idl +tools/json_schema_compiler/test/converted_schemas/networking_private.idl +tools/json_schema_compiler/test/converted_schemas/offscreen.idl tools/json_schema_compiler/test/converted_schemas/protocol_handlers.idl +tools/json_schema_compiler/test/converted_schemas/serial.idl tools/json_schema_compiler/test/converted_schemas/web_accessible_resources.idl tools/json_schema_compiler/test/tabs.json tools/json_schema_compiler/test/windows.json @@ -16682,6 +16821,7 @@ tools/metrics/histograms/merge_xml.py tools/metrics/histograms/merge_xml_test.py tools/metrics/histograms/metadata/accessibility/enums.xml tools/metrics/histograms/metadata/accessibility/histograms.xml +tools/metrics/histograms/metadata/accessibility_annotator/histograms.xml tools/metrics/histograms/metadata/account_manager/histograms.xml tools/metrics/histograms/metadata/actor/enums.xml tools/metrics/histograms/metadata/actor/histograms.xml @@ -16944,6 +17084,8 @@ tools/metrics/histograms/metadata/signin/histograms.xml tools/metrics/histograms/metadata/simple/histograms.xml tools/metrics/histograms/metadata/skia/enums.xml tools/metrics/histograms/metadata/skia/histograms.xml +tools/metrics/histograms/metadata/skills/enums.xml +tools/metrics/histograms/metadata/skills/histograms.xml tools/metrics/histograms/metadata/sql/enums.xml tools/metrics/histograms/metadata/sql/histograms.xml tools/metrics/histograms/metadata/stability/enums.xml @@ -17103,23 +17245,8 @@ tools/perf/core/services/buildbucket_service.py tools/perf/core/services/dashboard_service.py tools/perf/core/services/pinpoint_service.py tools/perf/core/services/request.py -tools/perf/core/shard_maps/timing_data/android-pixel-fold-perf_timing.json -tools/perf/core/shard_maps/timing_data/android-pixel-tangor-perf_timing.json -tools/perf/core/shard_maps/timing_data/android-pixel4-perf_timing.json -tools/perf/core/shard_maps/timing_data/android-pixel4_webview-perf-pgo_timing.json -tools/perf/core/shard_maps/timing_data/android-pixel4_webview-perf_timing.json -tools/perf/core/shard_maps/timing_data/android-pixel6-perf_timing.json -tools/perf/core/shard_maps/timing_data/android-pixel6-pro-perf_timing.json -tools/perf/core/shard_maps/timing_data/linux-r350-perf_timing.json -tools/perf/core/shard_maps/timing_data/mac-intel-perf_timing.json tools/perf/core/shard_maps/timing_data/mac-laptop_high_end-perf_timing.json tools/perf/core/shard_maps/timing_data/mac-laptop_low_end-perf_timing.json -tools/perf/core/shard_maps/timing_data/mac-m1_mini_2020-perf_timing.json -tools/perf/core/shard_maps/timing_data/mac-m2-pro-perf_timing.json -tools/perf/core/shard_maps/timing_data/mac-m4-mini-perf_timing.json -tools/perf/core/shard_maps/timing_data/win-10-perf_timing.json -tools/perf/core/shard_maps/timing_data/win-10_laptop_low_end-perf_timing.json -tools/perf/core/shard_maps/timing_data/win-11-perf_timing.json tools/perf/core/test_data/benchmarks_to_shard.json tools/perf/core/test_data/test_timing_data.json tools/perf/core/test_data/test_timing_data_1_build.json @@ -17192,6 +17319,7 @@ tools/resources/find_unused_resources.py tools/roll_webgl_conformance.py tools/run-swarmed.py tools/rust/build_bindgen.py +tools/rust/build_crubit.py tools/rust/build_rust.py tools/sample_clang_tidy_results.py tools/site_compare/commands/measure.py @@ -17267,6 +17395,7 @@ ui/accessibility/platform/browser_accessibility_manager.h ui/accessibility/platform/browser_accessibility_manager_mac.mm ui/accessibility/platform/browser_accessibility_manager_win.cc ui/accessibility/platform/fuchsia/browser_accessibility_fuchsia.h +ui/accessibility/platform/uia_registrar_win.h ui/android/color_utils_android_unittest.cc ui/android/java/res/values/strings.xml ui/base/accelerators/command.cc @@ -17353,7 +17482,6 @@ ui/file_manager/integration_tests/test_util.ts ui/gfx/PRESUBMIT.py ui/gfx/codec/vector_wstream.cc ui/gfx/color_analysis.h -ui/gfx/color_transform.cc ui/gfx/font.h ui/gfx/font_fallback_win.h ui/gfx/font_names_testing.h diff --git a/patches/bromite/fingerprinting-flags-client-rects-and-measuretext.patch b/patches/bromite/fingerprinting-flags-client-rects-and-measuretext.patch index 9b1d4e45..ab76d2f5 100644 --- a/patches/bromite/fingerprinting-flags-client-rects-and-measuretext.patch +++ b/patches/bromite/fingerprinting-flags-client-rects-and-measuretext.patch @@ -9,7 +9,7 @@ --- a/chrome/browser/BUILD.gn +++ b/chrome/browser/BUILD.gn -@@ -2548,6 +2548,7 @@ static_library("browser") { +@@ -2528,6 +2528,7 @@ static_library("browser") { "//third_party/libyuv", "//third_party/metrics_proto", "//third_party/re2", @@ -19,7 +19,7 @@ "//third_party/widevine/cdm:headers", --- a/chrome/browser/about_flags.cc +++ b/chrome/browser/about_flags.cc -@@ -187,6 +187,7 @@ +@@ -188,6 +188,7 @@ #include "components/translate/core/common/translate_util.h" #include "components/trusted_vault/features.h" #include "components/ui_devtools/switches.h" @@ -44,7 +44,7 @@ #endif // CHROME_BROWSER_BROMITE_FLAG_ENTRIES_H_ --- a/content/browser/BUILD.gn +++ b/content/browser/BUILD.gn -@@ -298,6 +298,7 @@ source_set("browser") { +@@ -299,6 +299,7 @@ source_set("browser") { "//third_party/re2", "//third_party/snappy", "//third_party/sqlite", @@ -54,7 +54,7 @@ "//tools/v8_context_snapshot:buildflags", --- a/content/browser/renderer_host/render_process_host_impl.cc +++ b/content/browser/renderer_host/render_process_host_impl.cc -@@ -84,6 +84,7 @@ +@@ -83,6 +83,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 "components/viz/host/host_frame_sink_manager.h" -@@ -3730,6 +3731,8 @@ void RenderProcessHostImpl::PropagateBro +@@ -3709,6 +3710,8 @@ void RenderProcessHostImpl::PropagateBro switches::kEnableWebGLImageChromium, switches::kEnableWebGPUDeveloperFeatures, switches::kFileUrlPathAlias, @@ -73,7 +73,7 @@ switches::kForceHighContrast, --- a/content/child/BUILD.gn +++ b/content/child/BUILD.gn -@@ -109,6 +109,7 @@ target(link_target_type, "child") { +@@ -113,6 +113,7 @@ target(link_target_type, "child") { "//third_party/blink/public/common:buildflags", "//third_party/blink/public/strings", "//third_party/ced", @@ -91,7 +91,7 @@ #include "ui/accessibility/accessibility_features.h" #include "ui/base/ui_base_features.h" #include "ui/events/blink/blink_features.h" -@@ -488,6 +489,10 @@ void SetRuntimeFeaturesFromCommandLine(c +@@ -489,6 +490,10 @@ void SetRuntimeFeaturesFromCommandLine(c true}, {wrf::EnableWebAudioBypassOutputBufferingOptOut, blink::switches::kWebAudioBypassOutputBufferingOptOut, true}, @@ -104,7 +104,7 @@ for (const auto& mapping : switchToFeatureMapping) { --- a/third_party/blink/public/platform/web_runtime_features.h +++ b/third_party/blink/public/platform/web_runtime_features.h -@@ -71,6 +71,9 @@ class BLINK_PLATFORM_EXPORT WebRuntimeFe +@@ -70,6 +70,9 @@ class BLINK_PLATFORM_EXPORT WebRuntimeFe static void EnableLocalNetworkAccessWebRTC(bool); @@ -124,9 +124,9 @@ #include "base/task/single_thread_task_runner.h" #include "base/time/time.h" #include "base/trace_event/trace_event.h" -@@ -1089,6 +1090,11 @@ Document::Document(const DocumentInit& i - TRACE_EVENT_WITH_FLOW0("blink", "Document::Document", TRACE_ID_LOCAL(this), - TRACE_EVENT_FLAG_FLOW_OUT); +@@ -1043,6 +1044,11 @@ Document::Document(const DocumentInit& i + data_(MakeGarbageCollected(GetExecutionContext())) { + TRACE_EVENT("blink", "Document::Document", perfetto::Flow::FromPointer(this)); DCHECK(agent_); + if (RuntimeEnabledFeatures::FingerprintingClientRectsNoiseEnabled()) { + // Precompute -0.0003% to 0.0003% noise factor for get*ClientRect*() fingerprinting @@ -136,7 +136,7 @@ if (base::FeatureList::IsEnabled(features::kDelayAsyncScriptExecution) && features::kDelayAsyncScriptExecutionDelayByDefaultParam.Get()) { script_runner_delayer_->Activate(); -@@ -1222,6 +1228,14 @@ const Position Document::PositionAdjuste +@@ -1176,6 +1182,14 @@ const Position Document::PositionAdjuste return Position::BeforeNode(*shadow_host); } @@ -153,7 +153,7 @@ selector_query_cache_ = MakeGarbageCollected(); --- a/third_party/blink/renderer/core/dom/document.h +++ b/third_party/blink/renderer/core/dom/document.h -@@ -570,6 +570,10 @@ class CORE_EXPORT Document : public Cont +@@ -571,6 +571,10 @@ class CORE_EXPORT Document : public Cont has_xml_declaration_ = has_xml_declaration ? 1 : 0; } @@ -164,7 +164,7 @@ V8VisibilityState visibilityState() const; String visibilityStateAsString() const; bool IsPageVisible() const; -@@ -2821,6 +2825,9 @@ class CORE_EXPORT Document : public Cont +@@ -2842,6 +2846,9 @@ class CORE_EXPORT Document : public Cont base::ElapsedTimer start_time_; @@ -176,7 +176,7 @@ // - ScriptSchedulingType::kInOrder --- a/third_party/blink/renderer/core/dom/element.cc +++ b/third_party/blink/renderer/core/dom/element.cc -@@ -3440,6 +3440,9 @@ Vector Element::GetClientRec +@@ -3444,6 +3444,9 @@ Vector Element::GetClientRec } Vector result; for (auto& quad : quads) { @@ -186,7 +186,7 @@ result.emplace_back(quad.BoundingBox()); } return result; -@@ -3469,6 +3472,9 @@ gfx::RectF Element::GetBoundingClientRec +@@ -3473,6 +3476,9 @@ gfx::RectF Element::GetBoundingClientRec DCHECK(element_layout_object); GetDocument().AdjustRectForScrollAndAbsoluteZoom(result, *element_layout_object); @@ -264,7 +264,7 @@ const TextDirection& direction, --- 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 -@@ -103,6 +103,9 @@ +@@ -102,6 +102,9 @@ // https://github.com/include-what-you-use/include-what-you-use/issues/1122 // IWYU pragma: no_include "base/numerics/clamped_math.h" @@ -274,7 +274,7 @@ namespace blink { class MemoryManagedPaintCanvas; -@@ -1171,9 +1174,22 @@ TextMetrics* BaseRenderingContext2D::mea +@@ -1165,9 +1168,22 @@ TextMetrics* BaseRenderingContext2D::mea TextDirection direction = ToTextDirection(state.GetDirection(), host, computed_style); @@ -300,7 +300,7 @@ String BaseRenderingContext2D::lang() const { --- a/third_party/blink/renderer/platform/BUILD.gn +++ b/third_party/blink/renderer/platform/BUILD.gn -@@ -1809,6 +1809,7 @@ component("platform") { +@@ -1812,6 +1812,7 @@ component("platform") { "//components/paint_preview/common", "//components/search_engines:search_engine_utils", "//components/translate/core/language_detection", @@ -310,7 +310,7 @@ "//components/webrtc:net_address_utils", --- a/third_party/blink/renderer/platform/exported/web_runtime_features.cc +++ b/third_party/blink/renderer/platform/exported/web_runtime_features.cc -@@ -72,4 +72,12 @@ void WebRuntimeFeatures::EnableLocalNetw +@@ -68,4 +68,12 @@ void WebRuntimeFeatures::EnableLocalNetw RuntimeEnabledFeatures::SetLocalNetworkAccessWebRTCEnabled(enable); } @@ -335,7 +335,7 @@ #include "third_party/skia/include/core/SkImage.h" --- a/third_party/blink/renderer/platform/runtime_enabled_features.json5 +++ b/third_party/blink/renderer/platform/runtime_enabled_features.json5 -@@ -2541,6 +2541,12 @@ +@@ -2626,6 +2626,12 @@ status: "stable", }, { diff --git a/patches/bromite/flag-max-connections-per-host.patch b/patches/bromite/flag-max-connections-per-host.patch index c0afe549..16bed236 100644 --- a/patches/bromite/flag-max-connections-per-host.patch +++ b/patches/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 -@@ -2226,6 +2226,7 @@ static_library("browser") { +@@ -2213,6 +2213,7 @@ static_library("browser") { "//components/net_log", "//components/network_hints/common:mojo_bindings", "//components/network_session_configurator/browser", @@ -65,7 +65,7 @@ with limited CPU/memory resources and it is disabled by default. #include "base/synchronization/waitable_event.h" #include "base/task/sequenced_task_runner.h" #include "base/task/single_thread_task_runner.h" -@@ -116,6 +118,7 @@ +@@ -119,6 +121,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" @@ -73,7 +73,7 @@ with limited CPU/memory resources and it is disabled by default. #include "components/network_time/network_time_tracker.h" #include "components/os_crypt/async/browser/os_crypt_async.h" #include "components/permissions/permissions_client.h" -@@ -152,6 +155,7 @@ +@@ -156,6 +159,7 @@ #include "extensions/common/constants.h" #include "media/media_buildflags.h" #include "mojo/public/cpp/bindings/pending_receiver.h" @@ -81,7 +81,7 @@ with limited CPU/memory resources and it is disabled by default. #include "printing/buildflags/buildflags.h" #include "services/network/public/cpp/features.h" #include "services/network/public/cpp/network_switches.h" -@@ -464,6 +468,18 @@ void BrowserProcessImpl::Init() { +@@ -470,6 +474,18 @@ void BrowserProcessImpl::Init() { pref_change_registrar_.Add(metrics::prefs::kMetricsReportingEnabled, base::BindRepeating(&ApplyMetricsReportingPolicy)); @@ -102,7 +102,7 @@ with limited CPU/memory resources and it is disabled by default. --- a/chrome/browser/flag_descriptions.h +++ b/chrome/browser/flag_descriptions.h -@@ -2718,6 +2718,10 @@ inline constexpr char kLogJsConsoleMessa +@@ -2765,6 +2765,10 @@ inline constexpr char kLogJsConsoleMessa "Enable logging JS console messages in system logs, please note that they " "may contain PII."; diff --git a/patches/debian/disable-google-api-warning.patch b/patches/debian/disable-google-api-warning.patch index 3838a8ac..13bd448f 100644 --- a/patches/debian/disable-google-api-warning.patch +++ b/patches/debian/disable-google-api-warning.patch @@ -3,7 +3,7 @@ author: Michael Gilbert --- a/chrome/browser/ui/startup/infobar_utils.cc +++ b/chrome/browser/ui/startup/infobar_utils.cc -@@ -180,10 +180,6 @@ void AddInfoBarsIfNecessary(BrowserWindo +@@ -186,10 +186,6 @@ void AddInfoBarsIfNecessary(BrowserWindo infobars::ContentInfoBarManager* infobar_manager = infobars::ContentInfoBarManager::FromWebContents(web_contents); diff --git a/patches/inox-patchset/disable-autofill-download-manager.patch b/patches/inox-patchset/disable-autofill-download-manager.patch index c0cf68af..4015a098 100644 --- a/patches/inox-patchset/disable-autofill-download-manager.patch +++ b/patches/inox-patchset/disable-autofill-download-manager.patch @@ -1,6 +1,6 @@ --- a/components/autofill/core/browser/crowdsourcing/autofill_crowdsourcing_manager.cc +++ b/components/autofill/core/browser/crowdsourcing/autofill_crowdsourcing_manager.cc -@@ -925,94 +925,6 @@ std::tuple AutofillCr +@@ -916,94 +916,6 @@ std::tuple AutofillCr } bool AutofillCrowdsourcingManager::StartRequest(FormRequestData request_data) { diff --git a/patches/inox-patchset/disable-rlz.patch b/patches/inox-patchset/disable-rlz.patch index aae65886..4c1c1af2 100644 --- a/patches/inox-patchset/disable-rlz.patch +++ b/patches/inox-patchset/disable-rlz.patch @@ -2,7 +2,7 @@ --- a/BUILD.gn +++ b/BUILD.gn -@@ -457,14 +457,6 @@ group("gn_all") { +@@ -456,14 +456,6 @@ group("gn_all") { ] } diff --git a/patches/inox-patchset/fix-building-without-safebrowsing.patch b/patches/inox-patchset/fix-building-without-safebrowsing.patch index 36201476..31aaa61d 100644 --- a/patches/inox-patchset/fix-building-without-safebrowsing.patch +++ b/patches/inox-patchset/fix-building-without-safebrowsing.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/BUILD.gn +++ b/chrome/browser/BUILD.gn -@@ -3773,8 +3773,6 @@ static_library("browser") { +@@ -3749,8 +3749,6 @@ static_library("browser") { "download/download_auto_open_policy_handler.cc", "download/download_auto_open_policy_handler.h", "download/download_commands.cc", @@ -11,7 +11,7 @@ "download/download_dir_util.cc", --- a/chrome/browser/chrome_content_browser_client_navigation_throttles.cc +++ b/chrome/browser/chrome_content_browser_client_navigation_throttles.cc -@@ -393,10 +393,6 @@ void CreateAndAddChromeThrottlesForNavig +@@ -418,10 +418,6 @@ void CreateAndAddChromeThrottlesForNavig Profile::FromBrowserContext(context)), SafeSearchFactory::GetForBrowserContext(context))); @@ -57,7 +57,7 @@ // Whether the download is currently being revived. bool is_being_revived_ = false; -@@ -465,13 +465,13 @@ void DownloadItemModel::SetShouldPreferO +@@ -466,13 +466,13 @@ void DownloadItemModel::SetShouldPreferO data->should_prefer_opening_in_browser_ = preference; } @@ -84,7 +84,7 @@ #include "chrome/browser/ui/browser.h" #include "chrome/browser/ui/browser_window.h" #endif -@@ -1365,9 +1364,6 @@ DownloadsAcceptDangerFunction::Downloads +@@ -1367,9 +1366,6 @@ DownloadsAcceptDangerFunction::Downloads DownloadsAcceptDangerFunction::~DownloadsAcceptDangerFunction() = default; @@ -94,7 +94,7 @@ ExtensionFunction::ResponseAction DownloadsAcceptDangerFunction::Run() { std::optional params = downloads::AcceptDanger::Params::Create(args()); -@@ -1415,50 +1411,13 @@ void DownloadsAcceptDangerFunction::Prom +@@ -1417,50 +1413,13 @@ void DownloadsAcceptDangerFunction::Prom } RecordApiFunctions(DownloadsFunctionName::kDownloadsFunctionAcceptDanger); #if BUILDFLAG(ENABLE_EXTENSIONS) @@ -186,7 +186,7 @@ class DownloadsShowFunction : public ExtensionFunction { --- a/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc +++ b/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc -@@ -717,18 +717,6 @@ void WebstorePrivateBeginInstallWithMani +@@ -728,18 +728,6 @@ void WebstorePrivateBeginInstallWithMani void WebstorePrivateBeginInstallWithManifest3Function:: ReportFrictionAcceptedEvent() { @@ -223,7 +223,7 @@ if (enable_extensions) { deps += [ "//chrome/browser/ui/web_applications" ] -@@ -624,6 +626,7 @@ static_library("advanced_protection") { +@@ -626,6 +628,7 @@ static_library("advanced_protection") { } source_set("metrics_collector") { @@ -231,7 +231,7 @@ sources = [ "safe_browsing_metrics_collector_factory.cc", "safe_browsing_metrics_collector_factory.h", -@@ -643,6 +646,7 @@ source_set("metrics_collector") { +@@ -645,6 +648,7 @@ source_set("metrics_collector") { "//components/safe_browsing/core/common:safe_browsing_prefs", "//content/public/browser", ] diff --git a/patches/inox-patchset/modify-default-prefs.patch b/patches/inox-patchset/modify-default-prefs.patch index 18a40810..4a034abe 100644 --- a/patches/inox-patchset/modify-default-prefs.patch +++ b/patches/inox-patchset/modify-default-prefs.patch @@ -11,7 +11,7 @@ void BackgroundModeManager::RegisterProfile(Profile* profile) { --- a/chrome/browser/chrome_content_browser_client.cc +++ b/chrome/browser/chrome_content_browser_client.cc -@@ -1421,7 +1421,7 @@ void ChromeContentBrowserClient::Registe +@@ -1449,7 +1449,7 @@ void ChromeContentBrowserClient::Registe void ChromeContentBrowserClient::RegisterProfilePrefs( user_prefs::PrefRegistrySyncable* registry) { registry->RegisterBooleanPref(prefs::kDisable3DAPIs, false); @@ -22,7 +22,7 @@ // used for mapping the command-line flags). --- a/chrome/browser/net/profile_network_context_service.cc +++ b/chrome/browser/net/profile_network_context_service.cc -@@ -607,7 +607,7 @@ void ProfileNetworkContextService::Confi +@@ -593,7 +593,7 @@ void ProfileNetworkContextService::Confi void ProfileNetworkContextService::RegisterProfilePrefs( user_prefs::PrefRegistrySyncable* registry) { registry->RegisterBooleanPref(embedder_support::kAlternateErrorPagesEnabled, @@ -66,7 +66,7 @@ registry->RegisterDictionaryPref(prefs::kBrowserWindowPlacementPopup); --- a/components/autofill/core/common/autofill_prefs.cc +++ b/components/autofill/core/common/autofill_prefs.cc -@@ -31,7 +31,7 @@ constexpr char kAutofillRanQuasiDuplicat +@@ -35,7 +35,7 @@ constexpr char kAutofillRanExtraDeduplic void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { // Synced prefs. Used for cross-device choices, e.g., credit card Autofill. registry->RegisterBooleanPref( @@ -75,7 +75,7 @@ user_prefs::PrefRegistrySyncable::SYNCABLE_PREF); registry->RegisterIntegerPref( kAutofillLastVersionDeduped, 0, -@@ -59,7 +59,7 @@ void RegisterProfilePrefs(user_prefs::Pr +@@ -63,7 +63,7 @@ void RegisterProfilePrefs(user_prefs::Pr kAutofillHasSeenIban, false, user_prefs::PrefRegistrySyncable::SYNCABLE_PREF); registry->RegisterBooleanPref( @@ -86,7 +86,7 @@ kAutofillPaymentCvcStorage, true, --- a/components/bookmarks/browser/bookmark_utils.cc +++ b/components/bookmarks/browser/bookmark_utils.cc -@@ -449,7 +449,7 @@ bool DoesBookmarkContainWords(const std: +@@ -450,7 +450,7 @@ bool DoesBookmarkContainWords(const std: void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { registry->RegisterBooleanPref( @@ -108,7 +108,7 @@ --- a/components/password_manager/core/browser/password_manager.cc +++ b/components/password_manager/core/browser/password_manager.cc -@@ -548,10 +548,10 @@ PasswordForm CreateFormForLeakCheck(cons +@@ -547,10 +547,10 @@ PasswordForm CreateFormForLeakCheck(cons void PasswordManager::RegisterProfilePrefs( user_prefs::PrefRegistrySyncable* registry) { registry->RegisterBooleanPref( diff --git a/patches/iridium-browser/all-add-trk-prefixes-to-possibly-evil-connections.patch b/patches/iridium-browser/all-add-trk-prefixes-to-possibly-evil-connections.patch index 250f6ed2..ae32a801 100644 --- a/patches/iridium-browser/all-add-trk-prefixes-to-possibly-evil-connections.patch +++ b/patches/iridium-browser/all-add-trk-prefixes-to-possibly-evil-connections.patch @@ -101,7 +101,7 @@ by default. scoped_refptr task_runner) --- a/chrome/browser/media/webrtc/webrtc_log_uploader.cc +++ b/chrome/browser/media/webrtc/webrtc_log_uploader.cc -@@ -529,7 +529,7 @@ void WebRtcLogUploader::UploadCompressed +@@ -473,7 +473,7 @@ void WebRtcLogUploader::UploadCompressed } })"); @@ -249,20 +249,29 @@ by default. url::Component query(0, static_cast(str.length())), key, value; --- a/components/history/core/browser/web_history_service.cc +++ b/components/history/core/browser/web_history_service.cc -@@ -44,13 +44,13 @@ namespace history { +@@ -47,19 +47,19 @@ namespace history { namespace { - const char kHistoryQueryHistoryUrl[] = + const char kOldQueryHistoryUrl[] = - "https://history.google.com/history/api/lookup?client=chrome"; -+ "trk:139:https://history.google.com/history/api/lookup?client=chrome"; ++ "trk:134:https://history.google.com/history/api/lookup?client=chrome"; + const char kNewQueryHistoryUrl[] = +- "https://footprints-pa.googleapis.com/v1/read_chrome_history"; ++ "trk:135:https://footprints-pa.googleapis.com/v1/read_chrome_history"; - const char kHistoryDeleteHistoryUrl[] = + const char kOldHistoryDeleteHistoryUrl[] = - "https://history.google.com/history/api/delete?client=chrome"; -+ "trk:140:https://history.google.com/history/api/delete?client=chrome"; ++ "trk:136:https://history.google.com/history/api/delete?client=chrome"; + const char kNewHistoryDeleteHistoryUrl[] = +- "https://footprints-pa.googleapis.com/v1/delete_chrome_history"; ++ "trk:137:https://footprints-pa.googleapis.com/v1/delete_chrome_history"; - const char kQueryWebAndAppActivityUrl[] = + const char kOldQueryWebAndAppActivityUrl[] = - "https://history.google.com/history/api/lookup?client=web_app"; + "trk:138:https://history.google.com/history/api/lookup?client=web_app"; + const char kNewQueryWebAndAppActivityUrl[] = +- "https://footprints-pa.googleapis.com/v1/get_facs"; ++ "trk:139:https://footprints-pa.googleapis.com/v1/get_facs"; const char kQueryOtherFormsOfBrowsingHistoryUrlSuffix[] = "/historystatus"; @@ -298,7 +307,7 @@ by default. + "trk:238:https://safesearch.googleapis.com/v1:classify"; std::string BuildResponse(bool is_porn) { - base::Value::Dict dict; + base::DictValue dict; --- a/components/translate/core/browser/translate_url_fetcher.cc +++ b/components/translate/core/browser/translate_url_fetcher.cc @@ -101,6 +101,7 @@ bool TranslateURLFetcher::Request(const @@ -311,7 +320,7 @@ by default. std::move(resource_request), --- a/components/translate/core/common/translate_util.cc +++ b/components/translate/core/common/translate_util.cc -@@ -13,7 +13,7 @@ +@@ -28,7 +28,7 @@ constexpr int kMaxNumberOfAutoNever = 2; namespace translate { @@ -675,17 +684,17 @@ by default. const int kMaxSecurePort = 65535; std::string MakeMCSEndpoint(const std::string& mcs_hostname, int port) { ---- a/remoting/protocol/jingle_messages.cc -+++ b/remoting/protocol/jingle_messages.cc -@@ -28,7 +28,7 @@ const char kJabberNamespace[] = "jabber: - const char kJingleNamespace[] = "urn:xmpp:jingle:1"; +--- a/remoting/protocol/jingle_message_xml_converter.cc ++++ b/remoting/protocol/jingle_message_xml_converter.cc +@@ -37,7 +37,7 @@ const jingle_xmpp::StaticQName kQNameRea + const jingle_xmpp::StaticQName kQNameContent = {kJingleNamespace, "content"}; // Namespace for transport messages when using standard ICE. -const char kIceTransportNamespace[] = "google:remoting:ice"; +const char kIceTransportNamespace[] = "trk:100:google:remoting:ice"; - - const char kWebrtcTransportNamespace[] = "google:remoting:webrtc"; - + const jingle_xmpp::StaticQName kQNameIceTransport = {kIceTransportNamespace, + "transport"}; + const jingle_xmpp::StaticQName kQNameIceCredentials = {kIceTransportNamespace, --- a/rlz/lib/lib_values.cc +++ b/rlz/lib/lib_values.cc @@ -45,7 +45,7 @@ const char kSetDccResponseVariable[] = " diff --git a/patches/iridium-browser/browser-disable-profile-auto-import-on-first-run.patch b/patches/iridium-browser/browser-disable-profile-auto-import-on-first-run.patch index 51eaddb6..242d46ff 100644 --- a/patches/iridium-browser/browser-disable-profile-auto-import-on-first-run.patch +++ b/patches/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 -@@ -1829,30 +1829,6 @@ int ChromeBrowserMainParts::PreMainMessa +@@ -1858,30 +1858,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/ungoogled-chromium/add-credits.patch b/patches/ungoogled-chromium/add-credits.patch index b3326e82..a4a206ed 100644 --- a/patches/ungoogled-chromium/add-credits.patch +++ b/patches/ungoogled-chromium/add-credits.patch @@ -56,7 +56,7 @@ # Paths from the root of the tree to directories to skip. PRUNE_PATHS = set([ # Placeholder directory only, not third-party code. -@@ -1006,7 +1014,7 @@ def _DiscoverMetadatas(args): +@@ -1010,7 +1018,7 @@ def _DiscoverMetadatas(args): LogParseDirErrors(errors) metadatas.sort(key=lambda m: (m['Name'].lower(), m['dir'])) @@ -65,7 +65,7 @@ return metadatas, had_errors -@@ -1083,8 +1091,8 @@ def GenerateCredits(args, metadatas): +@@ -1087,8 +1095,8 @@ def GenerateCredits(args, metadatas): entries_contents = '\n'.join([entry['content'] for entry in entries]) reciprocal_contents = EvaluateTemplate(reciprocal_template, { diff --git a/patches/ungoogled-chromium/add-flag-for-close-confirmation.patch b/patches/ungoogled-chromium/add-flag-for-close-confirmation.patch index 0ad0fb97..03a1f55c 100644 --- a/patches/ungoogled-chromium/add-flag-for-close-confirmation.patch +++ b/patches/ungoogled-chromium/add-flag-for-close-confirmation.patch @@ -1,14 +1,14 @@ --- a/chrome/browser/ui/browser.cc +++ b/chrome/browser/ui/browser.cc -@@ -141,6 +141,7 @@ +@@ -140,6 +140,7 @@ #include "chrome/browser/ui/views/frame/browser_view.h" #include "chrome/browser/ui/views/frame/contents_web_view.h" #include "chrome/browser/ui/views/frame/multi_contents_view.h" +#include "chrome/browser/ui/views/message_box_dialog.h" + #include "chrome/browser/ui/views/side_panel/side_panel_ui.h" #include "chrome/browser/ui/views/status_bubble_views.h" #include "chrome/browser/ui/web_applications/app_browser_controller.h" - #include "chrome/browser/ui/webui/signin/login_ui_service.h" -@@ -598,6 +599,7 @@ Browser::Browser(const CreateParams& par +@@ -587,6 +588,7 @@ Browser::Browser(const CreateParams& par should_trigger_session_restore_(params.should_trigger_session_restore), cancel_download_confirmation_state_( CancelDownloadConfirmationState::kNotPrompted), @@ -16,43 +16,24 @@ override_bounds_(params.initial_bounds), initial_show_state_(params.initial_show_state), initial_workspace_(params.initial_workspace), -@@ -985,20 +987,22 @@ Browser::WarnBeforeClosingResult Browser +@@ -974,10 +976,12 @@ Browser::WarnBeforeClosingResult Browser return WarnBeforeClosingResult::kOkToClose; } - // `CanCloseWithInProgressDownloads()` may trigger a modal dialog. - bool can_close_with_downloads = CanCloseWithInProgressDownloads(); -- if (can_close_with_downloads && -- !ShouldShowCookieMigrationNoticeForBrowser(*this)) { +- if (can_close_with_downloads) { - return WarnBeforeClosingResult::kOkToClose; -- } + if (CanCloseWithMultipleTabs()) { + // `CanCloseWithInProgressDownloads()` may trigger a modal dialog. + bool can_close_with_downloads = CanCloseWithInProgressDownloads(); -+ if (can_close_with_downloads && -+ !ShouldShowCookieMigrationNoticeForBrowser(*this)) { -+ return WarnBeforeClosingResult::kOkToClose; -+ } - -- // If there is no download warning, show the cookie migration notice now. -- // Otherwise, the download warning is being shown. Cookie migration notice -- // will be shown after, if needed. -- if (can_close_with_downloads) { -- ShowCookieClearOnExitMigrationNotice( -- *this, base::BindOnce(&Browser::CookieMigrationNoticeResponse, -- weak_factory_.GetWeakPtr())); -+ // If there is no download warning, show the cookie migration notice now. -+ // Otherwise, the download warning is being shown. Cookie migration notice -+ // will be shown after, if needed. + if (can_close_with_downloads) { -+ ShowCookieClearOnExitMigrationNotice( -+ *this, base::BindOnce(&Browser::CookieMigrationNoticeResponse, -+ weak_factory_.GetWeakPtr())); ++ return WarnBeforeClosingResult::kOkToClose; + } } DCHECK(!warn_before_closing_callback_) -@@ -1052,6 +1056,7 @@ bool Browser::TryToCloseWindow( +@@ -1031,6 +1035,7 @@ bool Browser::TryToCloseWindow( void Browser::ResetTryToCloseWindow() { cancel_download_confirmation_state_ = CancelDownloadConfirmationState::kNotPrompted; @@ -60,7 +41,7 @@ unload_controller_.ResetTryToCloseWindow(); } -@@ -3556,6 +3561,58 @@ bool Browser::CanCloseWithInProgressDown +@@ -3538,6 +3543,59 @@ bool Browser::CanCloseWithInProgressDown return false; } @@ -80,14 +61,15 @@ + + // Figure out how many windows are open total + int total_window_count = 0; -+ for (Browser* browser : *BrowserList::GetInstance()) { ++ GlobalBrowserCollection::GetInstance()->ForEach([&total_window_count, this](BrowserWindowInterface* browser) { + // Don't count this browser window or any other in the process of closing. + // Window closing may be delayed, and windows that are in the process of + // closing don't count against our totals. -+ if (browser == this || browser->IsAttemptingToCloseBrowser()) -+ continue; -+ total_window_count++; -+ } ++ if (browser != this && !browser->capabilities()->IsAttemptingToCloseBrowser()) { ++ total_window_count++; ++ } ++ return true; ++ }); + + const auto flag_value = base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII("close-confirmation"); + bool show_confirmation_last_window = flag_value == "last"; @@ -119,7 +101,7 @@ void Browser::InProgressDownloadResponse(bool cancel_downloads) { if (cancel_downloads) { cancel_download_confirmation_state_ = -@@ -3584,6 +3641,22 @@ void Browser::InProgressDownloadResponse +@@ -3559,6 +3617,22 @@ void Browser::InProgressDownloadResponse std::move(warn_before_closing_callback_) .Run(WarnBeforeClosingResult::kDoNotClose); @@ -141,7 +123,7 @@ + .Run(WarnBeforeClosingResult::kDoNotClose); } - void Browser::CookieMigrationNoticeResponse(bool proceed_closing) { + void Browser::FinishWarnBeforeClosing(WarnBeforeClosingResult result) { --- a/chrome/browser/ui/browser.h +++ b/chrome/browser/ui/browser.h @@ -33,6 +33,7 @@ @@ -152,7 +134,7 @@ #include "chrome/browser/ui/tabs/tab_strip_model.h" #include "chrome/browser/ui/tabs/tab_strip_model_observer.h" #include "chrome/browser/ui/unload_controller.h" -@@ -1146,12 +1147,17 @@ class Browser : public TabStripModelObse +@@ -1135,12 +1136,17 @@ class Browser : public TabStripModelObse // Returns true if the window can close, false otherwise. bool CanCloseWithInProgressDownloads(); @@ -170,7 +152,7 @@ // Called when the user has decided whether to proceed or not with the browser // closure, in case the cookie migration notice was shown. |proceed_closing| // is true if the browser can be closed. -@@ -1327,6 +1333,8 @@ class Browser : public TabStripModelObse +@@ -1311,6 +1317,8 @@ class Browser : public TabStripModelObse // when the browser is closed with in-progress downloads. CancelDownloadConfirmationState cancel_download_confirmation_state_; diff --git a/patches/ungoogled-chromium/add-flag-for-custom-ntp.patch b/patches/ungoogled-chromium/add-flag-for-custom-ntp.patch index db034b17..c2f18bd0 100644 --- a/patches/ungoogled-chromium/add-flag-for-custom-ntp.patch +++ b/patches/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 -@@ -800,11 +800,15 @@ bool HandleNewTabPageLocationOverride( +@@ -815,11 +815,15 @@ bool HandleNewTabPageLocationOverride( // Don't change the URL when incognito mode. if (profile->IsOffTheRecord()) { diff --git a/patches/ungoogled-chromium/add-flag-for-disabling-link-drag.patch b/patches/ungoogled-chromium/add-flag-for-disabling-link-drag.patch index 5fcec2b2..3097268b 100644 --- a/patches/ungoogled-chromium/add-flag-for-disabling-link-drag.patch +++ b/patches/ungoogled-chromium/add-flag-for-disabling-link-drag.patch @@ -41,7 +41,7 @@ #include "third_party/blink/public/common/input/web_menu_source_type.h" #include "third_party/blink/public/platform/web_input_event_result.h" #include "third_party/blink/renderer/core/annotation/annotation_agent_impl.h" -@@ -1448,10 +1449,14 @@ FrameSelection& SelectionController::Sel +@@ -1461,10 +1462,14 @@ FrameSelection& SelectionController::Sel } bool IsSelectionOverLink(const MouseEventWithHitTestResults& event) { diff --git a/patches/ungoogled-chromium/add-flag-for-incognito-themes.patch b/patches/ungoogled-chromium/add-flag-for-incognito-themes.patch index 69dafba1..ff9938c2 100644 --- a/patches/ungoogled-chromium/add-flag-for-incognito-themes.patch +++ b/patches/ungoogled-chromium/add-flag-for-incognito-themes.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/ui/views/frame/browser_widget.cc +++ b/chrome/browser/ui/views/frame/browser_widget.cc -@@ -615,5 +615,7 @@ bool BrowserWidget::RegenerateFrameOnThe +@@ -609,6 +609,8 @@ bool BrowserWidget::RegenerateFrameOnThe } bool BrowserWidget::IsIncognitoBrowser() const { @@ -8,6 +8,7 @@ + return false; return browser_view_->browser()->profile()->IsIncognitoProfile(); } + --- a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc +++ b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc @@ -49,6 +49,7 @@ diff --git a/patches/ungoogled-chromium/add-flag-for-omnibox-autocomplete-filtering.patch b/patches/ungoogled-chromium/add-flag-for-omnibox-autocomplete-filtering.patch index 7ac4203f..4d264b6c 100644 --- a/patches/ungoogled-chromium/add-flag-for-omnibox-autocomplete-filtering.patch +++ b/patches/ungoogled-chromium/add-flag-for-omnibox-autocomplete-filtering.patch @@ -41,7 +41,7 @@ #include "base/feature_list.h" #include "base/format_macros.h" #include "base/functional/bind.h" -@@ -553,6 +554,15 @@ AutocompleteController::AutocompleteCont +@@ -554,6 +555,15 @@ AutocompleteController::AutocompleteCont metrics::OmniboxEventProto::UNKNOWN_POSITION), config_(config) { config_.provider_types &= ~OmniboxFieldTrial::GetDisabledProviderTypes(); @@ -49,9 +49,9 @@ + const std::string flag_value = base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII("omnibox-autocomplete-filtering"); + config_.provider_types &= AutocompleteProvider::TYPE_KEYWORD | AutocompleteProvider::TYPE_SEARCH | + AutocompleteProvider::TYPE_HISTORY_URL | AutocompleteProvider::TYPE_BOOKMARK | AutocompleteProvider::TYPE_BUILTIN; -+ if (!base::Contains(flag_value, "bookmarks")) ++ if (!flag_value.contains("bookmarks")) + config_.provider_types &= ~AutocompleteProvider::TYPE_BOOKMARK; -+ if (!base::Contains(flag_value, "chrome")) ++ if (!flag_value.contains("chrome")) + config_.provider_types &= ~AutocompleteProvider::TYPE_BUILTIN; + } @@ -91,21 +91,20 @@ if (minimal_changes) --- a/components/url_formatter/url_fixer.cc +++ b/components/url_formatter/url_fixer.cc -@@ -10,6 +10,8 @@ +@@ -10,6 +10,7 @@ #include #include "base/check_op.h" -+#include "base/containers/contains.h" +#include "base/command_line.h" #include "base/compiler_specific.h" #include "base/files/file_path.h" #include "base/files/file_util.h" -@@ -644,6 +646,8 @@ GURL FixupURLInternal(const std::string& +@@ -643,6 +644,8 @@ GURL FixupURLInternal(const std::string& FixupHost(trimmed, parts.host, parts.scheme.is_valid(), desired_tld, &url); if (chrome_url && !parts.host.is_valid()) { + if (!base::CommandLine::ForCurrentProcess()->HasSwitch("omnibox-autocomplete-filtering") || -+ base::Contains(base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII("omnibox-autocomplete-filtering"), "chrome")) ++ base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII("omnibox-autocomplete-filtering").contains("chrome")) url.append(kChromeUIDefaultHost); } FixupPort(trimmed, parts.port, &url); diff --git a/patches/ungoogled-chromium/add-flag-for-search-engine-collection.patch b/patches/ungoogled-chromium/add-flag-for-search-engine-collection.patch index b9a9ef2a..9035670b 100644 --- a/patches/ungoogled-chromium/add-flag-for-search-engine-collection.patch +++ b/patches/ungoogled-chromium/add-flag-for-search-engine-collection.patch @@ -2,7 +2,7 @@ --- a/chrome/browser/ui/tab_helpers.cc +++ b/chrome/browser/ui/tab_helpers.cc -@@ -564,7 +564,9 @@ void TabHelpers::AttachTabHelpers(WebCon +@@ -562,7 +562,9 @@ void TabHelpers::AttachTabHelpers(WebCon profile, web_contents); #endif // BUILDFLAG(SAFE_BROWSING_AVAILABLE) SafetyTipWebContentsObserver::CreateForWebContents(web_contents); @@ -25,7 +25,7 @@ #endif // CHROME_BROWSER_UNGOOGLED_FLAG_ENTRIES_H_ --- a/chrome/renderer/chrome_render_frame_observer.cc +++ b/chrome/renderer/chrome_render_frame_observer.cc -@@ -269,14 +269,16 @@ void ChromeRenderFrameObserver::DidFinis +@@ -271,14 +271,16 @@ void ChromeRenderFrameObserver::DidFinis if (frame->Parent() || frame->IsInFencedFrameTree()) return; @@ -92,7 +92,7 @@ } bool TemplateURLService::IsPrepopulatedOrDefaultProviderByPolicy( -@@ -2491,6 +2499,8 @@ SyncDataMap TemplateURLService::CreateGU +@@ -2497,6 +2505,8 @@ SyncDataMap TemplateURLService::CreateGU } void TemplateURLService::Init() { @@ -101,7 +101,7 @@ if (client_) { client_->SetOwner(this); } -@@ -2656,6 +2666,9 @@ void TemplateURLService::ChangeToLoadedS +@@ -2662,6 +2672,9 @@ void TemplateURLService::ChangeToLoadedS bool TemplateURLService::CanAddAutogeneratedKeywordForHost( const std::string& host) const { @@ -113,7 +113,7 @@ return true; --- a/components/search_engines/template_url_service.h +++ b/components/search_engines/template_url_service.h -@@ -912,6 +912,8 @@ class TemplateURLService final : public +@@ -914,6 +914,8 @@ class TemplateURLService final : public raw_ref prepopulate_data_resolver_; diff --git a/patches/ungoogled-chromium/add-flag-for-tab-hover-cards.patch b/patches/ungoogled-chromium/add-flag-for-tab-hover-cards.patch index 829b9b78..3dcf34a6 100644 --- a/patches/ungoogled-chromium/add-flag-for-tab-hover-cards.patch +++ b/patches/ungoogled-chromium/add-flag-for-tab-hover-cards.patch @@ -24,7 +24,7 @@ // BrowserView::GetAccessibleTabLabel to get the updated accessible name. --- a/chrome/browser/ui/views/tabs/tab.h +++ b/chrome/browser/ui/views/tabs/tab.h -@@ -102,6 +102,7 @@ class Tab : public gfx::AnimationDelegat +@@ -104,6 +104,7 @@ class Tab : public gfx::AnimationDelegat void OnMouseEntered(const ui::MouseEvent& event) override; void OnMouseExited(const ui::MouseEvent& event) override; void OnGestureEvent(ui::GestureEvent* event) override; @@ -51,6 +51,9 @@ if (tab_container_) { tab_container_->UpdateHoverCard(tab, update_type); } + if (tab_container_) { + tab_container_->UpdateHoverCard(tab, update_type); + } --- a/chrome/browser/ungoogled_flag_choices.h +++ b/chrome/browser/ungoogled_flag_choices.h @@ -70,4 +70,13 @@ const FeatureEntry::Choice kCloseConfirm diff --git a/patches/ungoogled-chromium/add-flag-to-clear-data-on-exit.patch b/patches/ungoogled-chromium/add-flag-to-clear-data-on-exit.patch index 6f1b2958..6d0c1dce 100644 --- a/patches/ungoogled-chromium/add-flag-to-clear-data-on-exit.patch +++ b/patches/ungoogled-chromium/add-flag-to-clear-data-on-exit.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/browser_features.cc +++ b/chrome/browser/browser_features.cc -@@ -262,4 +262,5 @@ BASE_FEATURE(kReportPakFileIntegrity, +@@ -265,4 +265,5 @@ BASE_FEATURE(kReportPakFileIntegrity, // show both in Chrome Tabs and Windows. BASE_FEATURE(kRemovalOfIWAsFromTabCapture, base::FEATURE_ENABLED_BY_DEFAULT); @@ -8,7 +8,7 @@ } // namespace features --- a/chrome/browser/browser_features.h +++ b/chrome/browser/browser_features.h -@@ -113,6 +113,7 @@ BASE_DECLARE_FEATURE(kRemovalOfIWAsFromT +@@ -115,6 +115,7 @@ BASE_DECLARE_FEATURE(kRemovalOfIWAsFromT // module, e.g. // //chrome/browser//features.h // @@ -45,11 +45,11 @@ + chrome_browsing_data_remover::DATA_TYPE_SITE_DATA; +} + - uint64_t GetOriginTypeMask(const base::Value::List& data_types) { + uint64_t GetOriginTypeMask(const base::ListValue& data_types) { uint64_t result = 0; for (const auto& data_type : data_types) { @@ -329,9 +345,10 @@ void ChromeBrowsingDataLifetimeManager:: - const base::Value::List& data_types = profile_->GetPrefs()->GetList( + const base::ListValue& data_types = profile_->GetPrefs()->GetList( browsing_data::prefs::kClearBrowsingDataOnExitList); - if (!data_types.empty() && diff --git a/patches/ungoogled-chromium/add-flag-to-close-window-with-last-tab.patch b/patches/ungoogled-chromium/add-flag-to-close-window-with-last-tab.patch index e30d3975..73b0773d 100644 --- a/patches/ungoogled-chromium/add-flag-to-close-window-with-last-tab.patch +++ b/patches/ungoogled-chromium/add-flag-to-close-window-with-last-tab.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/ui/tabs/tab_strip_model.cc +++ b/chrome/browser/ui/tabs/tab_strip_model.cc -@@ -19,6 +19,7 @@ +@@ -18,6 +18,7 @@ #include "base/check.h" #include "base/check_op.h" diff --git a/patches/ungoogled-chromium/add-flag-to-configure-extension-downloading.patch b/patches/ungoogled-chromium/add-flag-to-configure-extension-downloading.patch index 7418d441..bd11f194 100644 --- a/patches/ungoogled-chromium/add-flag-to-configure-extension-downloading.patch +++ b/patches/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 -@@ -1129,10 +1129,12 @@ DownloadConfirmationReason DownloadTarge +@@ -1130,10 +1130,12 @@ DownloadConfirmationReason DownloadTarge return DownloadConfirmationReason::SAVE_AS; #if BUILDFLAG(ENABLE_EXTENSIONS_CORE) @@ -69,7 +69,7 @@ // Don't prompt for file types that are marked for opening automatically. --- a/chrome/browser/extensions/extension_management.cc +++ b/chrome/browser/extensions/extension_management.cc -@@ -335,6 +335,13 @@ bool ExtensionManagement::IsInstallation +@@ -336,6 +336,13 @@ bool ExtensionManagement::IsInstallation bool ExtensionManagement::IsOffstoreInstallAllowed( const GURL& url, const GURL& referrer_url) const { diff --git a/patches/ungoogled-chromium/add-flag-to-convert-popups-to-tabs.patch b/patches/ungoogled-chromium/add-flag-to-convert-popups-to-tabs.patch index 41394d99..47934965 100644 --- a/patches/ungoogled-chromium/add-flag-to-convert-popups-to-tabs.patch +++ b/patches/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 -@@ -1192,6 +1192,8 @@ WindowOpenDisposition NavigationPolicyTo +@@ -1211,6 +1211,8 @@ WindowOpenDisposition NavigationPolicyTo case blink::kWebNavigationPolicyNewWindow: return WindowOpenDisposition::NEW_WINDOW; case blink::kWebNavigationPolicyNewPopup: diff --git a/patches/ungoogled-chromium/add-flag-to-hide-crashed-bubble.patch b/patches/ungoogled-chromium/add-flag-to-hide-crashed-bubble.patch index 30f14ddc..1bd4fa5f 100644 --- a/patches/ungoogled-chromium/add-flag-to-hide-crashed-bubble.patch +++ b/patches/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 -@@ -142,6 +142,7 @@ void AddInfoBarsIfNecessary(BrowserWindo +@@ -148,6 +148,7 @@ void AddInfoBarsIfNecessary(BrowserWindo // Web apps should not display the session restore bubble (crbug.com/1264121) const bool should_display_bubble = diff --git a/patches/ungoogled-chromium/add-flag-to-hide-extensions-menu.patch b/patches/ungoogled-chromium/add-flag-to-hide-extensions-menu.patch index 8d2fc0cb..ecf7139c 100644 --- a/patches/ungoogled-chromium/add-flag-to-hide-extensions-menu.patch +++ b/patches/ungoogled-chromium/add-flag-to-hide-extensions-menu.patch @@ -1,5 +1,5 @@ ---- a/chrome/browser/ui/views/extensions/extensions_toolbar_container.cc -+++ b/chrome/browser/ui/views/extensions/extensions_toolbar_container.cc +--- a/chrome/browser/ui/views/extensions/extensions_toolbar_desktop.cc ++++ b/chrome/browser/ui/views/extensions/extensions_toolbar_desktop.cc @@ -7,6 +7,7 @@ #include #include @@ -8,7 +8,7 @@ #include "base/feature_list.h" #include "base/functional/bind.h" #include "base/functional/callback_helpers.h" -@@ -36,6 +37,7 @@ +@@ -37,6 +38,7 @@ #include "chrome/browser/ui/views/side_panel/extensions/extension_side_panel_coordinator.h" #include "chrome/browser/ui/views/side_panel/side_panel_ui.h" #include "chrome/browser/ui/views/toolbar/toolbar_action_hover_card_controller.h" @@ -16,7 +16,7 @@ #include "chrome/common/pref_names.h" #include "chrome/grit/generated_resources.h" #include "components/feature_engagement/public/event_constants.h" -@@ -467,6 +469,17 @@ void ExtensionsToolbarContainer::AnchorA +@@ -439,6 +441,17 @@ void ExtensionsToolbarDesktop::AnchorAnd widget->widget_delegate()->AsBubbleDialogDelegate()->SetAnchorView( anchor_view && anchor_view->GetVisible() ? anchor_view : GetExtensionsButton()); @@ -34,10 +34,10 @@ widget->Show(); } -@@ -927,6 +940,9 @@ void ExtensionsToolbarContainer::UpdateC +@@ -918,6 +931,9 @@ void ExtensionsToolbarDesktop::UpdateCon } - bool ExtensionsToolbarContainer::ShouldContainerBeVisible() const { + bool ExtensionsToolbarDesktop::ShouldContainerBeVisible() const { + if (base::CommandLine::ForCurrentProcess()->HasSwitch("hide-extensions-menu")) + return false; + diff --git a/patches/ungoogled-chromium/add-flag-to-hide-fullscreen-exit-ui.patch b/patches/ungoogled-chromium/add-flag-to-hide-fullscreen-exit-ui.patch index 2a68b0b3..3a327b60 100644 --- a/patches/ungoogled-chromium/add-flag-to-hide-fullscreen-exit-ui.patch +++ b/patches/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 -@@ -728,6 +728,9 @@ class BrowserView::ExclusiveAccessContex +@@ -745,6 +745,9 @@ class BrowserView::ExclusiveAccessContex void UpdateExclusiveAccessBubble( const ExclusiveAccessBubbleParams& params, ExclusiveAccessBubbleHideCallback first_hide_callback) override { diff --git a/patches/ungoogled-chromium/add-flag-to-reduce-system-info.patch b/patches/ungoogled-chromium/add-flag-to-reduce-system-info.patch index 25565f9b..61be18ee 100644 --- a/patches/ungoogled-chromium/add-flag-to-reduce-system-info.patch +++ b/patches/ungoogled-chromium/add-flag-to-reduce-system-info.patch @@ -11,16 +11,16 @@ #endif // CHROME_BROWSER_UNGOOGLED_FLAG_ENTRIES_H_ --- a/components/embedder_support/user_agent_utils.cc +++ b/components/embedder_support/user_agent_utils.cc -@@ -166,6 +166,8 @@ const std::string& GetWindowsPlatformVer +@@ -195,6 +195,8 @@ const blink::UserAgentBrandList GetUserA // It helps us avoid introducing individual enterprise policy controls for // sending unified platform for the user agent string. bool ShouldSendUserAgentUnifiedPlatform() { + if (base::FeatureList::IsEnabled(blink::features::kReducedSystemInfo)) + return true; - bool reduce_minor_version = base::FeatureList::IsEnabled( + return base::FeatureList::IsEnabled( blink::features::kReduceUserAgentMinorVersion); - #if BUILDFLAG(IS_ANDROID) -@@ -650,6 +652,8 @@ std::string GetPlatformForUAMetadata() { + } +@@ -636,6 +638,8 @@ std::string GetPlatformForUAMetadata() { } blink::UserAgentMetadata GetUserAgentMetadata(bool only_low_entropy_ch) { @@ -51,7 +51,7 @@ // Feature declarations and associated constants (feature params, et cetera) --- a/third_party/blink/renderer/core/execution_context/navigator_base.cc +++ b/third_party/blink/renderer/core/execution_context/navigator_base.cc -@@ -74,6 +74,8 @@ void NavigatorBase::Trace(Visitor* visit +@@ -70,6 +70,8 @@ void NavigatorBase::Trace(Visitor* visit } unsigned int NavigatorBase::hardwareConcurrency() const { diff --git a/patches/ungoogled-chromium/add-flag-to-remove-client-hints.patch b/patches/ungoogled-chromium/add-flag-to-remove-client-hints.patch index 9a36b400..6f62c7f2 100644 --- a/patches/ungoogled-chromium/add-flag-to-remove-client-hints.patch +++ b/patches/ungoogled-chromium/add-flag-to-remove-client-hints.patch @@ -78,7 +78,7 @@ #include "third_party/blink/public/common/permissions_policy/document_policy_features.h" #include "third_party/blink/public/common/switches.h" #include "third_party/blink/public/mojom/fetch/fetch_api_request.mojom-blink.h" -@@ -624,6 +625,8 @@ void FrameFetchContext::ModifyRequestFor +@@ -630,6 +631,8 @@ void FrameFetchContext::ModifyRequestFor void FrameFetchContext::AddClientHintsIfNecessary( const std::optional resource_width, ResourceRequest& request) { diff --git a/patches/ungoogled-chromium/add-flag-to-show-avatar-button.patch b/patches/ungoogled-chromium/add-flag-to-show-avatar-button.patch index 96359661..13a36132 100644 --- a/patches/ungoogled-chromium/add-flag-to-show-avatar-button.patch +++ b/patches/ungoogled-chromium/add-flag-to-show-avatar-button.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/ui/views/toolbar/toolbar_view.cc +++ b/chrome/browser/ui/views/toolbar/toolbar_view.cc -@@ -468,6 +468,17 @@ void ToolbarView::Init() { +@@ -446,6 +446,17 @@ void ToolbarView::Init() { browser_->profile()->IsGuestSession() || browser_->profile()->IsRegularProfile(); #endif diff --git a/patches/ungoogled-chromium/add-flag-to-spoof-webgl-renderer-info.patch b/patches/ungoogled-chromium/add-flag-to-spoof-webgl-renderer-info.patch index a68eb8af..e2237575 100644 --- a/patches/ungoogled-chromium/add-flag-to-spoof-webgl-renderer-info.patch +++ b/patches/ungoogled-chromium/add-flag-to-spoof-webgl-renderer-info.patch @@ -36,13 +36,13 @@ + {blink::features::kSpoofWebGLVendor, "Qualcomm"}, +}; +const FeatureEntry::FeatureVariation kSpoofWebGLChoices[] = { -+ {"Blank", kSpoofWebGL_Blank, std::size(kSpoofWebGL_Blank), nullptr}, -+ {"AMD Radeon R9 200", kSpoofWebGL_Amd, std::size(kSpoofWebGL_Amd), nullptr}, -+ {"Apple", kSpoofWebGL_Apple, std::size(kSpoofWebGL_Apple), nullptr}, -+ {"Intel", kSpoofWebGL_Intel, std::size(kSpoofWebGL_Intel), nullptr}, -+ {"Mesa LLVMpipe", kSpoofWebGL_Mesa, std::size(kSpoofWebGL_Mesa), nullptr}, -+ {"NVIDIA GeForce GTX 980", kSpoofWebGL_Nvidia, std::size(kSpoofWebGL_Nvidia), nullptr}, -+ {"Qualcomm Adreno 610", kSpoofWebGL_Qualcomm, std::size(kSpoofWebGL_Qualcomm), nullptr}, ++ {"Blank", kSpoofWebGL_Blank, nullptr}, ++ {"AMD Radeon R9 200", kSpoofWebGL_Amd, nullptr}, ++ {"Apple", kSpoofWebGL_Apple, nullptr}, ++ {"Intel", kSpoofWebGL_Intel, nullptr}, ++ {"Mesa LLVMpipe", kSpoofWebGL_Mesa, nullptr}, ++ {"NVIDIA GeForce GTX 980", kSpoofWebGL_Nvidia, nullptr}, ++ {"Qualcomm Adreno 610", kSpoofWebGL_Qualcomm, nullptr}, +}; #endif // CHROME_BROWSER_UNGOOGLED_FLAG_CHOICES_H_ --- a/chrome/browser/ungoogled_flag_entries.h @@ -86,7 +86,7 @@ // Feature declarations and associated constants (feature params, et cetera) --- a/third_party/blink/renderer/modules/webgl/webgl_rendering_context_base.cc +++ b/third_party/blink/renderer/modules/webgl/webgl_rendering_context_base.cc -@@ -3976,6 +3976,8 @@ ScriptValue WebGLRenderingContextBase::g +@@ -3977,6 +3977,8 @@ ScriptValue WebGLRenderingContextBase::g return ScriptValue::CreateNull(script_state->GetIsolate()); case WebGLDebugRendererInfo::kUnmaskedRendererWebgl: if (ExtensionEnabled(kWebGLDebugRendererInfoName)) { @@ -95,7 +95,7 @@ return WebGLAny(script_state, String(ContextGL()->GetString(GL_RENDERER))); } -@@ -3985,6 +3987,8 @@ ScriptValue WebGLRenderingContextBase::g +@@ -3986,6 +3988,8 @@ ScriptValue WebGLRenderingContextBase::g return ScriptValue::CreateNull(script_state->GetIsolate()); case WebGLDebugRendererInfo::kUnmaskedVendorWebgl: if (ExtensionEnabled(kWebGLDebugRendererInfoName)) { diff --git a/patches/ungoogled-chromium/add-flags-for-existing-switches.patch b/patches/ungoogled-chromium/add-flags-for-existing-switches.patch index 49081ca7..20220ef4 100644 --- a/patches/ungoogled-chromium/add-flags-for-existing-switches.patch +++ b/patches/ungoogled-chromium/add-flags-for-existing-switches.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/about_flags.cc +++ b/chrome/browser/about_flags.cc -@@ -5162,10 +5162,12 @@ const FeatureEntry::Choice kOmniboxAutof +@@ -4672,10 +4672,12 @@ const FeatureEntry::FeatureVariation #include "chrome/browser/ungoogled_flag_choices.h" #include "chrome/browser/bromite_flag_choices.h" #include "chrome/browser/ungoogled_platform_flag_choices.h" diff --git a/patches/ungoogled-chromium/add-flags-for-referrer-customization.patch b/patches/ungoogled-chromium/add-flags-for-referrer-customization.patch index 8a7928b3..6ab07853 100644 --- a/patches/ungoogled-chromium/add-flags-for-referrer-customization.patch +++ b/patches/ungoogled-chromium/add-flags-for-referrer-customization.patch @@ -19,7 +19,7 @@ #endif // CHROME_BROWSER_UNGOOGLED_FLAG_ENTRIES_H_ --- a/content/browser/renderer_host/navigation_request.cc +++ b/content/browser/renderer_host/navigation_request.cc -@@ -173,6 +173,7 @@ +@@ -175,6 +175,7 @@ #include "services/network/public/cpp/permissions_policy/fenced_frame_permissions_policies.h" #include "services/network/public/cpp/permissions_policy/permissions_policy_declaration.h" #include "services/network/public/cpp/permissions_policy/permissions_policy_features.h" @@ -27,7 +27,7 @@ #include "services/network/public/cpp/resource_request_body.h" #include "services/network/public/cpp/supports_loading_mode/supports_loading_mode_parser.h" #include "services/network/public/cpp/url_loader_completion_status.h" -@@ -392,10 +393,10 @@ void AddAdditionalRequestHeaders( +@@ -394,10 +395,10 @@ void AddAdditionalRequestHeaders( net::HttpRequestHeaders::kUserAgent, ComputeUserAgentValue(user_agent_override)); @@ -44,7 +44,7 @@ if (NeedsHTTPOrigin(headers, method)) { --- a/content/renderer/render_frame_impl.cc +++ b/content/renderer/render_frame_impl.cc -@@ -137,6 +137,7 @@ +@@ -136,6 +136,7 @@ #include "services/network/public/cpp/content_decoding_interceptor.h" #include "services/network/public/cpp/features.h" #include "services/network/public/cpp/not_implemented_url_loader_factory.h" @@ -52,7 +52,7 @@ #include "services/network/public/cpp/weak_wrapper_shared_url_loader_factory.h" #include "services/network/public/mojom/fetch_api.mojom.h" #include "services/network/public/mojom/restricted_cookie_manager.mojom.h" -@@ -4519,10 +4520,13 @@ void RenderFrameImpl::FinalizeRequestInt +@@ -4541,10 +4542,13 @@ void RenderFrameImpl::FinalizeRequestInt request.SetHasUserGesture(frame_->HasTransientUserActivation()); @@ -100,9 +100,9 @@ --- a/services/network/public/cpp/BUILD.gn +++ b/services/network/public/cpp/BUILD.gn -@@ -124,6 +124,8 @@ component("cpp") { - "private_network_access_check_result.cc", - "private_network_access_check_result.h", +@@ -126,6 +126,8 @@ component("cpp") { + "parsed_headers.cc", + "parsed_headers.h", "record_ontransfersizeupdate_utils.h", + "referrer_sanitizer.cc", + "referrer_sanitizer.h", diff --git a/patches/ungoogled-chromium/add-ipv6-probing-option.patch b/patches/ungoogled-chromium/add-ipv6-probing-option.patch index f12b52c8..e8a42243 100644 --- a/patches/ungoogled-chromium/add-ipv6-probing-option.patch +++ b/patches/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 -@@ -152,11 +152,6 @@ const size_t kMaxHostLength = 4096; +@@ -151,11 +151,6 @@ const size_t kMaxHostLength = 4096; // cached. const int kIPv6ProbePeriodMs = 1000; diff --git a/patches/ungoogled-chromium/add-suggestions-url-field.patch b/patches/ungoogled-chromium/add-suggestions-url-field.patch index d958a824..d31c5e2d 100644 --- a/patches/ungoogled-chromium/add-suggestions-url-field.patch +++ b/patches/ungoogled-chromium/add-suggestions-url-field.patch @@ -271,7 +271,7 @@ bool CanEdit(const TemplateURL* url) const; --- a/chrome/browser/ui/search_engines/template_url_table_model.cc +++ b/chrome/browser/ui/search_engines/template_url_table_model.cc -@@ -211,21 +211,25 @@ void TemplateURLTableModel::Remove(size_ +@@ -210,21 +210,25 @@ void TemplateURLTableModel::Remove(size_ void TemplateURLTableModel::Add(size_t index, const std::u16string& short_name, const std::u16string& keyword, @@ -302,7 +302,7 @@ DCHECK(index <= RowCount()); DCHECK(!url.empty()); TemplateURL* template_url = GetTemplateURL(index); -@@ -234,7 +238,8 @@ void TemplateURLTableModel::ModifyTempla +@@ -233,7 +237,8 @@ void TemplateURLTableModel::ModifyTempla DCHECK(template_url_service_->GetDefaultSearchProvider() != template_url || template_url->SupportsReplacement( template_url_service_->search_terms_data())); @@ -334,7 +334,7 @@ void ReloadIcon(size_t index); --- a/chrome/browser/ui/webui/settings/search_engines_handler.cc +++ b/chrome/browser/ui/webui/settings/search_engines_handler.cc -@@ -51,6 +51,7 @@ namespace { +@@ -52,6 +52,7 @@ namespace { const char kSearchEngineField[] = "searchEngine"; const char kKeywordField[] = "keyword"; const char kQueryUrlField[] = "queryUrl"; @@ -342,16 +342,16 @@ // Dummy number used for indicating that a new search engine is added. const int kNewSearchEngineIndex = -1; -@@ -257,6 +258,8 @@ base::Value::Dict SearchEnginesHandler:: +@@ -258,6 +259,8 @@ base::DictValue SearchEnginesHandler::Cr Profile* profile = Profile::FromWebUI(web_ui()); dict.Set("url", template_url->url_ref().DisplayURL(UIThreadSearchTermsData())); + dict.Set("suggestionsUrl", template_url->suggestions_url_ref().DisplayURL( + UIThreadSearchTermsData())); - dict.Set("urlLocked", ((template_url->prepopulate_id() > 0) || - (template_url->starter_pack_id() > 0))); - GURL icon_url = template_url->favicon_url(); -@@ -423,12 +426,14 @@ void SearchEnginesHandler::HandleSearchE + dict.Set("urlLocked", + ((template_url->prepopulate_id() > 0) || + (template_url->starter_pack_id() != +@@ -427,12 +430,14 @@ void SearchEnginesHandler::HandleSearchE void SearchEnginesHandler::OnEditedKeyword(TemplateURL* template_url, const std::u16string& title, const std::u16string& keyword, @@ -369,7 +369,7 @@ } edit_controller_.reset(); -@@ -458,6 +463,8 @@ bool SearchEnginesHandler::CheckFieldVal +@@ -462,6 +467,8 @@ bool SearchEnginesHandler::CheckFieldVal is_valid = edit_controller_->IsKeywordValid(base::UTF8ToUTF16(field_value)); } else if (field_name.compare(kQueryUrlField) == 0) { is_valid = edit_controller_->IsURLValid(field_value); @@ -378,7 +378,7 @@ } else { NOTREACHED(); } -@@ -480,18 +487,21 @@ void SearchEnginesHandler::HandleSearchE +@@ -484,18 +491,21 @@ void SearchEnginesHandler::HandleSearchE return; } @@ -417,7 +417,7 @@ void RegisterMessages() override; @@ -80,8 +81,8 @@ class SearchEnginesHandler : public Sett // to WebUI. Called from WebUI. - void HandleValidateSearchEngineInput(const base::Value::List& args); + void HandleValidateSearchEngineInput(const base::ListValue& args); - // Checks whether the given user input field (searchEngine, keyword, queryUrl) - // is populated with a valid value. @@ -428,7 +428,7 @@ --- a/components/search_engines/template_url_service.cc +++ b/components/search_engines/template_url_service.cc -@@ -1036,7 +1036,8 @@ void TemplateURLService::IncrementUsageC +@@ -1038,7 +1038,8 @@ void TemplateURLService::IncrementUsageC void TemplateURLService::ResetTemplateURL(TemplateURL* url, const std::u16string& title, const std::u16string& keyword, @@ -438,7 +438,7 @@ DCHECK(!IsCreatedByExtension(*url)); DCHECK(!keyword.empty()); DCHECK(!search_url.empty()); -@@ -1060,6 +1061,7 @@ void TemplateURLService::ResetTemplateUR +@@ -1062,6 +1063,7 @@ void TemplateURLService::ResetTemplateUR data.last_modified = clock_->Now(); data.is_active = TemplateURLData::ActiveStatus::kTrue; data.policy_origin = TemplateURLData::PolicyOrigin::kNoPolicy; @@ -448,7 +448,7 @@ syncer::kSeparateLocalAndAccountSearchEngines) --- a/components/search_engines/template_url_service.h +++ b/components/search_engines/template_url_service.h -@@ -345,7 +345,8 @@ class TemplateURLService final : public +@@ -347,7 +347,8 @@ class TemplateURLService final : public void ResetTemplateURL(TemplateURL* url, const std::u16string& title, const std::u16string& keyword, diff --git a/patches/ungoogled-chromium/add-ungoogled-flag-headers.patch b/patches/ungoogled-chromium/add-ungoogled-flag-headers.patch index 6c1c59bf..b107fe76 100644 --- a/patches/ungoogled-chromium/add-ungoogled-flag-headers.patch +++ b/patches/ungoogled-chromium/add-ungoogled-flag-headers.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/about_flags.cc +++ b/chrome/browser/about_flags.cc -@@ -5158,7 +5158,13 @@ const FeatureEntry::Choice kOmniboxAutof +@@ -4668,7 +4668,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/ungoogled-chromium/block-trk-and-subdomains.patch b/patches/ungoogled-chromium/block-trk-and-subdomains.patch index 0f73df00..e9834452 100644 --- a/patches/ungoogled-chromium/block-trk-and-subdomains.patch +++ b/patches/ungoogled-chromium/block-trk-and-subdomains.patch @@ -47,7 +47,7 @@ std::u16string real_url(text.substr(after_scheme_and_colon)); --- a/components/url_formatter/url_fixer.cc +++ b/components/url_formatter/url_fixer.cc -@@ -598,6 +598,10 @@ GURL FixupURLInternal(const std::string& +@@ -597,6 +597,10 @@ GURL FixupURLInternal(const std::string& } } @@ -60,7 +60,7 @@ return GURL(parts.scheme.is_valid() ? text : FixupPath(text)); --- a/content/browser/child_process_security_policy_impl.cc +++ b/content/browser/child_process_security_policy_impl.cc -@@ -936,6 +936,7 @@ ChildProcessSecurityPolicyImpl::ChildPro +@@ -1032,6 +1032,7 @@ ChildProcessSecurityPolicyImpl::ChildPro RegisterWebSafeScheme(url::kWssScheme); #endif // BUILDFLAG(ENABLE_WEBSOCKETS) RegisterWebSafeScheme(url::kDataScheme); @@ -70,7 +70,7 @@ // other origins, so we should not treat them as web safe. Remove callers of --- a/net/BUILD.gn +++ b/net/BUILD.gn -@@ -1156,6 +1156,8 @@ component("net") { +@@ -1160,6 +1160,8 @@ component("net") { "url_request/static_http_user_agent_settings.cc", "url_request/static_http_user_agent_settings.h", "url_request/storage_access_status_cache.h", @@ -181,7 +181,7 @@ #include "net/url_request/url_request_context.h" #include "net/url_request/url_request_job_factory.h" #include "url/url_constants.h" -@@ -632,6 +633,8 @@ std::unique_ptr URLRe +@@ -626,6 +627,8 @@ std::unique_ptr URLRe std::move(scheme_handler.second)); } protocol_handlers_.clear(); diff --git a/patches/ungoogled-chromium/disable-ai-search-shortcuts.patch b/patches/ungoogled-chromium/disable-ai-search-shortcuts.patch index 5c41a417..d6de1d2a 100644 --- a/patches/ungoogled-chromium/disable-ai-search-shortcuts.patch +++ b/patches/ungoogled-chromium/disable-ai-search-shortcuts.patch @@ -1,56 +1,59 @@ --- a/chrome/browser/ui/search_engines/template_url_table_model.cc +++ b/chrome/browser/ui/search_engines/template_url_table_model.cc -@@ -117,22 +117,10 @@ void TemplateURLTableModel::Reload() { +@@ -116,22 +116,10 @@ void TemplateURLTableModel::Reload() { extension_entries; // Keywords that can be made the default first. for (TemplateURL* template_url : urls) { - // Skip @gemini if feature disabled. - if (template_url->starter_pack_id() == -- template_url_starter_pack_data::kGemini && +- template_url_starter_pack_data::StarterPackId::kGemini && - !OmniboxFieldTrial::IsStarterPackExpansionEnabled()) { - continue; - } - // Skip @page if feature disabled. - if (template_url->starter_pack_id() == -- template_url_starter_pack_data::kPage && +- template_url_starter_pack_data::StarterPackId::kPage && - !omnibox_feature_configs::ContextualSearch::Get().starter_pack_page) { - continue; - } - // Skip @aimode if feature disabled. - if (template_url->starter_pack_id() == -- template_url_starter_pack_data::kAiMode && +- template_url_starter_pack_data::StarterPackId::kAiMode && - !ai_mode_enabled_) { + // Disable all Google AI starter pack options -+ if (template_url->starter_pack_id() == template_url_starter_pack_data::kGemini || -+ template_url->starter_pack_id() == template_url_starter_pack_data::kAiMode || -+ template_url->starter_pack_id() == template_url_starter_pack_data::kPage) { ++ if (template_url->starter_pack_id() == template_url_starter_pack_data::StarterPackId::kGemini || ++ template_url->starter_pack_id() == template_url_starter_pack_data::StarterPackId::kAiMode || ++ template_url->starter_pack_id() == template_url_starter_pack_data::StarterPackId::kPage) { continue; } --- a/components/omnibox/browser/featured_search_provider.cc +++ b/components/omnibox/browser/featured_search_provider.cc -@@ -295,20 +295,10 @@ void FeaturedSearchProvider::AddFeatured - for (TemplateURL* turl : turls) { - if (turl->starter_pack_id() > 0 && +@@ -300,23 +300,10 @@ void FeaturedSearchProvider::AddFeatured + if (turl->starter_pack_id() != + template_url_starter_pack_data::StarterPackId::kNone && turl->is_active() == TemplateURLData::ActiveStatus::kTrue) { - // Skip @gemini if feature disabled. -- if (turl->starter_pack_id() == template_url_starter_pack_data::kGemini && +- if (turl->starter_pack_id() == +- template_url_starter_pack_data::StarterPackId::kGemini && - !OmniboxFieldTrial::IsStarterPackExpansionEnabled()) { - continue; - } - // Skip @page if feature disabled. -- if (turl->starter_pack_id() == template_url_starter_pack_data::kPage && +- if (turl->starter_pack_id() == +- template_url_starter_pack_data::StarterPackId::kPage && - !omnibox_feature_configs::ContextualSearch::Get().starter_pack_page) { - continue; - } - // Skip @aimode if feature disabled. -- if (turl->starter_pack_id() == template_url_starter_pack_data::kAiMode && +- if (turl->starter_pack_id() == +- template_url_starter_pack_data::StarterPackId::kAiMode && - !OmniboxFieldTrial::IsAimStarterPackEnabled( - client_->GetAimEligibilityService())) { + // Disable all Google AI starter pack options -+ if (turl->starter_pack_id() == template_url_starter_pack_data::kGemini || -+ turl->starter_pack_id() == template_url_starter_pack_data::kAiMode || -+ turl->starter_pack_id() == template_url_starter_pack_data::kPage) { ++ if (turl->starter_pack_id() == template_url_starter_pack_data::StarterPackId::kGemini || ++ turl->starter_pack_id() == template_url_starter_pack_data::StarterPackId::kAiMode || ++ turl->starter_pack_id() == template_url_starter_pack_data::StarterPackId::kPage) { continue; } // The history starter pack engine is disabled in incognito mode. diff --git a/patches/ungoogled-chromium/disable-chromelabs.patch b/patches/ungoogled-chromium/disable-chromelabs.patch index 9e3c229d..d34afd1e 100644 --- a/patches/ungoogled-chromium/disable-chromelabs.patch +++ b/patches/ungoogled-chromium/disable-chromelabs.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/ui/toolbar/chrome_labs/chrome_labs_utils.cc +++ b/chrome/browser/ui/toolbar/chrome_labs/chrome_labs_utils.cc -@@ -140,35 +140,6 @@ bool AreNewChromeLabsExperimentsAvailabl +@@ -139,35 +139,6 @@ bool AreNewChromeLabsExperimentsAvailabl } bool IsChromeLabsEnabled() { @@ -21,7 +21,7 @@ - chrome_labs_prefs::kChromeLabsActivationThresholdDefaultValue) { - g_browser_process->local_state()->SetInteger( - chrome_labs_prefs::kChromeLabsActivationThreshold, -- base::RandInt(1, 100)); +- base::RandIntInclusive(1, 100)); - } - - // The percentage of users that should see the feature. diff --git a/patches/ungoogled-chromium/disable-google-host-detection.patch b/patches/ungoogled-chromium/disable-google-host-detection.patch index 5d09dee8..1e6e2cbd 100644 --- a/patches/ungoogled-chromium/disable-google-host-detection.patch +++ b/patches/ungoogled-chromium/disable-google-host-detection.patch @@ -570,7 +570,7 @@ bool IsProbablyGoogleSearchUrl(const GURL& url) { --- a/components/search_engines/template_url.cc +++ b/components/search_engines/template_url.cc -@@ -625,10 +625,7 @@ std::u16string TemplateURLRef::SearchTer +@@ -624,10 +624,7 @@ std::u16string TemplateURLRef::SearchTer bool TemplateURLRef::HasGoogleBaseURLs( const SearchTermsData& search_terms_data) const { ParseIfNecessary(search_terms_data); @@ -689,9 +689,9 @@ } // namespace variations --- a/content/browser/preloading/prefetch/prefetch_container.cc +++ b/content/browser/preloading/prefetch/prefetch_container.cc -@@ -860,23 +860,6 @@ void PrefetchContainer::UpdateResourceRe - resource_request_->referrer = GURL(redirect_info.new_referrer); - resource_request_->referrer_policy = redirect_info.new_referrer_policy; +@@ -899,23 +899,6 @@ void PrefetchContainer::UpdateResourceRe + + resource_request_->UpdateOnRedirect(redirect_info); - // Remove `variations::kClientDataHeader` from `resource_request_->headers`, - // to keep the existing behavior. While `AddXClientDataHeader()` adds diff --git a/patches/ungoogled-chromium/disable-mei-preload.patch b/patches/ungoogled-chromium/disable-mei-preload.patch index a42e3542..c2add5ea 100644 --- a/patches/ungoogled-chromium/disable-mei-preload.patch +++ b/patches/ungoogled-chromium/disable-mei-preload.patch @@ -7,7 +7,7 @@ --- a/chrome/BUILD.gn +++ b/chrome/BUILD.gn -@@ -369,7 +369,6 @@ if (!is_android && !is_mac) { +@@ -370,7 +370,6 @@ if (!is_android && !is_mac) { } data_deps += [ @@ -15,7 +15,7 @@ "//chrome/browser/web_applications/isolated_web_apps/key_distribution/preload:component", "//third_party/widevine/cdm", ] -@@ -1181,7 +1180,6 @@ if (is_win) { +@@ -1179,7 +1178,6 @@ if (is_win) { ":optimization_guide_library", ":swiftshader_binaries", ":widevine_cdm_library", @@ -25,7 +25,7 @@ --- a/chrome/browser/resources/BUILD.gn +++ b/chrome/browser/resources/BUILD.gn -@@ -112,7 +112,6 @@ group("resources") { +@@ -111,7 +111,6 @@ group("resources") { if (is_mac) { public_deps += [ "unexportable_keys_internals:resources", diff --git a/patches/ungoogled-chromium/disable-privacy-sandbox.patch b/patches/ungoogled-chromium/disable-privacy-sandbox.patch index 2365a4fe..cdad25dc 100644 --- a/patches/ungoogled-chromium/disable-privacy-sandbox.patch +++ b/patches/ungoogled-chromium/disable-privacy-sandbox.patch @@ -43,7 +43,7 @@ storage_partition_->GetCdmStorageDataModel()->GetUsagePerAllStorageKeys( --- a/components/privacy_sandbox/privacy_sandbox_settings_impl.cc +++ b/components/privacy_sandbox/privacy_sandbox_settings_impl.cc -@@ -132,7 +132,7 @@ std::set GetTopi +@@ -131,7 +131,7 @@ std::set GetTopi // static bool PrivacySandboxSettingsImpl::IsAllowed(Status status) { @@ -52,7 +52,7 @@ } // static -@@ -862,7 +862,7 @@ void PrivacySandboxSettingsImpl::SetTopi +@@ -861,7 +861,7 @@ void PrivacySandboxSettingsImpl::SetTopi } bool PrivacySandboxSettingsImpl::IsPrivacySandboxRestricted() const { @@ -61,7 +61,7 @@ } bool PrivacySandboxSettingsImpl::IsPrivacySandboxCurrentlyUnrestricted() const { -@@ -931,11 +931,7 @@ PrivacySandboxSettingsImpl::GetPrivacySa +@@ -930,11 +930,7 @@ PrivacySandboxSettingsImpl::GetPrivacySa return Status::kIncognitoProfile; } @@ -161,7 +161,7 @@ // static --- a/content/browser/interest_group/ad_auction_service_impl.cc +++ b/content/browser/interest_group/ad_auction_service_impl.cc -@@ -191,11 +191,6 @@ AdAuctionServiceImpl::BiddingAndAuctionD +@@ -190,11 +190,6 @@ AdAuctionServiceImpl::BiddingAndAuctionD void AdAuctionServiceImpl::CreateMojoService( RenderFrameHost* render_frame_host, mojo::PendingReceiver receiver) { @@ -175,7 +175,7 @@ void AdAuctionServiceImpl::JoinInterestGroup( --- a/content/browser/storage_partition_impl.cc +++ b/content/browser/storage_partition_impl.cc -@@ -1511,38 +1511,7 @@ void StoragePartitionImpl::Initialize( +@@ -1512,38 +1512,7 @@ void StoragePartitionImpl::Initialize( bucket_manager_ = std::make_unique(this); @@ -214,7 +214,7 @@ GeneratedCodeCacheSettings settings = GetContentClient()->browser()->GetGeneratedCodeCacheSettings( -@@ -1571,8 +1540,6 @@ void StoragePartitionImpl::Initialize( +@@ -1572,8 +1541,6 @@ void StoragePartitionImpl::Initialize( font_access_manager_ = FontAccessManager::Create(); @@ -223,7 +223,7 @@ #if BUILDFLAG(ENABLE_LIBRARY_CDMS) if (is_in_memory()) { -@@ -1596,11 +1563,6 @@ void StoragePartitionImpl::Initialize( +@@ -1597,11 +1564,6 @@ void StoragePartitionImpl::Initialize( std::make_unique(this); } @@ -237,7 +237,7 @@ void StoragePartitionImpl::ResetSessionStorageConnections() { --- a/content/browser/web_contents/web_contents_impl.cc +++ b/content/browser/web_contents/web_contents_impl.cc -@@ -4224,12 +4224,6 @@ void WebContentsImpl::Init(const WebCont +@@ -4208,12 +4208,6 @@ void WebContentsImpl::Init(const WebCont DateTimeChooser::CreateDateTimeChooser(this); #endif @@ -248,8 +248,8 @@ - AttributionHost::CreateForWebContents(this); - } + SchedulerLoopQuarantineWebContentsObserver::MaybeCreateForWebContents(this); RedirectChainDetector::CreateForWebContents(this); - BtmWebContentsObserver::MaybeCreateForWebContents(this); --- a/content/services/auction_worklet/private_aggregation_bindings.cc +++ b/content/services/auction_worklet/private_aggregation_bindings.cc @@ -407,53 +407,6 @@ PrivateAggregationBindings::~PrivateAggr diff --git a/patches/ungoogled-chromium/disable-webrtc-log-uploader.patch b/patches/ungoogled-chromium/disable-webrtc-log-uploader.patch index eac3e9ff..0daad8fc 100644 --- a/patches/ungoogled-chromium/disable-webrtc-log-uploader.patch +++ b/patches/ungoogled-chromium/disable-webrtc-log-uploader.patch @@ -2,7 +2,7 @@ --- a/chrome/browser/media/webrtc/webrtc_log_uploader.cc +++ b/chrome/browser/media/webrtc/webrtc_log_uploader.cc -@@ -179,31 +179,13 @@ void WebRtcLogUploader::OnLoggingStopped +@@ -174,31 +174,13 @@ void WebRtcLogUploader::OnLoggingStopped DCHECK(meta_data.get()); DCHECK(!upload_done_data.paths.directory.empty()); @@ -11,7 +11,7 @@ - std::string local_log_id; - if (base::PathExists(upload_done_data.paths.directory)) { - webrtc_logging::DeleteOldWebRtcLogFiles(upload_done_data.paths.directory); + webrtc_logging::DeleteOldWebRtcLogFiles({upload_done_data.paths.directory}); - - local_log_id = - base::NumberToString(base::Time::Now().InSecondsFSinceUnixEpoch()); @@ -29,18 +29,18 @@ - upload_done_data.local_log_id = local_log_id; if (is_text_log_upload_allowed) { -- PrepareMultipartPostData(compressed_log, std::move(meta_data), +- PrepareMultipartPostData(content_name, compressed_log, std::move(meta_data), - std::move(upload_done_data)); + NotifyUploadDoneAndLogStats(net::HTTP_OK, net::OK, "", std::move(upload_done_data)); } else { main_task_runner_->PostTask( FROM_HERE, -@@ -220,28 +202,7 @@ void WebRtcLogUploader::PrepareMultipart +@@ -216,28 +198,7 @@ void WebRtcLogUploader::PrepareMultipart DCHECK(!compressed_log.empty()); DCHECK(meta_data.get()); - std::unique_ptr post_data(new std::string()); -- SetupMultipart(post_data.get(), compressed_log, +- SetupMultipart(post_data.get(), content_name, compressed_log, - upload_done_data.paths.incoming_rtp_dump, - upload_done_data.paths.outgoing_rtp_dump, *meta_data.get()); - @@ -64,12 +64,12 @@ + NotifyUploadDoneAndLogStats(net::HTTP_OK, net::OK, "", std::move(upload_done_data)); } - void WebRtcLogUploader::UploadStoredLog( -@@ -308,48 +269,6 @@ void WebRtcLogUploader::LoggingStoppedDo + void WebRtcLogUploader::LoggingStoppedDoStore( +@@ -251,48 +212,6 @@ void WebRtcLogUploader::LoggingStoppedDo DCHECK(log_buffer.get()); DCHECK(!log_paths.directory.empty()); -- webrtc_logging::DeleteOldWebRtcLogFiles(log_paths.directory); +- webrtc_logging::DeleteOldWebRtcLogFiles({log_paths.directory}); - - base::FilePath log_list_path = - webrtc_logging::TextLogList::GetWebRtcLogListFileForDirectory( @@ -122,6 +122,6 @@ registry->RegisterListPref(prefs::kWebRtcLocalIpsAllowedUrls); - registry->RegisterBooleanPref(prefs::kWebRtcTextLogCollectionAllowed, true); + registry->RegisterBooleanPref(prefs::kWebRtcTextLogCollectionAllowed, false); - - // We need to register the type of these preferences in order to query - // them even though they're only typically controlled via policy. + registry->RegisterListPref( + prefs::kWebRTCDiagnosticLogCollectionAllowedForOrigins, + base::ListValue()); diff --git a/patches/ungoogled-chromium/disable-webstore-urls.patch b/patches/ungoogled-chromium/disable-webstore-urls.patch index 1c61d060..d5158064 100644 --- a/patches/ungoogled-chromium/disable-webstore-urls.patch +++ b/patches/ungoogled-chromium/disable-webstore-urls.patch @@ -51,7 +51,7 @@ @@ -34,7 +36,7 @@ void ExtensionMigrator::StartLoading() { if (should_have_extension) { - base::Value::Dict entry; + base::DictValue entry; entry.Set(ExternalProviderImpl::kExternalUpdateUrl, - extension_urls::GetWebstoreUpdateUrl().spec()); + chrome_blank_.spec()); @@ -158,7 +158,7 @@ ExtensionIdSet extension_ids_with_errors; for (const auto& failure : failures) extension_ids_with_errors.insert(failure.first.id); -@@ -1418,11 +1386,7 @@ bool ExtensionDownloader::IterateFetchCr +@@ -1422,11 +1390,7 @@ bool ExtensionDownloader::IterateFetchCr // fetch. switch (fetch->credentials) { case ExtensionFetch::CREDENTIALS_NONE: diff --git a/patches/ungoogled-chromium/doh-changes.patch b/patches/ungoogled-chromium/doh-changes.patch index 1b607b7d..b766c7f4 100644 --- a/patches/ungoogled-chromium/doh-changes.patch +++ b/patches/ungoogled-chromium/doh-changes.patch @@ -22,7 +22,7 @@ --- a/net/dns/public/doh_provider_entry.cc +++ b/net/dns/public/doh_provider_entry.cc -@@ -181,30 +181,6 @@ const DohProviderEntry::List& DohProvide +@@ -205,30 +205,6 @@ const DohProviderEntry::List& DohProvide /*display_globally=*/false, /*display_countries=*/{"EE", "DE"}, LoggingLevel::kNormal}, diff --git a/patches/ungoogled-chromium/enable-menu-on-reload-button.patch b/patches/ungoogled-chromium/enable-menu-on-reload-button.patch index 15b78669..a8d24d99 100644 --- a/patches/ungoogled-chromium/enable-menu-on-reload-button.patch +++ b/patches/ungoogled-chromium/enable-menu-on-reload-button.patch @@ -2,12 +2,12 @@ --- a/chrome/browser/ui/views/toolbar/reload_button.cc +++ b/chrome/browser/ui/views/toolbar/reload_button.cc -@@ -141,7 +141,7 @@ bool ReloadButton::GetMenuEnabled() cons +@@ -141,7 +141,7 @@ bool ReloadButton::GetDevToolsStatusForT } - void ReloadButton::SetMenuEnabled(bool is_menu_enabled) { -- is_menu_enabled_ = is_menu_enabled; -+ is_menu_enabled_ = true; + void ReloadButton::SetDevToolsStatus(bool is_dev_tools_connected) { +- is_dev_tools_connected_ = is_dev_tools_connected; ++ is_dev_tools_connected_ = true; UpdateAccessibleHasPopup(); UpdateCachedTooltipText(); } diff --git a/patches/ungoogled-chromium/enable-paste-and-go-new-tab-button.patch b/patches/ungoogled-chromium/enable-paste-and-go-new-tab-button.patch index 3976cc1e..158b5818 100644 --- a/patches/ungoogled-chromium/enable-paste-and-go-new-tab-button.patch +++ b/patches/ungoogled-chromium/enable-paste-and-go-new-tab-button.patch @@ -20,7 +20,7 @@ #include "chrome/browser/browser_process.h" #include "chrome/browser/favicon/favicon_utils.h" #include "chrome/browser/resource_coordinator/tab_lifecycle_unit_external.h" -@@ -62,6 +63,8 @@ +@@ -66,6 +67,8 @@ #include "chrome/grit/generated_resources.h" #include "components/feature_engagement/public/feature_constants.h" #include "components/feature_engagement/public/tracker.h" @@ -57,12 +57,12 @@ + void CreateNewTabWithLocation(const std::u16string& loc) override; void OnStartedDragging() override; void OnStoppedDragging() override; - void OnKeyboardFocusedTabChanged(std::optional index) override; + void TabKeyboardFocusChangedTo(const tabs::TabInterface* tab) override; --- a/chrome/browser/ui/views/tabs/tab_strip.cc +++ b/chrome/browser/ui/views/tabs/tab_strip.cc -@@ -86,6 +86,8 @@ +@@ -87,6 +87,8 @@ + #include "components/tab_groups/tab_group_id.h" #include "components/tab_groups/tab_group_visual_data.h" - #include "components/tabs/public/split_tab_id.h" #include "content/public/browser/web_contents.h" +#include "ui/base/clipboard/clipboard.h" +#include "ui/base/clipboard/clipboard_constants.h" @@ -92,7 +92,7 @@ } --- a/chrome/browser/ui/views/tabs/tab_strip_controller.h +++ b/chrome/browser/ui/views/tabs/tab_strip_controller.h -@@ -156,6 +156,11 @@ class TabStripController { +@@ -151,6 +151,11 @@ class TabStripController { // Creates the new tab. virtual void CreateNewTab(NewTabTypes context) = 0; diff --git a/patches/ungoogled-chromium/extensions-manifestv2.patch b/patches/ungoogled-chromium/extensions-manifestv2.patch index 5a8efdaf..a5c9452f 100644 --- a/patches/ungoogled-chromium/extensions-manifestv2.patch +++ b/patches/ungoogled-chromium/extensions-manifestv2.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/extensions/api/developer_private/extension_info_generator.cc +++ b/chrome/browser/extensions/api/developer_private/extension_info_generator.cc -@@ -878,19 +878,6 @@ void ExtensionInfoGenerator::FillExtensi +@@ -860,19 +860,6 @@ void ExtensionInfoGenerator::FillExtensi toolbar_actions_model->IsActionPinned(extension.id()); } @@ -22,7 +22,7 @@ // `CanUploadAsAccountExtension` should already check for the feature flag --- a/chrome/browser/extensions/extension_management.cc +++ b/chrome/browser/extensions/extension_management.cc -@@ -371,31 +371,7 @@ bool ExtensionManagement::IsAllowedManif +@@ -372,31 +372,7 @@ bool ExtensionManagement::IsAllowedManif int manifest_version, const std::string& extension_id, Manifest::Type manifest_type) { @@ -54,7 +54,7 @@ } bool ExtensionManagement::IsAllowedManifestVersion(const Extension* extension) { -@@ -416,26 +392,8 @@ bool ExtensionManagement::IsExemptFromMV +@@ -417,26 +393,8 @@ bool ExtensionManagement::IsExemptFromMV return false; } @@ -122,15 +122,15 @@ // Returns true if the given `stage` is one in which extension enablement should --- a/chrome/browser/ui/webui/extensions/extensions_ui.cc +++ b/chrome/browser/ui/webui/extensions/extensions_ui.cc -@@ -484,7 +484,7 @@ content::WebUIDataSource* CreateAndAddEx +@@ -488,7 +488,7 @@ content::WebUIDataSource* CreateAndAddEx extensions_features::kExtensionsMenuAccessControlWithPermittedSites)); source->AddBoolean( "safetyHubThreeDotDetails", - base::FeatureList::IsEnabled(features::kSafetyHubThreeDotDetails)); + false); + source->AddBoolean("enableGlobalScopedShortcuts", IsGlobalShortcutEnabled()); // MV2 deprecation. - auto* mv2_experiment_manager = ManifestV2ExperimentManager::Get(profile); --- a/extensions/common/extension.cc +++ b/extensions/common/extension.cc @@ -97,13 +97,6 @@ bool IsManifestSupported(int manifest_ve diff --git a/patches/ungoogled-chromium/fix-building-with-prunned-binaries.patch b/patches/ungoogled-chromium/fix-building-with-prunned-binaries.patch index 987d97b7..8bfb73ea 100644 --- a/patches/ungoogled-chromium/fix-building-with-prunned-binaries.patch +++ b/patches/ungoogled-chromium/fix-building-with-prunned-binaries.patch @@ -3,7 +3,7 @@ --- a/chrome/BUILD.gn +++ b/chrome/BUILD.gn -@@ -371,7 +371,6 @@ if (!is_android && !is_mac) { +@@ -372,7 +372,6 @@ if (!is_android && !is_mac) { data_deps += [ "//chrome/browser/resources/media/mei_preload:component", "//chrome/browser/web_applications/isolated_web_apps/key_distribution/preload:component", @@ -11,7 +11,7 @@ "//third_party/widevine/cdm", ] -@@ -936,8 +935,6 @@ if (is_win) { +@@ -935,8 +934,6 @@ if (is_win) { bundle_data("chrome_framework_resources") { sources = [ @@ -20,7 +20,7 @@ # This image is used to badge the lock icon in the # authentication dialogs, such as those used for installation # from disk image and Keystone promotion (if so enabled). It -@@ -1186,7 +1183,6 @@ if (is_win) { +@@ -1184,7 +1181,6 @@ if (is_win) { ":widevine_cdm_library", "//chrome/browser/resources/media/mei_preload:component_bundle", "//chrome/browser/web_applications/isolated_web_apps/key_distribution/preload:component_bundle", @@ -30,7 +30,7 @@ if (is_chrome_branded) { --- a/chrome/browser/BUILD.gn +++ b/chrome/browser/BUILD.gn -@@ -718,10 +718,6 @@ static_library("browser") { +@@ -698,10 +698,6 @@ static_library("browser") { "navigation_predictor/navigation_predictor_metrics_document_data.h", "navigation_predictor/navigation_predictor_preconnect_client.cc", "navigation_predictor/navigation_predictor_preconnect_client.h", @@ -41,7 +41,7 @@ "navigation_predictor/search_engine_preconnector_keyed_service_factory.cc", "navigation_predictor/search_engine_preconnector_keyed_service_factory.h", "net/cert_verifier_service_time_updater.cc", -@@ -3686,10 +3682,6 @@ static_library("browser") { +@@ -3667,10 +3663,6 @@ static_library("browser") { } else { #!is_android sources += [ @@ -52,16 +52,16 @@ "accessibility/caption_bubble_context_browser.h", "accessibility/embedded_a11y_extension_loader.cc", "accessibility/embedded_a11y_extension_loader.h", -@@ -4260,8 +4252,6 @@ static_library("browser") { +@@ -4236,8 +4228,6 @@ static_library("browser") { "//chrome/app:command_ids", "//chrome/app/theme:chrome_unscaled_resources_grit", "//chrome/app/vector_icons", - "//chrome/browser/accessibility/tree_fixing:prefs", - "//chrome/browser/accessibility/tree_fixing:service", "//chrome/browser/actor/ui", + "//chrome/browser/actor/ui:actor_overlay", "//chrome/browser/actor/ui:window_controller_impl", - "//chrome/browser/actor/ui/task_list_bubble:controller", -@@ -4301,10 +4291,6 @@ static_library("browser") { +@@ -4274,10 +4264,6 @@ static_library("browser") { "//chrome/browser/performance_manager/user_tuning", "//chrome/browser/policy:path_parser", "//chrome/browser/resource_coordinator", @@ -72,15 +72,15 @@ "//chrome/browser/sharing_hub", "//chrome/browser/smart_card", "//chrome/browser/themes", -@@ -4382,7 +4368,6 @@ static_library("browser") { +@@ -4354,7 +4340,6 @@ static_library("browser") { + "//chrome/browser/ui/webui:webui_util", "//chrome/browser/ui/webui/access_code_cast", - "//chrome/browser/ui/webui/actor_internals", "//chrome/browser/ui/webui/app_service_internals", - "//chrome/browser/ui/webui/autofill_ml_internals", "//chrome/browser/ui/webui/color_pipeline_internals", "//chrome/browser/ui/webui/commerce", "//chrome/browser/ui/webui/commerce:impl", -@@ -4482,9 +4467,6 @@ static_library("browser") { +@@ -4453,9 +4438,6 @@ static_library("browser") { "//components/webauthn/core/browser", "//components/webauthn/core/browser:passkey_model", "//services/device/public/cpp/hid", @@ -90,7 +90,7 @@ "//third_party/crashpad/crashpad/client:common", "//third_party/zxcvbn-cpp", "//ui/views", -@@ -4678,8 +4660,6 @@ static_library("browser") { +@@ -4646,8 +4628,6 @@ static_library("browser") { sources += [ "accessibility/soda_installer_impl.cc", "accessibility/soda_installer_impl.h", @@ -99,7 +99,7 @@ "download/bubble/download_bubble_accessible_alerts_map.cc", "download/bubble/download_bubble_accessible_alerts_map.h", "download/bubble/download_bubble_display_info.cc", -@@ -4731,8 +4711,6 @@ static_library("browser") { +@@ -4699,8 +4679,6 @@ static_library("browser") { "profiles/profile_activity_metrics_recorder.h", "profiles/profile_list_desktop.cc", "profiles/profile_list_desktop.h", @@ -107,8 +107,8 @@ - "screen_ai/screen_ai_downloader_non_chromeos.h", "signin/force_signin_verifier.cc", "signin/force_signin_verifier.h", - "signin/signin_manager.cc", -@@ -5567,7 +5545,6 @@ static_library("browser") { + ] +@@ -5536,7 +5514,6 @@ static_library("browser") { "//chrome/browser/policy:system_features_disable_list", "//chrome/browser/push_notification", "//chrome/browser/resources:app_icon_resources", @@ -116,7 +116,7 @@ "//chrome/browser/sharesheet", "//chrome/browser/support_tool/ash", "//chrome/browser/ui/ash/accelerator", -@@ -5830,7 +5807,6 @@ static_library("browser") { +@@ -5800,7 +5777,6 @@ static_library("browser") { "//remoting/host/chromeos:browser_interop", "//remoting/host/chromeos:features", "//services/device/public/cpp/geolocation", @@ -138,9 +138,33 @@ - "//services/screen_ai/public/mojom", ] } +--- a/chrome/browser/actor/BUILD.gn ++++ b/chrome/browser/actor/BUILD.gn +@@ -394,8 +394,6 @@ source_set("browser_tests") { + ":tools_test_support", + "ui:event_dispatcher", + "//chrome/browser/affiliations", +- "//chrome/browser/glic", +- "//chrome/browser/glic/test_support", + "//chrome/browser/optimization_guide", + "//chrome/browser/optimization_guide:test_support", + "//chrome/browser/safe_browsing", +--- a/chrome/browser/actor/actor_keyed_service_factory.cc ++++ b/chrome/browser/actor/actor_keyed_service_factory.cc +@@ -15,9 +15,7 @@ namespace actor { + // static + ActorKeyedService* ActorKeyedServiceFactory::GetActorKeyedService( + content::BrowserContext* browser_context) { +- return static_cast( +- GetInstance()->GetServiceForBrowserContext(browser_context, +- /*create=*/true)); ++ return nullptr; + } + + // static --- a/chrome/browser/browser_process_impl.cc +++ b/chrome/browser/browser_process_impl.cc -@@ -250,12 +250,10 @@ void OnLocalStatePrefsLoaded(); +@@ -256,12 +256,10 @@ void OnLocalStatePrefsLoaded(); #if BUILDFLAG(IS_CHROMEOS) #include "chrome/browser/chromeos/extensions/telemetry/chromeos_telemetry_extensions_browser_api_provider.h" #include "chrome/browser/hid/hid_pinned_notification.h" @@ -153,7 +177,7 @@ #include "chrome/browser/usb/usb_status_icon.h" #include "components/enterprise/browser/controller/chrome_browser_cloud_management_controller.h" #endif -@@ -1539,9 +1537,6 @@ void BrowserProcessImpl::PreMainMessageL +@@ -1562,9 +1560,6 @@ void BrowserProcessImpl::PreMainMessageL soda_installer_impl_ = std::make_unique(); #endif // BUILDFLAG(IS_CHROMEOS) @@ -187,16 +211,16 @@ std::unique_ptr platform_part_; --- a/chrome/browser/chrome_browser_interface_binders.cc +++ b/chrome/browser/chrome_browser_interface_binders.cc -@@ -84,8 +84,6 @@ +@@ -85,8 +85,6 @@ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ BUILDFLAG(IS_CHROMEOS) -#include "chrome/browser/screen_ai/screen_ai_service_router.h" -#include "chrome/browser/screen_ai/screen_ai_service_router_factory.h" - #include "chrome/browser/ui/web_applications/sub_apps_service_impl.h" + #include "chrome/browser/web_applications/sub_apps_service_impl.h" #endif -@@ -371,27 +369,6 @@ void BindMediaFoundationPreferences( +@@ -372,27 +370,6 @@ void BindMediaFoundationPreferences( } #endif // BUILDFLAG(IS_WIN) @@ -224,7 +248,7 @@ void BindModelBroker( content::RenderFrameHost* frame_host, -@@ -551,10 +528,6 @@ void PopulateChromeFrameBinders( +@@ -555,10 +532,6 @@ void PopulateChromeFrameBinders( &web_app::SubAppsServiceImpl::CreateIfAllowed); } @@ -237,7 +261,7 @@ #if BUILDFLAG(IS_WIN) --- a/chrome/browser/chrome_browser_interface_binders_webui_parts_desktop.cc +++ b/chrome/browser/chrome_browser_interface_binders_webui_parts_desktop.cc -@@ -488,8 +488,6 @@ void PopulateChromeWebUIFrameBindersPart +@@ -483,8 +483,6 @@ void PopulateChromeWebUIFrameBindersPart ::mojom::app_service_internals::AppServiceInternalsPageHandler, AppServiceInternalsUI>(map); @@ -248,7 +272,7 @@ access_code_cast::mojom::PageHandlerFactory, --- a/chrome/browser/component_updater/registration.cc +++ b/chrome/browser/component_updater/registration.cc -@@ -58,8 +58,6 @@ +@@ -52,8 +52,6 @@ #if BUILDFLAG(IS_ANDROID) #include "chrome/browser/component_updater/real_time_url_checks_allowlist_component_installer.h" @@ -257,9 +281,9 @@ #endif // BUILDFLAG(IS_ANDROID) #if !BUILDFLAG(IS_ANDROID) -@@ -219,9 +217,6 @@ void RegisterComponentsForUpdate() { - // TODO(crbug.com/466086121) - Remove this cleanup code in M153+. - DeleteAutofillStatesComponent(path); +@@ -198,9 +196,6 @@ void RegisterComponentsForUpdate() { + RegisterRealTimeUrlChecksAllowlistComponent(cus); + #endif // BUIDLFLAG(IS_ANDROID) -#if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CHROMEOS) - ManageScreenAIComponentRegistration(cus, g_browser_process->local_state()); @@ -269,7 +293,22 @@ --- a/chrome/browser/contextual_cueing/contextual_cueing_helper.cc +++ b/chrome/browser/contextual_cueing/contextual_cueing_helper.cc -@@ -382,35 +382,6 @@ void ContextualCueingHelper::OnCueingDec +@@ -175,14 +175,6 @@ void ContextualCueingHelper::DidFinishNa + return; + } + +- // Make sure we always clear the nudge label anyway despite operating on +- // pages. +- auto* glic_nudge_controller = GetGlicNudgeController(); +- if (glic_nudge_controller) { +- glic_nudge_controller->UpdateNudgeLabel( +- web_contents(), std::string(), /*prompt_suggestion=*/std::nullopt, +- tabs::GlicNudgeActivity::kNudgeIgnoredNavigation, base::DoNothing()); +- } + + // Do not report page loads for these types of navigations. + if (navigation_handle->IsErrorPage() || +@@ -403,52 +395,6 @@ void ContextualCueingHelper::OnCueingDec return; } @@ -291,20 +330,69 @@ - decision_result->auto_send_params.has_value() && - decision_result->auto_send_params->auto_send_eligible && - !prompt_suggestion.empty(); -- glic_service->ToggleUI( -- browser_window_interface, -- /*prevent_close=*/true, -- glic::mojom::InvocationSource::kAutoOpenedByContextualCue, -- prompt_suggestion.empty() ? std::nullopt -- : std::make_optional(prompt_suggestion), -- auto_send_prompt); +- +- glic::mojom::InvocationSource invocation_source = +- glic::mojom::InvocationSource::kAutoOpenedByContextualCue; +- if (web_contents()->GetContentsMimeType() == pdf::kPDFMimeType && +- base::FeatureList::IsEnabled(features::kAutoOpenGlicForPdf)) { +- invocation_source = glic::mojom::InvocationSource::kAutoOpenedForPdf; +- } +- +- glic_service->ToggleUI(browser_window_interface, +- /*prevent_close=*/true, invocation_source, +- prompt_suggestion.empty() +- ? std::nullopt +- : std::make_optional(prompt_suggestion), +- auto_send_prompt); - return; - } - // Fall through to nudge if side panel open fails. - } +- +- GetGlicNudgeController()->UpdateNudgeLabel( +- web_contents(), cue_label, +- prompt_suggestion.empty() ? std::nullopt +- : std::make_optional(prompt_suggestion), +- /*activity=*/std::nullopt, +- base::BindRepeating(&ContextualCueingService::OnNudgeActivity, +- contextual_cueing_service_->GetWeakPtr(), +- web_contents(), document_available_time, +- decision_result->is_dynamic)); + } - GetGlicNudgeController()->UpdateNudgeLabel( - web_contents(), cue_label, + // static +--- a/chrome/browser/contextual_cueing/contextual_cueing_page_data.cc ++++ b/chrome/browser/contextual_cueing/contextual_cueing_page_data.cc +@@ -116,12 +116,6 @@ void ContextualCueingPageData::FindMatch + : std::nullopt})); + return; + } else if (config.has_cue_label()) { +- std::move(cueing_decision_callback_) +- .Run(base::ok(CueingResult{ +- l10n_util::GetStringUTF8( +- IDS_GLIC_BUTTON_ENTRYPOINT_ASK_ABOUT_THIS_PAGE_LABEL), +- /*prompt_suggestion=*/"", +- /*is_dynamic=*/false, /*auto_open_eligible=*/false})); + return; + } + } else if (decision == kNeedsPdfPageCount) { +--- a/chrome/browser/contextual_tasks/contextual_tasks_side_panel_coordinator.cc ++++ b/chrome/browser/contextual_tasks/contextual_tasks_side_panel_coordinator.cc +@@ -341,14 +341,6 @@ void ContextualTasksSidePanelCoordinator + ObserveWebContentsOnActiveTab(); + NotifyActiveTaskContextProvider(); + +- // Hide the GLIC nudge when the side panel is opened. +- if (auto* glic_nudge_controller = +- browser_window_->GetFeatures().glic_nudge_controller()) { +- glic_nudge_controller->UpdateNudgeLabel( +- active_tab_interface->GetContents(), "", std::nullopt, +- tabs::GlicNudgeActivity::kNudgeIgnoredOpenedContextualTasksSidePanel, +- base::DoNothing()); +- } + } + + void ContextualTasksSidePanelCoordinator::Close() { --- a/chrome/browser/extensions/api/pdf_viewer_private/BUILD.gn +++ b/chrome/browser/extensions/api/pdf_viewer_private/BUILD.gn @@ -18,7 +18,6 @@ source_set("pdf_viewer_private") { @@ -315,8 +403,8 @@ "//chrome/browser/pdf", "//chrome/browser/pdf:pdf_pref_names", "//chrome/browser/profiles:profile", -@@ -48,8 +47,6 @@ source_set("browser_tests") { - # sources = [ "pdf_viewer_private_browsertest.cc" ] +@@ -46,8 +45,6 @@ source_set("browser_tests") { + sources = [ "pdf_viewer_private_browsertest.cc" ] deps = [ ":pdf_viewer_private", - "//chrome/browser/glic", @@ -336,7 +424,7 @@ #include "chrome/browser/pdf/pdf_pref_names.h" #include "chrome/browser/pdf/pdf_viewer_stream_manager.h" #include "chrome/browser/profiles/profile.h" -@@ -306,24 +303,7 @@ ExtensionFunction::ResponseAction PdfVie +@@ -305,24 +302,7 @@ ExtensionFunction::ResponseAction PdfVie return RespondNow(Error("No tab.")); } @@ -361,6 +449,46 @@ } } // namespace extensions +--- a/chrome/browser/glic/public/glic_enabling.cc ++++ b/chrome/browser/glic/public/glic_enabling.cc +@@ -341,35 +341,11 @@ GlicGlobalEnabling::GlicGlobalEnabling(D + GlicGlobalEnabling::~GlicGlobalEnabling() = default; + + bool GlicGlobalEnabling::IsEnabledByFlags() { +- // It is important that this value not change at runtime in production. Any +- // future updates to this function must maintain that property. +- bool is_enabled = base::FeatureList::IsEnabled(features::kGlic) && +- locale_enablement_.value_or(true) && +- country_enablement_.value_or(true); +-#if BUILDFLAG(IS_CHROMEOS) +- static const bool supported_system_requirements = [] { +- constexpr base::ByteCount kMinimumMemoryThreshold = base::GiB(8); +- +- // TODO(b:468055370): Remove the bypassing once the glic is fully launched. +- const bool bypass_cbx_requirement = +- base::FeatureList::IsEnabled( +- chromeos::features::kGlicEnableFor8GbDevices) && +- base::SysInfo::AmountOfPhysicalMemory() >= kMinimumMemoryThreshold; +- +- return (bypass_cbx_requirement || +- base::FeatureList::IsEnabled( +- chromeos::features::kFeatureManagementGlic)); +- }(); +- +- is_enabled = is_enabled && supported_system_requirements; +-#endif // BUILDFLAG(IS_CHROMEOS) +- return is_enabled; ++ return false; + } + + bool GlicEnabling::IsEnabledByFlags() { +- return g_browser_process->GetFeatures() +- ->glic_global_enabling() +- .IsEnabledByFlags(); ++ return false; + } + + bool GlicEnabling::IsProfileEligible(const Profile* profile) { --- a/chrome/browser/navigation_predictor/navigation_predictor.cc +++ b/chrome/browser/navigation_predictor/navigation_predictor.cc @@ -17,8 +17,6 @@ @@ -466,7 +594,7 @@ void NavigationPredictor::SetModelScoreCallbackForTesting( --- a/chrome/browser/password_manager/password_change_delegate_impl.cc +++ b/chrome/browser/password_manager/password_change_delegate_impl.cc -@@ -350,16 +350,6 @@ void PasswordChangeDelegateImpl::StartPa +@@ -339,16 +339,6 @@ void PasswordChangeDelegateImpl::StartPa base::BindRepeating(&PasswordChangeDelegateImpl::OnLoginStateCheckResult, weak_ptr_factory_.GetWeakPtr())); @@ -495,7 +623,7 @@ "//chrome/browser/resources/pdf:resources", --- a/chrome/browser/pdf/pdf_extension_util.cc +++ b/chrome/browser/pdf/pdf_extension_util.cc -@@ -126,7 +126,6 @@ base::Value::Dict GetPdfViewerStrings() +@@ -128,7 +128,6 @@ base::DictValue GetPdfViewerStrings() { {"rotationStateLabel90", IDS_PDF_ROTATION_STATE_LABEL_90}, {"rotationStateLabel180", IDS_PDF_ROTATION_STATE_LABEL_180}, {"rotationStateLabel270", IDS_PDF_ROTATION_STATE_LABEL_270}, @@ -526,7 +654,7 @@ #include "chrome/browser/permissions/pref_based_quiet_permission_ui_selector.h" #include "chrome/browser/permissions/quiet_notification_permission_ui_config.h" #include "chrome/browser/permissions/system/system_permission_settings.h" -@@ -475,8 +474,6 @@ ChromePermissionsClient::CreatePermissio +@@ -477,8 +476,6 @@ ChromePermissionsClient::CreatePermissio #endif selectors.emplace_back(std::make_unique( Profile::FromBrowserContext(browser_context))); @@ -535,7 +663,7 @@ return selectors; } -@@ -497,8 +494,6 @@ void ChromePermissionsClient::OnPromptRe +@@ -500,8 +497,6 @@ void ChromePermissionsClient::OnPromptRe Profile* profile = Profile::FromBrowserContext(web_contents->GetBrowserContext()); @@ -578,8 +706,8 @@ model_data.request_metadata.request_type; --- a/chrome/browser/prefs/BUILD.gn +++ b/chrome/browser/prefs/BUILD.gn -@@ -311,7 +311,6 @@ source_set("impl") { - "//chrome/browser/contextual_cueing", +@@ -312,7 +312,6 @@ source_set("impl") { + "//chrome/browser/actor/ui", "//chrome/browser/device_identity", "//chrome/browser/promos:utils", - "//chrome/browser/screen_ai:prefs", @@ -588,7 +716,7 @@ "//chrome/browser/sharing_hub", --- a/chrome/browser/prefs/browser_prefs.cc +++ b/chrome/browser/prefs/browser_prefs.cc -@@ -1572,9 +1572,6 @@ void RegisterLocalState(PrefRegistrySimp +@@ -1622,9 +1622,6 @@ void RegisterLocalState(PrefRegistrySimp DeviceOAuth2TokenStoreDesktop::RegisterPrefs(registry); #endif @@ -600,15 +728,15 @@ PlatformAuthPolicyObserver::RegisterPrefs(registry); --- a/chrome/browser/profiles/BUILD.gn +++ b/chrome/browser/profiles/BUILD.gn -@@ -380,7 +380,6 @@ source_set("profiles_extra_parts_impl") +@@ -384,7 +384,6 @@ source_set("profiles_extra_parts_impl") ] } else { deps += [ - "//chrome/browser/accessibility/tree_fixing:service", + "//chrome/browser/accessibility_annotator/content_annotator", "//chrome/browser/apps/app_service", "//chrome/browser/autofill", - "//chrome/browser/badging", -@@ -392,7 +391,6 @@ source_set("profiles_extra_parts_impl") +@@ -396,7 +395,6 @@ source_set("profiles_extra_parts_impl") "//chrome/browser/hid", "//chrome/browser/legion", "//chrome/browser/media/router/discovery/access_code:access_code_sink_service", @@ -618,7 +746,7 @@ "//chrome/browser/themes", --- a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc +++ b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc -@@ -111,7 +111,6 @@ +@@ -112,7 +112,6 @@ #include "chrome/browser/media/webrtc/webrtc_event_log_manager_keyed_service_factory.h" #include "chrome/browser/metrics/variations/google_groups_manager_factory.h" #include "chrome/browser/navigation_predictor/navigation_predictor_keyed_service_factory.h" @@ -634,7 +762,7 @@ #include "chrome/browser/search/instant_service_factory.h" #include "chrome/browser/search_engine_choice/search_engine_choice_dialog_service_factory.h" #include "chrome/browser/speech/speech_recognition_client_browser_interface_factory.h" -@@ -1066,7 +1064,6 @@ void ChromeBrowserMainExtraPartsProfiles +@@ -1079,7 +1077,6 @@ void ChromeBrowserMainExtraPartsProfiles #if BUILDFLAG(CHROME_ROOT_STORE_CERT_MANAGEMENT_UI) net::ServerCertificateDatabaseServiceFactory::GetInstance(); #endif @@ -642,7 +770,7 @@ #if BUILDFLAG(ENABLE_DICE_SUPPORT) HistorySyncOptinServiceFactory::GetInstance(); ProfileManagementDisclaimerServiceFactory::GetInstance(); -@@ -1115,9 +1112,6 @@ void ChromeBrowserMainExtraPartsProfiles +@@ -1128,9 +1125,6 @@ void ChromeBrowserMainExtraPartsProfiles OneGoogleBarServiceFactory::GetInstance(); OneTimePermissionsTrackerFactory::GetInstance(); #endif @@ -652,7 +780,7 @@ OptimizationGuideKeyedServiceFactory::GetInstance(); OriginKeyedPermissionActionServiceFactory::GetInstance(); OriginTrialsFactory::GetInstance(); -@@ -1203,7 +1197,6 @@ void ChromeBrowserMainExtraPartsProfiles +@@ -1216,7 +1210,6 @@ void ChromeBrowserMainExtraPartsProfiles #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) policy::UserPolicyOidcSigninServiceFactory::GetInstance(); #endif @@ -660,7 +788,7 @@ PredictionServiceFactory::GetInstance(); predictors::AutocompleteActionPredictorFactory::GetInstance(); predictors::LoadingPredictorFactory::GetInstance(); -@@ -1282,10 +1275,6 @@ void ChromeBrowserMainExtraPartsProfiles +@@ -1296,10 +1289,6 @@ void ChromeBrowserMainExtraPartsProfiles SafetyHubMenuNotificationServiceFactory::GetInstance(); #if !BUILDFLAG(IS_ANDROID) SafetyHubHatsServiceFactory::GetInstance(); @@ -671,7 +799,7 @@ #endif #if BUILDFLAG(IS_CHROMEOS) if (ash::features::IsScannerEnabled()) { -@@ -1407,7 +1396,6 @@ void ChromeBrowserMainExtraPartsProfiles +@@ -1418,7 +1407,6 @@ void ChromeBrowserMainExtraPartsProfiles TopSitesFactory::GetInstance(); translate::TranslateRankerFactory::GetInstance(); #if !BUILDFLAG(IS_ANDROID) @@ -695,7 +823,7 @@ // System Profile. --- a/chrome/browser/profiles/profile_impl.cc +++ b/chrome/browser/profiles/profile_impl.cc -@@ -842,11 +842,6 @@ void ProfileImpl::DoFinalInit(CreateMode +@@ -847,11 +847,6 @@ void ProfileImpl::DoFinalInit(CreateMode // The password settings service needs to start listening to settings // changes from Google Mobile Services, as early as possible. PasswordManagerSettingsServiceFactory::GetForProfile(this); @@ -709,7 +837,7 @@ // The announcement notification service might not be available for some --- a/chrome/browser/profiles/profile_manager.cc +++ b/chrome/browser/profiles/profile_manager.cc -@@ -52,7 +52,6 @@ +@@ -51,7 +51,6 @@ #include "chrome/browser/buildflags.h" #include "chrome/browser/lifetime/application_lifetime.h" #include "chrome/browser/navigation_predictor/navigation_predictor_keyed_service_factory.h" @@ -717,7 +845,7 @@ #include "chrome/browser/prefs/incognito_mode_prefs.h" #include "chrome/browser/profiles/delete_profile_helper.h" #include "chrome/browser/profiles/keep_alive/profile_keep_alive_types.h" -@@ -1582,9 +1581,6 @@ void ProfileManager::DoFinalInitForServi +@@ -1593,9 +1592,6 @@ void ProfileManager::DoFinalInitForServi // Ensure NavigationPredictorKeyedService is started. NavigationPredictorKeyedServiceFactory::GetForProfile(profile); @@ -729,7 +857,7 @@ #if BUILDFLAG(IS_ANDROID) --- a/chrome/browser/resources/BUILD.gn +++ b/chrome/browser/resources/BUILD.gn -@@ -113,7 +113,6 @@ group("resources") { +@@ -112,7 +112,6 @@ group("resources") { public_deps += [ "unexportable_keys_internals:resources", "//chrome/browser/resources/media/mei_preload:component", @@ -750,9 +878,32 @@ ${this.showErrorDialog ? html` +--- a/chrome/browser/skills/BUILD.gn ++++ b/chrome/browser/skills/BUILD.gn +@@ -50,11 +50,7 @@ source_set("public") { + source_set("ui") { + sources = [ + "skills_dialog_launcher.cc", +- "skills_ui_tab_controller.cc", +- "skills_ui_tab_controller.h", + "skills_ui_window_controller.cc", +- "skills_update_observer.cc", +- "skills_update_observer.h", + ] + + public_deps = [ --- a/chrome/browser/ui/BUILD.gn +++ b/chrome/browser/ui/BUILD.gn -@@ -1508,8 +1508,6 @@ static_library("ui") { +@@ -1462,8 +1462,6 @@ static_library("ui") { + "//chrome/browser/ui/shared_highlighting", + "//chrome/browser/ui/tab_sharing", + "//chrome/browser/ui/tab_sharing:impl", +- "//chrome/browser/ui/tabs:glic", +- "//chrome/browser/ui/tabs:glic_impl", + "//chrome/browser/ui/tabs/organization", + "//chrome/browser/ui/tabs/organization:impl", + "//chrome/browser/ui/tabs/saved_tab_groups", +@@ -1503,8 +1501,6 @@ static_library("ui") { "//chrome/browser/regional_capabilities", "//chrome/browser/safe_browsing", "//chrome/browser/safe_browsing:advanced_protection", @@ -761,7 +912,17 @@ "//chrome/browser/smart_card", "//chrome/browser/tab_group_sync:utils", "//chrome/browser/themes", -@@ -2286,7 +2284,6 @@ static_library("ui") { +@@ -1824,9 +1820,6 @@ static_library("ui") { + # or get componentized: c/b/ui/browser_dialogs.h, browser_navigation.h, browser.h. + "//chrome/browser/ui/sync:impl", + +- # TODO(crbug.com/364501603): Remove this circular dependency when +- # c/b/ui/views/tabs/tab_strip_action_container.h gets componentized. +- "//chrome/browser/ui/tabs:glic_impl", + + # TODO(crbug.com/438226511): Remove this circular dependency when the following headers + # get componentized: +@@ -2288,7 +2281,6 @@ static_library("ui") { "//chrome/browser/policy:onc", "//chrome/browser/policy:system_features_disable_list", "//chrome/browser/push_notification", @@ -769,7 +930,7 @@ "//chrome/browser/ui/ash/accessibility", "//chrome/browser/ui/ash/app_access", "//chrome/browser/ui/ash/arc", -@@ -4784,7 +4781,6 @@ static_library("ui") { +@@ -4794,7 +4786,6 @@ static_library("ui") { "//chrome/browser/ui/waap:waap_utils", "//chrome/browser/ui/webauthn:impl", "//chrome/browser/ui/webui/app_service_internals", @@ -881,9 +1042,266 @@ "//components/safe_browsing/core/browser:safe_browsing_metrics_collector", "//components/safe_browsing/core/browser/db:database_manager", "//components/safety_check:features", +--- a/chrome/browser/ui/tab_search_feature.cc ++++ b/chrome/browser/ui/tab_search_feature.cc +@@ -12,6 +12,6 @@ namespace features { + bool HasTabSearchToolbarButton() { + // It is important that this value not change at runtime in production. Any + // future updates to this function must maintain that property. +- return glic::GlicEnabling::IsEnabledByFlags(); ++ return true; + } + } // namespace features +--- a/chrome/browser/ui/tabs/alert/tab_alert_controller.cc ++++ b/chrome/browser/ui/tabs/alert/tab_alert_controller.cc +@@ -178,7 +178,6 @@ std::u16string TabAlertController::GetTa + case TabAlert::kActorWaitingOnUser: + return l10n_util::GetStringUTF16( + IDS_TOOLTIP_TAB_ALERT_STATE_ACTOR_ACCESSING); +- case TabAlert::kGlicAccessing: + #if BUILDFLAG(ENABLE_GLIC) + return l10n_util::GetStringUTF16( + IDS_TOOLTIP_TAB_ALERT_STATE_GLIC_ACCESSING); +--- a/chrome/browser/ui/tabs/tab_features.cc ++++ b/chrome/browser/ui/tabs/tab_features.cc +@@ -366,23 +366,6 @@ void TabFeatures::Init(TabInterface& tab + tab, &tab, side_panel_registry_.get()); + } + #endif // BUILDFLAG(ENABLE_GLIC) +- // TODO(crbug.com/433973411): Move this logic to a helper function. +- if (base::FeatureList::IsEnabled(features::kGlicActorUi) && +- profile->IsRegularProfile()) { +- // The associated tab is passed to CreateInstance twice: for dependency +- // injection callbacks and as a direct constructor argument. +- actor_ui_tab_controller_ = +- GetUserDataFactory().CreateInstance( +- tab, tab, actor::ActorKeyedService::Get(profile)); +- } +- actor_tab_data_ = +- GetUserDataFactory().CreateInstance(tab, &tab); +- +- if (base::FeatureList::IsEnabled(features::kSkillsEnabled)) { +- skills_ui_tab_controller_ = +- GetUserDataFactory().CreateInstance( +- tab, tab); +- } + } // IsInNormalWindow() end. + + // This block instantiates the page action controllers that depends on the +--- a/chrome/browser/ui/tabs/tab_strip_api/converters/tab_converters.cc ++++ b/chrome/browser/ui/tabs/tab_strip_api/converters/tab_converters.cc +@@ -203,10 +203,6 @@ tabs::TabAlert FromMojo(mojom::AlertStat + return tabs::TabAlert::kAudioRecording; + case mojom::AlertState::kVideoRecording: + return tabs::TabAlert::kVideoRecording; +- case mojom::AlertState::kGlicAccessing: +- return tabs::TabAlert::kGlicAccessing; +- case mojom::AlertState::kGlicSharing: +- return tabs::TabAlert::kGlicSharing; + case mojom::AlertState::kActorAccessing: + return tabs::TabAlert::kActorAccessing; + case mojom::AlertState::kActorWaitingOnUser: +--- a/chrome/browser/ui/views/glic/glic_button_interface.h ++++ b/chrome/browser/ui/views/glic/glic_button_interface.h +@@ -18,13 +18,7 @@ namespace glic { + class GlicButtonInterface { + public: + static views::LabelButton* FromBrowser(BrowserWindowInterface* browser) { +- if (!browser) { + return nullptr; +- } +- +- BrowserView* browser_view = BrowserView::GetBrowserViewForBrowser(browser); +- CHECK(browser_view); +- return browser_view->GetGlicButton(); + } + }; + } // namespace glic +--- a/chrome/browser/ui/views/tabs/tab_strip_action_container.cc ++++ b/chrome/browser/ui/views/tabs/tab_strip_action_container.cc +@@ -532,41 +532,6 @@ void TabStripActionContainer::OnGlicActo + + #endif // BUILDFLAG(ENABLE_GLIC) + +-void TabStripActionContainer::OnTriggerGlicNudgeUI(std::string label) { +-#if BUILDFLAG(ENABLE_GLIC) +- if (GetIsShowingGlicActorTaskIconNudge()) { +- return; +- } +- +- CHECK(glic_button_); +- if (!label.empty()) { +- glic_button_->SetNudgeLabel(std::move(label)); +- ShowTabStripNudge(glic_button_); +- } +- +-#else +- NOTREACHED(); +-#endif // BUILDFLAG(ENABLE_GLIC) +-} +- +-void TabStripActionContainer::OnHideGlicNudgeUI() { +-#if BUILDFLAG(ENABLE_GLIC) +- +- CHECK(glic_button_); +- HideTabStripNudge(glic_button_); +- +-#else +- NOTREACHED(); +-#endif // BUILDFLAG(ENABLE_GLIC) +-} +- +-bool TabStripActionContainer::GetIsShowingGlicNudge() { +-#if BUILDFLAG(ENABLE_GLIC) +- return glic_button_ && glic_button_->GetIsShowingNudge(); +-#else +- return false; +-#endif // BUILDFLAG(ENABLE_GLIC) +-} + + #if BUILDFLAG(ENABLE_GLIC) + views::FlexLayoutView* TabStripActionContainer::glic_actor_button_container() { +@@ -670,23 +635,6 @@ void TabStripActionContainer::HideGlicAc + } + + void TabStripActionContainer::FinalizeHideGlicActorTaskIcon() { +- // 1. Reset Nudge State +- if (glic_actor_task_icon_->GetIsShowingNudge()) { +- if (animation_session_ && +- animation_session_->button() == glic_actor_task_icon_) { +- animation_session_.reset(); +- } +- glic_actor_task_icon_->SetIsShowingNudge(false); +- } +- glic_actor_task_icon_->SetVisible(false); +- glic_actor_task_icon_->SetTaskIconToDefault(); +- glic_button_ = AddChildView(std::move(glic_button_)); +- glic_actor_button_container_->SetVisible(false); +- glic_button_->Expand(); +- glic_button_->ResetSplitButtonCornerStyling(); +- // Reset the animation mode for the next time the icon is shown. +- glic_actor_task_icon_->SetAnimationMode(TaskIconAnimationMode::kEntry); +- UpdateGlicActorButtonContainerBorders(); + #if !BUILDFLAG(IS_MAC) + // Re-add the separator so it's ordered after the GlicButton. + separator_ = AddChildView(std::move(separator_)); +--- a/chrome/browser/ui/views/tabs/tab_strip_action_container.h ++++ b/chrome/browser/ui/views/tabs/tab_strip_action_container.h +@@ -9,7 +9,6 @@ + #include "chrome/browser/glic/browser_ui/glic_button_controller_delegate.h" + #include "chrome/browser/ui/tabs/glic_nudge_controller.h" + #include "chrome/browser/ui/tabs/glic_nudge_delegate.h" +-#include "chrome/browser/ui/views/glic/glic_button.h" + #include "chrome/browser/ui/views/glic/glic_button_interface.h" + #include "chrome/browser/ui/views/tabs/glic/glic_actor_task_icon.h" + #include "chrome/browser/ui/views/tabs/glic/tab_strip_glic_button.h" +@@ -35,7 +34,6 @@ class GlicAndActorButtonsContainer; + class TabStripActionContainer : public views::View, + public views::AnimationDelegateViews, + public views::MouseWatcherListener, +- public GlicNudgeDelegate, + public glic::GlicButtonControllerDelegate { + METADATA_HEADER(TabStripActionContainer, views::View) + +@@ -109,10 +107,6 @@ class TabStripActionContainer : public v + // views::MouseWatcherListener: + void MouseMovedOutOfHost() override; + +- // GlicNudgeDelegate: +- void OnTriggerGlicNudgeUI(std::string label) override; +- void OnHideGlicNudgeUI() override; +- bool GetIsShowingGlicNudge() override; + + // GlicButtonControllerDelegate: + void SetGlicShowState(bool show) override; +--- a/chrome/browser/ui/views/toolbar/BUILD.gn ++++ b/chrome/browser/ui/views/toolbar/BUILD.gn +@@ -34,7 +34,6 @@ source_set("toolbar") { + "toolbar_button_menu_highlighter.h", + "toolbar_chip_button.h", + "toolbar_controller.h", +- "toolbar_glic_button.h", + "toolbar_icon_container_view.h", + "toolbar_ink_drop_util.h", + "toolbar_view.h", +@@ -46,7 +45,6 @@ source_set("toolbar") { + public_deps = [ + "//base", + "//build:buildflag_header_h", +- "//chrome/browser/glic", + "//chrome/browser/ui:browser_element_identifiers", + "//chrome/browser/ui/browser_window", + "//chrome/browser/ui/color:color_headers", +@@ -58,7 +56,6 @@ source_set("toolbar") { + "//chrome/browser/ui/views", + "//chrome/browser/ui/views/frame", + "//chrome/browser/ui/views/frame:toolbar_button_provider", +- "//chrome/browser/ui/views/glic", + "//chrome/browser/ui/views/location_bar", + "//chrome/browser/ui/webui/webui_toolbar", + "//components/bookmarks/browser", +@@ -114,7 +111,6 @@ source_set("impl") { + "toolbar_button_menu_highlighter.cc", + "toolbar_chip_button.cc", + "toolbar_controller.cc", +- "toolbar_glic_button.cc", + "toolbar_icon_container_view.cc", + "toolbar_ink_drop_util.cc", + "toolbar_view.cc", +@@ -176,12 +172,10 @@ source_set("impl") { + "//chrome/browser/ui/views/contextual_tasks", + "//chrome/browser/ui/views/download", + "//chrome/browser/ui/views/frame:toolbar_button_provider", +- "//chrome/browser/ui/views/glic", + "//chrome/browser/ui/views/interaction", + "//chrome/browser/ui/views/page_action", + "//chrome/browser/ui/views/side_panel", + "//chrome/browser/ui/views/side_panel:side_panel_enums", +- "//chrome/browser/ui/views/tabs/glic", + "//chrome/browser/ui/waap", + "//chrome/browser/ui/waap:window_metrics_manager", + "//chrome/browser/ui/web_applications", +--- a/chrome/browser/ui/views/toolbar/toolbar_view.cc ++++ b/chrome/browser/ui/views/toolbar/toolbar_view.cc +@@ -23,7 +23,6 @@ + #include "chrome/app/chrome_command_ids.h" + #include "chrome/browser/command_updater.h" + #include "chrome/browser/glic/public/glic_enabling.h" +-#include "chrome/browser/glic/public/glic_keyed_service.h" + #include "chrome/browser/glic/public/glic_keyed_service_factory.h" + #include "chrome/browser/media/router/media_router_feature.h" + #include "chrome/browser/performance_manager/public/user_tuning/user_tuning_utils.h" +@@ -88,7 +87,6 @@ + #include "chrome/browser/ui/views/toolbar/split_tabs_button.h" + #include "chrome/browser/ui/views/toolbar/toolbar_button.h" + #include "chrome/browser/ui/views/toolbar/toolbar_controller.h" +-#include "chrome/browser/ui/views/toolbar/toolbar_glic_button.h" + #include "chrome/browser/ui/views/toolbar/webui_toolbar_web_view.h" + #include "chrome/browser/ui/views/zoom/zoom_view_controller.h" + #include "chrome/browser/ui/waap/initial_webui_window_metrics_manager.h" +@@ -517,7 +515,6 @@ void ToolbarView::Init() { + void ToolbarView::OnVerticalTabStripModeChanged( + tabs::VerticalTabStripStateController* controller) { + should_display_vertical_tabs_ = controller->ShouldDisplayVerticalTabs(); +- UpdateGlicButtonVisibility(); + } + + #if BUILDFLAG(ENABLE_GLIC) +@@ -663,6 +660,11 @@ void ToolbarView::SetGlicPanelIsOpen(boo + + glic_button_->SetGlicPanelIsOpen(open); + } ++#else ++void ToolbarView::SetGlicShowState(bool show) { ++} ++void ToolbarView::SetGlicPanelIsOpen(bool open) { ++} + #endif // ENABLE_GLIC + + void ToolbarView::AnimationEnded(const gfx::Animation* animation) { --- a/chrome/browser/ui/views/user_education/browser_user_education_service.cc +++ b/chrome/browser/ui/views/user_education/browser_user_education_service.cc -@@ -856,40 +856,6 @@ void MaybeRegisterChromeFeaturePromos( +@@ -855,40 +855,6 @@ void MaybeRegisterChromeFeaturePromos( "Triggered when the PDF Viewer opens."))); #endif @@ -926,9 +1344,9 @@ registry.RegisterFeature(std::move( --- a/chrome/browser/ui/webui/BUILD.gn +++ b/chrome/browser/ui/webui/BUILD.gn -@@ -69,7 +69,6 @@ source_set("configs") { +@@ -75,7 +75,6 @@ source_set("configs") { + "//chrome/browser/contextual_tasks:ui", "//chrome/browser/ui/webui/access_code_cast", - "//chrome/browser/ui/webui/actor_internals", "//chrome/browser/ui/webui/app_service_internals", - "//chrome/browser/ui/webui/autofill_ml_internals", "//chrome/browser/ui/webui/color_pipeline_internals", @@ -936,9 +1354,9 @@ "//chrome/browser/ui/webui/legion_internals", --- a/chrome/browser/ui/webui/chrome_web_ui_configs.cc +++ b/chrome/browser/ui/webui/chrome_web_ui_configs.cc -@@ -306,7 +306,6 @@ void RegisterChromeWebUIConfigs() { +@@ -315,7 +315,6 @@ void RegisterChromeWebUIConfigs() { + #endif // BUILDFLAG(GOOGLE_CHROME_BRANDING) map.AddWebUIConfig(std::make_unique()); - map.AddWebUIConfig(std::make_unique()); map.AddWebUIConfig(std::make_unique()); - map.AddWebUIConfig(std::make_unique()); map.AddWebUIConfig(std::make_unique()); @@ -994,7 +1412,7 @@ -} - -void AccessibilityMainHandler::HandleGetScreenAIInstallState( -- const base::Value::List& args) { +- const base::ListValue& args) { - CHECK_EQ(1U, args.size()); - const base::Value& callback_id = args[0]; - AllowJavascript(); @@ -1027,7 +1445,7 @@ - void StateChanged(screen_ai::ScreenAIInstallState::State state) override; private: - void HandleGetScreenReaderState(const base::Value::List& args); + void HandleGetScreenReaderState(const base::ListValue& args); @@ -51,9 +47,6 @@ class AccessibilityMainHandler base::CallbackListSubscription accessibility_subscription_; #endif // BUILDFLAG(IS_CHROMEOS) @@ -1049,7 +1467,7 @@ #include "chrome/browser/speech/extension_api/tts_engine_extension_api.h" #include "chrome/browser/translate/chrome_translate_client.h" #include "chrome/browser/ui/browser.h" -@@ -402,14 +400,6 @@ ReadAnythingUntrustedPageHandler::ReadAn +@@ -406,14 +404,6 @@ ReadAnythingUntrustedPageHandler::ReadAn prefs_lang = language::ExtractBaseLanguage(prefs_lang); SetDefaultLanguageCode(prefs_lang); @@ -1064,20 +1482,47 @@ if (features::IsReadAnythingWithReadabilityEnabled()) { // Set the JavaScript world ID. +--- a/chrome/browser/ui/webui/tab_search/tab_search_page_handler.cc ++++ b/chrome/browser/ui/webui/tab_search/tab_search_page_handler.cc +@@ -1499,8 +1499,7 @@ tab_search::mojom::TabPtr TabSearchPageH + alert == tabs::TabAlert::kAudioRecording || + alert == tabs::TabAlert::kVideoRecording || + alert == tabs::TabAlert::kAudioPlaying || +- alert == tabs::TabAlert::kAudioMuting || +- alert == tabs::TabAlert::kGlicAccessing; ++ alert == tabs::TabAlert::kAudioMuting; + }); + + return tab_data; +--- a/chrome/browser/ui/webui/tabs/tabs_mojom_traits.cc ++++ b/chrome/browser/ui/webui/tabs/tabs_mojom_traits.cc +@@ -141,12 +141,6 @@ bool EnumTraits forms; std::vector regex_predictions; @@ -1276,7 +1721,7 @@ GeoIpCountryCode country_code; LanguageCode current_page_language; std::unique_ptr log_manager; -@@ -914,12 +912,6 @@ void AutofillManager::UpdateFormCache( +@@ -1046,12 +1044,6 @@ void AutofillManager::UpdateFormCache( auto apply_predictions = [](FormStructure& form_structure, const AsyncContext& context, size_t i) { @@ -1289,7 +1734,7 @@ if (!context.regex_predictions.empty()) { context.regex_predictions[i].ApplyTo(form_structure.fields()); } -@@ -1035,26 +1027,6 @@ void AutofillManager::LogCurrentFieldTyp +@@ -1169,26 +1161,6 @@ void AutofillManager::LogCurrentFieldTyp void AutofillManager::SubscribeToMlModelChanges( FieldClassificationModelHandler& handler) { @@ -1359,7 +1804,7 @@ fuzzer_test("update_client_protocol_serializer_fuzzer") { --- a/content/shell/BUILD.gn +++ b/content/shell/BUILD.gn -@@ -837,10 +837,6 @@ if (is_apple) { +@@ -849,10 +849,6 @@ if (is_apple) { deps = [ "//third_party/icu:icudata" ] } @@ -1459,7 +1904,7 @@ } --- a/third_party/devtools-frontend/src/front_end/BUILD.gn +++ b/third_party/devtools-frontend/src/front_end/BUILD.gn -@@ -211,7 +211,6 @@ group("unittests") { +@@ -213,7 +213,6 @@ group("unittests") { "panels/timeline:unittests", "panels/timeline/components:unittests", "panels/timeline/components/insights:unittests", diff --git a/patches/ungoogled-chromium/fix-building-without-safebrowsing.patch b/patches/ungoogled-chromium/fix-building-without-safebrowsing.patch index 63734084..525bfa0e 100644 --- a/patches/ungoogled-chromium/fix-building-without-safebrowsing.patch +++ b/patches/ungoogled-chromium/fix-building-without-safebrowsing.patch @@ -2,7 +2,7 @@ --- a/chrome/browser/BUILD.gn +++ b/chrome/browser/BUILD.gn -@@ -561,8 +561,6 @@ static_library("browser") { +@@ -552,8 +552,6 @@ static_library("browser") { "idle/idle_detection_permission_context.h", "interstitials/chrome_settings_page_helper.cc", "interstitials/chrome_settings_page_helper.h", @@ -10,8 +10,8 @@ - "interstitials/enterprise_util.h", "invalidation/profile_invalidation_provider_factory.cc", "invalidation/profile_invalidation_provider_factory.h", - "k_anonymity_service/k_anonymity_service_client.cc", -@@ -2332,7 +2330,6 @@ static_library("browser") { + "k_anonymity_service/k_anonymity_service_factory.cc", +@@ -2314,7 +2312,6 @@ static_library("browser") { "//components/resources", "//components/safe_browsing/content/browser", "//components/safe_browsing/content/browser:safe_browsing_service", @@ -19,7 +19,7 @@ "//components/safe_browsing/content/browser/password_protection", "//components/safe_browsing/content/browser/web_ui", "//components/safe_browsing/content/common/proto:download_file_types_proto", -@@ -3944,10 +3941,6 @@ static_library("browser") { +@@ -3920,10 +3917,6 @@ static_library("browser") { "new_tab_page/modules/modules_switches.h", "new_tab_page/modules/new_tab_page_modules.cc", "new_tab_page/modules/new_tab_page_modules.h", @@ -30,15 +30,15 @@ "new_tab_page/modules/v2/authentication/microsoft_auth_page_handler.cc", "new_tab_page/modules/v2/authentication/microsoft_auth_page_handler.h", "new_tab_page/modules/v2/calendar/calendar_fake_data_helper.cc", -@@ -8610,7 +8603,6 @@ static_library("browser_generated_files" - "//chrome/browser/new_tab_page/chrome_colors:generate_chrome_colors_info", - "//chrome/browser/new_tab_page/chrome_colors:generate_colors_info", +@@ -8602,7 +8595,6 @@ static_library("browser_generated_files" + public_deps += [ + "//chrome/browser/lens/core/mojom:mojo_bindings", "//chrome/browser/new_tab_page/modules/file_suggestion:mojo_bindings", - "//chrome/browser/new_tab_page/modules/safe_browsing:mojo_bindings", "//chrome/browser/new_tab_page/modules/v2/authentication:mojo_bindings", "//chrome/browser/new_tab_page/modules/v2/calendar:mojo_bindings", "//chrome/browser/new_tab_page/modules/v2/most_relevant_tab_resumption:mojo_bindings", -@@ -9077,8 +9069,6 @@ static_library("test_support") { +@@ -9075,8 +9067,6 @@ static_library("test_support") { "//components/reporting/util:status", "//components/reporting/util:status_macros", "//components/reporting/util:task_runner_context", @@ -84,7 +84,7 @@ #include "content/public/browser/download_item_utils.h" #include "content/public/browser/download_manager.h" -@@ -278,14 +277,6 @@ void DownloadBubbleUIController::Process +@@ -274,14 +273,6 @@ void DownloadBubbleUIController::Process switch (command) { case DownloadCommands::KEEP: case DownloadCommands::DISCARD: { @@ -109,7 +109,7 @@ using ConnectionType = net::NetworkChangeNotifier::ConnectionType; #if BUILDFLAG(SAFE_BROWSING_DOWNLOAD_PROTECTION) -@@ -1982,7 +1981,6 @@ void ChromeDownloadManagerDelegate::OnDo +@@ -1989,7 +1988,6 @@ void ChromeDownloadManagerDelegate::OnDo DownloadItemModel model(item); model.DetermineAndSetShouldPreferOpeningInBrowser( target_info.target_path, target_info.is_filetype_handled_safely); @@ -117,7 +117,7 @@ } if (ShouldBlockFile(item, target_info.danger_type)) { MaybeReportDangerousDownloadBlocked( -@@ -2063,49 +2061,20 @@ bool ChromeDownloadManagerDelegate::IsOp +@@ -2070,49 +2068,20 @@ bool ChromeDownloadManagerDelegate::IsOp bool ChromeDownloadManagerDelegate::ShouldBlockFile( download::DownloadItem* item, download::DownloadDangerType danger_type) const { @@ -173,7 +173,7 @@ << static_cast(download_restriction); --- a/chrome/browser/download/download_target_determiner.cc +++ b/chrome/browser/download/download_target_determiner.cc -@@ -1264,14 +1264,7 @@ DownloadFileType::DangerLevel DownloadTa +@@ -1265,14 +1265,7 @@ DownloadFileType::DangerLevel DownloadTa std::optional DownloadTargetDeterminer::GetLastDownloadBypassTimestamp() const { @@ -332,7 +332,7 @@ std::u16string ContentAnalysisDownloadsDelegate::GetBypassJustificationLabel() --- a/chrome/browser/enterprise/connectors/analysis/files_request_handler.cc +++ b/chrome/browser/enterprise/connectors/analysis/files_request_handler.cc -@@ -171,70 +171,12 @@ void FilesRequestHandler::FileRequestCal +@@ -174,63 +174,12 @@ void FilesRequestHandler::FileRequestCal } bool FilesRequestHandler::UploadDataImpl() { @@ -353,17 +353,10 @@ - base::BindOnce(&FilesRequestHandler::CreateFileOpeningJob, - weak_ptr_factory_.GetWeakPtr(), std::move(tasks))); - -- switch (AccessPointToEnterpriseConnector(access_point_)) { -- case enterprise_connectors::FILE_ATTACHED: -- base::UmaHistogramCustomCounts(kFileAttachCount, paths_.size(), 1, 1000, -- 100); -- break; -- case enterprise_connectors::FILE_TRANSFER: -- base::UmaHistogramCustomCounts(kFileTransferCount, paths_.size(), 1, -- 1000, 100); -- break; -- default: -- break; +- if (auto prefix = AccessPointToUmaHistogramPrefix(access_point_); +- !prefix.empty()) { +- base::UmaHistogramCustomCounts(prefix + ".FileCount", paths_.size(), 1, +- 1000, 100); - } - - return true; @@ -403,7 +396,7 @@ void FilesRequestHandler::OnGotFileInfo( std::unique_ptr request, size_t index, -@@ -281,19 +223,6 @@ void FilesRequestHandler::OnGotFileInfo( +@@ -277,19 +226,6 @@ void FilesRequestHandler::OnGotFileInfo( void FilesRequestHandler::FinishRequestEarly( std::unique_ptr request, ScanRequestUploadResult result) { @@ -438,7 +431,7 @@ void OnGotFileInfo(std::unique_ptr request, --- a/chrome/browser/enterprise/connectors/connectors_manager.cc +++ b/chrome/browser/enterprise/connectors/connectors_manager.cc -@@ -182,26 +182,7 @@ void ConnectorsManager::OnPrefChanged(An +@@ -169,26 +169,7 @@ void ConnectorsManager::OnAnalysisPrefCh } DataRegion ConnectorsManager::GetDataRegion(AnalysisConnector connector) const { @@ -464,7 +457,7 @@ -#endif } - void ConnectorsManager::StartObservingPrefs(PrefService* pref_service) { + } // namespace enterprise_connectors --- a/chrome/browser/enterprise/connectors/device_trust/signals/decorators/common/context_signals_decorator.cc +++ b/chrome/browser/enterprise/connectors/device_trust/signals/decorators/common/context_signals_decorator.cc @@ -26,24 +26,6 @@ enum class PasswordProtectionTrigger { @@ -525,7 +518,7 @@ --- a/chrome/browser/enterprise/connectors/reporting/realtime_reporting_client.cc +++ b/chrome/browser/enterprise/connectors/reporting/realtime_reporting_client.cc -@@ -277,20 +277,7 @@ void RealtimeReportingClient::SetProfile +@@ -278,20 +278,7 @@ void RealtimeReportingClient::SetProfile } std::string RealtimeReportingClient::GetProfileUserName() { @@ -639,7 +632,7 @@ signal_response.profile_id = profile_id_service_->GetProfileId(); --- a/chrome/browser/extensions/BUILD.gn +++ b/chrome/browser/extensions/BUILD.gn -@@ -403,8 +403,6 @@ source_set("extensions") { +@@ -398,8 +398,6 @@ source_set("extensions") { "mv2_experiment_stage.h", "navigation_extension_enabler.cc", "navigation_extension_enabler.h", @@ -669,7 +662,7 @@ info.enterprise_profile_id = signals.enterprise_profile_id; --- a/chrome/browser/extensions/api/settings_private/prefs_util.cc +++ b/chrome/browser/extensions/api/settings_private/prefs_util.cc -@@ -390,8 +390,6 @@ const PrefsUtil::TypedPrefMap& PrefsUtil +@@ -410,8 +410,6 @@ const PrefsUtil::TypedPrefMap& PrefsUtil settings_api::PrefType::kBoolean; (*s_allowlist)[::kGeneratedHttpsFirstModePref] = settings_api::PrefType::kNumber; @@ -680,10 +673,10 @@ --- a/chrome/browser/extensions/chrome_extension_system.cc +++ b/chrome/browser/extensions/chrome_extension_system.cc -@@ -466,8 +466,6 @@ void ChromeExtensionSystem::InstallUpdat +@@ -478,8 +478,6 @@ void ChromeExtensionSystem::InstallUpdat void ChromeExtensionSystem::PerformActionBasedOnOmahaAttributes( const std::string& extension_id, - const base::Value::Dict& attributes) { + const base::DictValue& attributes) { - extension_service()->PerformActionBasedOnOmahaAttributes(extension_id, - attributes); } @@ -713,7 +706,7 @@ --- a/chrome/browser/extensions/extension_service.cc +++ b/chrome/browser/extensions/extension_service.cc -@@ -54,7 +54,6 @@ +@@ -53,7 +53,6 @@ #include "chrome/browser/extensions/installed_loader.h" #include "chrome/browser/extensions/manifest_v2_experiment_manager.h" #include "chrome/browser/extensions/mv2_experiment_stage.h" @@ -721,7 +714,7 @@ #include "chrome/browser/extensions/profile_util.h" #include "chrome/browser/extensions/sync/extension_sync_service.h" #include "chrome/browser/extensions/updater/chrome_extension_downloader_factory.h" -@@ -218,9 +217,6 @@ ExtensionService::ExtensionService( +@@ -219,9 +218,6 @@ ExtensionService::ExtensionService( extension_telemetry_service_verdict_handler_(extension_prefs, registry_, extension_registrar_), @@ -731,7 +724,7 @@ force_installed_tracker_(registry_, profile_), force_installed_metrics_(registry_, profile_, &force_installed_tracker_), corrupted_extension_reinstaller_( -@@ -407,11 +403,6 @@ void ExtensionService::LoadExtensionsFro +@@ -416,11 +412,6 @@ void ExtensionService::LoadExtensionsFro << "--load-extension is not allowed in Google Chrome, ignoring."; return; #else // BUILDFLAG(GOOGLE_CHROME_BRANDING) && !BUILDFLAG(IS_CHROMEOS) @@ -743,13 +736,13 @@ if (ShouldBlockCommandLineExtension(*profile_)) { // TODO(crbug.com/401529219): Deprecate this restriction once // --load-extension removal on Chrome builds is fully launched. -@@ -467,17 +458,6 @@ void ExtensionService::LoadSigninProfile +@@ -476,17 +467,6 @@ void ExtensionService::LoadSigninProfile } #endif -void ExtensionService::PerformActionBasedOnOmahaAttributes( - const std::string& extension_id, -- const base::Value::Dict& attributes) { +- const base::DictValue& attributes) { - DCHECK_CURRENTLY_ON(BrowserThread::UI); - omaha_attributes_handler_.PerformActionBasedOnOmahaAttributes(extension_id, - attributes); @@ -769,20 +762,20 @@ #include "chrome/browser/extensions/forced_extensions/force_installed_tracker.h" -#include "chrome/browser/extensions/omaha_attributes_handler.h" #include "chrome/browser/extensions/safe_browsing_verdict_handler.h" + #include "chrome/browser/policy/cloud/extension_install_policy_service.h" #include "chrome/browser/profiles/profile_manager_observer.h" - #include "chrome/browser/upgrade_detector/upgrade_observer.h" -@@ -165,10 +164,6 @@ class ExtensionService : public Extensio +@@ -170,10 +169,6 @@ class ExtensionService : public Extensio // KeyedService two-phase shutdown. void Shutdown(); - // Performs action based on Omaha attributes for the extension. - void PerformActionBasedOnOmahaAttributes(const std::string& extension_id, -- const base::Value::Dict& attributes); +- const base::DictValue& attributes); - // Performs action based on verdicts received from the Extension Telemetry // server. Currently, these verdicts are limited to off-store extensions. void PerformActionBasedOnExtensionTelemetryServiceVerdicts( -@@ -383,8 +378,6 @@ class ExtensionService : public Extensio +@@ -388,8 +383,6 @@ class ExtensionService : public Extensio ExtensionTelemetryServiceVerdictHandler extension_telemetry_service_verdict_handler_; @@ -842,9 +835,29 @@ UMA_HISTOGRAM_ENUMERATION("Extensions.Greylist.Disabled", extension->location()); } +--- a/chrome/browser/feedback/report_unsafe_site_dialog.cc ++++ b/chrome/browser/feedback/report_unsafe_site_dialog.cc +@@ -9,16 +9,13 @@ + #include "chrome/browser/profiles/profile.h" + #include "chrome/common/pref_names.h" + #include "components/prefs/pref_service.h" +-#include "components/safe_browsing/core/common/safe_browsing_prefs.h" + + namespace feedback { + + // static + bool ReportUnsafeSiteDialog::IsEnabled(const Profile& profile) { + const PrefService* prefs = profile.GetPrefs(); +- return base::FeatureList::IsEnabled(features::kReportUnsafeSite) && +- prefs->GetBoolean(prefs::kUserFeedbackAllowed) && +- safe_browsing::IsSafeBrowsingEnabled(*prefs); ++ return false; + } + + } // namespace feedback --- a/chrome/browser/metrics/chrome_metrics_service_client.cc +++ b/chrome/browser/metrics/chrome_metrics_service_client.cc -@@ -862,13 +862,6 @@ void ChromeMetricsServiceClient::Registe +@@ -861,13 +861,6 @@ void ChromeMetricsServiceClient::Registe metrics_service_->RegisterMetricsProvider(MakeDemographicMetricsProvider( metrics::MetricsLogUploader::MetricServiceType::UMA)); @@ -1096,7 +1109,7 @@ return PredictionSource::kNoCpssModel; --- a/chrome/browser/policy/configuration_policy_handler_list_factory.cc +++ b/chrome/browser/policy/configuration_policy_handler_list_factory.cc -@@ -2579,8 +2579,6 @@ std::unique_ptrAddHandler( std::make_unique( chrome_schema)); @@ -1107,7 +1120,7 @@ std::make_unique(key::kURLBlocklist)); --- a/chrome/browser/prefs/browser_prefs.cc +++ b/chrome/browser/prefs/browser_prefs.cc -@@ -267,7 +267,6 @@ +@@ -269,7 +269,6 @@ #include "chrome/browser/nearby_sharing/common/nearby_share_prefs.h" #include "chrome/browser/new_tab_page/modules/file_suggestion/drive_service.h" #include "chrome/browser/new_tab_page/modules/file_suggestion/microsoft_files_page_handler.h" @@ -1115,7 +1128,7 @@ #include "chrome/browser/new_tab_page/modules/v2/authentication/microsoft_auth_page_handler.h" #include "chrome/browser/new_tab_page/modules/v2/calendar/google_calendar_page_handler.h" #include "chrome/browser/new_tab_page/modules/v2/calendar/outlook_calendar_page_handler.h" -@@ -1838,7 +1837,6 @@ void RegisterProfilePrefs(user_prefs::Pr +@@ -1897,7 +1896,6 @@ void RegisterProfilePrefs(user_prefs::Pr NewTabFooterUI::RegisterProfilePrefs(registry); NewTabPageHandler::RegisterProfilePrefs(registry); NewTabPageUI::RegisterProfilePrefs(registry); @@ -1125,7 +1138,7 @@ promos_utils::RegisterProfilePrefs(registry); --- a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc +++ b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc -@@ -885,9 +885,7 @@ void ChromeBrowserMainExtraPartsProfiles +@@ -896,9 +896,7 @@ void ChromeBrowserMainExtraPartsProfiles enterprise_connectors::TelomereEventRouterFactory::GetInstance(); } #endif @@ -1135,35 +1148,6 @@ #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ BUILDFLAG(IS_WIN) enterprise_connectors::DeviceTrustConnectorServiceFactory::GetInstance(); ---- a/chrome/browser/push_messaging/push_messaging_service_factory.cc -+++ b/chrome/browser/push_messaging/push_messaging_service_factory.cc -@@ -19,7 +19,6 @@ - #include "chrome/browser/push_messaging/push_messaging_service_impl.h" - #include "chrome/browser/safe_browsing/safe_browsing_service.h" - #include "components/gcm_driver/instance_id/instance_id_profile_service.h" --#include "components/safe_browsing/core/common/safe_browsing_prefs.h" - - // static - PushMessagingServiceImpl* PushMessagingServiceFactory::GetForProfile( -@@ -73,17 +72,7 @@ PushMessagingServiceFactory::BuildServic - content::BrowserContext* context) const { - Profile* profile = Profile::FromBrowserContext(context); - CHECK(!profile->IsOffTheRecord()); -- // Reporting service worker network requests should only be done for ESB -- // users. The check below is the first ESB check. A second ESB check is -- // performed before anything about the service worker is sent off device to -- // Safe Browsing. If at the time of the second check the user is found to no -- // longer be an ESB user, no Safe Browsing report will be sent. -- bool includeSafeBrowsingDatabase = -- g_browser_process && g_browser_process->safe_browsing_service() && -- safe_browsing::IsEnhancedProtectionEnabled(*profile->GetPrefs()); - return std::make_unique( - profile, -- includeSafeBrowsingDatabase -- ? g_browser_process->safe_browsing_service()->database_manager() -- : nullptr); -+ nullptr); - } --- a/chrome/browser/resources/settings/privacy_page/privacy_page_index.ts +++ b/chrome/browser/resources/settings/privacy_page/privacy_page_index.ts @@ -143,7 +143,7 @@ export class SettingsPrivacyPageIndexEle @@ -1207,7 +1191,7 @@ # "Safe Browsing Basic" files used for safe browsing in full mode --- a/chrome/browser/safe_browsing/cloud_content_scanning/file_opening_job.cc +++ b/chrome/browser/safe_browsing/cloud_content_scanning/file_opening_job.cc -@@ -72,10 +72,6 @@ void FileOpeningJob::ProcessNextTask(bas +@@ -73,10 +73,6 @@ void FileOpeningJob::ProcessNextTask(bas if (tasks_[i].taken.exchange(true, std::memory_order_relaxed)) continue; @@ -1413,15 +1397,15 @@ --- a/chrome/browser/safe_browsing/generated_security_settings_bundle_pref.cc +++ b/chrome/browser/safe_browsing/generated_security_settings_bundle_pref.cc -@@ -10,7 +10,6 @@ - #include "chrome/common/extensions/api/settings_private.h" +@@ -11,7 +11,6 @@ #include "chrome/common/pref_names.h" #include "components/prefs/pref_service.h" + #include "components/safe_browsing/core/common/features.h" -#include "components/safe_browsing/core/common/safe_browsing_prefs.h" - namespace settings_api = extensions::api::settings_private; + namespace safe_browsing { -@@ -23,66 +22,20 @@ GeneratedSecuritySettingsBundlePref::Gen +@@ -19,59 +18,20 @@ GeneratedSecuritySettingsBundlePref::Gen Profile* profile) : profile_(profile) { user_prefs_registrar_.Init(profile->GetPrefs()); @@ -1453,24 +1437,17 @@ - PrefService* local_state = g_browser_process->local_state(); - - // This is how the bundle controls each security setting. -- if (selection == static_cast(SecuritySettingsBundleSetting::ENHANCED)) { -- // Keep this section sorted by feature name and label each section with -- // the feature. -- -- // Secure DNS Setting +- if (base::FeatureList::IsEnabled( +- safe_browsing::kBundledSecuritySettingsSecureDnsV2)) { +- // Secure DNS Setting. - // TODO(crbug.com/460180440): migrate to a per-profile setting. +- const bool fallback_to_doh = +- selection == static_cast(SecuritySettingsBundleSetting::ENHANCED); - local_state->SetString(prefs::kDnsOverHttpsMode, - SecureDnsConfig::kModeAutomatic); - local_state->SetString(prefs::kDnsOverHttpsTemplates, ""); - local_state->SetBoolean(prefs::kDnsOverHttpsAutomaticModeFallbackToDoh, -- true); -- } else { -- // Secure DNS Setting -- local_state->SetString(prefs::kDnsOverHttpsMode, -- SecureDnsConfig::kModeAutomatic); -- local_state->SetString(prefs::kDnsOverHttpsTemplates, ""); -- local_state->SetBoolean(prefs::kDnsOverHttpsAutomaticModeFallbackToDoh, -- false); +- fallback_to_doh); - } - return extensions::settings_private::SetPrefResult::SUCCESS; @@ -1619,7 +1596,7 @@ // certificate. So, when users click proceed on an interstitial, move the tab --- a/chrome/browser/ui/BUILD.gn +++ b/chrome/browser/ui/BUILD.gn -@@ -4318,8 +4318,6 @@ static_library("ui") { +@@ -4320,8 +4320,6 @@ static_library("ui") { "views/safe_browsing/password_reuse_modal_warning_dialog.h", "views/safe_browsing/tailored_security_desktop_dialog_manager.cc", "views/safe_browsing/tailored_security_desktop_dialog_manager.h", @@ -1694,7 +1671,7 @@ unused_site_permissions_manager_ = std::make_unique(browser_context, prefs); -@@ -608,5 +581,5 @@ bool RevokedPermissionsService::IsUnused +@@ -607,5 +580,5 @@ bool RevokedPermissionsService::IsUnused } bool RevokedPermissionsService::IsAbusiveNotificationAutoRevocationEnabled() { @@ -1713,7 +1690,7 @@ --- a/chrome/browser/ui/toasts/toast_service.cc +++ b/chrome/browser/ui/toasts/toast_service.cc -@@ -36,7 +36,6 @@ +@@ -38,7 +38,6 @@ #include "components/plus_addresses/core/browser/grit/plus_addresses_strings.h" #include "components/plus_addresses/core/common/features.h" #include "components/safe_browsing/core/common/features.h" @@ -1721,7 +1698,7 @@ #include "components/strings/grit/components_strings.h" #include "components/tabs/public/tab_interface.h" #include "components/vector_icons/vector_icons.h" -@@ -160,57 +159,6 @@ void ToastService::RegisterToasts( +@@ -142,57 +141,6 @@ void ToastService::RegisterToasts( .Build()); } @@ -1844,7 +1821,7 @@ @@ -89,43 +86,6 @@ void HatsHandler::RegisterMessages() { */ - void HatsHandler::HandleSecurityPageHatsRequest(const base::Value::List& args) { + void HatsHandler::HandleSecurityPageHatsRequest(const base::ListValue& args) { AllowJavascript(); - - CHECK_EQ(4U, args.size()); @@ -1888,8 +1865,8 @@ /** @@ -140,10 +100,6 @@ SurveyStringData HatsHandler::GetSecurit Profile* profile, - const base::Value::List& args) { - const base::Value::List& interactions = args[0].GetList(); + const base::ListValue& args) { + const base::ListValue& interactions = args[0].GetList(); - auto safe_browsing_state = static_cast(args[1].GetInt()); - - auto security_settings_bundle_setting = @@ -1897,7 +1874,7 @@ std::string security_page_interactions = ""; std::set interaction_set; -@@ -189,62 +145,14 @@ SurveyStringData HatsHandler::GetSecurit +@@ -242,62 +198,14 @@ SurveyStringData HatsHandler::GetSecurit security_page_interactions = base::JoinString(interaction_strings, ", "); std::string safe_browsing_state_before = ""; @@ -1973,7 +1950,7 @@ } SafetyHubHandler::~SafetyHubHandler() = default; -@@ -834,14 +830,4 @@ void SafetyHubHandler::OnJavascriptAllow +@@ -831,14 +827,4 @@ void SafetyHubHandler::OnJavascriptAllow void SafetyHubHandler::OnJavascriptDisallowed() {} void SafetyHubHandler::OnSafeBrowsingEnhancedChanged() { @@ -1990,7 +1967,7 @@ } --- a/chrome/browser/ui/webui/settings/security_settings_provider.cc +++ b/chrome/browser/ui/webui/settings/security_settings_provider.cc -@@ -8,26 +8,22 @@ +@@ -8,30 +8,25 @@ #include "chrome/browser/safe_browsing/generated_safe_browsing_pref.h" #include "chrome/browser/ssl/https_upgrades_util.h" #include "components/safe_browsing/core/common/features.h" @@ -2005,6 +1982,11 @@ html_source->AddBoolean( "enableBundledSecuritySettings", - base::FeatureList::IsEnabled(safe_browsing::kBundledSecuritySettings)); ++ false); + html_source->AddBoolean( + "enableBundledSecuritySettingsSecureDnsV2", +- base::FeatureList::IsEnabled( +- safe_browsing::kBundledSecuritySettingsSecureDnsV2)); + false); html_source->AddBoolean("enableHttpsFirstModeNewSettings", IsBalancedModeAvailable()); @@ -2022,7 +2004,7 @@ // security-related-settings (not the strings) to this function. --- a/chrome/common/webui_url_constants.cc +++ b/chrome/common/webui_url_constants.cc -@@ -130,7 +130,6 @@ base::span Chr +@@ -131,7 +131,6 @@ base::span Chr kChromeUISuggestInternalsHost, #endif kChromeUINTPTilesInternalsHost, @@ -2032,7 +2014,7 @@ kChromeUITabSearchHost, --- a/chrome/test/BUILD.gn +++ b/chrome/test/BUILD.gn -@@ -2859,7 +2859,6 @@ if (!is_android) { +@@ -2900,7 +2900,6 @@ if (!is_android) { "//components/resources", "//components/safe_browsing:buildflags", "//components/safe_browsing/content/browser", @@ -2040,7 +2022,7 @@ "//components/safe_browsing/content/browser:credit_card_form_event", "//components/safe_browsing/content/browser:safe_browsing_service", "//components/safe_browsing/content/browser/password_protection", -@@ -7291,7 +7290,6 @@ test("unit_tests") { +@@ -7364,7 +7363,6 @@ test("unit_tests") { "//components/resources", "//components/safe_browsing:buildflags", "//components/safe_browsing/content/browser", @@ -2124,7 +2106,7 @@ --- a/components/enterprise/browser/reporting/chrome_profile_request_generator.cc +++ b/components/enterprise/browser/reporting/chrome_profile_request_generator.cc -@@ -301,18 +301,12 @@ void ChromeProfileRequestGenerator::OnAg +@@ -294,18 +294,12 @@ void ChromeProfileRequestGenerator::OnAg profile_signals.built_in_dns_client_enabled); profile_signals_report->set_chrome_remote_desktop_app_blocked( profile_signals.chrome_remote_desktop_app_blocked); @@ -2216,7 +2198,7 @@ # Indicates support for content analysis against a cloud agent for Enterprise # Connector policies. enterprise_cloud_content_analysis = -- is_win || is_mac || is_linux || is_chromeos +- is_win || is_mac || is_linux || is_chromeos || is_ios + false # Indicates support for content analysis against a cloud agent for Enterprise @@ -2255,7 +2237,7 @@ - } } - const base::Value::List* enabled_opt_in_events_value = + const base::ListValue* enabled_opt_in_events_value = --- a/components/password_manager/core/browser/leak_detection/leak_detection_check_impl.cc +++ b/components/password_manager/core/browser/leak_detection/leak_detection_check_impl.cc @@ -312,12 +312,7 @@ bool LeakDetectionCheck::IsURLBlockedByP @@ -2274,7 +2256,7 @@ } // namespace password_manager --- a/components/safe_browsing/content/common/safe_browsing.mojom +++ b/components/safe_browsing/content/common/safe_browsing.mojom -@@ -174,7 +174,6 @@ interface PhishingDetector { +@@ -177,7 +177,6 @@ interface PhishingDetector { // Interface for setting a phishing model. This is scoped to an entire // RenderProcess. @@ -2333,7 +2315,7 @@ #include "components/safe_browsing/core/common/utils.h" #include "google_apis/google_api_keys.h" #include "net/base/net_errors.h" -@@ -117,21 +116,7 @@ constexpr net::NetworkTrafficAnnotationT +@@ -126,21 +125,7 @@ constexpr net::NetworkTrafficAnnotationT bool IsEnabled(PrefService* pref_service, std::optional country, bool are_background_lookups_allowed) { @@ -2356,7 +2338,7 @@ } GURL GetKeyFetchingUrl() { -@@ -406,42 +391,9 @@ void OhttpKeyService::MaybeStartServerTr +@@ -443,42 +428,9 @@ void OhttpKeyService::MaybeStartServerTr } void OhttpKeyService::PopulateKeyFromPref() { @@ -2502,7 +2484,7 @@ return; } -@@ -521,25 +519,10 @@ void TailoredSecurityService::Shutdown() +@@ -529,25 +527,10 @@ void TailoredSecurityService::Shutdown() } void TailoredSecurityService::TailoredSecurityTimestampUpdateCallback() { @@ -2746,7 +2728,7 @@ return RespondNow(Error(std::move(error))); --- a/extensions/browser/api/web_request/extension_web_request_event_router.cc +++ b/extensions/browser/api/web_request/extension_web_request_event_router.cc -@@ -1137,14 +1137,6 @@ int WebRequestEventRouter::OnBeforeReque +@@ -1143,14 +1143,6 @@ int WebRequestEventRouter::OnBeforeReque DCHECK(action.redirect_url); OnDNRActionMatched(browser_context, *request, action); *new_url = GetNewUrl(action.redirect_url.value(), browser_context); @@ -2933,12 +2915,12 @@ // static --- a/extensions/browser/updater/update_service.cc +++ b/extensions/browser/updater/update_service.cc -@@ -131,13 +131,6 @@ void UpdateService::OnCrxStateChange(Upd +@@ -132,13 +132,6 @@ void UpdateService::OnCrxStateChange(Upd break; } - if (should_perform_action_on_omaha_attributes) { -- base::Value::Dict attributes = GetExtensionOmahaAttributes(item); +- base::DictValue attributes = GetExtensionOmahaAttributes(item); - // Note that it's important to perform actions even if |attributes| is - // empty, missing values may default to false and have associated logic. - ExtensionSystem::Get(browser_context_) diff --git a/patches/ungoogled-chromium/move-js-optimizer-unfamiliar-sites.patch b/patches/ungoogled-chromium/move-js-optimizer-unfamiliar-sites.patch index 31c6d5ea..502838a8 100644 --- a/patches/ungoogled-chromium/move-js-optimizer-unfamiliar-sites.patch +++ b/patches/ungoogled-chromium/move-js-optimizer-unfamiliar-sites.patch @@ -23,7 +23,7 @@ #include "content/public/browser/render_process_host.h" --- a/components/content_settings/core/browser/content_settings_pref_provider.cc +++ b/components/content_settings/core/browser/content_settings_pref_provider.cc -@@ -96,6 +96,7 @@ void PrefProvider::RegisterProfilePrefs( +@@ -98,6 +98,7 @@ void PrefProvider::RegisterProfilePrefs( ContentSettingsPattern::kContentSettingsPatternVersion); registry->RegisterBooleanPref(prefs::kInContextCookieControlsOpened, false); registry->RegisterBooleanPref(kGeolocationMigrateExceptionsPref, false); @@ -33,7 +33,7 @@ WebsiteSettingsRegistry::GetInstance(); --- a/components/content_settings/core/common/pref_names.h +++ b/components/content_settings/core/common/pref_names.h -@@ -277,6 +277,8 @@ inline constexpr char kDesktopSiteWindow +@@ -281,6 +281,8 @@ inline constexpr char kDesktopSiteWindow "desktop_site.window_setting"; #endif diff --git a/patches/ungoogled-chromium/prepopulated-search-engines.patch b/patches/ungoogled-chromium/prepopulated-search-engines.patch index 49c42bff..8fc7e2f4 100644 --- a/patches/ungoogled-chromium/prepopulated-search-engines.patch +++ b/patches/ungoogled-chromium/prepopulated-search-engines.patch @@ -2,7 +2,7 @@ # --- a/components/omnibox/common/omnibox_features.cc +++ b/components/omnibox/common/omnibox_features.cc -@@ -247,7 +247,7 @@ BASE_FEATURE(kOmniboxTouchDownTriggerFor +@@ -249,7 +249,7 @@ BASE_FEATURE(kOmniboxTouchDownTriggerFor BASE_FEATURE(kOmniboxSiteSearch, DISABLED); // Enables additional site search providers for the Site search Starter Pack. diff --git a/patches/ungoogled-chromium/remove-uneeded-ui.patch b/patches/ungoogled-chromium/remove-uneeded-ui.patch index 69ffcc1d..85282d9f 100644 --- a/patches/ungoogled-chromium/remove-uneeded-ui.patch +++ b/patches/ungoogled-chromium/remove-uneeded-ui.patch @@ -33,7 +33,7 @@ --- a/chrome/app/settings_chromium_strings.grdp +++ b/chrome/app/settings_chromium_strings.grdp -@@ -365,13 +365,13 @@ Chromium understands forms better and ca +@@ -355,13 +355,13 @@ @@ -52,7 +52,7 @@ --- a/chrome/app/settings_strings.grdp +++ b/chrome/app/settings_strings.grdp -@@ -1135,7 +1135,7 @@ +@@ -1101,7 +1101,7 @@ Active site @@ -61,7 +61,7 @@ Power -@@ -1159,7 +1159,7 @@ +@@ -1125,7 +1125,7 @@ Inactive tabs appearance @@ -70,7 +70,7 @@ Tab hover preview card appearance -@@ -1171,7 +1171,7 @@ +@@ -1137,7 +1137,7 @@ Performance issue alerts @@ -240,7 +240,7 @@