From a833234d3919d1afb0fc59c7eea6f31fc8cf0453 Mon Sep 17 00:00:00 2001 From: Blaise Date: Wed, 6 Nov 2024 10:56:00 -0600 Subject: [PATCH] Update to Chromium 131.0.6778.69 --- chromium_version.txt | 2 +- domain_substitution.list | 361 ++++++----- .../disable-fetching-field-trials.patch | 8 +- ...01-fix-building-without-safebrowsing.patch | 82 +-- .../0005-disable-default-extensions.patch | 8 +- .../0015-disable-update-pings.patch | 2 +- .../core/inox-patchset/0021-disable-rlz.patch | 2 +- ...refixes-to-possibly-evil-connections.patch | 6 +- ..._browsing-disable-incident-reporting.patch | 4 +- ...sable-reporting-of-safebrowsing-over.patch | 4 +- .../block-trk-and-subdomains.patch | 12 +- .../disable-crash-reporter.patch | 2 +- .../disable-domain-reliability.patch | 9 +- .../ungoogled-chromium/disable-gaia.patch | 2 +- .../disable-google-host-detection.patch | 17 +- .../disable-mei-preload.patch | 2 +- .../disable-privacy-sandbox.patch | 6 +- .../disable-webrtc-log-uploader.patch | 2 +- .../extensions-manifestv2.patch | 60 +- .../fix-building-with-prunned-binaries.patch | 300 ++++++--- .../fix-building-without-safebrowsing.patch | 455 ++++++++----- .../remove-unused-preferences-fields.patch | 599 +++++++++--------- .../toggle-translation-via-switch.patch | 2 +- ...g-flags-client-rects-and-measuretext.patch | 58 +- ...ngerprinting-canvas-image-data-noise.patch | 24 +- .../flag-max-connections-per-host.patch | 12 +- .../0006-modify-default-prefs.patch | 13 +- .../0016-chromium-sandbox-pie.patch | 2 +- ...ble-profile-auto-import-on-first-run.patch | 2 +- .../add-flag-for-bookmark-bar-ntp.patch | 2 +- .../add-flag-for-close-confirmation.patch | 16 +- .../add-flag-for-custom-ntp.patch | 2 +- .../add-flag-for-disabling-link-drag.patch | 2 +- .../add-flag-for-incognito-themes.patch | 4 +- ...dd-flag-for-search-engine-collection.patch | 10 +- .../add-flag-for-tab-hover-cards.patch | 2 +- .../add-flag-for-tabsearch-button.patch | 2 +- .../add-flag-to-clear-data-on-exit.patch | 10 +- ...d-flag-to-close-window-with-last-tab.patch | 34 +- ...g-to-configure-extension-downloading.patch | 2 +- .../add-flag-to-convert-popups-to-tabs.patch | 2 +- .../add-flag-to-hide-extensions-menu.patch | 4 +- .../add-flag-to-hide-fullscreen-exit-ui.patch | 2 +- .../add-flag-to-hide-tab-close-buttons.patch | 4 +- .../add-flag-to-reduce-system-info.patch | 2 +- .../add-flag-to-show-avatar-button.patch | 2 +- .../add-flags-for-existing-switches.patch | 2 +- ...add-flags-for-referrer-customization.patch | 289 ++++----- .../add-suggestions-url-field.patch | 16 +- .../add-ungoogled-flag-headers.patch | 2 +- .../default-webrtc-ip-handling-policy.patch | 2 +- .../disable-download-quarantine.patch | 4 +- .../disable-downloads-page-referrer-url.patch | 6 +- .../disable-remote-optimization-guide.patch | 2 +- .../disable-webgl-renderer-info.patch | 4 +- ...ble-default-prefetch-privacy-changes.patch | 2 +- .../enable-page-saving-on-more-pages.patch | 2 +- .../ungoogled-chromium/first-run-page.patch | 46 +- ...g-without-mdns-and-service-discovery.patch | 4 +- .../prepopulated-search-engines.patch | 4 +- ...e-disable-setuid-sandbox-as-bad-flag.patch | 2 +- .../remove-uneeded-ui.patch | 66 +- patches/series | 1 + patches/upstream-fixes/glue_core_pools.patch | 27 + .../upstream-fixes/missing-dependencies.patch | 57 +- pruning.list | 92 +-- utils/clone.py | 9 +- 67 files changed, 1540 insertions(+), 1259 deletions(-) create mode 100644 patches/upstream-fixes/glue_core_pools.patch diff --git a/chromium_version.txt b/chromium_version.txt index 3c6bd8c3f6..8dc6527f08 100644 --- a/chromium_version.txt +++ b/chromium_version.txt @@ -1 +1 @@ -130.0.6723.116 +131.0.6778.69 diff --git a/domain_substitution.list b/domain_substitution.list index f8f69388f0..5954dd9c62 100644 --- a/domain_substitution.list +++ b/domain_substitution.list @@ -51,7 +51,6 @@ ash/assistant/ui/main_stage/suggestion_chip_view_unittest.cc ash/assistant/util/deep_link_util.cc ash/assistant/util/deep_link_util_unittest.cc ash/auth/views/auth_header_view_pixeltest.cc -ash/birch/birch_coral_provider.cc ash/birch/birch_item.cc ash/birch/birch_item_unittest.cc ash/birch/birch_model_unittest.cc @@ -71,6 +70,7 @@ ash/components/arc/volume_mounter/arc_volume_mounter_bridge_unittest.cc ash/constants/ash_features.cc ash/constants/ash_switches.cc ash/constants/url_constants.cc +ash/constants/web_app_id_constants.h ash/controls/contextual_nudge.cc ash/fast_ink/laser/laser_pointer_view.cc ash/game_dashboard/game_dashboard_main_menu_view.cc @@ -87,7 +87,7 @@ ash/glanceables/tasks/glanceables_tasks_view_unittest.cc ash/glanceables/tasks/test/glanceables_tasks_test_util.cc ash/login/ui/auth_icon_view.cc ash/login/ui/login_remove_account_dialog_unittest.cc -ash/picker/picker_clipboard_history_provider_unittest.cc +ash/picker/picker_asset_fetcher_impl.cc ash/picker/picker_controller.cc ash/picker/picker_controller_unittest.cc ash/picker/picker_insert_media.cc @@ -119,6 +119,8 @@ ash/quick_pair/scanning/fast_pair/fast_pair_not_discoverable_scanner_impl.h ash/quick_pair/ui/fast_pair/fast_pair_notification_controller_unittest.cc ash/quick_pair/ui/fast_pair/fast_pair_presenter_impl.cc ash/resources/PRESUBMIT.py +ash/scanner/scanner_action_handler.cc +ash/scanner/scanner_action_handler_unittest.cc ash/session/fullscreen_controller_unittest.cc ash/shelf/launcher_nudge_controller_unittest.cc ash/shelf/scrollable_shelf_view_pixeltest.cc @@ -177,6 +179,7 @@ ash/system/video_conference/video_conference_tray_unittest.cc ash/wallpaper/test_wallpaper_controller_client.cc ash/wallpaper/wallpaper_image_downloader.cc ash/webui/boca_ui/boca_app_page_handler_unittest.cc +ash/webui/boca_ui/boca_ui.cc ash/webui/boca_ui/provider/classroom_page_handler_impl.cc ash/webui/camera_app_ui/camera_app_untrusted_ui.cc ash/webui/camera_app_ui/resources/js/externs/types.d.ts @@ -207,7 +210,8 @@ ash/webui/diagnostics_ui/resources/touchpad_tester.ts ash/webui/eche_app_ui/eche_alert_generator.cc ash/webui/eche_app_ui/eche_tray_stream_status_observer_unittest.cc ash/webui/firmware_update_ui/resources/PRESUBMIT.py -ash/webui/graduation/resources/js/graduation_ui.ts +ash/webui/graduation/graduation_ui_handler_unittest.cc +ash/webui/graduation/resources/js/graduation_takeout_ui.ts ash/webui/graduation/url_constants.cc ash/webui/help_app_ui/help_app_kids_magazine_untrusted_ui.cc ash/webui/help_app_ui/resources/js/help_app.d.ts @@ -474,6 +478,7 @@ build/config/locales.gni build/config/nacl/BUILD.gn build/config/nacl/rules.gni build/config/ozone.gni +build/config/rust.gni build/config/sanitizers/sanitizers.gni build/config/unsafe_buffers_paths.txt build/config/win/BUILD.gn @@ -534,7 +539,6 @@ chrome/android/java/res/values-sw600dp/values.xml chrome/android/java/res/values/dimens.xml chrome/android/java/res/values/strings.xml chrome/android/java/res/values/values.xml -chrome/android/java/res/xml/phone_as_a_security_key_accessory_filter.xml chrome/android/java/src/PRESUBMIT.py chrome/android/javatests/src/org/chromium/chrome/test/smoke/AndroidManifest_bundle.xml chrome/android/trichrome.gni @@ -566,9 +570,9 @@ chrome/app/welcome_strings.grdp chrome/browser/PRESUBMIT.py chrome/browser/about_flags.cc chrome/browser/accessibility/live_caption/live_caption_speech_recognition_host_browsertest.cc +chrome/browser/ai/ai_assistant.cc +chrome/browser/ai/ai_assistant_unittest.cc chrome/browser/ai/ai_test_utils.cc -chrome/browser/ai/ai_text_session.cc -chrome/browser/ai/ai_text_session_unittest.cc chrome/browser/android/compositor/scene_layer/contextual_search_scene_layer.cc chrome/browser/android/cookies/cookies_fetcher_restore_util_browsertest.cc chrome/browser/android/customtabs/custom_tabs_browsertest.cc @@ -579,7 +583,6 @@ chrome/browser/android/history/history_deletion_bridge_unittest.cc chrome/browser/android/omnibox/chrome_omnibox_navigation_observer_android_unittest.cc chrome/browser/android/search_permissions/search_permissions_service.h chrome/browser/android/search_permissions/search_permissions_service_unittest.cc -chrome/browser/android/signin/web_signin_bridge_unittest.cc chrome/browser/android/tab_android.cc chrome/browser/android/vr/PRESUBMIT.py chrome/browser/android/webapk/webapk_helpers_unittest.cc @@ -604,7 +607,6 @@ chrome/browser/apps/app_service/app_install/app_install_service_ash_unittest.cc chrome/browser/apps/app_service/app_install/app_install_types_unittest.cc chrome/browser/apps/app_service/app_install/web_app_installer.cc chrome/browser/apps/app_service/app_install/web_app_installer_browsertest.cc -chrome/browser/apps/app_service/app_service_proxy_lacros_unittest.cc chrome/browser/apps/app_service/app_service_proxy_unittest.cc chrome/browser/apps/app_service/intent_util_unittest.cc chrome/browser/apps/app_service/metrics/app_service_metrics.h @@ -653,7 +655,6 @@ chrome/browser/ash/app_list/search/essential_search/essential_search_manager_uni chrome/browser/ash/app_list/search/essential_search/socs_cookie_fetcher.cc chrome/browser/ash/app_list/search/essential_search/socs_cookie_fetcher_unittest.cc chrome/browser/ash/app_list/search/local_image_search/image_annotation_worker.cc -chrome/browser/ash/app_list/search/omnibox/omnibox_lacros_provider_unittest.cc chrome/browser/ash/app_list/search/omnibox/omnibox_provider_unittest.cc chrome/browser/ash/app_list/search/omnibox/omnibox_util.cc chrome/browser/ash/app_mode/auto_sleep/device_weekly_scheduled_suspend_controller.cc @@ -676,7 +677,6 @@ chrome/browser/ash/arc/enterprise/arc_enterprise_reporting_service_unittest.cc chrome/browser/ash/arc/extensions/arc_support_message_host.cc chrome/browser/ash/arc/file_system_watcher/file_system_scanner.h chrome/browser/ash/arc/input_overlay/ui/editing_list.cc -chrome/browser/ash/arc/input_overlay/ui/input_menu_view.cc chrome/browser/ash/arc/intent_helper/arc_settings_service.cc chrome/browser/ash/arc/notification/arc_vm_data_migration_notifier_unittest.cc chrome/browser/ash/arc/policy/arc_android_management_checker_unittest.cc @@ -696,6 +696,7 @@ chrome/browser/ash/attestation/soft_bind_attestation_flow_impl_unittest.cc chrome/browser/ash/attestation/tpm_challenge_key_subtle_unittest.cc chrome/browser/ash/bluetooth/bluetooth_log_controller_unittest.cc chrome/browser/ash/bluetooth/debug_logs_manager_unittest.cc +chrome/browser/ash/boca/on_task/on_task_locked_session_navigation_throttle.cc chrome/browser/ash/boca/on_task/on_task_locked_session_window_tracker_unittest.cc chrome/browser/ash/bruschetta/bruschetta_download.cc chrome/browser/ash/calendar/calendar_client_impl.cc @@ -709,14 +710,12 @@ chrome/browser/ash/child_accounts/family_user_device_metrics_browsertest.cc chrome/browser/ash/child_accounts/parent_access_code/parent_access_service_browsertest.cc chrome/browser/ash/child_accounts/time_limits/app_time_limit_utils_unittest.cc chrome/browser/ash/child_accounts/website_approval_notifier_unittest.cc -chrome/browser/ash/crosapi/browser_data_migrator_browsertest.cc chrome/browser/ash/crosapi/browser_manager_unittest.cc chrome/browser/ash/crosapi/browser_util_unittest.cc chrome/browser/ash/crosapi/local_printer_ash_unittest.cc chrome/browser/ash/crosapi/network_settings_translation_unittest.cc chrome/browser/ash/crosapi/one_drive_integration_service_ash_unittest.cc chrome/browser/ash/crosapi/search_controller_ash_unittest.cc -chrome/browser/ash/crosapi/search_controller_factory_ash_unittest.cc chrome/browser/ash/crostini/crostini_installer.h chrome/browser/ash/crostini/crostini_simple_types.h chrome/browser/ash/crostini/crostini_util.h @@ -760,6 +759,8 @@ chrome/browser/ash/lobster/lobster_feedback_unittest.cc chrome/browser/ash/login/app_mode/kiosk_launch_controller_unittest.cc chrome/browser/ash/login/app_mode/test/kiosk_enterprise_browsertest.cc chrome/browser/ash/login/ash_hud_login_browsertest.cc +chrome/browser/ash/login/demo_mode/demo_login_controller.cc +chrome/browser/ash/login/demo_mode/demo_login_controller_unittest.cc chrome/browser/ash/login/device_family_link_allowed_policy_browsertest.cc chrome/browser/ash/login/encryption_migration_browsertest.cc chrome/browser/ash/login/existing_user_controller_browsertest.cc @@ -804,6 +805,7 @@ chrome/browser/ash/login/users/multi_user_sign_in_policy_controller_unittest.cc chrome/browser/ash/login/wizard_controller_browsertest.cc chrome/browser/ash/magic_boost/magic_boost_controller_ash.cc chrome/browser/ash/magic_boost/magic_boost_controller_ash_unittest.cc +chrome/browser/ash/mahi/web_contents/mahi_web_contents_manager_impl.cc chrome/browser/ash/net/network_diagnostics/arc_dns_resolution_routine.cc chrome/browser/ash/net/network_diagnostics/dns_latency_routine.cc chrome/browser/ash/net/network_diagnostics/dns_resolution_routine.cc @@ -815,11 +817,8 @@ chrome/browser/ash/net/network_diagnostics/network_diagnostics_unittest.cc chrome/browser/ash/net/network_diagnostics/network_diagnostics_util.cc chrome/browser/ash/net/network_diagnostics/network_diagnostics_util.h chrome/browser/ash/net/network_diagnostics/video_conferencing_routine.cc -chrome/browser/ash/net/network_portal_detector_impl.cc -chrome/browser/ash/net/network_portal_detector_impl_browsertest.cc chrome/browser/ash/notifications/multi_capture_notifications_unittest.cc chrome/browser/ash/os_feedback/chrome_os_feedback_delegate_browsertest.cc -chrome/browser/ash/phonehub/browser_tabs_model_provider_impl_unittest.cc chrome/browser/ash/plugin_vm/plugin_vm_diagnostics.cc chrome/browser/ash/plugin_vm/plugin_vm_installer_unittest.cc chrome/browser/ash/plugin_vm/plugin_vm_license_checker.cc @@ -837,8 +836,6 @@ chrome/browser/ash/policy/dlp/dlp_content_manager_ash_browsertest.cc chrome/browser/ash/policy/dlp/dlp_content_manager_ash_unittest.cc chrome/browser/ash/policy/dlp/dlp_files_controller_ash_unittest.cc chrome/browser/ash/policy/enrollment/account_status_check_fetcher_unittest.cc -chrome/browser/ash/policy/enrollment/auto_enrollment_type_checker.cc -chrome/browser/ash/policy/enrollment/auto_enrollment_type_checker_unittest.cc chrome/browser/ash/policy/handlers/multi_screen_capture_policy_handler_unittest.cc chrome/browser/ash/policy/login/login_policy_test_base.cc chrome/browser/ash/policy/networking/network_policy_application_browsertest.cc @@ -857,7 +854,6 @@ chrome/browser/ash/power/auto_screen_brightness/modeller_impl_unittest.cc chrome/browser/ash/power/ml/smart_dim/ml_agent_unittest.cc chrome/browser/ash/printing/specifics_translation_unittest.cc chrome/browser/ash/printing/synced_printers_manager_unittest.cc -chrome/browser/ash/proxy_config_service_impl_unittest.cc chrome/browser/ash/release_notes/release_notes_notification_unittest.cc chrome/browser/ash/release_notes/release_notes_storage_unittest.cc chrome/browser/ash/scalable_iph/scalable_iph_browsertest.cc @@ -874,7 +870,6 @@ 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/trusted_vault/trusted_vault_backend_ash_unittest.cc chrome/browser/ash/u2f/u2f_notification.cc chrome/browser/ash/wallpaper_handlers/sea_pen_fetcher.cc chrome/browser/ash/wallpaper_handlers/wallpaper_handlers.cc @@ -893,9 +888,12 @@ chrome/browser/autofill/automated_tests/cache_replayer.cc chrome/browser/autofill/automated_tests/cache_replayer.h chrome/browser/autofill/automated_tests/cache_replayer_unittest.cc chrome/browser/autofill/captured_sites_test_utils.cc +chrome/browser/autofill_prediction_improvements/autofill_prediction_improvements_browsertest.cc +chrome/browser/autofill_prediction_improvements/chrome_autofill_prediction_improvements_client_unittest.cc chrome/browser/background/background_contents_service.cc chrome/browser/background_sync/periodic_background_sync_permission_context.cc chrome/browser/bluetooth/web_bluetooth_browsertest.cc +chrome/browser/bookmarks/bookmark_merged_surface_service_unittest.cc chrome/browser/bookmarks/managed_bookmark_service_unittest.cc chrome/browser/breadcrumbs/breadcrumb_manager_tab_helper_unittest.cc chrome/browser/browser_about_handler_unittest.cc @@ -942,10 +940,7 @@ chrome/browser/chromeos/extensions/desk_api/desk_api_extension_manager.cc chrome/browser/chromeos/extensions/desk_api/desk_api_extension_manager.h chrome/browser/chromeos/extensions/odfs_config_private/odfs_config_private_api_unittest.cc chrome/browser/chromeos/extensions/telemetry/api/common/api_guard_delegate_unittest.cc -chrome/browser/chromeos/launcher_search/search_util.cc -chrome/browser/chromeos/mahi/mahi_web_contents_manager.cc chrome/browser/chromeos/network/network_portal_signin_window_ash_browsertest.cc -chrome/browser/chromeos/network/network_portal_signin_window_lacros_browsertest.cc chrome/browser/chromeos/platform_keys/extension_key_permissions_service.cc chrome/browser/chromeos/platform_keys/extension_platform_keys_service.cc chrome/browser/chromeos/policy/default_notifications_setting_browsertest.cc @@ -961,7 +956,6 @@ chrome/browser/chromeos/reporting/metric_reporting_prefs_unittest.cc chrome/browser/chromeos/tablet_mode/chrome_content_browser_client_tablet_mode_part_unittest.cc chrome/browser/companion/core/utils.cc chrome/browser/companion/core/utils_unittest.cc -chrome/browser/companion/visual_query/visual_query_suggestions_service.cc chrome/browser/complex_tasks/task_tab_helper_unittest.cc chrome/browser/component_updater/recovery_component_installer.cc chrome/browser/component_updater/translate_kit_component_installer.cc @@ -1007,8 +1001,6 @@ chrome/browser/enterprise/connectors/analysis/content_analysis_delegate_unittest chrome/browser/enterprise/connectors/analysis/content_analysis_dialog_browsertest.cc chrome/browser/enterprise/connectors/analysis/content_analysis_downloads_delegate_unittest.cc chrome/browser/enterprise/connectors/analysis/file_transfer_analysis_delegate_unittest.cc -chrome/browser/enterprise/connectors/connectors_manager_unittest.cc -chrome/browser/enterprise/connectors/connectors_service_unittest.cc 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 @@ -1071,7 +1063,6 @@ chrome/browser/extensions/api/developer_private/developer_private_api_unittest.c chrome/browser/extensions/api/developer_private/extension_info_generator_unittest.cc chrome/browser/extensions/api/downloads/downloads_api.h chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc -chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.cc chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api_unittest.cc chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api_unittest.cc chrome/browser/extensions/api/enterprise_reporting_private/enterprise_reporting_private_apitest.cc @@ -1089,7 +1080,6 @@ chrome/browser/extensions/api/passwords_private/password_check_delegate_unittest chrome/browser/extensions/api/passwords_private/passwords_private_delegate_impl_unittest.cc chrome/browser/extensions/api/passwords_private/passwords_private_utils_unittest.cc chrome/browser/extensions/api/permissions/permissions_api_unittest.cc -chrome/browser/extensions/api/platform_keys/platform_keys_api.cc chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc chrome/browser/extensions/api/printing/printing_api_utils.h chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc @@ -1124,10 +1114,10 @@ chrome/browser/extensions/extension_keybinding_apitest.cc chrome/browser/extensions/extension_loading_browsertest.cc chrome/browser/extensions/extension_override_apitest.cc chrome/browser/extensions/extension_prefs_unittest.cc -chrome/browser/extensions/extension_service_sync_unittest.cc chrome/browser/extensions/extension_service_test_base.cc chrome/browser/extensions/extension_service_unittest.cc chrome/browser/extensions/extension_sync_data_unittest.cc +chrome/browser/extensions/extension_sync_service_unittest.cc chrome/browser/extensions/extension_tab_util_browsertest.cc chrome/browser/extensions/extension_tab_util_unittest.cc chrome/browser/extensions/extension_unload_browsertest.cc @@ -1207,11 +1197,6 @@ chrome/browser/lacros/account_manager/account_profile_mapper_unittest.cc chrome/browser/lacros/account_manager/get_account_information_helper_unittest.cc chrome/browser/lacros/app_mode/kiosk_session_service_browsertest.cc chrome/browser/lacros/browser_service_lacros.cc -chrome/browser/lacros/browser_service_lacros_browsertest.cc -chrome/browser/lacros/desk_template_client_lacros_browsertest.cc -chrome/browser/lacros/full_restore_client_lacros_browsertest.cc -chrome/browser/lacros/fullscreen_controller_client_lacros_unittest.cc -chrome/browser/lacros/lacros_url_handling_unittest.cc chrome/browser/lacros/net/network_settings_observer_browsertest.cc chrome/browser/lacros/net/network_settings_translation_unittest.cc chrome/browser/lacros/sync/crosapi_session_sync_favicon_delegate_unittest.cc @@ -1300,6 +1285,7 @@ chrome/browser/new_tab_page/modules/new_tab_page_modules_interactive_uitest.cc chrome/browser/new_tab_page/modules/new_tab_page_modules_unittest.cc chrome/browser/new_tab_page/modules/v2/calendar/google_calendar_page_handler.cc chrome/browser/new_tab_page/modules/v2/calendar/google_calendar_page_handler_unittest.cc +chrome/browser/new_tab_page/modules/v2/calendar/outlook_calendar_page_handler.cc chrome/browser/new_tab_page/modules/v2/most_relevant_tab_resumption/most_relevant_tab_resumption_page_handler.cc chrome/browser/new_tab_page/modules/v2/most_relevant_tab_resumption/most_relevant_tab_resumption_page_handler_unittest.cc chrome/browser/new_tab_page/one_google_bar/one_google_bar_loader_impl.cc @@ -1389,11 +1375,11 @@ chrome/browser/policy/cloud/device_management_service_browsertest.cc chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc chrome/browser/policy/extension_policy_browsertest.cc chrome/browser/policy/messaging_layer/upload/file_upload_impl.cc -chrome/browser/policy/policy_extension_controlling_proxy_lacros_browsertest.cc chrome/browser/policy/policy_prefs_browsertest.cc chrome/browser/policy/safe_search_policy_test.cc chrome/browser/policy/safe_search_policy_test.h chrome/browser/policy/serial_allow_usb_devices_for_urls_policy_handler_unittest.cc +chrome/browser/policy/test/autofill_prediction_improvements_policy_browsertest.cc chrome/browser/policy/test/force_google_safe_search_policy_browsertest.cc chrome/browser/policy/test/policy_statistics_collector_browsertest.cc chrome/browser/policy/test/policy_test_google_browsertest.cc @@ -1440,6 +1426,7 @@ chrome/browser/process_singleton_win.cc chrome/browser/profile_resetter/profile_resetter.cc chrome/browser/profile_resetter/profile_resetter_unittest.cc chrome/browser/profile_resetter/reset_report_uploader.cc +chrome/browser/profiles/batch_upload/batch_upload_browsertest.cc chrome/browser/profiles/gaia_info_update_service_unittest.cc chrome/browser/profiles/profile.h chrome/browser/profiles/profile_attributes_entry.h @@ -1502,7 +1489,6 @@ chrome/browser/resources/browsing_topics/browsing_topics_internals.html chrome/browser/resources/chromeos/about_os_credits.html 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/accessibility_common/facegaze/weights.html chrome/browser/resources/chromeos/accessibility/chromevox/background/background_test.js chrome/browser/resources/chromeos/accessibility/chromevox/background/braille/braille_input_handler_test.js chrome/browser/resources/chromeos/accessibility/chromevox/background/download_handler.js @@ -1519,7 +1505,6 @@ chrome/browser/resources/chromeos/accessibility/common/node_navigation_utils.ts chrome/browser/resources/chromeos/accessibility/common/node_utils.ts chrome/browser/resources/chromeos/accessibility/common/paragraph_utils.ts chrome/browser/resources/chromeos/accessibility/common/paragraph_utils_unittest.js -chrome/browser/resources/chromeos/accessibility/common/testing/e2e_test_base.js 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 @@ -1590,7 +1575,7 @@ chrome/browser/resources/new_tab_page/lens_form.html chrome/browser/resources/new_tab_page/lens_form.ts chrome/browser/resources/new_tab_page/modules/drive/module.ts chrome/browser/resources/new_tab_page/modules/v2/calendar/google_calendar_module.html -chrome/browser/resources/new_tab_page/modules/v2/file_suggestion/module.ts +chrome/browser/resources/new_tab_page/modules/v2/file_suggestion/drive_module.ts chrome/browser/resources/new_tab_page/transparency.ts chrome/browser/resources/new_tab_page/voice_search_overlay.ts chrome/browser/resources/omnibox/omnibox.html @@ -1604,6 +1589,7 @@ chrome/browser/resources/print_preview/ui/icons.html chrome/browser/resources/privacy_sandbox/internals/private_state_tokens/list_container.html.ts chrome/browser/resources/privacy_sandbox/internals/related_website_sets/list_container.html.ts chrome/browser/resources/reading_mode_gdocs_helper/manifest.json +chrome/browser/resources/reset_password/reset_password.html chrome/browser/resources/segmentation_internals/segmentation_survey.ts chrome/browser/resources/settings/a11y_page/a11y_page.ts chrome/browser/resources/settings/a11y_page/captions_subpage.ts @@ -1683,6 +1669,7 @@ chrome/browser/sharing/shared_clipboard/remote_copy_message_handler.cc chrome/browser/sharing_hub/sharing_hub_model_unittest.cc chrome/browser/shell_integration_linux_unittest.cc chrome/browser/signin/account_id_from_account_info_unittest.cc +chrome/browser/signin/android/web_signin_bridge_unittest.cc chrome/browser/signin/bound_session_credentials/bound_session_cookie_controller_impl_unittest.cc chrome/browser/signin/bound_session_credentials/bound_session_cookie_observer_unittest.cc chrome/browser/signin/bound_session_credentials/bound_session_cookie_refresh_service_impl_browsertest.cc @@ -1744,6 +1731,7 @@ chrome/browser/supervised_user/supervised_user_browser_utils.cc chrome/browser/supervised_user/supervised_user_browser_utils_unittest.cc chrome/browser/supervised_user/supervised_user_google_auth_navigation_throttle_unittest.cc chrome/browser/supervised_user/supervised_user_navigation_throttle_browsertest.cc +chrome/browser/supervised_user/supervised_user_pending_state_navigation_browsertest.cc chrome/browser/supervised_user/supervised_user_test_util.cc chrome/browser/supervised_user/supervised_user_url_filter_extensions_unittest.cc chrome/browser/supervised_user/url_filter_interactive_uitest.cc @@ -1760,6 +1748,7 @@ chrome/browser/sync/test/integration/single_client_extension_apps_sync_test.cc chrome/browser/sync/test/integration/single_client_history_sync_test.cc chrome/browser/sync/test/integration/single_client_preferences_sync_test.cc chrome/browser/sync/test/integration/single_client_send_tab_to_self_sync_test.cc +chrome/browser/sync/test/integration/single_client_sessions_sync_test.cc chrome/browser/sync/test/integration/single_client_shared_tab_group_data_sync_test.cc chrome/browser/sync/test/integration/single_client_user_events_sync_test.cc chrome/browser/sync/test/integration/single_client_wallet_credential_sync_test.cc @@ -1788,7 +1777,6 @@ chrome/browser/tpcd/heuristics/opener_heuristic_browsertest.cc chrome/browser/tpcd/heuristics/opener_heuristic_utils.cc chrome/browser/tpcd/heuristics/opener_heuristic_utils_unittest.cc chrome/browser/translate/translate_manager_browsertest.cc -chrome/browser/translate/translate_manager_render_view_host_unittest.cc chrome/browser/trusted_vault/trusted_vault_encryption_keys_tab_helper_browsertest.cc chrome/browser/ui/android/plus_addresses/all_plus_addresses_bottom_sheet_view_browsertest.cc chrome/browser/ui/android/strings/android_chrome_strings.grd @@ -1837,6 +1825,7 @@ chrome/browser/ui/ash/system/system_tray_client_impl.cc chrome/browser/ui/ash/system/system_tray_client_impl_browsertest.cc chrome/browser/ui/ash/wallpaper/wallpaper_controller_client_impl.cc chrome/browser/ui/ash/web_view/ash_web_view_impl_browsertest.cc +chrome/browser/ui/ash/wm/coral_browsertest.cc chrome/browser/ui/autofill/address_editor_controller_unittest.cc chrome/browser/ui/autofill/autofill_bubble_signin_promo_controller_unittest.cc chrome/browser/ui/autofill/autofill_signin_promo_tab_helper_browsertest.cc @@ -1848,6 +1837,7 @@ chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc chrome/browser/ui/blocked_content/tab_under_navigation_throttle.h chrome/browser/ui/bookmarks/bookmark_browsertest.cc chrome/browser/ui/bookmarks/bookmark_ui_utils_desktop_unittest.cc +chrome/browser/ui/bookmarks/bookmark_utils_unittest.cc chrome/browser/ui/browser_browsertest.cc chrome/browser/ui/browser_command_controller.cc chrome/browser/ui/browser_content_setting_bubble_model_delegate.cc @@ -1876,7 +1866,7 @@ chrome/browser/ui/content_settings/content_setting_image_model_unittest.cc chrome/browser/ui/crypto_module_password_dialog_nss.cc chrome/browser/ui/dialogs/outdated_upgrade_bubble.cc chrome/browser/ui/extensions/controlled_home_bubble_delegate_unittest.cc -chrome/browser/ui/extensions/extension_action_view_controller_unittest.cc +chrome/browser/ui/extensions/extension_action_view_controller_browsertest.cc chrome/browser/ui/extensions/hosted_app_browsertest.cc chrome/browser/ui/extensions/installation_error_infobar_delegate.cc chrome/browser/ui/file_system_access/file_system_access_permission_dialog_browsertest.cc @@ -1893,7 +1883,6 @@ chrome/browser/ui/lens/lens_overlay_untrusted_ui.cc chrome/browser/ui/lens/lens_overlay_url_builder_unittest.cc chrome/browser/ui/lens/lens_side_panel_untrusted_ui.cc chrome/browser/ui/login/http_auth_coordinator.h -chrome/browser/ui/managed_ui.cc chrome/browser/ui/managed_ui_browsertest.cc chrome/browser/ui/media_router/media_router_ui_helper_unittest.cc chrome/browser/ui/media_router/media_router_ui_unittest.cc @@ -1956,13 +1945,13 @@ chrome/browser/ui/views/autofill/popup/popup_row_factory_utils_browsertest.cc chrome/browser/ui/views/autofill/popup/popup_separator_view.h chrome/browser/ui/views/autofill/popup/popup_view_views_browsertest.cc chrome/browser/ui/views/autofill/popup/popup_view_views_unittest.cc +chrome/browser/ui/views/bookmarks/bookmark_account_storage_move_dialog_browsertest.cc chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc chrome/browser/ui/views/bookmarks/bookmark_bubble_view_browsertest.cc chrome/browser/ui/views/bookmarks/bookmark_bubble_view_unittest.cc chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc chrome/browser/ui/views/bookmarks/bookmark_menu_delegate_unittest.cc -chrome/browser/ui/views/bookmarks/move_bookmark_to_account_dialog_browsertest.cc chrome/browser/ui/views/borealis/borealis_disallowed_dialog.cc chrome/browser/ui/views/commerce/price_tracking_bubble_dialog_view_unittest.cc chrome/browser/ui/views/commerce/price_tracking_email_dialog_view.cc @@ -2003,6 +1992,8 @@ chrome/browser/ui/views/passwords/password_generation_popup_view_views_browserte chrome/browser/ui/views/payments/payment_method_view_controller_browsertest.cc chrome/browser/ui/views/plugin_vm/plugin_vm_installer_view.cc chrome/browser/ui/views/profiles/avatar_toolbar_button_browsertest.cc +chrome/browser/ui/views/profiles/batch_upload_dialog_view_browsertest.cc +chrome/browser/ui/views/profiles/batch_upload_dialog_view_pixel_browsertest.cc chrome/browser/ui/views/profiles/dice_web_signin_interception_bubble_view_unittest.cc chrome/browser/ui/views/profiles/first_run_interactive_uitest.cc chrome/browser/ui/views/profiles/profile_menu_view_browsertest.cc @@ -2022,7 +2013,6 @@ chrome/browser/ui/views/side_panel/companion/exps_registration_success_observer_ chrome/browser/ui/views/side_panel/lens/lens_core_tab_side_panel_helper_browsertest.cc chrome/browser/ui/views/side_panel/lens/lens_unified_side_panel_view.cc chrome/browser/ui/views/side_panel/search_companion/companion_live_test.cc -chrome/browser/ui/views/side_panel/search_companion/companion_page_browsertest.cc chrome/browser/ui/views/side_panel/search_companion/companion_side_panel_controller.cc chrome/browser/ui/views/site_data/page_specific_site_data_dialog_unittest.cc chrome/browser/ui/views/sync/inline_login_ui_browsertest.cc @@ -2055,7 +2045,6 @@ chrome/browser/ui/webui/ash/cloud_upload/cloud_upload_dialog_browsertest.cc chrome/browser/ui/webui/ash/cloud_upload/drive_upload_handler.cc chrome/browser/ui/webui/ash/cloud_upload/drive_upload_handler_browsertest.cc chrome/browser/ui/webui/ash/edu_coexistence/edu_coexistence_login_handler.cc -chrome/browser/ui/webui/ash/emoji/gif_tenor_api_fetcher.cc chrome/browser/ui/webui/ash/login/consolidated_consent_screen_handler.h chrome/browser/ui/webui/ash/login/gaia_screen_handler.h chrome/browser/ui/webui/ash/login/l10n_util_unittest.cc @@ -2064,7 +2053,6 @@ chrome/browser/ui/webui/ash/notification_tester/notification_tester_handler.cc chrome/browser/ui/webui/ash/parent_access/parent_access_ui_handler_impl.cc chrome/browser/ui/webui/ash/parent_access/parent_access_ui_handler_impl_unittest.cc chrome/browser/ui/webui/ash/settings/pages/a11y/accessibility_handler_browsertest.cc -chrome/browser/ui/webui/ash/settings/pages/multidevice/multidevice_handler_unittest.cc chrome/browser/ui/webui/ash/settings/pages/people/os_sync_handler_unittest.cc chrome/browser/ui/webui/ash/settings/pages/people/parental_controls_handler.cc chrome/browser/ui/webui/ash/settings/pages/power/power_section.cc @@ -2136,7 +2124,6 @@ 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/tab_search/tab_search_page_handler.cc chrome/browser/ui/webui/theme_source_unittest.cc chrome/browser/ui/webui/webui_allowlist_provider_unittest.cc chrome/browser/ui/webui/welcome/google_apps_handler.cc @@ -2157,17 +2144,18 @@ chrome/browser/usb/usb_chooser_context_unittest.cc chrome/browser/usb/usb_chooser_controller_unittest.cc chrome/browser/usb/usb_policy_allowed_devices_unittest.cc chrome/browser/usb/web_usb_detector_unittest.cc +chrome/browser/user_annotations/user_annotations_service_browsertest.cc chrome/browser/visited_url_ranking/desktop_tab_model_url_visit_data_fetcher_unittest.cc chrome/browser/vr/PRESUBMIT.py chrome/browser/vr/test/gl_test_environment_unittest.cc chrome/browser/wallet/android/boarding_pass_detector_unittest.cc +chrome/browser/web_applications/ash/migrations/migrate_preinstalls_to_aps_browsertest.cc chrome/browser/web_applications/chromeos_web_app_experiments_browsertest.cc chrome/browser/web_applications/commands/fetch_manifest_and_install_command.cc chrome/browser/web_applications/commands/install_app_from_verified_manifest_command.cc chrome/browser/web_applications/commands/install_app_from_verified_manifest_command_browsertest.cc chrome/browser/web_applications/isolated_web_apps/isolated_web_app_source_unittest.cc chrome/browser/web_applications/isolated_web_apps/isolated_web_app_update_manager.h -chrome/browser/web_applications/migrations/migrate_preinstalls_to_aps_browsertest.cc chrome/browser/web_applications/os_integration/web_app_handler_registration_utils_win.cc chrome/browser/web_applications/os_integration/web_app_handler_registration_utils_win.h chrome/browser/web_applications/os_integration/web_app_handler_registration_utils_win_unittest.cc @@ -2186,7 +2174,6 @@ chrome/browser/web_applications/preinstalled_web_apps/preinstalled_web_apps.cc chrome/browser/web_applications/preinstalled_web_apps/youtube.cc chrome/browser/web_applications/preinstalled_web_apps_browsertest.cc chrome/browser/web_applications/web_app_helpers_unittest.cc -chrome/browser/web_applications/web_app_id_constants.h chrome/browser/web_applications/web_app_install_utils_unittest.cc chrome/browser/web_applications/web_app_provider.cc chrome/browser/web_applications/web_contents/web_app_icon_downloader_unittest.cc @@ -2303,6 +2290,7 @@ chrome/elevation_service/service_main.cc chrome/enterprise_companion/branding.gni chrome/enterprise_companion/crash_client.cc chrome/enterprise_companion/event_logger.cc +chrome/enterprise_companion/proxy_config_service.cc chrome/install_static/install_constants.h chrome/install_static/install_details.h chrome/install_static/install_modes_unittest.cc @@ -2477,10 +2465,8 @@ chrome/test/mini_installer/installer_test.py chrome/test/mini_installer/update_lastrun.py chrome/test/payments/payment_request_platform_browsertest_base.h chrome/test/supervised_user/api_mock_setup_mixin.cc -chrome/test/supervised_user/family_member.cc chrome/test/supervised_user/supervision_mixin.cc chrome/test/supervised_user/supervision_mixin.h -chrome/test/supervised_user/test_state_seeded_observer.cc chrome/test/variations/fixtures/cipd.py chrome/test/variations/fixtures/driver.py chrome/test/variations/fixtures/skia_gold.py @@ -2528,6 +2514,7 @@ chrome/utility/importer/nss_decryptor.cc chrome/utility/importer/nss_decryptor_system_nss.cc chrome/utility/importer/nss_decryptor_win.h chrome/version.gni +chrome/windows_services/service_program/service.cc chromecast/app/resources/shell_devtools_discovery_page.html chromecast/base/chromecast_switches.cc chromecast/browser/renderer_prelauncher_test.cc @@ -2555,6 +2542,9 @@ chromeos/ash/components/boca/boca_session_manager_unittest.cc chromeos/ash/components/boca/session_api/constants.h chromeos/ash/components/boca/session_api/create_session_request_unittest.cc chromeos/ash/components/boca/session_api/get_session_request_unittest.cc +chromeos/ash/components/boca/session_api/session_parser_unittest.cc +chromeos/ash/components/boca/session_api/update_session_request_unittest.cc +chromeos/ash/components/boca/session_api/update_student_activities_request_unittest.cc chromeos/ash/components/carrier_lock/fcm_topic_subscriber_unittest.cc chromeos/ash/components/carrier_lock/provisioning_config_fetcher_impl.cc chromeos/ash/components/carrier_lock/provisioning_config_fetcher_unittest.cc @@ -2571,6 +2561,7 @@ chromeos/ash/components/dbus/debug_daemon/debug_daemon_client.h chromeos/ash/components/dbus/dlcservice/dlcservice_client.h chromeos/ash/components/dbus/rmad/fake_rmad_client.cc chromeos/ash/components/drivefs/drivefs_http_client_unittest.cc +chromeos/ash/components/emoji/gif_tenor_api_fetcher.cc chromeos/ash/components/enhanced_network_tts/enhanced_network_tts_constants.h chromeos/ash/components/enhanced_network_tts/enhanced_network_tts_impl.cc chromeos/ash/components/enhanced_network_tts/enhanced_network_tts_test_utils.h @@ -2596,6 +2587,7 @@ chromeos/ash/components/network/network_cert_loader.cc chromeos/ash/components/network/network_util.h chromeos/ash/components/network/onc/network_onc_utils.cc chromeos/ash/components/network/profile_policies.h +chromeos/ash/components/network/proxy/proxy_config_service_impl_unittest.cc chromeos/ash/components/network/system_token_cert_db_storage.h chromeos/ash/components/phonehub/notification.h chromeos/ash/components/phonehub/url_constants.cc @@ -2646,7 +2638,6 @@ chromeos/components/test/data/onc/proxy_config.json chromeos/components/test/data/onc/shill_wifi_proxy.json chromeos/constants/chromeos_features.cc chromeos/dbus/permission_broker/permission_broker_client.h -chromeos/lacros/BUILD.gn chromeos/printing/printer_config_cache.cc chromeos/printing/printer_config_cache_unittest.cc chromeos/printing/printer_configuration_unittest.cc @@ -2808,6 +2799,7 @@ components/crash/core/common/crash_key.h components/cronet/PRESUBMIT.py components/cronet/android/test/javaperftests/AndroidManifest.xml components/cronet/android/test/javatests/AndroidManifest.xml +components/cronet/gn2bp/PRESUBMIT.py components/cronet/gn2bp/gen_android_bp.py components/cronet/gn2bp/gn_utils.py components/cronet/license/license_utils.py @@ -2845,12 +2837,10 @@ components/domain_reliability/google_configs_unittest.cc components/domain_reliability/monitor_unittest.cc components/drive/drive_api_util.h components/drive/service/drive_api_service.cc +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/connectors/core/connectors_manager_base_unittest.cc -components/enterprise/connectors/core/connectors_service_base_unittest.cc -components/enterprise/connectors/core/reporting_service_settings_unittest.cc components/enterprise/connectors/core/service_provider_config.cc components/enterprise/connectors/core/service_provider_config_unittest.cc components/enterprise/data_controls/core/browser/conditions/attributes_condition_unittest.cc @@ -2864,6 +2854,7 @@ components/exo/drag_drop_operation_unittest.cc components/exo/seat_unittest.cc components/exo/ui_lock_controller.h components/eye_dropper/eye_dropper_view.cc +components/facilitated_payments/content/browser/security_checker.h components/facilitated_payments/core/util/payment_link_validator_unittest.cc components/favicon/content/content_favicon_driver_unittest.cc components/favicon/core/fallback_url_util_unittest.cc @@ -2889,10 +2880,11 @@ components/feedback/feedback_common_unittest.cc components/feedback/feedback_report.h components/feedback/feedback_uploader.cc components/feedback/feedback_uploader_dispatch_unittest.cc +components/feedback/redaction_tool/redaction_tool_unittest.cc components/feedback/redaction_tool/url_parse.h components/fingerprinting_protection_filter/browser/fingerprinting_protection_web_contents_helper.cc components/flags_ui/flags_test_helpers.cc -components/flags_ui/resources/app.html +components/flags_ui/resources/app.html.ts components/gcm_driver/gcm_account_mapper.cc components/gcm_driver/gcm_account_mapper_unittest.cc components/gcm_driver/gcm_client_impl.cc @@ -2948,9 +2940,11 @@ components/history_clusters_strings.grdp components/history_embeddings/ml_answerer_unittest.cc components/history_strings.grdp components/infobars/content/content_infobar_manager.cc +components/input/android/scoped_input_receiver.h components/input/features.h components/input/render_input_router.h 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/invalidation/impl/fcm_invalidation_service_unittest.cc @@ -2967,7 +2961,7 @@ components/lens/lens_features.cc components/lens/lens_url_utils_unittest.cc components/leveldb_proto/internal/leveldb_database.cc components/live_caption/greedy_text_stabilizer.h -components/live_caption/live_translate_controller.cc +components/live_caption/translation_dispatcher.cc components/login_dialog_strings.grdp components/lookalikes/core/lookalike_url_util.cc components/lookalikes/core/lookalike_url_util.h @@ -2980,6 +2974,8 @@ components/manta/mahi_provider.cc components/manta/manta_service_callbacks.cc components/manta/orca_provider.cc components/manta/orca_provider_unittest.cc +components/manta/scanner_provider.h +components/manta/scanner_provider_unittest.cc components/media_router/browser/android/flinging_controller_bridge.cc components/media_router/browser/media_router_dialog_controller_unittest.cc components/media_router/browser/media_router_metrics_unittest.cc @@ -3068,6 +3064,7 @@ components/omnibox/browser/omnibox_field_trial.h components/omnibox/browser/omnibox_view_unittest.cc components/omnibox/browser/on_device_head_provider_unittest.cc components/omnibox/browser/on_device_tail_model_service_unittest.cc +components/omnibox/browser/open_tab_provider_unittest.cc components/omnibox/browser/remote_suggestions_service_unittest.cc components/omnibox/browser/scored_history_match.cc components/omnibox/browser/scored_history_match_unittest.cc @@ -3103,6 +3100,7 @@ components/optimization_guide/core/model_handler_unittest.cc components/optimization_guide/core/model_quality/model_quality_logs_uploader_service.cc components/optimization_guide/core/optimization_filter_unittest.cc components/optimization_guide/core/optimization_guide_constants.cc +components/optimization_guide/core/optimization_guide_proto_util.cc components/optimization_guide/core/optimization_guide_util.h components/optimization_guide/core/optimization_guide_util_unittest.cc components/optimization_guide/core/optimization_metadata_unittest.cc @@ -3277,7 +3275,7 @@ components/plus_addresses/metrics/plus_address_submission_logger_unittest.cc components/plus_addresses/plus_address_http_client_impl.cc components/plus_addresses/plus_address_http_client_impl_unittest.cc components/plus_addresses/plus_address_suggestion_generator_unittest.cc -components/plus_addresses_strings.grdp +components/plus_addresses/resources/strings/plus_addresses_strings.grd components/policy/PRESUBMIT.py components/policy/core/browser/browser_policy_connector.cc components/policy/core/browser/configuration_policy_pref_store_unittest.cc @@ -3299,6 +3297,7 @@ components/policy/core/common/cloud/user_info_fetcher.cc components/policy/core/common/cloud/user_info_fetcher_unittest.cc components/policy/core/common/default_chrome_apps_migrator.cc components/policy/core/common/default_chrome_apps_migrator_unittest.cc +components/policy/core/common/features.h components/policy/core/common/policy_loader_common.cc components/policy/core/common/policy_loader_common_unittest.cc components/policy/core/common/policy_loader_lacros_unittest.cc @@ -3309,6 +3308,7 @@ components/policy/core/common/registry_dict_unittest.cc components/policy/core/common/scoped_critical_policy_section.cc components/policy/core/common/values_util.h components/policy/resources/policy_templates.py +components/policy/resources/webui/policy.html components/policy/test/data/pref_mapping/AllHttpAuthSchemesAllowedForOrigins.json components/policy/test/data/pref_mapping/AllowedDomainsForApps.json components/policy/test/data/pref_mapping/AllowedDomainsForAppsList.json @@ -3335,8 +3335,6 @@ components/policy/test/data/pref_mapping/DeviceAuthenticationURLBlocklist.json components/policy/test/data/pref_mapping/DeviceLoginScreenExtensions.json components/policy/test/data/pref_mapping/DeviceLoginScreenWebHidAllowDevicesForUrls.json components/policy/test/data/pref_mapping/DeviceLoginScreenWebUsbAllowDevicesForUrls.json -components/policy/test/data/pref_mapping/DirectSocketsAllowedForUrls.json -components/policy/test/data/pref_mapping/DirectSocketsBlockedForUrls.json components/policy/test/data/pref_mapping/DisabledSchemes.json components/policy/test/data/pref_mapping/DnsOverHttpsExcludedDomains.json components/policy/test/data/pref_mapping/DnsOverHttpsIncludedDomains.json @@ -3434,6 +3432,7 @@ components/printing/renderer/print_render_frame_helper.cc components/printing/test/print_render_frame_helper_browsertest.cc components/privacy_sandbox/privacy_sandbox_settings_impl.cc components/privacy_sandbox/privacy_sandbox_settings_impl_unittest.cc +components/privacy_sandbox/privacy_sandbox_survey_service_unittest.cc components/privacy_sandbox_chrome_strings.grdp components/privacy_sandbox_strings.grd components/protocol_handler_strings.grdp @@ -3526,7 +3525,6 @@ components/safe_browsing/core/browser/realtime/url_lookup_service.cc components/safe_browsing/core/browser/realtime/url_lookup_service_unittest.cc components/safe_browsing/core/browser/sync/sync_utils_unittest.cc components/safe_browsing/core/browser/tailored_security_service/tailored_security_service.cc -components/safe_browsing/core/browser/tailored_security_service/tailored_security_service_observer_util.cc components/safe_browsing/core/browser/tailored_security_service/tailored_security_service_unittest.cc components/safe_browsing/core/browser/verdict_cache_manager.cc components/safe_browsing/core/browser/verdict_cache_manager_unittest.cc @@ -3537,14 +3535,14 @@ components/safe_search_api/safe_search_util_unittest.cc components/safe_search_api/stub_url_checker.cc components/safety_check/update_check_helper.h components/safety_check/url_constants.cc -components/saved_tab_groups/android/tab_group_sync_service_android_unittest.cc -components/saved_tab_groups/fake_tab_group_sync_service.cc -components/saved_tab_groups/saved_tab_group_sync_bridge_unittest.cc -components/saved_tab_groups/saved_tab_group_test_utils.cc -components/saved_tab_groups/saved_tab_group_unittest.cc -components/saved_tab_groups/shared_tab_group_data_sync_bridge_unittest.cc -components/saved_tab_groups/tab_group_sync_bridge_mediator_unittest.cc -components/saved_tab_groups/tab_group_sync_service_unittest.cc +components/saved_tab_groups/internal/android/tab_group_sync_service_android_unittest.cc +components/saved_tab_groups/internal/saved_tab_group_sync_bridge_unittest.cc +components/saved_tab_groups/internal/shared_tab_group_data_sync_bridge_unittest.cc +components/saved_tab_groups/internal/tab_group_sync_bridge_mediator_unittest.cc +components/saved_tab_groups/internal/tab_group_sync_service_unittest.cc +components/saved_tab_groups/public/saved_tab_group_unittest.cc +components/saved_tab_groups/test_support/fake_tab_group_sync_service.cc +components/saved_tab_groups/test_support/saved_tab_group_test_utils.cc components/search_engines/PRESUBMIT.py components/search_engines/android/template_url_service_android_unittest.cc components/search_engines/choice_made_location.h @@ -3572,6 +3570,7 @@ components/security_interstitials/core/safe_browsing_loud_error_ui.cc components/security_interstitials/core/urls.cc components/security_interstitials_strings.grdp components/security_state/core/security_state.h +components/segmentation_platform/embedder/home_modules/tips_manager/signal_constants.h components/segmentation_platform/internal/execution/optimization_guide/optimization_guide_segmentation_model_provider.cc components/segmentation_platform/internal/execution/optimization_guide/optimization_guide_segmentation_model_provider_unittest.cc components/segmentation_platform/internal/execution/optimization_guide/segmentation_model_executor_unittest.cc @@ -3675,6 +3674,7 @@ 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_user_capabilities_unittest.cc components/supervised_user/core/browser/family_link_user_log_record_unittest.cc components/supervised_user/core/browser/fetcher_config.cc components/supervised_user/core/browser/fetcher_config.h @@ -3683,7 +3683,6 @@ components/supervised_user/core/browser/list_family_members_service_unittest.cc components/supervised_user/core/browser/parallel_fetch_manager_unittest.cc 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_capabilities_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_url_filter.cc @@ -3691,6 +3690,9 @@ 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/common/supervised_user_constants.cc components/supervised_user/core/common/supervised_user_constants.h +components/supervised_user/test_support/account_repository.h +components/supervised_user/test_support/account_repository_unittest.cc +components/supervised_user/test_support/browser_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/sync/base/data_type.cc @@ -3701,6 +3703,7 @@ components/sync/model/syncable_service.h components/sync/protocol/proto_value_conversions_unittest.cc components/sync/service/resources/about.ts components/sync/service/sync_prefs.cc +components/sync/service/sync_service.h components/sync/service/sync_service_impl_startup_unittest.cc components/sync/service/sync_service_impl_unittest.cc components/sync/service/sync_session_durations_metrics_recorder_unittest.cc @@ -3904,6 +3907,7 @@ content/browser/preloading/prefetch/prefetch_container.cc content/browser/preloading/prefetch/prefetch_container.h content/browser/preloading/prefetch/prefetch_container_unittest.cc content/browser/preloading/prefetch/prefetch_match_resolver.cc +content/browser/preloading/prefetch/prefetch_service.cc content/browser/preloading/prefetch/prefetch_status.h content/browser/preloading/prefetch/prefetch_url_loader_interceptor.cc content/browser/preloading/preloading_decider_unittest.cc @@ -3932,6 +3936,7 @@ content/browser/renderer_host/navigator_unittest.cc content/browser/renderer_host/policy_container_host_browsertest.cc content/browser/renderer_host/recently_destroyed_hosts_unittest.cc content/browser/renderer_host/render_frame_host_impl.cc +content/browser/renderer_host/render_frame_host_impl_browsertest.cc content/browser/renderer_host/render_frame_host_manager_browsertest.cc content/browser/renderer_host/render_frame_host_manager_unittest.cc content/browser/renderer_host/render_frame_host_permissions_policy_unittest.cc @@ -4050,9 +4055,6 @@ content/shell/browser/shell_browser_main_parts.cc content/shell/browser/shell_platform_delegate_ios.mm content/test/PRESUBMIT.py content/test/gpu/PRESUBMIT.py -content/test/gpu/bad_machine_finder/buildbucket.py -content/test/gpu/bad_machine_finder/buildbucket_unittest.py -content/test/gpu/bad_machine_finder/swarming.py content/test/gpu/find_unknown_typ_tags.py content/test/gpu/flake_suppressor/gpu_results_unittest.py content/test/gpu/gather_power_measurement_results.py @@ -4074,9 +4076,11 @@ content/zygote/zygote_linux.h content/zygote/zygote_main_linux.cc crypto/chaps_support.cc crypto/hmac_unittest.cc +crypto/kdf.h crypto/nss_util.cc crypto/rsa_private_key_unittest.cc crypto/secure_util.h +crypto/symmetric_key.h crypto/unexportable_key.h crypto/unexportable_key_unittest.cc crypto/unexportable_key_win.cc @@ -4092,8 +4096,6 @@ device/bluetooth/dbus/bluetooth_device_client.h device/bluetooth/floss/bluetooth_adapter_floss.cc device/bluetooth/floss/bluetooth_device_floss.h device/bluetooth/floss/floss_lescan_client.h -device/fido/aoa/android_accessory_discovery.cc -device/fido/aoa/android_accessory_discovery.h device/fido/attestation_statement_formats.cc device/fido/discoverable_credential_metadata.h device/fido/enclave/constants.cc @@ -4276,7 +4278,7 @@ google_apis/gcm/engine/gservices_settings_unittest.cc google_apis/gcm/engine/mcs_client.cc google_apis/gcm/engine/registration_request_unittest.cc google_apis/gcm/tools/mcs_probe.cc -google_apis/google_api_keys-inc.cc +google_apis/google_api_keys.cc google_apis/google_api_keys.h google_apis/tasks/tasks_api_requests.h google_apis/tasks/tasks_api_response_types.h @@ -4300,6 +4302,8 @@ google_apis/test/data/drive/changelist_with_new_start_page_token.json google_apis/test/data/drive/directory_entry.json google_apis/test/data/drive/file_entry.json google_apis/test/data/drive/filelist.json +google_apis/youtube_music/youtube_music_api_request_types.cc +google_apis/youtube_music/youtube_music_api_request_types_unittest.cc google_apis/youtube_music/youtube_music_api_requests.cc google_apis/youtube_music/youtube_music_api_requests.h google_apis/youtube_music/youtube_music_api_response_types.h @@ -4338,6 +4342,7 @@ headless/test/dom_tree_extraction_expected_nodes.txt headless/test/headless_compositor_browsertest.cc infra/config/PRESUBMIT.py infra/config/generated/health-specs/health-specs.json +infra/config/migration/PRESUBMIT.py infra/config/scripts/PRESUBMIT.py infra/config/scripts/sync-pyl-files.py ios/PRESUBMIT.py @@ -4693,7 +4698,6 @@ media/parsers/webp_parser.h media/renderers/audio_renderer_impl.cc media/renderers/audio_renderer_impl.h media/renderers/video_renderer_impl.h -media/renderers/video_resource_updater.cc media/renderers/win/media_engine_extension.h media/renderers/win/media_engine_notify_impl.cc media/renderers/win/media_engine_notify_impl.h @@ -5022,6 +5026,7 @@ net/socket/socket_test_util.cc net/socket/socks5_client_socket_unittest.cc net/socket/socks_connect_job_unittest.cc net/socket/ssl_client_socket_impl.cc +net/socket/tcp_socket_io_completion_port_win.cc net/socket/tcp_socket_win.cc net/socket/transport_client_socket_pool_unittest.cc net/socket/udp_socket_posix.h @@ -5344,7 +5349,6 @@ testing/buildbot/filters/PRESUBMIT.py testing/buildbot/generate_buildbot_json.py testing/buildbot/query_optimal_shard_counts.py testing/buildbot/scripts/upload_test_result_artifacts.py -testing/buildbot/test_suite_exceptions.pyl testing/buildbot/waterfalls.pyl testing/chromoting/browser_test_commands_linux.txt testing/chromoting/chromoting_test_driver_commands_linux.txt @@ -5478,6 +5482,7 @@ third_party/angle/BUILD.gn third_party/angle/PRESUBMIT.py third_party/angle/extensions/ANGLE_base_vertex_base_instance.txt third_party/angle/extensions/ANGLE_base_vertex_base_instance_shader_builtin.txt +third_party/angle/extensions/ANGLE_blob_cache.txt third_party/angle/extensions/ANGLE_client_arrays.txt third_party/angle/extensions/ANGLE_external_objects_flags.txt third_party/angle/extensions/ANGLE_external_objects_fuchsia.txt @@ -5577,6 +5582,7 @@ third_party/angle/src/compiler/translator/hlsl/OutputHLSL.cpp third_party/angle/src/compiler/translator/hlsl/TextureFunctionHLSL.cpp third_party/angle/src/compiler/translator/hlsl/blocklayoutHLSL.h third_party/angle/src/compiler/translator/spirv/OutputSPIRV.cpp +third_party/angle/src/compiler/translator/wgsl/OutputUniformBlocks.cpp third_party/angle/src/compiler/translator/wgsl/RewritePipelineVariables.cpp third_party/angle/src/libANGLE/Display.cpp third_party/angle/src/libANGLE/GLES1Renderer.cpp @@ -5884,8 +5890,6 @@ third_party/blink/renderer/core/css/parser/find_length_of_declaration_list-inl.h third_party/blink/renderer/core/css/properties/longhands/longhands_custom.cc third_party/blink/renderer/core/css/remote_font_face_source.cc third_party/blink/renderer/core/css/resolver/style_adjuster.cc -third_party/blink/renderer/core/css/selector_checker.cc -third_party/blink/renderer/core/css/selector_query.cc third_party/blink/renderer/core/css/style_engine.cc third_party/blink/renderer/core/css/style_engine_test.cc third_party/blink/renderer/core/css/style_rule_import.cc @@ -6016,7 +6020,6 @@ third_party/blink/renderer/core/html/forms/html_legend_element.idl third_party/blink/renderer/core/html/forms/html_option_element.idl third_party/blink/renderer/core/html/forms/html_options_collection.idl third_party/blink/renderer/core/html/forms/html_select_element.idl -third_party/blink/renderer/core/html/forms/html_select_list_element.h third_party/blink/renderer/core/html/forms/html_text_area_element.idl third_party/blink/renderer/core/html/forms/validity_state.cc third_party/blink/renderer/core/html/forms/validity_state.h @@ -6056,7 +6059,7 @@ third_party/blink/renderer/core/input/event_handling_util.cc third_party/blink/renderer/core/input/mouse_event_manager.cc third_party/blink/renderer/core/input/pointer_event_manager.cc third_party/blink/renderer/core/inspector/devtools_session.h -third_party/blink/renderer/core/inspector/inspector_style_sheet.cc +third_party/blink/renderer/core/inspector/inspector_css_parser_observer.cc third_party/blink/renderer/core/intersection_observer/intersection_observer_controller.h third_party/blink/renderer/core/layout/adjust_for_absolute_zoom.h third_party/blink/renderer/core/layout/block_node.cc @@ -6211,6 +6214,7 @@ 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/bluetooth/bluetooth_error.cc +third_party/blink/renderer/modules/canvas/canvas2d/base_rendering_context_2d.h third_party/blink/renderer/modules/clipboard/clipboard_promise.cc third_party/blink/renderer/modules/credentialmanagement/authentication_credentials_container.cc third_party/blink/renderer/modules/encryptedmedia/encrypted_media_utils.h @@ -6237,6 +6241,7 @@ third_party/blink/renderer/modules/payments/android_pay_method_data.idl third_party/blink/renderer/modules/payments/on_payment_response_test.cc third_party/blink/renderer/modules/payments/payment_request.cc third_party/blink/renderer/modules/payments/payment_request_optional_total_test.cc +third_party/blink/renderer/modules/payments/payment_request_test.cc third_party/blink/renderer/modules/payments/payment_response_test.cc third_party/blink/renderer/modules/peerconnection/peer_connection_dependency_factory.cc third_party/blink/renderer/modules/presentation/presentation_connection_available_event.h @@ -6345,7 +6350,6 @@ third_party/blink/renderer/platform/network/http_parsers_test.cc third_party/blink/renderer/platform/network/network_state_notifier.cc third_party/blink/renderer/platform/network/network_utils_test.cc third_party/blink/renderer/platform/network/parsed_content_header_field_parameters.h -third_party/blink/renderer/platform/peerconnection/rtc_video_decoder_factory.cc third_party/blink/renderer/platform/peerconnection/rtc_video_encoder.cc third_party/blink/renderer/platform/scheduler/main_thread/main_thread_task_queue.h third_party/blink/renderer/platform/scheduler/main_thread/memory_purge_manager.cc @@ -6409,7 +6413,6 @@ third_party/boringssl/src/pki/signature_algorithm.cc third_party/boringssl/src/pki/string_util_unittest.cc third_party/boringssl/src/pki/testdata/parse_certificate_unittest/v3_certificate_template.txt third_party/boringssl/src/pki/verify_certificate_chain.cc -third_party/boringssl/src/ssl/handshake_client.cc third_party/boringssl/src/ssl/ssl_test.cc third_party/boringssl/src/third_party/googletest/docs/_layouts/default.html third_party/boringssl/src/third_party/googletest/googlemock/src/gmock_main.cc @@ -7276,15 +7279,6 @@ third_party/catapult/third_party/gsutil/third_party/urllib3/test/test_util.py third_party/catapult/third_party/gsutil/third_party/urllib3/test/with_dummyserver/test_proxy_poolmanager.py third_party/catapult/third_party/gsutil/third_party/urllib3/test/with_dummyserver/test_socketlevel.py third_party/catapult/third_party/html5lib-1.1/html5lib/tests/test_parser2.py -third_party/catapult/third_party/httplib2/Makefile -third_party/catapult/third_party/httplib2/index.html -third_party/catapult/third_party/httplib2/python2/httplib2/__init__.py -third_party/catapult/third_party/httplib2/python2/httplib2test.py -third_party/catapult/third_party/httplib2/python2/httplib2test_appengine.py -third_party/catapult/third_party/httplib2/python2/ssl_protocol_test.py -third_party/catapult/third_party/httplib2/python3/httplib2/__init__.py -third_party/catapult/third_party/httplib2/python3/httplib2/test/other_cacerts.txt -third_party/catapult/third_party/httplib2/python3/httplib2test.py third_party/catapult/third_party/jquery/jquery-2.1.4.js third_party/catapult/third_party/mapreduce/mapreduce/handlers.py third_party/catapult/third_party/mapreduce/mapreduce/mapreduce_pipeline.py @@ -7719,18 +7713,17 @@ third_party/cros-components/src/tooltip/tooltip.ts third_party/cros_system_api/dbus/bluetooth/dbus-constants.h third_party/cros_system_api/dbus/shill/dbus-constants.h third_party/crossbench/chrome-extension-replay/devtools-recorder/crossbench.html -third_party/crossbench/crossbench/benchmarks/experimental/power/browsing_urls.txt -third_party/crossbench/crossbench/benchmarks/experimental/power/power_benchmark.py -third_party/crossbench/crossbench/benchmarks/loading/action.py +third_party/crossbench/crossbench/action_runner/action/enums.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.py +third_party/crossbench/crossbench/benchmarks/loading/page/live.py third_party/crossbench/crossbench/browsers/chrome/downloader.py third_party/crossbench/crossbench/browsers/chromium/applescript.py third_party/crossbench/crossbench/browsers/chromium/webdriver.py third_party/crossbench/crossbench/browsers/firefox/downloader.py third_party/crossbench/crossbench/browsers/firefox/webdriver.py -third_party/crossbench/crossbench/browsers/secrets.py third_party/crossbench/crossbench/plt/android_adb.py +third_party/crossbench/crossbench/probes/chrome_histograms.py third_party/crossbench/crossbench/probes/performance_entries.py third_party/crossbench/crossbench/probes/profiling/browser_profiling.py third_party/crossbench/crossbench/probes/profiling/system_profiling.py @@ -7748,6 +7741,7 @@ third_party/dav1d/libdav1d/tools/input/parse.h third_party/dav1d/libdav1d/tools/input/section5.c third_party/dawn/.vscode/tasks.json third_party/dawn/CMakeLists.txt +third_party/dawn/src/dawn/dawn.json third_party/dawn/src/dawn/native/CommandAllocator.cpp third_party/dawn/src/dawn/native/CopyTextureForBrowserHelper.cpp third_party/dawn/src/dawn/native/Features.cpp @@ -8019,6 +8013,8 @@ third_party/depot_tools/git_common.py third_party/depot_tools/git_number.py third_party/depot_tools/git_retry.py third_party/depot_tools/gsutil.py +third_party/depot_tools/infra_lib/telemetry/__init__.py +third_party/depot_tools/infra_lib/telemetry/clearcut_span_exporter.py third_party/depot_tools/infra_lib/telemetry/proto/clientanalytics_pb2.py third_party/depot_tools/infra_lib/telemetry/proto/trace_span_pb2.py third_party/depot_tools/man/html/depot_tools.html @@ -8310,6 +8306,7 @@ third_party/devtools-frontend/src/front_end/models/trace/handlers/UserTimingsHan third_party/devtools-frontend/src/front_end/models/trace/helpers/Trace.test.ts third_party/devtools-frontend/src/front_end/models/trace/insights/CumulativeLayoutShift.ts third_party/devtools-frontend/src/front_end/models/trace/insights/DocumentLatency.ts +third_party/devtools-frontend/src/front_end/models/trace/insights/FontDisplay.test.ts third_party/devtools-frontend/src/front_end/models/trace/insights/InteractionToNextPaint.ts third_party/devtools-frontend/src/front_end/models/trace/insights/RenderBlocking.test.ts third_party/devtools-frontend/src/front_end/models/trace/insights/ThirdPartyWeb.test.ts @@ -8350,8 +8347,10 @@ third_party/devtools-frontend/src/front_end/panels/elements/components/CSSProper third_party/devtools-frontend/src/front_end/panels/emulation/DeviceModeToolbar.ts third_party/devtools-frontend/src/front_end/panels/emulation/emulation-meta.ts third_party/devtools-frontend/src/front_end/panels/explain/components/ConsoleInsight.ts -third_party/devtools-frontend/src/front_end/panels/freestyler/components/FreestylerChatUi.ts +third_party/devtools-frontend/src/front_end/panels/freestyler/DrJonesFileAgent.ts +third_party/devtools-frontend/src/front_end/panels/freestyler/FreestylerPanel.ts third_party/devtools-frontend/src/front_end/panels/freestyler/components/ProvideFeedback.ts +third_party/devtools-frontend/src/front_end/panels/freestyler/components/freestylerChatUi.css third_party/devtools-frontend/src/front_end/panels/issues/AffectedCookiesView.ts third_party/devtools-frontend/src/front_end/panels/issues/AffectedDirectivesView.ts third_party/devtools-frontend/src/front_end/panels/issues/AffectedMetadataAllowedSitesView.ts @@ -8388,6 +8387,7 @@ third_party/devtools-frontend/src/front_end/panels/sources/components/HeadersVie third_party/devtools-frontend/src/front_end/panels/timeline/Initiators.test.ts third_party/devtools-frontend/src/front_end/panels/timeline/ThreadAppender.ts third_party/devtools-frontend/src/front_end/panels/timeline/TimelineLandingPage.ts +third_party/devtools-frontend/src/front_end/panels/timeline/TimelinePanel.ts third_party/devtools-frontend/src/front_end/panels/timeline/TimelineTreeView.test.ts third_party/devtools-frontend/src/front_end/panels/timeline/TimelineUIUtils.test.ts third_party/devtools-frontend/src/front_end/panels/timeline/TimingsTrackAppender.ts @@ -8396,10 +8396,14 @@ third_party/devtools-frontend/src/front_end/panels/timeline/components/EntryStyl third_party/devtools-frontend/src/front_end/panels/timeline/components/FieldSettingsDialog.test.ts third_party/devtools-frontend/src/front_end/panels/timeline/components/FieldSettingsDialog.ts third_party/devtools-frontend/src/front_end/panels/timeline/components/LiveMetricsView.ts +third_party/devtools-frontend/src/front_end/panels/timeline/components/SidebarInsightsTab.test.ts +third_party/devtools-frontend/src/front_end/panels/timeline/components/insights/FontDisplay.ts +third_party/devtools-frontend/src/front_end/panels/timeline/components/insights/SlowCSSSelector.ts third_party/devtools-frontend/src/front_end/panels/timeline/components/insights/ThirdParties.ts third_party/devtools-frontend/src/front_end/panels/timeline/components/insights/Viewport.ts third_party/devtools-frontend/src/front_end/panels/timeline/overlays/components/EntriesLinkOverlay.ts third_party/devtools-frontend/src/front_end/panels/timeline/track_appenders/ThreadAppender.test.ts +third_party/devtools-frontend/src/front_end/panels/timeline/utils/Helpers.test.ts third_party/devtools-frontend/src/front_end/panels/webauthn/WebauthnPane.ts third_party/devtools-frontend/src/front_end/services/tracing/PerformanceTracing.ts third_party/devtools-frontend/src/front_end/third_party/acorn/package/dist/acorn.js @@ -8497,7 +8501,6 @@ third_party/devtools-frontend/src/front_end/third_party/lighthouse/locales/zh.js third_party/devtools-frontend/src/front_end/third_party/lighthouse/report/bundle.js third_party/devtools-frontend/src/front_end/third_party/lit/lib/decorators.d.ts third_party/devtools-frontend/src/front_end/third_party/lit/lib/lit.d.ts -third_party/devtools-frontend/src/front_end/third_party/lodash-isequal/package/package.json third_party/devtools-frontend/src/front_end/third_party/puppeteer-replay/package/lib/main.js third_party/devtools-frontend/src/front_end/third_party/puppeteer-replay/package/package.json third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.d.ts @@ -8536,6 +8539,8 @@ third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/cj third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/LaunchOptions.d.ts third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/PuppeteerNode.d.ts third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/PuppeteerNode.js +third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.d.ts +third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.js third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.d.ts third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/BrowserContext.d.ts third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/ElementHandle.d.ts @@ -8695,6 +8700,7 @@ third_party/devtools-frontend/src/node_modules/@types/node/assert.d.ts third_party/devtools-frontend/src/node_modules/@types/node/buffer.d.ts third_party/devtools-frontend/src/node_modules/@types/node/console.d.ts third_party/devtools-frontend/src/node_modules/@types/node/crypto.d.ts +third_party/devtools-frontend/src/node_modules/@types/node/events.d.ts third_party/devtools-frontend/src/node_modules/@types/node/fs.d.ts third_party/devtools-frontend/src/node_modules/@types/node/fs/promises.d.ts third_party/devtools-frontend/src/node_modules/@types/node/http.d.ts @@ -8706,6 +8712,7 @@ third_party/devtools-frontend/src/node_modules/@types/node/ts4.8/assert.d.ts third_party/devtools-frontend/src/node_modules/@types/node/ts4.8/buffer.d.ts third_party/devtools-frontend/src/node_modules/@types/node/ts4.8/console.d.ts third_party/devtools-frontend/src/node_modules/@types/node/ts4.8/crypto.d.ts +third_party/devtools-frontend/src/node_modules/@types/node/ts4.8/events.d.ts third_party/devtools-frontend/src/node_modules/@types/node/ts4.8/fs.d.ts third_party/devtools-frontend/src/node_modules/@types/node/ts4.8/fs/promises.d.ts third_party/devtools-frontend/src/node_modules/@types/node/ts4.8/http.d.ts @@ -8725,6 +8732,8 @@ third_party/devtools-frontend/src/node_modules/@types/node/v8.d.ts third_party/devtools-frontend/src/node_modules/@types/node/vm.d.ts third_party/devtools-frontend/src/node_modules/@types/node/wasi.d.ts third_party/devtools-frontend/src/node_modules/@types/node/worker_threads.d.ts +third_party/devtools-frontend/src/node_modules/@vscode/web-custom-data/data/browsers.css-data.json +third_party/devtools-frontend/src/node_modules/@vscode/web-custom-data/data/browsers.html-data.json third_party/devtools-frontend/src/node_modules/acorn/dist/acorn.js third_party/devtools-frontend/src/node_modules/acorn/package.json third_party/devtools-frontend/src/node_modules/ajv/dist/ajv.bundle.js @@ -9019,10 +9028,14 @@ third_party/devtools-frontend/src/node_modules/karma-sourcemap-loader/package.js third_party/devtools-frontend/src/node_modules/karma/package.json third_party/devtools-frontend/src/node_modules/karma/static/context.js third_party/devtools-frontend/src/node_modules/karma/static/karma.js +third_party/devtools-frontend/src/node_modules/leven/package.json third_party/devtools-frontend/src/node_modules/license-checker/node_modules/debug/package.json third_party/devtools-frontend/src/node_modules/license-checker/node_modules/debug/src/browser.js third_party/devtools-frontend/src/node_modules/license-checker/package.json +third_party/devtools-frontend/src/node_modules/lit-analyzer/node_modules/parse5/lib/tokenizer/index.js +third_party/devtools-frontend/src/node_modules/lit-analyzer/node_modules/parse5/package.json third_party/devtools-frontend/src/node_modules/locate-path/package.json +third_party/devtools-frontend/src/node_modules/lodash.deburr/package.json third_party/devtools-frontend/src/node_modules/lodash.get/package.json third_party/devtools-frontend/src/node_modules/lodash.memoize/package.json third_party/devtools-frontend/src/node_modules/lodash.merge/package.json @@ -9407,12 +9420,53 @@ third_party/devtools-frontend/src/node_modules/typescript/lib/zh-tw/diagnosticMe third_party/devtools-frontend/src/node_modules/ua-parser-js/package.json third_party/devtools-frontend/src/node_modules/unbox-primitive/package.json third_party/devtools-frontend/src/node_modules/unbzip2-stream/lib/bzip2.js +third_party/devtools-frontend/src/node_modules/undici-types/file.d.ts +third_party/devtools-frontend/src/node_modules/undici-types/formdata.d.ts third_party/devtools-frontend/src/node_modules/uri-js/dist/es5/uri.all.js third_party/devtools-frontend/src/node_modules/uri-js/dist/esnext/uri.js third_party/devtools-frontend/src/node_modules/uri-js/package.json third_party/devtools-frontend/src/node_modules/utils-merge/package.json third_party/devtools-frontend/src/node_modules/v8-compile-cache/package.json third_party/devtools-frontend/src/node_modules/validate-npm-package-license/package.json +third_party/devtools-frontend/src/node_modules/vscode-css-languageservice/lib/esm/data/webCustomData.js +third_party/devtools-frontend/src/node_modules/vscode-css-languageservice/lib/esm/services/selectorPrinting.js +third_party/devtools-frontend/src/node_modules/vscode-css-languageservice/lib/umd/data/webCustomData.js +third_party/devtools-frontend/src/node_modules/vscode-css-languageservice/lib/umd/services/selectorPrinting.js +third_party/devtools-frontend/src/node_modules/vscode-html-languageservice/lib/esm/beautify/beautify-css.js +third_party/devtools-frontend/src/node_modules/vscode-html-languageservice/lib/esm/beautify/beautify-html.js +third_party/devtools-frontend/src/node_modules/vscode-html-languageservice/lib/esm/languageFacts/data/webCustomData.js +third_party/devtools-frontend/src/node_modules/vscode-html-languageservice/lib/umd/beautify/beautify-css.js +third_party/devtools-frontend/src/node_modules/vscode-html-languageservice/lib/umd/beautify/beautify-html.js +third_party/devtools-frontend/src/node_modules/vscode-html-languageservice/lib/umd/languageFacts/data/webCustomData.js +third_party/devtools-frontend/src/node_modules/vscode-languageserver-textdocument/thirdpartynotices.txt +third_party/devtools-frontend/src/node_modules/web-component-analyzer/node_modules/ansi-regex/package.json +third_party/devtools-frontend/src/node_modules/web-component-analyzer/node_modules/strip-ansi/package.json +third_party/devtools-frontend/src/node_modules/web-component-analyzer/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +third_party/devtools-frontend/src/node_modules/web-component-analyzer/node_modules/typescript/lib/de/diagnosticMessages.generated.json +third_party/devtools-frontend/src/node_modules/web-component-analyzer/node_modules/typescript/lib/es/diagnosticMessages.generated.json +third_party/devtools-frontend/src/node_modules/web-component-analyzer/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +third_party/devtools-frontend/src/node_modules/web-component-analyzer/node_modules/typescript/lib/it/diagnosticMessages.generated.json +third_party/devtools-frontend/src/node_modules/web-component-analyzer/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +third_party/devtools-frontend/src/node_modules/web-component-analyzer/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +third_party/devtools-frontend/src/node_modules/web-component-analyzer/node_modules/typescript/lib/lib.dom.d.ts +third_party/devtools-frontend/src/node_modules/web-component-analyzer/node_modules/typescript/lib/lib.dom.iterable.d.ts +third_party/devtools-frontend/src/node_modules/web-component-analyzer/node_modules/typescript/lib/lib.es2020.bigint.d.ts +third_party/devtools-frontend/src/node_modules/web-component-analyzer/node_modules/typescript/lib/lib.es2020.intl.d.ts +third_party/devtools-frontend/src/node_modules/web-component-analyzer/node_modules/typescript/lib/lib.es2021.intl.d.ts +third_party/devtools-frontend/src/node_modules/web-component-analyzer/node_modules/typescript/lib/lib.es2022.intl.d.ts +third_party/devtools-frontend/src/node_modules/web-component-analyzer/node_modules/typescript/lib/lib.webworker.d.ts +third_party/devtools-frontend/src/node_modules/web-component-analyzer/node_modules/typescript/lib/lib.webworker.iterable.d.ts +third_party/devtools-frontend/src/node_modules/web-component-analyzer/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +third_party/devtools-frontend/src/node_modules/web-component-analyzer/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +third_party/devtools-frontend/src/node_modules/web-component-analyzer/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +third_party/devtools-frontend/src/node_modules/web-component-analyzer/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +third_party/devtools-frontend/src/node_modules/web-component-analyzer/node_modules/typescript/lib/tsc.js +third_party/devtools-frontend/src/node_modules/web-component-analyzer/node_modules/typescript/lib/tsserver.js +third_party/devtools-frontend/src/node_modules/web-component-analyzer/node_modules/typescript/lib/tsserverlibrary.js +third_party/devtools-frontend/src/node_modules/web-component-analyzer/node_modules/typescript/lib/typescript.js +third_party/devtools-frontend/src/node_modules/web-component-analyzer/node_modules/typescript/lib/typingsInstaller.js +third_party/devtools-frontend/src/node_modules/web-component-analyzer/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +third_party/devtools-frontend/src/node_modules/web-component-analyzer/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json third_party/devtools-frontend/src/node_modules/webidl2/package.json third_party/devtools-frontend/src/node_modules/which-boxed-primitive/package.json third_party/devtools-frontend/src/node_modules/word-wrap/package.json @@ -9503,6 +9557,7 @@ third_party/eigen3/src/Eigen/src/Core/GenericPacketMath.h third_party/eigen3/src/Eigen/src/Core/GlobalFunctions.h third_party/eigen3/src/Eigen/src/Core/IO.h third_party/eigen3/src/Eigen/src/Core/IndexedView.h +third_party/eigen3/src/Eigen/src/Core/InnerProduct.h third_party/eigen3/src/Eigen/src/Core/Inverse.h third_party/eigen3/src/Eigen/src/Core/Map.h third_party/eigen3/src/Eigen/src/Core/MapBase.h @@ -10337,6 +10392,7 @@ third_party/ffmpeg/libavcodec/canopus.h third_party/ffmpeg/libavcodec/cook_parser.c third_party/ffmpeg/libavcodec/cpia.c third_party/ffmpeg/libavcodec/d3d12va_decode.h +third_party/ffmpeg/libavcodec/d3d12va_encode.h third_party/ffmpeg/libavcodec/dct.h third_party/ffmpeg/libavcodec/dds.c third_party/ffmpeg/libavcodec/dirac.c @@ -10415,19 +10471,19 @@ third_party/ffmpeg/libavcodec/mpegaudiodec_common_tablegen.h third_party/ffmpeg/libavcodec/nellymoser.c third_party/ffmpeg/libavcodec/nellymoser.h third_party/ffmpeg/libavcodec/nellymoserdec.c -third_party/ffmpeg/libavcodec/opus_celt.h -third_party/ffmpeg/libavcodec/opus_pvq.c -third_party/ffmpeg/libavcodec/opus_pvq.h -third_party/ffmpeg/libavcodec/opus_rc.c -third_party/ffmpeg/libavcodec/opus_rc.h -third_party/ffmpeg/libavcodec/opusdec_celt.c -third_party/ffmpeg/libavcodec/opusenc.c -third_party/ffmpeg/libavcodec/opusenc.h -third_party/ffmpeg/libavcodec/opusenc_psy.c -third_party/ffmpeg/libavcodec/opusenc_psy.h -third_party/ffmpeg/libavcodec/opusenc_utils.h -third_party/ffmpeg/libavcodec/opustab.c -third_party/ffmpeg/libavcodec/opustab.h +third_party/ffmpeg/libavcodec/opus/celt.h +third_party/ffmpeg/libavcodec/opus/dec_celt.c +third_party/ffmpeg/libavcodec/opus/enc.c +third_party/ffmpeg/libavcodec/opus/enc.h +third_party/ffmpeg/libavcodec/opus/enc_psy.c +third_party/ffmpeg/libavcodec/opus/enc_psy.h +third_party/ffmpeg/libavcodec/opus/enc_utils.h +third_party/ffmpeg/libavcodec/opus/pvq.c +third_party/ffmpeg/libavcodec/opus/pvq.h +third_party/ffmpeg/libavcodec/opus/rc.c +third_party/ffmpeg/libavcodec/opus/rc.h +third_party/ffmpeg/libavcodec/opus/tab.c +third_party/ffmpeg/libavcodec/opus/tab.h third_party/ffmpeg/libavcodec/roqvideoenc.c third_party/ffmpeg/libavcodec/rscc.c third_party/ffmpeg/libavcodec/s302m.c @@ -10504,6 +10560,7 @@ third_party/ffmpeg/libavfilter/vf_fftfilt.c third_party/ffmpeg/libavfilter/vf_fspp.c third_party/ffmpeg/libavfilter/vf_fspp.h third_party/ffmpeg/libavfilter/vf_gradfun.c +third_party/ffmpeg/libavfilter/vf_lcevc.c third_party/ffmpeg/libavfilter/vf_libvmaf.c third_party/ffmpeg/libavfilter/vf_mestimate.c third_party/ffmpeg/libavfilter/vf_minterpolate.c @@ -10659,6 +10716,9 @@ third_party/freetype/src/src/truetype/ttinterp.h third_party/fuchsia-gn-sdk/src/gen_fidl_response_file.py third_party/fuchsia-gn-sdk/src/gn_configs.gni third_party/fuchsia-gn-sdk/src/prepare_package_inputs.py +third_party/fuzztest/src/centipede/environment.h +third_party/fuzztest/src/centipede/runner_fork_server.cc +third_party/fuzztest/src/centipede/testing/test_fuzz_target.cc third_party/gemmlowp/src/contrib/CMakeLists.txt third_party/gemmlowp/src/standalone/neon-gemm-kernel-benchmark.cc third_party/glslang/src/glslang/HLSL/hlslParseHelper.cpp @@ -11463,7 +11523,6 @@ third_party/libvpx/source/libvpx/tools/intersect-diffs.py third_party/libvpx/source/libvpx/tools/wrap-commit-msg.py third_party/libvpx/source/libvpx/tools_common.h third_party/libvpx/source/libvpx/vp9/encoder/vp9_block.h -third_party/libvpx/source/libvpx/vp9/encoder/vp9_temporal_filter.c third_party/libvpx/source/libvpx/vpx_dsp/x86/convolve.h third_party/libvpx/source/libvpx/vpx_ports/aarch64_cpudetect.c third_party/libvpx/source/libvpx/vpx_util/vpx_thread.c @@ -11745,6 +11804,7 @@ third_party/nearby/src/internal/platform/implementation/windows/file_path.cc third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.h third_party/nearby/src/internal/platform/implementation/windows/http_loader_test.cc third_party/nearby/src/internal/platform/implementation/windows/platform.cc +third_party/nearby/src/internal/platform/implementation/windows/string_utils.cc third_party/nearby/src/internal/platform/implementation/windows/test_utils.cc third_party/nearby/src/internal/platform/implementation/windows/utils.h third_party/nearby/src/internal/platform/implementation/windows/webrtc.cc @@ -11771,12 +11831,11 @@ 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 third_party/node/node_modules/@types/offscreencanvas/index.d.ts +third_party/node/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-find.js 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/array-union/package.json -third_party/node/node_modules/builtin-modules/package.json third_party/node/node_modules/callsites/package.json third_party/node/node_modules/chai/chai.js third_party/node/node_modules/chai/package.json @@ -11805,48 +11864,35 @@ third_party/node/node_modules/csso/node_modules/mdn-data/package.json third_party/node/node_modules/csso/package.json third_party/node/node_modules/debug/package.json third_party/node/node_modules/debug/src/browser.js -third_party/node/node_modules/dir-glob/package.json -third_party/node/node_modules/doctrine/lib/doctrine.js -third_party/node/node_modules/doctrine/lib/typed.js -third_party/node/node_modules/doctrine/lib/utility.js -third_party/node/node_modules/doctrine/package.json third_party/node/node_modules/domutils/lib/esm/stringify.js third_party/node/node_modules/domutils/lib/stringify.js -third_party/node/node_modules/eslint-plugin-jsdoc/dist/tagNames.js third_party/node/node_modules/eslint-plugin-jsdoc/node_modules/escape-string-regexp/package.json -third_party/node/node_modules/eslint/lib/cli-engine/formatters/formatters-meta.json +third_party/node/node_modules/eslint-plugin-jsdoc/src/tagNames.js +third_party/node/node_modules/eslint-scope/lib/definition.js +third_party/node/node_modules/eslint-scope/lib/index.js +third_party/node/node_modules/eslint-scope/lib/pattern-visitor.js +third_party/node/node_modules/eslint-scope/lib/reference.js +third_party/node/node_modules/eslint-scope/lib/referencer.js +third_party/node/node_modules/eslint-scope/lib/scope-manager.js +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/ansi-styles/package.json third_party/node/node_modules/eslint/node_modules/color-convert/package.json third_party/node/node_modules/eslint/node_modules/color-name/package.json third_party/node/node_modules/eslint/node_modules/escape-string-regexp/package.json -third_party/node/node_modules/eslint/node_modules/eslint-scope/lib/definition.js -third_party/node/node_modules/eslint/node_modules/eslint-scope/lib/index.js -third_party/node/node_modules/eslint/node_modules/eslint-scope/lib/pattern-visitor.js -third_party/node/node_modules/eslint/node_modules/eslint-scope/lib/reference.js -third_party/node/node_modules/eslint/node_modules/eslint-scope/lib/referencer.js -third_party/node/node_modules/eslint/node_modules/eslint-scope/lib/scope-manager.js -third_party/node/node_modules/eslint/node_modules/eslint-scope/lib/scope.js -third_party/node/node_modules/eslint/node_modules/eslint-scope/lib/variable.js -third_party/node/node_modules/eslint/node_modules/estraverse/estraverse.js -third_party/node/node_modules/eslint/node_modules/estraverse/gulpfile.js -third_party/node/node_modules/eslint/node_modules/estraverse/package.json -third_party/node/node_modules/eslint/node_modules/globals/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 -third_party/node/node_modules/esquery/node_modules/estraverse/estraverse.js -third_party/node/node_modules/esquery/node_modules/estraverse/gulpfile.js -third_party/node/node_modules/esquery/node_modules/estraverse/package.json third_party/node/node_modules/esquery/package.json third_party/node/node_modules/esrecurse/esrecurse.js third_party/node/node_modules/esrecurse/gulpfile.babel.js -third_party/node/node_modules/esrecurse/node_modules/estraverse/estraverse.js -third_party/node/node_modules/esrecurse/node_modules/estraverse/gulpfile.js -third_party/node/node_modules/esrecurse/node_modules/estraverse/package.json third_party/node/node_modules/esrecurse/package.json +third_party/node/node_modules/estraverse/estraverse.js +third_party/node/node_modules/estraverse/gulpfile.js +third_party/node/node_modules/estraverse/package.json third_party/node/node_modules/esutils/lib/ast.js third_party/node/node_modules/esutils/lib/code.js third_party/node/node_modules/esutils/lib/keyword.js @@ -11855,7 +11901,6 @@ 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/find-up/package.json third_party/node/node_modules/glob-parent/package.json -third_party/node/node_modules/globby/package.json third_party/node/node_modules/html-minifier/package.json third_party/node/node_modules/html-minifier/src/htmlminifier.js third_party/node/node_modules/html-minifier/src/htmlparser.js @@ -11863,9 +11908,9 @@ third_party/node/node_modules/import-fresh/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-builtin-module/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 @@ -11883,14 +11928,12 @@ third_party/node/node_modules/mocha/mocha.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/path-exists/package.json -third_party/node/node_modules/path-is-absolute/package.json third_party/node/node_modules/path-key/package.json -third_party/node/node_modules/path-type/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 @@ -11933,7 +11976,6 @@ third_party/node/node_modules/terser/lib/sourcemap.js third_party/node/node_modules/terser/lib/transform.js third_party/node/node_modules/terser/lib/utils/index.js third_party/node/node_modules/terser/package.json -third_party/node/node_modules/type-fest/package.json third_party/node/node_modules/typescript/lib/lib.dom.d.ts third_party/node/node_modules/typescript/lib/lib.dom.iterable.d.ts third_party/node/node_modules/typescript/lib/lib.es2016.intl.d.ts @@ -12490,7 +12532,7 @@ third_party/openscreen/src/tools/cddl/sema.cc third_party/openscreen/src/tools/licenses.py third_party/openscreen/src/util/crypto/rsa_private_key_unittest.cc third_party/openscreen/src/util/scoped_wake_lock.h -third_party/openscreen/src/util/serial_delete_ptr.h +third_party/openscreen/src/util/string_util.cc third_party/openscreen/src/util/url_unittest.cc third_party/opus/src/doc/draft-ietf-codec-oggopus.xml third_party/opus/src/doc/draft-ietf-codec-opus-update.xml @@ -12594,7 +12636,6 @@ third_party/perfetto/python/perfetto/prebuilts/manifests/trace_processor_shell.p third_party/perfetto/python/perfetto/prebuilts/manifests/tracebox.py third_party/perfetto/python/perfetto/prebuilts/manifests/traceconv.py third_party/perfetto/python/perfetto/prebuilts/perfetto_prebuilts.py -third_party/perfetto/python/perfetto/trace_processor/shell.py third_party/perfetto/python/setup.py third_party/perfetto/python/tools/install_test_reporter_app.py third_party/perfetto/python/tools/record_android_trace.py @@ -12611,6 +12652,7 @@ third_party/perfetto/src/profiling/memory/shared_ring_buffer.cc third_party/perfetto/src/profiling/memory/system_property.h third_party/perfetto/src/profiling/symbolizer/breakpad_parser.cc third_party/perfetto/src/profiling/symbolizer/breakpad_parser.h +third_party/perfetto/src/trace_processor/importers/art_method/art_method_tokenizer.cc third_party/perfetto/src/trace_processor/importers/common/args_translation_table.cc third_party/perfetto/src/trace_processor/importers/common/thread_state_tracker.cc third_party/perfetto/src/trace_processor/importers/ftrace/binder_tracker.cc @@ -12670,7 +12712,6 @@ third_party/perfetto/ui/src/frontend/sidebar.ts third_party/perfetto/ui/src/frontend/trace_info_page.ts third_party/perfetto/ui/src/frontend/trace_url_handler.ts third_party/perfetto/ui/src/open_perfetto_trace/index.html -third_party/perfetto/ui/src/test/diff_viewer/script.js 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 @@ -13452,7 +13493,6 @@ third_party/re2/src/python/setup.py third_party/re2/src/re2/testing/re2_test.cc third_party/re2/src/util/pcre.h third_party/rust/PRESUBMIT.py -third_party/rust/adler/v1/BUILD.gn third_party/rust/adler2/v2/BUILD.gn third_party/rust/aho_corasick/v1/BUILD.gn third_party/rust/anyhow/v1/BUILD.gn @@ -13467,7 +13507,6 @@ third_party/rust/heck/v0_4/BUILD.gn third_party/rust/itoa/v1/BUILD.gn third_party/rust/lazy_static/v1/BUILD.gn third_party/rust/memchr/v2/BUILD.gn -third_party/rust/miniz_oxide/v0_7/BUILD.gn third_party/rust/miniz_oxide/v0_8/BUILD.gn third_party/rust/proc_macro2/v1/BUILD.gn third_party/rust/prost/v0_12/BUILD.gn @@ -13477,9 +13516,9 @@ third_party/rust/quote/v1/BUILD.gn third_party/rust/regex/v1/BUILD.gn third_party/rust/regex_automata/v0_4/BUILD.gn third_party/rust/regex_syntax/v0_8/BUILD.gn -third_party/rust/rstest/v0_17/BUILD.gn -third_party/rust/rstest_macros/v0_17/BUILD.gn -third_party/rust/rstest_reuse/v0_5/BUILD.gn +third_party/rust/rstest/v0_22/BUILD.gn +third_party/rust/rstest_macros/v0_22/BUILD.gn +third_party/rust/rstest_reuse/v0_7/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 @@ -13490,7 +13529,6 @@ third_party/rust/serde_json/v1/BUILD.gn third_party/rust/serde_json_lenient/v0_2/BUILD.gn third_party/rust/strum/v0_25/BUILD.gn third_party/rust/strum_macros/v0_25/BUILD.gn -third_party/rust/syn/v1/BUILD.gn third_party/rust/syn/v2/BUILD.gn third_party/rust/termcolor/v1/BUILD.gn third_party/rust/tinyvec/v1/BUILD.gn @@ -13522,6 +13560,7 @@ third_party/skia/BUILD.gn third_party/skia/PRESUBMIT.py third_party/skia/bench/DashBench.cpp third_party/skia/bench/DecodeBench.cpp +third_party/skia/build_overrides/partition_alloc.gni third_party/skia/demos.skia.org/demos/image_decode_web_worker/index.html third_party/skia/demos.skia.org/demos/mesh2d/index.html third_party/skia/demos.skia.org/demos/path_performance/index.html @@ -13681,6 +13720,7 @@ third_party/skia/src/pdf/SkPDFFont.cpp third_party/skia/src/ports/SkFontHost_FreeType.cpp third_party/skia/src/ports/SkFontHost_FreeType_common.cpp third_party/skia/src/ports/SkFontHost_win.cpp +third_party/skia/src/ports/SkFontMgr_android_ndk.cpp third_party/skia/src/ports/SkFontMgr_mac_ct.cpp third_party/skia/src/ports/SkScalerContext_mac_ct.cpp third_party/skia/src/ports/SkScalerContext_win_dw.cpp @@ -14129,7 +14169,6 @@ third_party/tflite/src/tensorflow/tools/android/test/jni/rgb2yuv.cc third_party/tflite/src/tensorflow/tools/compatibility/tf_upgrade_v2_safety_test.py third_party/tflite/src/tensorflow/tools/pip_package/THIRD_PARTY_NOTICES.txt third_party/tflite/src/tensorflow/tools/pip_package/setup.py -third_party/tflite/src/third_party/xla/third_party/tsl/tsl/lib/io/format.h third_party/tflite/src/third_party/xla/third_party/tsl/tsl/platform/cloud/compute_engine_metadata_client.h third_party/tflite/src/third_party/xla/third_party/tsl/tsl/platform/cloud/curl_http_request.cc third_party/tflite/src/third_party/xla/third_party/tsl/tsl/platform/cloud/curl_http_request.h @@ -14150,12 +14189,14 @@ third_party/tflite/src/third_party/xla/third_party/tsl/tsl/platform/windows/stac third_party/tflite/src/third_party/xla/third_party/tsl/tsl/platform/windows/stacktrace_handler.cc third_party/tflite/src/third_party/xla/xla/pjrt/c/pjrt_c_api.h third_party/tflite/src/third_party/xla/xla/pjrt/pjrt_api.cc +third_party/tflite/src/third_party/xla/xla/python/weakref_lru_cache.cc third_party/tflite/src/third_party/xla/xla/service/gpu/fusions/legacy/transpose.h third_party/tflite/src/third_party/xla/xla/service/gpu/fusions/transpose_mlir.h third_party/tflite/src/third_party/xla/xla/service/hlo_graph_dumper.cc third_party/tflite/src/third_party/xla/xla/service/hlo_verifier.cc third_party/tflite/src/third_party/xla/xla/tsl/distributed_runtime/coordination/coordination_service_error_util.h third_party/tflite/src/third_party/xla/xla/tsl/distributed_runtime/rpc/grpc_util.h +third_party/tflite/src/third_party/xla/xla/tsl/lib/io/format.h third_party/tflite_support/src/tensorflow_lite_support/c/task/processor/category.h third_party/updater/chrome_mac_universal/3pp/fetch.py third_party/updater/chrome_mac_universal_prod/3pp/fetch.py @@ -14590,7 +14631,6 @@ third_party/webrtc/modules/audio_processing/audio_processing_impl.cc third_party/webrtc/modules/audio_processing/audio_processing_impl_locking_unittest.cc third_party/webrtc/modules/audio_processing/gain_control_unittest.cc third_party/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/export.py -third_party/webrtc/modules/audio_processing/transient/file_utils.h third_party/webrtc/modules/desktop_capture/cropping_window_capturer_win.cc third_party/webrtc/modules/desktop_capture/mac/screen_capturer_mac.mm third_party/webrtc/modules/desktop_capture/mouse_cursor_monitor_win.cc @@ -15005,6 +15045,7 @@ tools/metrics/common/models.py tools/metrics/dwa/PRESUBMIT.py tools/metrics/dwa/dwa.xml tools/metrics/dwa/dwa_model_test.py +tools/metrics/dwa/dwa_test.xml tools/metrics/dwa/dwa_xml_validations_test.py tools/metrics/histograms/PRESUBMIT.py tools/metrics/histograms/enums.xml @@ -15062,6 +15103,7 @@ tools/metrics/histograms/metadata/chromeos/histograms.xml tools/metrics/histograms/metadata/chromeos_hps/histograms.xml tools/metrics/histograms/metadata/chromeos_settings/enums.xml tools/metrics/histograms/metadata/chromeos_settings/histograms.xml +tools/metrics/histograms/metadata/commerce/enums.xml tools/metrics/histograms/metadata/commerce/histograms.xml tools/metrics/histograms/metadata/companion/histograms.xml tools/metrics/histograms/metadata/compose/enums.xml @@ -15336,7 +15378,6 @@ tools/perf/benchmarks/desktop_ui.py tools/perf/benchmarks/dummy_benchmark.py tools/perf/benchmarks/dummy_wpr_benchmark.py tools/perf/benchmarks/jetstream2.py -tools/perf/benchmarks/loading.py tools/perf/benchmarks/media.py tools/perf/benchmarks/memory.py tools/perf/benchmarks/octane.py @@ -15399,6 +15440,7 @@ 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-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 @@ -15434,7 +15476,6 @@ tools/perf/page_sets/intl_ar_fa_he.py tools/perf/page_sets/intl_ja_zh.py tools/perf/page_sets/key_mobile_sites_smooth.py tools/perf/page_sets/key_silk_cases/font_wipe.html -tools/perf/page_sets/loading_mobile.py tools/perf/page_sets/login_helpers/chrome_login.py tools/perf/page_sets/login_helpers/facebook_login.py tools/perf/page_sets/login_helpers/google_login.py @@ -15735,6 +15776,7 @@ ui/file_manager/file_manager/widgets/xf_bulk_pinning_dialog.ts ui/file_manager/file_manager/widgets/xf_bulk_pinning_dialog_unittest.ts ui/file_manager/image_loader/piex/Makefile ui/file_manager/image_loader/piex/package.json +ui/file_manager/image_loader/service_worker.ts ui/file_manager/integration_tests/file_manager/drive_specific.ts ui/file_manager/integration_tests/file_manager/office.ts ui/file_manager/integration_tests/remote_call.ts @@ -15865,8 +15907,10 @@ v8/src/debug/debug.cc v8/src/debug/interface-types.h v8/src/debug/wasm/gdb-server/transport.cc v8/src/deoptimizer/deoptimizer.cc +v8/src/diagnostics/etw-jit-metadata-win.h v8/src/diagnostics/unwinding-info-win64.cc v8/src/diagnostics/unwinding-info-win64.h +v8/src/flags/flag-definitions.h v8/src/handles/handles.h v8/src/heap/code-range.cc v8/src/init/v8.cc @@ -15876,6 +15920,7 @@ v8/src/inspector/value-mirror.h v8/src/libplatform/default-thread-isolated-allocator.cc v8/src/libplatform/tracing/recorder-win.cc v8/src/libsampler/sampler.cc +v8/src/maglev/riscv/maglev-assembler-riscv.cc v8/src/objects/js-array-buffer.h v8/src/objects/js-number-format.cc v8/src/objects/map.h diff --git a/patches/core/bromite/disable-fetching-field-trials.patch b/patches/core/bromite/disable-fetching-field-trials.patch index ff3a6a366f..494f1018ec 100644 --- a/patches/core/bromite/disable-fetching-field-trials.patch +++ b/patches/core/bromite/disable-fetching-field-trials.patch @@ -10,7 +10,7 @@ Subject: Disable fetching of all field trials --- a/chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/ChromeFeatureList.java +++ b/chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/ChromeFeatureList.java -@@ -54,7 +54,7 @@ public abstract class ChromeFeatureList +@@ -56,7 +56,7 @@ public abstract class ChromeFeatureList * |kFeaturesExposedToJava| in chrome/browser/flags/android/chrome_feature_list.cc */ public static String getFieldTrialParamByFeature(String featureName, String paramName) { @@ -19,7 +19,7 @@ Subject: Disable fetching of all field trials } /** -@@ -66,8 +66,7 @@ public abstract class ChromeFeatureList +@@ -68,8 +68,7 @@ public abstract class ChromeFeatureList */ public static boolean getFieldTrialParamByFeatureAsBoolean( String featureName, String paramName, boolean defaultValue) { @@ -29,7 +29,7 @@ Subject: Disable fetching of all field trials } /** -@@ -79,8 +78,7 @@ public abstract class ChromeFeatureList +@@ -81,8 +80,7 @@ public abstract class ChromeFeatureList */ public static int getFieldTrialParamByFeatureAsInt( String featureName, String paramName, int defaultValue) { @@ -39,7 +39,7 @@ Subject: Disable fetching of all field trials } /** -@@ -92,8 +90,7 @@ public abstract class ChromeFeatureList +@@ -94,8 +92,7 @@ public abstract class ChromeFeatureList */ public static double getFieldTrialParamByFeatureAsDouble( String featureName, String paramName, double defaultValue) { diff --git a/patches/core/inox-patchset/0001-fix-building-without-safebrowsing.patch b/patches/core/inox-patchset/0001-fix-building-without-safebrowsing.patch index 3506b1644d..3683760114 100644 --- a/patches/core/inox-patchset/0001-fix-building-without-safebrowsing.patch +++ b/patches/core/inox-patchset/0001-fix-building-without-safebrowsing.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/BUILD.gn +++ b/chrome/browser/BUILD.gn -@@ -2251,7 +2251,6 @@ static_library("browser") { +@@ -2249,7 +2249,6 @@ static_library("browser") { "//components/reporting/util:task_runner_context", "//components/resources", "//components/safe_browsing/content/browser", @@ -8,8 +8,8 @@ "//components/safe_browsing/content/browser:safe_browsing_service", "//components/safe_browsing/content/browser/password_protection", "//components/safe_browsing/content/browser/web_ui", -@@ -3636,8 +3635,6 @@ static_library("browser") { - "download/download_commands.h", +@@ -3641,8 +3640,6 @@ static_library("browser") { + "download/download_commands.cc", "download/download_crx_util.cc", "download/download_crx_util.h", - "download/download_danger_prompt.cc", @@ -50,7 +50,7 @@ #include "chrome/browser/shell_integration.h" #include "chrome/browser/site_isolation/prefs_observer.h" #include "chrome/browser/ssl/secure_origin_prefs_observer.h" -@@ -478,8 +477,6 @@ void BrowserProcessImpl::StartTearDown() +@@ -479,8 +478,6 @@ void BrowserProcessImpl::StartTearDown() #endif metrics_services_manager_.reset(); intranet_redirect_detector_.reset(); @@ -59,7 +59,7 @@ network_time_tracker_.reset(); #if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CHROMEOS) -@@ -1166,14 +1163,6 @@ StatusTray* BrowserProcessImpl::status_t +@@ -1167,14 +1164,6 @@ StatusTray* BrowserProcessImpl::status_t return status_tray_.get(); } @@ -74,7 +74,7 @@ subresource_filter::RulesetService* BrowserProcessImpl::subresource_filter_ruleset_service() { DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_); -@@ -1485,26 +1474,6 @@ void BrowserProcessImpl::CreateBackgroun +@@ -1479,26 +1468,6 @@ void BrowserProcessImpl::CreateBackgroun #endif } @@ -129,9 +129,9 @@ #include "chrome/browser/reading_list/reading_list_model_factory.h" -#include "chrome/browser/safe_browsing/safe_browsing_service.h" #include "chrome/browser/safe_browsing/verdict_cache_manager_factory.h" + #include "chrome/browser/search_engine_choice/search_engine_choice_service_factory.h" #include "chrome/browser/search_engines/template_url_service_factory.h" - #include "chrome/browser/share/share_history.h" -@@ -645,10 +644,6 @@ void ChromeBrowsingDataRemoverDelegate:: +@@ -647,10 +646,6 @@ void ChromeBrowsingDataRemoverDelegate:: base::RecordAction(UserMetricsAction("ClearBrowsingData_Cookies")); network::mojom::NetworkContext* safe_browsing_context = nullptr; @@ -144,7 +144,7 @@ browsing_data::RemoveFederatedSiteSettingsData(delete_begin_, delete_end_, --- a/chrome/browser/chrome_content_browser_client.cc +++ b/chrome/browser/chrome_content_browser_client.cc -@@ -5512,10 +5512,6 @@ ChromeContentBrowserClient::CreateThrott +@@ -5513,10 +5513,6 @@ ChromeContentBrowserClient::CreateThrott throttles.push_back(std::make_unique( handle, handle->GetWebContents()->GetBrowserContext())); @@ -155,7 +155,7 @@ throttles.push_back(std::make_unique( handle, base::BindOnce(&HandleSSLErrorWrapper), base::BindOnce(&IsInHostedApp), -@@ -5567,16 +5563,6 @@ ChromeContentBrowserClient::CreateThrott +@@ -5571,16 +5567,6 @@ ChromeContentBrowserClient::CreateThrott &throttles); #endif @@ -172,7 +172,7 @@ if (base::FeatureList::IsEnabled(safe_browsing::kDelayedWarnings)) { throttles.push_back( std::make_unique( -@@ -5897,8 +5883,6 @@ bool ChromeContentBrowserClient::IsPlugi +@@ -5901,8 +5887,6 @@ bool ChromeContentBrowserClient::IsPlugi void ChromeContentBrowserClient::InitOnUIThread() { DCHECK_CURRENTLY_ON(BrowserThread::UI); @@ -207,7 +207,7 @@ } // namespace --- a/chrome/browser/download/chrome_download_manager_delegate.cc +++ b/chrome/browser/download/chrome_download_manager_delegate.cc -@@ -533,13 +533,6 @@ void ChromeDownloadManagerDelegate::SetD +@@ -534,13 +534,6 @@ void ChromeDownloadManagerDelegate::SetD download_manager_ = dm; @@ -221,7 +221,7 @@ if (download_manager_) { download_manager_->AddObserver(this); } -@@ -1007,17 +1000,6 @@ void ChromeDownloadManagerDelegate::Choo +@@ -1062,17 +1055,6 @@ void ChromeDownloadManagerDelegate::Choo void ChromeDownloadManagerDelegate::SanitizeSavePackageResourceName( base::FilePath* filename, const GURL& source_url) { @@ -250,7 +250,7 @@ // Whether the download is currently being revived. bool is_being_revived_ = false; -@@ -531,13 +531,13 @@ void DownloadItemModel::SetShouldPreferO +@@ -501,13 +501,13 @@ void DownloadItemModel::SetShouldPreferO data->should_prefer_opening_in_browser_ = preference; } @@ -267,7 +267,7 @@ DownloadItemModelData* data = DownloadItemModelData::GetOrCreate(download_); data->danger_level_ = danger_level; } -@@ -740,9 +740,6 @@ bool DownloadItemModel::IsCommandEnabled +@@ -710,9 +710,6 @@ bool DownloadItemModel::IsCommandEnabled // filename. Don't base an "Always open" decision based on it. Also // exclude extensions. return download_->CanOpenDownload() && @@ -500,7 +500,7 @@ referrer_entries))); --- a/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc +++ b/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc -@@ -710,18 +710,6 @@ void WebstorePrivateBeginInstallWithMani +@@ -709,18 +709,6 @@ void WebstorePrivateBeginInstallWithMani void WebstorePrivateBeginInstallWithManifest3Function:: ReportFrictionAcceptedEvent() { @@ -519,7 +519,7 @@ } void WebstorePrivateBeginInstallWithManifest3Function::OnInstallPromptDone( -@@ -1226,54 +1214,9 @@ WebstorePrivateGetReferrerChainFunction: +@@ -1204,54 +1192,9 @@ WebstorePrivateGetReferrerChainFunction: ExtensionFunction::ResponseAction WebstorePrivateGetReferrerChainFunction::Run() { @@ -648,15 +648,15 @@ // SimpleURLLoader -> (owned loader, extension id). --- a/chrome/browser/profiles/profile_impl.cc +++ b/chrome/browser/profiles/profile_impl.cc -@@ -91,7 +91,6 @@ - #include "chrome/browser/push_messaging/push_messaging_service_factory.h" +@@ -95,7 +95,6 @@ #include "chrome/browser/push_messaging/push_messaging_service_impl.h" + #include "chrome/browser/reading_list/reading_list_model_factory.h" #include "chrome/browser/reduce_accept_language/reduce_accept_language_factory.h" -#include "chrome/browser/safe_browsing/safe_browsing_service.h" #include "chrome/browser/sessions/exit_type_service.h" #include "chrome/browser/sharing/sharing_service_factory.h" #include "chrome/browser/signin/identity_manager_factory.h" -@@ -646,17 +645,6 @@ void ProfileImpl::LoadPrefsForNormalStar +@@ -616,17 +615,6 @@ void ProfileImpl::LoadPrefsForNormalStar mojo::PendingRemote pref_validation_delegate; @@ -672,11 +672,11 @@ - } - } - prefs_ = - CreatePrefService(pref_registry_, CreateExtensionPrefStore(this, false), + prefs_ = CreateProfilePrefService( + pref_registry_, CreateExtensionPrefStore(this, false), --- a/chrome/browser/profiles/profiles_state.cc +++ b/chrome/browser/profiles/profiles_state.cc -@@ -314,9 +314,6 @@ void RemoveBrowsingDataForProfile(const +@@ -290,9 +290,6 @@ void RemoveBrowsingDataForProfile(const // The BrowsingDataRemover relies on many objects that aren't created in unit // tests. Previously this code would depend on content::ResourceDispatcherHost // but that's gone, so do a similar hack for now. @@ -696,7 +696,7 @@ sources = [ "chrome_controller_client.cc", "chrome_controller_client.h", -@@ -74,6 +75,7 @@ static_library("safe_browsing") { +@@ -76,6 +77,7 @@ static_library("safe_browsing") { "//mojo/public/cpp/system", "//services/preferences/public/cpp", ] @@ -704,7 +704,7 @@ if (is_android) { deps += [ -@@ -525,6 +527,7 @@ static_library("advanced_protection") { +@@ -536,6 +538,7 @@ static_library("advanced_protection") { } source_set("metrics_collector") { @@ -712,7 +712,7 @@ sources = [ "safe_browsing_metrics_collector_factory.cc", "safe_browsing_metrics_collector_factory.h", -@@ -544,6 +547,7 @@ source_set("metrics_collector") { +@@ -555,6 +558,7 @@ source_set("metrics_collector") { "//components/safe_browsing/core/common:safe_browsing_prefs", "//content/public/browser", ] @@ -818,7 +818,7 @@ } --- a/chrome/browser/ui/BUILD.gn +++ b/chrome/browser/ui/BUILD.gn -@@ -4294,7 +4294,6 @@ static_library("ui") { +@@ -4065,7 +4065,6 @@ static_library("ui") { "views/download/bubble/download_dialog_view.h", "views/download/bubble/download_toolbar_button_view.cc", "views/download/bubble/download_toolbar_button_view.h", @@ -876,7 +876,7 @@ #include "chrome/browser/download/download_history.h" #include "chrome/browser/download/download_item_model.h" #include "chrome/browser/download/download_item_warning_data.h" -@@ -695,12 +694,6 @@ void DownloadsDOMHandler::RemoveDownload +@@ -687,12 +686,6 @@ void DownloadsDOMHandler::RemoveDownload IdSet ids; for (download::DownloadItem* download : to_remove) { @@ -901,7 +901,7 @@ #include "chrome/browser/ui/webui/downloads/downloads_list_tracker.h" --- a/chrome/browser/ui/webui/interstitials/interstitial_ui.cc +++ b/chrome/browser/ui/webui/interstitials/interstitial_ui.cc -@@ -281,64 +281,6 @@ CreateHttpsOnlyModePage(content::WebCont +@@ -289,64 +289,6 @@ CreateHttpsOnlyModePage(content::WebCont /*use_new_interstitial=*/IsNewHttpsFirstModeInterstitialEnabled()); } @@ -966,8 +966,8 @@ std::unique_ptr CreateEnterpriseBlockPage( content::WebContents* web_contents) { const GURL kRequestUrl("https://enterprise-block.example.net"); -@@ -349,35 +291,6 @@ std::unique_ptr Cre - kRequestUrl)); +@@ -367,35 +309,6 @@ std::unique_ptr CreateEnterpriseWarnPage( @@ -1000,9 +1000,9 @@ -} - #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) - std::unique_ptr - CreateSupervisedUserVerificationPage(content::WebContents* web_contents, -@@ -415,61 +328,6 @@ CreateSupervisedUserVerificationPageForB + std::unique_ptr + CreateSupervisedUserVerificationPageForYouTube( +@@ -432,61 +345,6 @@ CreateSupervisedUserVerificationPageForB } #endif @@ -1064,7 +1064,7 @@ #if BUILDFLAG(ENABLE_CAPTIVE_PORTAL_DETECTION) std::unique_ptr CreateCaptivePortalBlockingPage( content::WebContents* web_contents) { -@@ -576,12 +434,8 @@ void InterstitialHTMLSource::StartDataRe +@@ -593,12 +451,8 @@ void InterstitialHTMLSource::StartDataRe interstitial_delegate = CreateMITMSoftwareBlockingPage(web_contents); } else if (path_without_query == "/blocked-interception") { interstitial_delegate = CreateBlockedInterceptionBlockingPage(web_contents); @@ -1077,7 +1077,7 @@ } else if (path_without_query == "/clock") { interstitial_delegate = CreateBadClockBlockingPage(web_contents); } else if (path_without_query == "/lookalike") { -@@ -611,12 +465,7 @@ void InterstitialHTMLSource::StartDataRe +@@ -630,12 +484,7 @@ void InterstitialHTMLSource::StartDataRe #endif } @@ -1093,17 +1093,17 @@ html = interstitial_delegate.get()->GetHTMLContents(); --- a/chrome/renderer/chrome_content_renderer_client.cc +++ b/chrome/renderer/chrome_content_renderer_client.cc -@@ -109,7 +109,6 @@ +@@ -111,7 +111,6 @@ #include "components/pdf/common/pdf_util.h" #include "components/permissions/features.h" #include "components/safe_browsing/buildflags.h" -#include "components/safe_browsing/content/renderer/threat_dom_details.h" + #include "components/sampling_profiler/process_type.h" #include "components/sampling_profiler/thread_profiler.h" #include "components/security_interstitials/content/renderer/security_interstitial_page_controller_delegate_impl.h" - #include "components/spellcheck/spellcheck_buildflags.h" -@@ -473,12 +472,8 @@ void ChromeContentRendererClient::Render - subresource_filter_ruleset_dealer_ = - std::make_unique(); +@@ -483,12 +482,8 @@ void ChromeContentRendererClient::Render + thread->AddObserver(fingerprinting_protection_ruleset_dealer_.get()); + } - phishing_model_setter_ = - std::make_unique(); diff --git a/patches/core/inox-patchset/0005-disable-default-extensions.patch b/patches/core/inox-patchset/0005-disable-default-extensions.patch index 3a2ceeb49a..1e142792e3 100644 --- a/patches/core/inox-patchset/0005-disable-default-extensions.patch +++ b/patches/core/inox-patchset/0005-disable-default-extensions.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/extensions/component_extensions_allowlist/allowlist.cc +++ b/chrome/browser/extensions/component_extensions_allowlist/allowlist.cc -@@ -32,7 +32,6 @@ namespace extensions { +@@ -29,7 +29,6 @@ namespace extensions { bool IsComponentExtensionAllowlisted(const std::string& extension_id) { constexpr auto kAllowed = base::MakeFixedFlatSet({ @@ -10,7 +10,7 @@ extension_misc::kAssessmentAssistantExtensionId, --- a/chrome/browser/extensions/component_loader.cc +++ b/chrome/browser/extensions/component_loader.cc -@@ -410,11 +410,6 @@ void ComponentLoader::AddWebStoreApp() { +@@ -409,11 +409,6 @@ void ComponentLoader::AddWebStoreApp() { return; } #endif @@ -21,10 +21,10 @@ - l10n_util::GetStringUTF8(IDS_WEBSTORE_APP_DESCRIPTION)); } - #if BUILDFLAG(IS_CHROMEOS_ASH) + #if BUILDFLAG(IS_CHROMEOS) --- a/chrome/browser/extensions/external_component_loader.cc +++ b/chrome/browser/extensions/external_component_loader.cc -@@ -37,9 +37,6 @@ ExternalComponentLoader::~ExternalCompon +@@ -34,9 +34,6 @@ ExternalComponentLoader::~ExternalCompon void ExternalComponentLoader::StartLoading() { auto prefs = base::Value::Dict(); diff --git a/patches/core/inox-patchset/0015-disable-update-pings.patch b/patches/core/inox-patchset/0015-disable-update-pings.patch index eed925d659..868f46bc62 100644 --- a/patches/core/inox-patchset/0015-disable-update-pings.patch +++ b/patches/core/inox-patchset/0015-disable-update-pings.patch @@ -1,6 +1,6 @@ --- a/chrome/updater/configurator.cc +++ b/chrome/updater/configurator.cc -@@ -108,7 +108,7 @@ base::TimeDelta Configurator::UpdateDela +@@ -111,7 +111,7 @@ base::TimeDelta Configurator::UpdateDela std::vector Configurator::UpdateUrl() const { DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_); diff --git a/patches/core/inox-patchset/0021-disable-rlz.patch b/patches/core/inox-patchset/0021-disable-rlz.patch index b69d8bddeb..857e7f6da3 100644 --- a/patches/core/inox-patchset/0021-disable-rlz.patch +++ b/patches/core/inox-patchset/0021-disable-rlz.patch @@ -2,7 +2,7 @@ --- a/BUILD.gn +++ b/BUILD.gn -@@ -469,14 +469,6 @@ group("gn_all") { +@@ -475,14 +475,6 @@ group("gn_all") { deps += [ "//chromeos:chromeos_unittests" ] } diff --git a/patches/core/iridium-browser/all-add-trk-prefixes-to-possibly-evil-connections.patch b/patches/core/iridium-browser/all-add-trk-prefixes-to-possibly-evil-connections.patch index a9891f7adc..c2f4bf3374 100644 --- a/patches/core/iridium-browser/all-add-trk-prefixes-to-possibly-evil-connections.patch +++ b/patches/core/iridium-browser/all-add-trk-prefixes-to-possibly-evil-connections.patch @@ -249,7 +249,7 @@ by default. --- a/chromeos/ash/components/geolocation/simple_geolocation_provider.h +++ b/chromeos/ash/components/geolocation/simple_geolocation_provider.h -@@ -91,7 +91,7 @@ class COMPONENT_EXPORT(CHROMEOS_ASH_COMP +@@ -101,7 +101,7 @@ class COMPONENT_EXPORT(CHROMEOS_ASH_COMP private: static constexpr char kGeolocationProviderUrl[] = @@ -260,7 +260,7 @@ by default. explicit SimpleGeolocationProvider( --- a/components/drive/service/drive_api_service.cc +++ b/components/drive/service/drive_api_service.cc -@@ -77,9 +77,9 @@ namespace drive { +@@ -79,9 +79,9 @@ namespace drive { namespace { // OAuth2 scopes for Drive API. @@ -315,7 +315,7 @@ by default. "https://history.google.com/history/api/lookup?client=audio"; --- a/components/safe_browsing/content/browser/client_side_detection_service.cc +++ b/components/safe_browsing/content/browser/client_side_detection_service.cc -@@ -69,7 +69,7 @@ const int ClientSideDetectionService::kN +@@ -68,7 +68,7 @@ const int ClientSideDetectionService::kN const int ClientSideDetectionService::kPositiveCacheIntervalMinutes = 30; const char ClientSideDetectionService::kClientReportPhishingUrl[] = diff --git a/patches/core/iridium-browser/safe_browsing-disable-incident-reporting.patch b/patches/core/iridium-browser/safe_browsing-disable-incident-reporting.patch index 9a69dabd03..9f37348cb2 100644 --- a/patches/core/iridium-browser/safe_browsing-disable-incident-reporting.patch +++ b/patches/core/iridium-browser/safe_browsing-disable-incident-reporting.patch @@ -56,10 +56,10 @@ the URL so we get notified if this happens again in the future). IncidentReportingService::IncidentReportingService( --- a/chrome/browser/safe_browsing/safe_browsing_service.cc +++ b/chrome/browser/safe_browsing/safe_browsing_service.cc -@@ -372,7 +372,7 @@ SafeBrowsingUIManager* SafeBrowsingServi +@@ -373,7 +373,7 @@ SafeBrowsingUIManager* SafeBrowsingServi } - void SafeBrowsingService::RegisterAllDelayedAnalysis() { + void SafeBrowsingServiceImpl::RegisterAllDelayedAnalysis() { -#if BUILDFLAG(FULL_SAFE_BROWSING) +#if 0 RegisterBinaryIntegrityAnalysis(); diff --git a/patches/core/iridium-browser/safe_browsing-disable-reporting-of-safebrowsing-over.patch b/patches/core/iridium-browser/safe_browsing-disable-reporting-of-safebrowsing-over.patch index e6168a38fa..536c3353a3 100644 --- a/patches/core/iridium-browser/safe_browsing-disable-reporting-of-safebrowsing-over.patch +++ b/patches/core/iridium-browser/safe_browsing-disable-reporting-of-safebrowsing-over.patch @@ -13,7 +13,7 @@ This prevents trk:148 (phishing) and trk:149 (malware). --- a/components/safe_browsing/content/browser/client_side_detection_service.cc +++ b/components/safe_browsing/content/browser/client_side_detection_service.cc -@@ -277,6 +277,10 @@ void ClientSideDetectionService::StartCl +@@ -265,6 +265,10 @@ void ClientSideDetectionService::StartCl return; } @@ -24,7 +24,7 @@ This prevents trk:148 (phishing) and trk:149 (malware). std::string request_data; request->SerializeToString(&request_data); -@@ -357,6 +361,7 @@ void ClientSideDetectionService::StartCl +@@ -347,6 +351,7 @@ void ClientSideDetectionService::StartCl base::BindOnce(&WebUIInfoSingleton::AddToClientPhishingRequestsSent, base::Unretained(WebUIInfoSingleton::GetInstance()), std::move(request), access_token)); diff --git a/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch b/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch index f321c6b303..8dee5e542c 100644 --- a/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch +++ b/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch @@ -35,7 +35,7 @@ --- a/components/omnibox/browser/autocomplete_input.cc +++ b/components/omnibox/browser/autocomplete_input.cc -@@ -597,7 +597,8 @@ void AutocompleteInput::ParseForEmphasiz +@@ -572,7 +572,8 @@ void AutocompleteInput::ParseForEmphasiz // For the view-source and blob schemes, we should emphasize the host of the // URL qualified by the view-source or blob prefix. if ((base::EqualsCaseInsensitiveASCII(scheme_str, kViewSourceScheme) || @@ -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 -@@ -854,6 +854,7 @@ ChildProcessSecurityPolicyImpl::ChildPro +@@ -860,6 +860,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 -@@ -1048,6 +1048,8 @@ component("net") { +@@ -1053,6 +1053,8 @@ component("net") { "url_request/referrer_policy.h", "url_request/static_http_user_agent_settings.cc", "url_request/static_http_user_agent_settings.h", @@ -142,7 +142,7 @@ +#endif // NET_URL_REQUEST_TRK_PROTOCOL_HANDLER_H_ --- a/net/url_request/url_request.cc +++ b/net/url_request/url_request.cc -@@ -13,6 +13,7 @@ +@@ -14,6 +14,7 @@ #include "base/metrics/histogram_macros.h" #include "base/notreached.h" #include "base/rand_util.h" @@ -150,7 +150,7 @@ #include "base/strings/utf_string_conversions.h" #include "base/synchronization/lock.h" #include "base/task/single_thread_task_runner.h" -@@ -52,6 +53,7 @@ +@@ -53,6 +54,7 @@ #include "net/url_request/url_request_redirect_job.h" #include "url/gurl.h" #include "url/origin.h" @@ -158,7 +158,7 @@ namespace net { -@@ -619,6 +621,12 @@ URLRequest::URLRequest(base::PassKeyAppendSwitchASCII(switches::kMetricsClientID, client_info->client_id); } diff --git a/patches/core/ungoogled-chromium/disable-domain-reliability.patch b/patches/core/ungoogled-chromium/disable-domain-reliability.patch index 64115b463a..0efff71c63 100644 --- a/patches/core/ungoogled-chromium/disable-domain-reliability.patch +++ b/patches/core/ungoogled-chromium/disable-domain-reliability.patch @@ -117,7 +117,7 @@ def quote_and_wrap_text(text, width=79, prefix=' "', suffix='"'): --- a/components/domain_reliability/google_configs.cc +++ b/components/domain_reliability/google_configs.cc -@@ -11,548 +11,6 @@ +@@ -11,551 +11,6 @@ namespace domain_reliability { @@ -417,6 +417,7 @@ - {"cloudendpointsapis.com", true, false, false}, - {"dartmotif.com", true, false, false}, - {"dartsearch.net", true, false, false}, +- {"dev.via.google", true, false, false}, - {"doubleclick.com", true, false, false}, - {"doubleclick.ne.jp", true, false, false}, - {"doubleclick.net", true, false, false}, @@ -461,8 +462,10 @@ - {"gvt3.com", true, false, false}, - {"gvt9.com", true, false, false}, - {"picasa.com", true, false, false}, +- {"prod.via.google", true, false, false}, - {"recaptcha.net", true, false, false}, - {"stackdriver.com", true, false, false}, +- {"staging.via.google", true, false, false}, - {"waze.com", true, false, false}, - {"withgoogle.com", true, false, false}, - {"youtu.be", true, false, false}, @@ -666,7 +669,7 @@ std::unique_ptr MaybeGetGoogleConfig( const std::string& hostname) { bool is_www_subdomain = -@@ -562,23 +20,6 @@ std::unique_ptr config; std::unique_ptr superdomain_config; @@ -690,7 +693,7 @@ if (config) { DCHECK(config->origin.host() == hostname); return config; -@@ -597,11 +38,6 @@ std::vector> configs_out; diff --git a/patches/core/ungoogled-chromium/disable-gaia.patch b/patches/core/ungoogled-chromium/disable-gaia.patch index ec0ee8044a..f202767a5b 100644 --- a/patches/core/ungoogled-chromium/disable-gaia.patch +++ b/patches/core/ungoogled-chromium/disable-gaia.patch @@ -3,7 +3,7 @@ --- a/google_apis/gaia/gaia_auth_fetcher.cc +++ b/google_apis/gaia/gaia_auth_fetcher.cc -@@ -264,61 +264,6 @@ void GaiaAuthFetcher::CreateAndStartGaia +@@ -294,61 +294,6 @@ void GaiaAuthFetcher::CreateAndStartGaia network::mojom::CredentialsMode credentials_mode, const net::NetworkTrafficAnnotationTag& traffic_annotation) { DCHECK(!fetch_pending_) << "Tried to fetch two things at once!"; diff --git a/patches/core/ungoogled-chromium/disable-google-host-detection.patch b/patches/core/ungoogled-chromium/disable-google-host-detection.patch index 2973f5718b..1ee1246016 100644 --- a/patches/core/ungoogled-chromium/disable-google-host-detection.patch +++ b/patches/core/ungoogled-chromium/disable-google-host-detection.patch @@ -2,7 +2,7 @@ --- a/chrome/browser/ui/webui/suggest_internals/suggest_internals_handler.cc +++ b/chrome/browser/ui/webui/suggest_internals/suggest_internals_handler.cc -@@ -56,9 +56,6 @@ void SuggestInternalsHandler::OnSuggestR +@@ -66,9 +66,6 @@ void SuggestInternalsHandler::OnSuggestR suggest_internals::mojom::Request::New(); mojom_request->id = request_id; mojom_request->url = request->url; @@ -25,7 +25,7 @@ #if BUILDFLAG(ENABLE_BOUND_SESSION_CREDENTIALS) #include "chrome/common/bound_session_request_throttled_handler.h" #include "net/cookies/cookie_util.h" -@@ -149,71 +145,6 @@ void GoogleURLLoaderThrottle::DetachFrom +@@ -171,71 +167,6 @@ void GoogleURLLoaderThrottle::DetachFrom void GoogleURLLoaderThrottle::WillStartRequest( network::ResourceRequest* request, bool* defer) { @@ -97,7 +97,7 @@ } void GoogleURLLoaderThrottle::WillRedirectRequest( -@@ -223,96 +154,12 @@ void GoogleURLLoaderThrottle::WillRedire +@@ -245,97 +176,12 @@ void GoogleURLLoaderThrottle::WillRedire std::vector* to_be_removed_headers, net::HttpRequestHeaders* modified_headers, net::HttpRequestHeaders* modified_cors_exempt_headers) { @@ -163,7 +163,8 @@ -#if BUILDFLAG(ENABLE_BOUND_SESSION_CREDENTIALS) - if (is_covered_by_bound_session_) { - RecordBoundSessionStatusMetrics(is_deferred_for_bound_session_, -- is_main_frame_navigation_); +- is_main_frame_navigation_, +- /*is_request_succeeded=*/true); - } - if (deferred_request_resume_trigger_) { - UMA_HISTOGRAM_ENUMERATION( @@ -496,7 +497,7 @@ --- a/components/page_load_metrics/browser/page_load_metrics_util.cc +++ b/components/page_load_metrics/browser/page_load_metrics_util.cc -@@ -284,9 +284,7 @@ bool DidObserveLoadingBehaviorInAnyFrame +@@ -285,9 +285,7 @@ bool DidObserveLoadingBehaviorInAnyFrame } bool IsGoogleSearchHostname(const GURL& url) { @@ -550,7 +551,7 @@ bool IsGoogleHostname(const GURL& url) { --- a/components/search_engines/template_url.cc +++ b/components/search_engines/template_url.cc -@@ -590,11 +590,7 @@ std::u16string TemplateURLRef::SearchTer +@@ -612,11 +612,7 @@ std::u16string TemplateURLRef::SearchTer bool TemplateURLRef::HasGoogleBaseURLs( const SearchTermsData& search_terms_data) const { ParseIfNecessary(search_terms_data); @@ -674,7 +675,7 @@ } // namespace variations --- a/content/browser/preloading/prefetch/prefetch_container.cc +++ b/content/browser/preloading/prefetch/prefetch_container.cc -@@ -849,7 +849,7 @@ void PrefetchContainer::AddRedirectHop(c +@@ -960,7 +960,7 @@ void PrefetchContainer::AddRedirectHop(c // some which are added by throttles). These aren't yet supported for // prefetch, including browsing topics and client hints. net::HttpRequestHeaders updated_headers; @@ -685,7 +686,7 @@ --- a/net/base/url_util.cc +++ b/net/base/url_util.cc -@@ -493,28 +493,6 @@ bool HasGoogleHost(const GURL& url) { +@@ -511,28 +511,6 @@ bool HasGoogleHost(const GURL& url) { } bool IsGoogleHost(std::string_view host) { diff --git a/patches/core/ungoogled-chromium/disable-mei-preload.patch b/patches/core/ungoogled-chromium/disable-mei-preload.patch index be2e1f7253..0c52a9cbc9 100644 --- a/patches/core/ungoogled-chromium/disable-mei-preload.patch +++ b/patches/core/ungoogled-chromium/disable-mei-preload.patch @@ -7,7 +7,7 @@ --- a/chrome/BUILD.gn +++ b/chrome/BUILD.gn -@@ -394,7 +394,6 @@ if (!is_android && !is_mac) { +@@ -374,7 +374,6 @@ if (!is_android && !is_mac) { } data_deps += [ diff --git a/patches/core/ungoogled-chromium/disable-privacy-sandbox.patch b/patches/core/ungoogled-chromium/disable-privacy-sandbox.patch index 16baa2cdd9..e6e9207143 100644 --- a/patches/core/ungoogled-chromium/disable-privacy-sandbox.patch +++ b/patches/core/ungoogled-chromium/disable-privacy-sandbox.patch @@ -11,7 +11,7 @@ "AttributionAggregatableDebugReporting", --- a/components/privacy_sandbox/privacy_sandbox_settings_impl.cc +++ b/components/privacy_sandbox/privacy_sandbox_settings_impl.cc -@@ -127,7 +127,7 @@ std::set GetTopi +@@ -129,7 +129,7 @@ std::set GetTopi // static bool PrivacySandboxSettingsImpl::IsAllowed(Status status) { @@ -20,7 +20,7 @@ } // static -@@ -822,7 +822,7 @@ void PrivacySandboxSettingsImpl::SetTopi +@@ -851,7 +851,7 @@ void PrivacySandboxSettingsImpl::SetTopi } bool PrivacySandboxSettingsImpl::IsPrivacySandboxRestricted() const { @@ -29,7 +29,7 @@ } bool PrivacySandboxSettingsImpl::IsPrivacySandboxCurrentlyUnrestricted() const { -@@ -891,11 +891,7 @@ PrivacySandboxSettingsImpl::GetPrivacySa +@@ -937,11 +937,7 @@ PrivacySandboxSettingsImpl::GetPrivacySa return Status::kIncognitoProfile; } diff --git a/patches/core/ungoogled-chromium/disable-webrtc-log-uploader.patch b/patches/core/ungoogled-chromium/disable-webrtc-log-uploader.patch index 768362d333..e4c8b75597 100644 --- a/patches/core/ungoogled-chromium/disable-webrtc-log-uploader.patch +++ b/patches/core/ungoogled-chromium/disable-webrtc-log-uploader.patch @@ -116,7 +116,7 @@ --- a/chrome/browser/ui/browser_ui_prefs.cc +++ b/chrome/browser/ui/browser_ui_prefs.cc -@@ -113,7 +113,7 @@ void RegisterBrowserUserPrefs(user_prefs +@@ -111,7 +111,7 @@ void RegisterBrowserUserPrefs(user_prefs registry->RegisterStringPref(prefs::kWebRTCUDPPortRange, std::string()); registry->RegisterBooleanPref(prefs::kWebRtcEventLogCollectionAllowed, false); registry->RegisterListPref(prefs::kWebRtcLocalIpsAllowedUrls); diff --git a/patches/core/ungoogled-chromium/extensions-manifestv2.patch b/patches/core/ungoogled-chromium/extensions-manifestv2.patch index 9bb33a90ad..e730a3a87a 100644 --- a/patches/core/ungoogled-chromium/extensions-manifestv2.patch +++ b/patches/core/ungoogled-chromium/extensions-manifestv2.patch @@ -8,7 +8,7 @@ #include "chrome/browser/extensions/menu_manager_factory.h" #include "chrome/browser/extensions/permissions/permissions_updater.h" #include "chrome/browser/extensions/plugin_manager.h" -@@ -48,7 +47,6 @@ void EnsureChromeBrowserContextKeyedServ +@@ -49,7 +48,6 @@ void EnsureChromeBrowserContextKeyedServ extensions::IncognitoConnectability::EnsureFactoryBuilt(); extensions::InstallTrackerFactory::GetInstance(); extensions::InstallVerifierFactory::GetInstance(); @@ -18,7 +18,7 @@ #if BUILDFLAG(ENABLE_PLUGINS) --- a/chrome/browser/extensions/extension_management.cc +++ b/chrome/browser/extensions/extension_management.cc -@@ -287,31 +287,7 @@ bool ExtensionManagement::IsAllowedManif +@@ -310,31 +310,7 @@ bool ExtensionManagement::IsAllowedManif int manifest_version, const std::string& extension_id, Manifest::Type manifest_type) { @@ -50,7 +50,7 @@ } bool ExtensionManagement::IsAllowedManifestVersion(const Extension* extension) { -@@ -332,26 +308,8 @@ bool ExtensionManagement::IsExemptFromMV +@@ -355,26 +331,8 @@ bool ExtensionManagement::IsExemptFromMV return false; } @@ -79,12 +79,17 @@ bool ExtensionManagement::IsAllowedByUnpublishedAvailabilityPolicy( --- a/chrome/browser/extensions/manifest_v2_experiment_manager.cc +++ b/chrome/browser/extensions/manifest_v2_experiment_manager.cc -@@ -143,17 +143,6 @@ bool ManifestV2ExperimentManagerFactory: +@@ -143,22 +143,6 @@ bool ManifestV2ExperimentManagerFactory: // Determines the current stage of the MV2 deprecation experiments. MV2ExperimentStage CalculateCurrentExperimentStage() { - // Return the "highest" stage that is currently active for the user. - if (base::FeatureList::IsEnabled( +- extensions_features::kExtensionManifestV2Unsupported)) { +- return MV2ExperimentStage::kUnsupported; +- } +- +- if (base::FeatureList::IsEnabled( - extensions_features::kExtensionManifestV2Disabled)) { - return MV2ExperimentStage::kDisableWithReEnable; - } @@ -97,6 +102,37 @@ return MV2ExperimentStage::kNone; } +@@ -198,30 +182,7 @@ PrefMap GetGlobalNoticeAcknowledgedPrefF + // Returns true if legacy extensions should be disabled, looking at both + // experiment stage and global state. + bool ShouldDisableLegacyExtensions(MV2ExperimentStage stage) { +- if (g_allow_mv2_for_testing) { +- // We allow legacy MV2 extensions for testing purposes. +- return false; +- } +- +- if (base::FeatureList::IsEnabled( +- extensions_features::kAllowLegacyMV2Extensions)) { +- // The user explicitly set the flag to allow legacy MV2 extensions. It's +- // important we retain this functionality so that developers of MV2 +- // extensions used by enterprises can continue developing (and testing) +- // them for as long as the ExtensionManifestV2Availability enterprise policy +- // is supported. + return false; +- } +- +- // Check the experiment stage to determine if extensions should be disabled. +- switch (stage) { +- case MV2ExperimentStage::kNone: +- case MV2ExperimentStage::kWarning: +- return false; +- case MV2ExperimentStage::kDisableWithReEnable: +- case MV2ExperimentStage::kUnsupported: +- return true; +- } + } + + // Returns true if the user is allowed to re-enable disabled extensions in the --- a/chrome/browser/ui/webui/extensions/extensions_ui.cc +++ b/chrome/browser/ui/webui/extensions/extensions_ui.cc @@ -471,9 +471,9 @@ content::WebUIDataSource* CreateAndAddEx @@ -111,3 +147,19 @@ // MV2 deprecation. auto* mv2_experiment_manager = ManifestV2ExperimentManager::Get(profile); +--- a/extensions/common/extension.cc ++++ b/extensions/common/extension.cc +@@ -95,13 +95,6 @@ bool IsManifestSupported(int manifest_ve + // Supported versions are always safe. + if (manifest_version >= kMinimumSupportedManifestVersion && + manifest_version <= kMaximumSupportedManifestVersion) { +- // Emit a warning for unpacked extensions on Manifest V2 warning that +- // MV2 is deprecated. +- if (type == Manifest::TYPE_EXTENSION && manifest_version == 2 && +- Manifest::IsUnpackedLocation(location) && +- !g_silence_deprecated_manifest_version_warnings) { +- *warning = errors::kManifestV2IsDeprecatedWarning; +- } + return true; + } + diff --git a/patches/core/ungoogled-chromium/fix-building-with-prunned-binaries.patch b/patches/core/ungoogled-chromium/fix-building-with-prunned-binaries.patch index 5955b0aa9c..1dcc67b392 100644 --- a/patches/core/ungoogled-chromium/fix-building-with-prunned-binaries.patch +++ b/patches/core/ungoogled-chromium/fix-building-with-prunned-binaries.patch @@ -3,7 +3,7 @@ --- a/chrome/BUILD.gn +++ b/chrome/BUILD.gn -@@ -395,7 +395,6 @@ if (!is_android && !is_mac) { +@@ -375,7 +375,6 @@ if (!is_android && !is_mac) { data_deps += [ "//chrome/browser/resources/media/mei_preload:component", @@ -11,7 +11,7 @@ "//third_party/widevine/cdm", ] if (invoker.collect_inputs_only) { -@@ -964,8 +963,6 @@ if (is_win) { +@@ -944,8 +943,6 @@ if (is_win) { bundle_data("chrome_framework_resources") { sources = [ @@ -22,7 +22,7 @@ # from disk image and Keystone promotion (if so enabled). It --- a/chrome/browser/BUILD.gn +++ b/chrome/browser/BUILD.gn -@@ -774,10 +774,6 @@ static_library("browser") { +@@ -759,10 +759,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", @@ -30,21 +30,10 @@ - "navigation_predictor/preloading_model_keyed_service.h", - "navigation_predictor/preloading_model_keyed_service_factory.cc", - "navigation_predictor/preloading_model_keyed_service_factory.h", - "navigation_predictor/search_engine_preconnector.cc", - "navigation_predictor/search_engine_preconnector.h", "net/cert_verifier_service_time_updater.cc", -@@ -897,10 +893,6 @@ static_library("browser") { - "optimization_guide/chrome_prediction_model_store.h", - "optimization_guide/model_execution/chrome_on_device_model_service_controller.cc", - "optimization_guide/model_execution/chrome_on_device_model_service_controller.h", -- "optimization_guide/model_validator_keyed_service.cc", -- "optimization_guide/model_validator_keyed_service.h", -- "optimization_guide/model_validator_keyed_service_factory.cc", -- "optimization_guide/model_validator_keyed_service_factory.h", - "optimization_guide/optimization_guide_internals_ui.cc", - "optimization_guide/optimization_guide_internals_ui.h", - "optimization_guide/optimization_guide_keyed_service.cc", -@@ -3477,10 +3469,6 @@ static_library("browser") { + "net/cert_verifier_service_time_updater.h", + "net/chrome_mojo_proxy_resolver_factory.cc", +@@ -3487,10 +3483,6 @@ static_library("browser") { } else { #!is_android sources += [ @@ -55,7 +44,7 @@ "accessibility/caption_bubble_context_browser.h", "accessibility/embedded_a11y_extension_loader.cc", "accessibility/embedded_a11y_extension_loader.h", -@@ -4241,10 +4229,6 @@ static_library("browser") { +@@ -4228,10 +4220,6 @@ static_library("browser") { "//chrome/browser/on_device_translation:prefs", "//chrome/browser/policy:path_parser", "//chrome/browser/resources:component_extension_resources", @@ -66,7 +55,7 @@ "//chrome/browser/search/background", "//chrome/browser/smart_card", "//chrome/browser/task_manager", -@@ -4340,9 +4324,6 @@ static_library("browser") { +@@ -4355,9 +4343,6 @@ static_library("browser") { "//components/webauthn/core/browser:passkey_model", "//services/device/public/cpp/bluetooth", "//services/device/public/cpp/hid", @@ -76,7 +65,7 @@ "//third_party/crashpad/crashpad/client:common", "//third_party/zxcvbn-cpp", "//ui/views", -@@ -4399,8 +4380,6 @@ static_library("browser") { +@@ -4446,8 +4431,6 @@ static_library("browser") { #!is_android if (!is_chromeos) { sources += [ @@ -85,7 +74,7 @@ "device_notifications/device_status_icon_renderer.cc", "device_notifications/device_status_icon_renderer.h", "external_protocol/auto_launch_protocols_policy_handler.cc", -@@ -4417,8 +4396,6 @@ static_library("browser") { +@@ -4464,8 +4447,6 @@ static_library("browser") { "policy/chrome_browser_cloud_management_register_watcher.h", "policy/file_selection_dialogs_policy_handler.cc", "policy/file_selection_dialogs_policy_handler.h", @@ -94,15 +83,15 @@ "usb/usb_status_icon.cc", "usb/usb_status_icon.h", ] -@@ -5121,7 +5098,6 @@ static_library("browser") { +@@ -5189,7 +5170,6 @@ static_library("browser") { + "//chrome/browser/policy:onc", "//chrome/browser/push_notification:push_notification", "//chrome/browser/resources:app_icon_resources", - "//chrome/browser/scalable_iph:scalable_iph_factory", - "//chrome/browser/screen_ai:screen_ai_dlc_installer", "//chrome/browser/support_tool/ash", - "//chrome/browser/ui/ash", "//chrome/browser/ui/ash/accelerator", -@@ -5338,7 +5314,6 @@ static_library("browser") { + "//chrome/browser/ui/ash/accessibility", +@@ -5411,7 +5391,6 @@ static_library("browser") { "//components/webapk:proto", "//device/vr/public/mojom:isolated_xr_service", "//remoting/host/chromeos:features", @@ -110,7 +99,7 @@ "//third_party/nearby:rpc_resources_proto", "//third_party/nearby:wire_format_proto", "//ui/chromeos", -@@ -7934,22 +7909,6 @@ static_library("browser") { +@@ -8013,22 +7992,6 @@ static_library("browser") { } } @@ -135,7 +124,7 @@ sources += [ --- a/chrome/browser/browser_process_impl.cc +++ b/chrome/browser/browser_process_impl.cc -@@ -245,12 +245,10 @@ +@@ -246,12 +246,10 @@ #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" @@ -148,7 +137,7 @@ #include "chrome/browser/usb/usb_status_icon.h" #include "components/enterprise/browser/controller/chrome_browser_cloud_management_controller.h" #endif -@@ -1330,9 +1328,6 @@ void BrowserProcessImpl::PreMainMessageL +@@ -1331,9 +1329,6 @@ void BrowserProcessImpl::PreMainMessageL soda_installer_impl_ = std::make_unique(); #endif // BUILDFLAG(IS_CHROMEOS_ASH) @@ -182,16 +171,16 @@ std::unique_ptr platform_part_; --- a/chrome/browser/chrome_browser_interface_binders.cc +++ b/chrome/browser/chrome_browser_interface_binders.cc -@@ -223,8 +223,6 @@ +@@ -225,8 +225,6 @@ + #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ BUILDFLAG(IS_CHROMEOS) - #include "chrome/browser/companion/visual_query/visual_query_suggestions_service_factory.h" -#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/ui/webui/discards/discards.mojom.h" #include "chrome/browser/ui/webui/discards/discards_ui.h" -@@ -858,38 +856,6 @@ void BindMediaFoundationPreferences( +@@ -864,27 +862,6 @@ void BindMediaFoundationPreferences( } #endif // BUILDFLAG(IS_WIN) @@ -215,31 +204,14 @@ - frame_host->GetProcess()->GetBrowserContext()) - ->BindMainContentExtractor(std::move(receiver)); -} -- --void BindVisualSuggestionsModelProvider( -- content::RenderFrameHost* frame_host, -- mojo::PendingReceiver< -- companion::visual_query::mojom::VisualSuggestionsModelProvider> -- receiver) { -- companion::visual_query::VisualQuerySuggestionsServiceFactory::GetForProfile( -- Profile::FromBrowserContext( -- frame_host->GetProcess()->GetBrowserContext())) -- ->BindModelReceiver(std::move(receiver)); --} -#endif #if BUILDFLAG(IS_CHROMEOS_LACROS) // A helper class to register ChromeOS Apps API binders. This includes the logic -@@ -1093,21 +1059,6 @@ void PopulateChromeFrameBinders( +@@ -1088,15 +1065,6 @@ void PopulateChromeFrameBinders( base::BindRepeating(&web_app::SubAppsServiceImpl::CreateIfAllowed)); } -- if (companion::visual_query::features:: -- IsVisualQuerySuggestionsAgentEnabled()) { -- map->Add( -- base::BindRepeating(&BindVisualSuggestionsModelProvider)); -- } -- - if (features::IsPdfOcrEnabled()) { - map->Add( - base::BindRepeating(&BindScreenAIAnnotator)); @@ -254,7 +226,7 @@ #if BUILDFLAG(IS_WIN) --- a/chrome/browser/component_updater/registration.cc +++ b/chrome/browser/component_updater/registration.cc -@@ -68,8 +68,6 @@ +@@ -71,8 +71,6 @@ #if BUILDFLAG(IS_ANDROID) #include "chrome/browser/component_updater/real_time_url_checks_allowlist_component_installer.h" @@ -263,7 +235,7 @@ #endif // BUILDFLAG(IS_ANDROID) #if !BUILDFLAG(IS_ANDROID) -@@ -208,9 +206,6 @@ void RegisterComponentsForUpdate() { +@@ -222,9 +220,6 @@ void RegisterComponentsForUpdate() { RegisterAutofillStatesComponent(cus, g_browser_process->local_state()); @@ -386,7 +358,7 @@ void NavigationPredictor::SetModelScoreCallbackForTesting( --- a/chrome/browser/prefs/browser_prefs.cc +++ b/chrome/browser/prefs/browser_prefs.cc -@@ -1825,9 +1825,6 @@ void RegisterLocalState(PrefRegistrySimp +@@ -1900,9 +1900,6 @@ void RegisterLocalState(PrefRegistrySimp DeviceOAuth2TokenStoreDesktop::RegisterPrefs(registry); #endif @@ -396,9 +368,19 @@ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) PlatformAuthPolicyObserver::RegisterPrefs(registry); +--- a/chrome/browser/profiles/BUILD.gn ++++ b/chrome/browser/profiles/BUILD.gn +@@ -359,7 +359,6 @@ source_set("profiles_extra_parts_impl") + "//chrome/browser/feedback", + "//chrome/browser/hid", + "//chrome/browser/media/router/discovery/access_code:access_code_sink_service", +- "//chrome/browser/screen_ai:screen_ai_service_router_factory", + "//chrome/browser/search", + "//chrome/browser/search/background", + "//chrome/browser/search_engine_choice", --- a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc +++ b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc -@@ -100,7 +100,6 @@ +@@ -102,7 +102,6 @@ #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h" #include "chrome/browser/metrics/variations/google_groups_manager_factory.h" #include "chrome/browser/navigation_predictor/navigation_predictor_keyed_service_factory.h" @@ -406,7 +388,7 @@ #include "chrome/browser/net/dns_probe_service_factory.h" #include "chrome/browser/net/profile_network_context_service_factory.h" #include "chrome/browser/notifications/metrics/notification_metrics_logger_factory.h" -@@ -502,7 +501,6 @@ +@@ -493,7 +492,6 @@ #include "chrome/browser/new_tab_page/promos/promo_service_factory.h" #include "chrome/browser/payments/payment_request_display_manager_factory.h" #include "chrome/browser/privacy_sandbox/privacy_sandbox_survey_desktop_controller_factory.h" @@ -414,15 +396,15 @@ #include "chrome/browser/search/background/ntp_background_service_factory.h" #include "chrome/browser/search/background/ntp_custom_background_service_factory.h" #include "chrome/browser/serial/serial_chooser_context_factory.h" -@@ -1000,7 +998,6 @@ void ChromeBrowserMainExtraPartsProfiles +@@ -962,7 +960,6 @@ void ChromeBrowserMainExtraPartsProfiles metrics::DesktopProfileSessionDurationsServiceFactory::GetInstance(); #endif NavigationPredictorKeyedServiceFactory::GetInstance(); - PreloadingModelKeyedServiceFactory::GetInstance(); - #if BUILDFLAG(IS_CHROMEOS_ASH) + #if BUILDFLAG(IS_CHROMEOS) NearbySharingServiceFactory::GetInstance(); if (base::FeatureList::IsEnabled(ash::features::kNearbyPresence)) { -@@ -1049,9 +1046,6 @@ void ChromeBrowserMainExtraPartsProfiles +@@ -1011,9 +1008,6 @@ void ChromeBrowserMainExtraPartsProfiles OneTimePermissionsTrackerFactory::GetInstance(); #endif OpenerHeuristicServiceFactory::GetInstance(); @@ -432,7 +414,7 @@ OptimizationGuideKeyedServiceFactory::GetInstance(); OriginKeyedPermissionActionServiceFactory::GetInstance(); OriginTrialsFactory::GetInstance(); -@@ -1204,13 +1198,6 @@ void ChromeBrowserMainExtraPartsProfiles +@@ -1158,13 +1152,6 @@ void ChromeBrowserMainExtraPartsProfiles #else SafetyHubMenuNotificationServiceFactory::GetInstance(); SafetyHubHatsServiceFactory::GetInstance(); @@ -444,11 +426,11 @@ -#endif // BUILDFLAG(ENABLE_PDF) - screen_ai::ScreenAIServiceRouterFactory::EnsureFactoryBuilt(); #endif - SCTReportingServiceFactory::GetInstance(); - search_engines::SearchEngineChoiceServiceFactory::GetInstance(); + #if BUILDFLAG(IS_CHROMEOS) + if (ash::features::IsScannerEnabled()) { --- a/chrome/browser/profiles/profile_impl.cc +++ b/chrome/browser/profiles/profile_impl.cc -@@ -856,18 +856,6 @@ void ProfileImpl::DoFinalInit(CreateMode +@@ -826,26 +826,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); @@ -456,8 +438,16 @@ - -#if BUILDFLAG(ENABLE_PDF) - if (features::IsPdfOcrEnabled()) { +- bool pcf_ocr_may_be_needed = true; +-#if BUILDFLAG(IS_CHROMEOS) +- // `PdfOcrControllerFactory` is not needed in the not-signed-in profile of +- // ChromeOS as no user navigation to PDFs is possible there. +- pcf_ocr_may_be_needed = IsSignedIn(); +-#endif - // Create the PDF OCR controller so that it can self-activate as needed. -- screen_ai::PdfOcrControllerFactory::GetForProfile(this); +- if (pcf_ocr_may_be_needed) { +- screen_ai::PdfOcrControllerFactory::GetForProfile(this); +- } - } -#endif // BUILDFLAG(ENABLE_PDF) - @@ -477,7 +467,7 @@ #include "chrome/browser/permissions/adaptive_quiet_notification_permission_ui_enabler.h" #include "chrome/browser/prefs/incognito_mode_prefs.h" #include "chrome/browser/profiles/delete_profile_helper.h" -@@ -1541,9 +1540,6 @@ void ProfileManager::DoFinalInitForServi +@@ -1495,9 +1494,6 @@ void ProfileManager::DoFinalInitForServi // Ensure NavigationPredictorKeyedService is started. NavigationPredictorKeyedServiceFactory::GetForProfile(profile); @@ -499,23 +489,23 @@ --- a/chrome/browser/ui/BUILD.gn +++ b/chrome/browser/ui/BUILD.gn -@@ -1945,8 +1945,6 @@ static_library("ui") { - "//chrome/browser/new_tab_page/chrome_colors", +@@ -1728,8 +1728,6 @@ static_library("ui") { + "//chrome/browser/reading_list", "//chrome/browser/safe_browsing", "//chrome/browser/safe_browsing:advanced_protection", - "//chrome/browser/screen_ai:screen_ai_install_state", - "//chrome/browser/screen_ai:screen_ai_service_router_factory", + "//chrome/browser/smart_card:smart_card", + "//chrome/browser/tab_group_sync:utils", "//chrome/browser/task_manager:impl", - "//chrome/browser/themes", - "//chrome/browser/ui/apps", -@@ -2497,7 +2495,6 @@ static_library("ui") { +@@ -2395,7 +2393,6 @@ static_library("ui") { + "//chrome/browser/nearby_sharing/logging:util", "//chrome/browser/policy:onc", "//chrome/browser/push_notification:push_notification", - "//chrome/browser/scalable_iph:scalable_iph_factory", - "//chrome/browser/screen_ai/public:optical_character_recognizer", - "//chrome/browser/ui/ash", "//chrome/browser/ui/ash/accessibility", - "//chrome/browser/ui/ash/annotator", + "//chrome/browser/ui/ash/app_access", + "//chrome/browser/ui/ash/arc", --- a/chrome/browser/ui/webui/settings/accessibility_main_handler.cc +++ b/chrome/browser/ui/webui/settings/accessibility_main_handler.cc @@ -36,11 +36,6 @@ void AccessibilityMainHandler::RegisterM @@ -618,10 +608,10 @@ #include "chrome/browser/profiles/profile.h" -#include "chrome/browser/screen_ai/screen_ai_service_router.h" -#include "chrome/browser/screen_ai/screen_ai_service_router_factory.h" + #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" - #include "chrome/browser/ui/browser_finder.h" -@@ -320,19 +318,6 @@ ReadAnythingUntrustedPageHandler::ReadAn +@@ -328,19 +326,6 @@ ReadAnythingUntrustedPageHandler::ReadAn prefs_lang = language::ExtractBaseLanguage(prefs_lang); SetDefaultLanguageCode(prefs_lang); @@ -641,7 +631,7 @@ // Enable accessibility for the top level render frame and all descendants. // This causes AXTreeSerializer to reset and send accessibility events of -@@ -722,9 +707,6 @@ void ReadAnythingUntrustedPageHandler::S +@@ -729,9 +714,6 @@ void ReadAnythingUntrustedPageHandler::S weak_factory_.GetSafeRef(), inner_contents[0], kReadAnythingAXMode); } } @@ -653,7 +643,7 @@ --- a/chrome/renderer/BUILD.gn +++ b/chrome/renderer/BUILD.gn -@@ -383,18 +383,6 @@ static_library("renderer") { +@@ -384,18 +384,6 @@ static_library("renderer") { ] } else { sources += [ @@ -672,7 +662,7 @@ "media/chrome_speech_recognition_client.cc", "media/chrome_speech_recognition_client.h", "searchbox/searchbox.cc", -@@ -408,7 +396,6 @@ static_library("renderer") { +@@ -409,7 +397,6 @@ static_library("renderer") { "//components/crx_file", "//components/trusted_vault", "//services/screen_ai/buildflags", @@ -682,7 +672,7 @@ ] --- a/chrome/renderer/chrome_render_frame_observer.cc +++ b/chrome/renderer/chrome_render_frame_observer.cc -@@ -69,7 +69,6 @@ +@@ -68,7 +68,6 @@ #include "url/gurl.h" #if !BUILDFLAG(IS_ANDROID) @@ -690,7 +680,7 @@ #include "chrome/renderer/searchbox/searchbox_extension.h" #endif // !BUILDFLAG(IS_ANDROID) -@@ -320,21 +319,6 @@ void ChromeRenderFrameObserver::DidCommi +@@ -316,21 +315,6 @@ void ChromeRenderFrameObserver::DidCommi } void ChromeRenderFrameObserver::DidClearWindowObject() { @@ -714,7 +704,7 @@ void ChromeRenderFrameObserver::DidMeaningfulLayout( --- a/chrome/test/BUILD.gn +++ b/chrome/test/BUILD.gn -@@ -1959,9 +1959,6 @@ if (!is_android) { +@@ -1922,9 +1922,6 @@ if (!is_android) { "//chrome/browser/resource_coordinator:tab_manager_features", "//chrome/browser/safe_browsing:advanced_protection", "//chrome/browser/safe_browsing:verdict_cache_manager_factory", @@ -724,7 +714,7 @@ "//chrome/browser/search", "//chrome/browser/search_engines", "//chrome/browser/segmentation_platform:test_utils", -@@ -2334,9 +2331,6 @@ if (!is_android) { +@@ -2316,9 +2313,6 @@ if (!is_android) { "//services/network/public/proto:sct_audit_report_proto", "//services/preferences/public/cpp", "//services/preferences/public/cpp/tracked", @@ -734,7 +724,7 @@ "//services/service_manager/public/cpp", "//services/strings", "//services/test/echo/public/mojom", -@@ -8237,7 +8231,6 @@ test("unit_tests") { +@@ -7742,7 +7736,6 @@ test("unit_tests") { # Non-android deps for "unit_tests" target. deps += [ @@ -742,7 +732,7 @@ "//chrome:packed_resources_integrity_header", "//chrome/browser/apps:icon_standardizer", "//chrome/browser/apps/app_service", -@@ -8367,7 +8360,6 @@ test("unit_tests") { +@@ -7893,7 +7886,6 @@ test("unit_tests") { "//services/device/public/cpp/bluetooth", "//services/metrics/public/cpp:ukm_builders", "//services/network:test_support", @@ -750,15 +740,14 @@ "//services/video_effects/test:test_support", "//third_party/crashpad/crashpad/util", "//third_party/libaddressinput", -@@ -8687,8 +8679,6 @@ test("unit_tests") { - "//chrome/browser/push_notification:test_support", - "//chrome/browser/push_notification/protos:proto", - "//chrome/browser/scalable_iph:scalable_iph_factory", +@@ -8335,7 +8327,6 @@ test("unit_tests") { + "//chrome/browser/nearby_sharing/contacts:unit_tests", + "//chrome/browser/nearby_sharing/local_device_data:unit_tests", + "//chrome/browser/policy:unit_tests", - "//chrome/browser/screen_ai:unit_tests", -- "//chrome/browser/screen_ai/public:test_support", "//chrome/browser/support_tool/ash:unit_tests", - "//chrome/browser/task_manager:impl", - "//chrome/browser/ui/ash", + "//chrome/browser/ui/ash:unit_tests", + "//chrome/browser/ui/views/crostini:unit_tests", --- a/chrome/test/chromedriver/BUILD.gn +++ b/chrome/test/chromedriver/BUILD.gn @@ -404,7 +404,7 @@ source_set("lib") { @@ -824,7 +813,7 @@ #if BUILDFLAG(ENABLE_BROWSER_SPEECH_SERVICE) --- a/components/omnibox/browser/autocomplete_classifier.cc +++ b/components/omnibox/browser/autocomplete_classifier.cc -@@ -94,8 +94,6 @@ void AutocompleteClassifier::Classify( +@@ -96,8 +96,6 @@ void AutocompleteClassifier::Classify( metrics::OmniboxEventProto::PageClassification page_classification, AutocompleteMatch* match, GURL* alternate_nav_url) { @@ -853,6 +842,79 @@ #include "components/strings/grit/components_strings.h" #include "pdf/accessibility_structs.h" #include "pdf/pdf_features.h" +--- a/components/pdf/renderer/pdf_view_web_plugin_client.cc ++++ b/components/pdf/renderer/pdf_view_web_plugin_client.cc +@@ -204,34 +204,6 @@ PdfViewWebPluginClient::CreateAssociated + return GetFrame()->CreateAssociatedURLLoader(options); + } + +-void PdfViewWebPluginClient::PerformOcr( +- const SkBitmap& image, +- base::OnceCallback callback) { +- CHECK(base::FeatureList::IsEnabled(ax::mojom::features::kScreenAIOCREnabled)); +- +- if (!screen_ai_annotator_.is_bound()) { +- render_frame_->GetBrowserInterfaceBroker().GetInterface( +- screen_ai_annotator_.BindNewPipeAndPassReceiver()); +- screen_ai_annotator_->SetClientType( +- screen_ai::mojom::OcrClientType::kPdfViewer); +- screen_ai_annotator_.set_disconnect_handler( +- base::BindOnce(&PdfViewWebPluginClient::OnOcrDisconnected, +- weak_factory_.GetWeakPtr())); +- } +- screen_ai_annotator_->PerformOcrAndReturnAnnotation(image, +- std::move(callback)); +-} +- +-void PdfViewWebPluginClient::SetOcrDisconnectedCallback( +- base::RepeatingClosure callback) { +- ocr_disconnect_callback_ = std::move(callback); +-} +- +-void PdfViewWebPluginClient::OnOcrDisconnected() { +- screen_ai_annotator_.reset(); +- CHECK(ocr_disconnect_callback_); +- ocr_disconnect_callback_.Run(); +-} + + void PdfViewWebPluginClient::UpdateTextInputState() { + // `widget` is null in Print Preview. +--- a/components/pdf/renderer/pdf_view_web_plugin_client.h ++++ b/components/pdf/renderer/pdf_view_web_plugin_client.h +@@ -12,7 +12,6 @@ + #include "base/memory/weak_ptr.h" + #include "mojo/public/cpp/bindings/remote.h" + #include "pdf/pdf_view_web_plugin.h" +-#include "services/screen_ai/public/mojom/screen_ai_service.mojom.h" + + namespace blink { + class WebLocalFrame; +@@ -87,16 +86,10 @@ class PdfViewWebPluginClient : public ch + chrome_pdf::PdfAccessibilityImageFetcher* image_fetcher, + blink::WebPluginContainer* plugin_element, + bool print_preview) override; +- void PerformOcr( +- const SkBitmap& image, +- base::OnceCallback callback) +- override; +- void SetOcrDisconnectedCallback(base::RepeatingClosure callback) override; + + private: + blink::WebLocalFrame* GetFrame() const; + +- void OnOcrDisconnected(); + + const raw_ptr render_frame_; + +@@ -105,8 +98,6 @@ class PdfViewWebPluginClient : public ch + + raw_ptr plugin_container_; + +- mojo::Remote screen_ai_annotator_; +- base::RepeatingClosure ocr_disconnect_callback_; + + base::WeakPtrFactory weak_factory_{this}; + }; --- a/components/update_client/BUILD.gn +++ b/components/update_client/BUILD.gn @@ -339,8 +339,6 @@ source_set("unit_tests") { @@ -866,7 +928,7 @@ fuzzer_test("update_client_protocol_serializer_fuzzer") { --- a/content/shell/BUILD.gn +++ b/content/shell/BUILD.gn -@@ -805,10 +805,6 @@ if (is_apple) { +@@ -807,10 +807,6 @@ if (is_apple) { deps = [ "//third_party/icu:icudata" ] } @@ -877,6 +939,60 @@ if (v8_use_external_startup_data) { public_deps += [ "//v8" ] if (use_v8_context_snapshot) { +--- a/pdf/pdf_view_web_plugin.cc ++++ b/pdf/pdf_view_web_plugin.cc +@@ -1204,11 +1204,6 @@ void PdfViewWebPlugin::DocumentLoadCompl + if (accessibility_state_ == AccessibilityState::kPending) + LoadAccessibility(); + +- // To avoid delaying page load for searchify, start searchify after document +- // load is completed. +- client_->SetOcrDisconnectedCallback(engine_->GetOcrDisconnectHandler()); +- engine_->StartSearchify( +- base::BindRepeating(&Client::PerformOcr, client_->GetWeakPtr())); + + if (!full_frame_) + return; +@@ -2061,7 +2056,7 @@ void PdfViewWebPlugin::EnableAccessibili + + SkBitmap PdfViewWebPlugin::GetImageForOcr(int32_t page_index, + int32_t page_object_index) { +- return engine_->GetImageForOcr(page_index, page_object_index); ++ return SkBitmap(); + } + + #if BUILDFLAG(ENABLE_PDF_INK2) +@@ -2641,19 +2636,6 @@ void PdfViewWebPlugin::PrepareAndSetAcce + return; + } + +- // Wait for the page to be loaded and searchified before getting accessibility +- // page info. +- // Ensure page is loaded so that it can schedule a searchify operation if +- // needed. +- engine_->GetPage(page_index)->GetPage(); +- if (engine_->PageNeedsSearchify(page_index)) { +- base::SingleThreadTaskRunner::GetCurrentDefault()->PostDelayedTask( +- FROM_HERE, +- base::BindOnce(&PdfViewWebPlugin::PrepareAndSetAccessibilityPageInfo, +- weak_factory_.GetWeakPtr(), page_index), +- kAccessibilityPageDelay * 10); +- return; +- } + + ++next_accessibility_page_index_; + +--- a/pdf/pdfium/pdfium_engine.cc ++++ b/pdf/pdfium/pdfium_engine.cc +@@ -2617,7 +2617,7 @@ void PDFiumEngine::HandleLongPress(const + + SkBitmap PDFiumEngine::GetImageForOcr(int page_index, int image_index) { + DCHECK(PageIndexInBounds(page_index)); +- return pages_[page_index]->GetImageForOcr(image_index); ++ return SkBitmap(); + } + + bool PDFiumEngine::GetPrintScaling() { --- a/services/passage_embeddings/passage_embeddings_service.cc +++ b/services/passage_embeddings/passage_embeddings_service.cc @@ -6,7 +6,6 @@ @@ -935,8 +1051,8 @@ "panels/timeline/components/insights:unittests", - "panels/timeline/fixtures/traces", "panels/timeline/overlays:unittests", + "panels/timeline/overlays/components:unittests", "panels/timeline/track_appenders:unittests", - "panels/utils:unittests", --- a/third_party/devtools-frontend/src/front_end/models/trace/lantern/core/BUILD.gn +++ b/third_party/devtools-frontend/src/front_end/models/trace/lantern/core/BUILD.gn @@ -38,5 +38,4 @@ ts_library("unittests") { diff --git a/patches/core/ungoogled-chromium/fix-building-without-safebrowsing.patch b/patches/core/ungoogled-chromium/fix-building-without-safebrowsing.patch index 27adbeae5f..07ed92053e 100644 --- a/patches/core/ungoogled-chromium/fix-building-without-safebrowsing.patch +++ b/patches/core/ungoogled-chromium/fix-building-without-safebrowsing.patch @@ -2,7 +2,7 @@ --- a/chrome/browser/BUILD.gn +++ b/chrome/browser/BUILD.gn -@@ -625,8 +625,6 @@ static_library("browser") { +@@ -610,8 +610,6 @@ static_library("browser") { "internal_auth.h", "interstitials/chrome_settings_page_helper.cc", "interstitials/chrome_settings_page_helper.h", @@ -11,7 +11,7 @@ "invalidation/profile_invalidation_provider_factory.cc", "invalidation/profile_invalidation_provider_factory.h", "k_anonymity_service/k_anonymity_service_client.cc", -@@ -3853,10 +3851,6 @@ static_library("browser") { +@@ -3839,10 +3837,6 @@ static_library("browser") { "new_tab_page/modules/modules_util.h", "new_tab_page/modules/new_tab_page_modules.cc", "new_tab_page/modules/new_tab_page_modules.h", @@ -21,8 +21,8 @@ - "new_tab_page/modules/safe_browsing/safe_browsing_prefs.h", "new_tab_page/modules/v2/calendar/google_calendar_page_handler.cc", "new_tab_page/modules/v2/calendar/google_calendar_page_handler.h", - "new_tab_page/modules/v2/most_relevant_tab_resumption/most_relevant_tab_resumption_page_handler.cc", -@@ -6712,8 +6706,6 @@ static_library("browser") { + "new_tab_page/modules/v2/calendar/outlook_calendar_page_handler.cc", +@@ -6787,8 +6781,6 @@ static_library("browser") { if (enterprise_cloud_content_analysis) { sources += [ @@ -31,7 +31,7 @@ "enterprise/connectors/analysis/content_analysis_delegate_base.h", "enterprise/connectors/analysis/content_analysis_dialog.cc", "enterprise/connectors/analysis/content_analysis_dialog.h", -@@ -6721,8 +6713,6 @@ static_library("browser") { +@@ -6796,8 +6788,6 @@ static_library("browser") { "enterprise/connectors/analysis/content_analysis_downloads_delegate.h", "enterprise/connectors/analysis/files_request_handler.cc", "enterprise/connectors/analysis/files_request_handler.h", @@ -40,7 +40,7 @@ "enterprise/connectors/analysis/request_handler_base.cc", "enterprise/connectors/analysis/request_handler_base.h", "enterprise/connectors/reporting/browser_crash_event_router.cc", -@@ -7333,12 +7323,6 @@ static_library("browser") { +@@ -7412,12 +7402,6 @@ static_library("browser") { } } @@ -53,7 +53,7 @@ if (enable_captive_portal_detection) { sources += [ -@@ -8221,9 +8205,14 @@ static_library("browser") { +@@ -8314,9 +8298,14 @@ static_library("browser") { "//components/safe_browsing/content/browser:safe_browsing_blocking_page", "//components/safe_browsing/content/browser/download:download_stats", "//components/safe_browsing/content/common:file_type_policies", @@ -69,7 +69,7 @@ if (build_with_tflite_lib) { sources += [ -@@ -8518,7 +8507,6 @@ static_library("browser_generated_files" +@@ -8614,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", "//chrome/browser/new_tab_page/modules/file_suggestion:mojo_bindings", @@ -79,7 +79,7 @@ "//chrome/browser/profile_resetter:profile_reset_report_proto", --- a/chrome/browser/chrome_content_browser_client.cc +++ b/chrome/browser/chrome_content_browser_client.cc -@@ -5545,11 +5545,13 @@ ChromeContentBrowserClient::CreateThrott +@@ -5549,11 +5549,13 @@ ChromeContentBrowserClient::CreateThrott &throttles); #endif @@ -93,7 +93,7 @@ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) MaybeAddThrottle(browser_switcher::BrowserSwitcherNavigationThrottle:: -@@ -7361,26 +7363,7 @@ ChromeContentBrowserClient::GetSafeBrows +@@ -7370,26 +7372,7 @@ ChromeContentBrowserClient::GetSafeBrows const std::vector& allowlist_domains) { DCHECK_CURRENTLY_ON(content::BrowserThread::UI); @@ -121,7 +121,7 @@ } safe_browsing::RealTimeUrlLookupServiceBase* -@@ -7401,11 +7384,6 @@ ChromeContentBrowserClient::GetUrlLookup +@@ -7410,11 +7393,6 @@ ChromeContentBrowserClient::GetUrlLookup GetForProfile(profile); } #endif @@ -133,7 +133,7 @@ return nullptr; } -@@ -7417,34 +7395,7 @@ ChromeContentBrowserClient::GetAsyncChec +@@ -7426,34 +7404,7 @@ ChromeContentBrowserClient::GetAsyncChec safe_browsing::hash_realtime_utils::HashRealTimeSelection hash_realtime_selection, content::FrameTreeNodeId frame_tree_node_id) { @@ -219,7 +219,7 @@ } --- a/chrome/browser/download/chrome_download_manager_delegate.cc +++ b/chrome/browser/download/chrome_download_manager_delegate.cc -@@ -163,7 +163,6 @@ using content::DownloadManager; +@@ -164,7 +164,6 @@ using content::DownloadManager; using download::DownloadItem; using download::DownloadPathReservationTracker; using download::PathValidationResult; @@ -227,7 +227,7 @@ using ConnectionType = net::NetworkChangeNotifier::ConnectionType; #if BUILDFLAG(FULL_SAFE_BROWSING) -@@ -697,15 +696,6 @@ bool ChromeDownloadManagerDelegate::Shou +@@ -698,15 +697,6 @@ bool ChromeDownloadManagerDelegate::Shou #endif bool should_open = download_prefs_->IsAutoOpenEnabled(url, path); @@ -243,7 +243,61 @@ return should_open; } -@@ -1729,7 +1719,6 @@ void ChromeDownloadManagerDelegate::OnDo +@@ -758,32 +748,6 @@ bool ChromeDownloadManagerDelegate::IsDo + DownloadItem* item, + base::OnceClosure internal_complete_callback) { + DCHECK_CURRENTLY_ON(BrowserThread::UI); +-#if BUILDFLAG(ENTERPRISE_CONTENT_ANALYSIS) +- if (item->GetDangerType() == download::DOWNLOAD_DANGER_TYPE_USER_VALIDATED) { +- // For obfuscated files, deobfuscate after validation. +- enterprise_obfuscation::DownloadObfuscationData* obfuscation_data = +- static_cast( +- item->GetUserData( +- enterprise_obfuscation::DownloadObfuscationData::kUserDataKey)); +- +- if (obfuscation_data && obfuscation_data->is_obfuscated) { +- base::ThreadPool::PostTaskAndReplyWithResult( +- FROM_HERE, {base::MayBlock(), base::TaskPriority::USER_VISIBLE}, +- base::BindOnce(&enterprise_obfuscation::DeobfuscateFileInPlace, +- item->GetFullPath()), +- base::BindOnce( +- &ChromeDownloadManagerDelegate::OnDeobfuscationComplete, +- weak_ptr_factory_.GetWeakPtr(), +- std::move(internal_complete_callback))); +- +- // Ensure that deobfuscation is ran only once. +- // TODO(crbug.com/367259664): Move to `OnDeobfuscationComplete` after +- // adding better error handling. +- obfuscation_data->is_obfuscated = false; +- return false; +- } +- } +-#endif + + #if BUILDFLAG(FULL_SAFE_BROWSING) + // If this is a chrome triggered download, return true; +@@ -859,20 +823,6 @@ bool ChromeDownloadManagerDelegate::IsDo + return true; + } + +-#if BUILDFLAG(ENTERPRISE_CONTENT_ANALYSIS) +-void ChromeDownloadManagerDelegate::OnDeobfuscationComplete( +- base::OnceClosure callback, +- base::expected deobfuscation_result) { +- if (!deobfuscation_result.has_value()) { +- // TODO(crbug.com/367259664): Add better error handling for deobfuscation. +- DVLOG(1) << "Failed to deobfuscate download file."; +- } +- +- if (callback) { +- std::move(callback).Run(); +- } +-} +-#endif + + void ChromeDownloadManagerDelegate::ShouldCompleteDownloadInternal( + uint32_t download_id, +@@ -1784,7 +1734,6 @@ void ChromeDownloadManagerDelegate::OnDo DownloadItemModel model(item); model.DetermineAndSetShouldPreferOpeningInBrowser( target_info.target_path, target_info.is_filetype_handled_safely); @@ -251,7 +305,7 @@ } if (ShouldBlockFile(item, target_info.danger_type)) { MaybeReportDangerousDownloadBlocked( -@@ -1810,49 +1799,20 @@ bool ChromeDownloadManagerDelegate::IsOp +@@ -1865,49 +1814,20 @@ bool ChromeDownloadManagerDelegate::IsOp bool ChromeDownloadManagerDelegate::ShouldBlockFile( download::DownloadItem* item, download::DownloadDangerType danger_type) const { @@ -305,7 +359,7 @@ default: LOG(ERROR) << "Invalid download restriction value: " << static_cast(download_restriction); -@@ -1871,7 +1831,6 @@ void ChromeDownloadManagerDelegate::Mayb +@@ -1926,7 +1846,6 @@ void ChromeDownloadManagerDelegate::Mayb service->MaybeSendDangerousDownloadOpenedReport(download, show_download_in_folder); } @@ -313,7 +367,7 @@ if (!download->GetAutoOpened()) { download::DownloadContent download_content = download::DownloadContentFromMimeType(download->GetMimeType(), false); -@@ -1879,6 +1838,7 @@ void ChromeDownloadManagerDelegate::Mayb +@@ -1934,6 +1853,7 @@ void ChromeDownloadManagerDelegate::Mayb download->GetDangerType(), download_content, base::Time::Now(), download->GetEndTime(), show_download_in_folder); } @@ -321,7 +375,7 @@ } void ChromeDownloadManagerDelegate::MaybeSendDangerousDownloadCanceledReport( -@@ -2001,8 +1961,7 @@ void ChromeDownloadManagerDelegate::Chec +@@ -2057,8 +1977,7 @@ void ChromeDownloadManagerDelegate::Chec DCHECK(download_item); DCHECK(download_item->IsSavePackageDownload()); @@ -331,9 +385,24 @@ std::optional settings = safe_browsing::DeepScanningRequest::ShouldUploadBinary(download_item); +--- a/chrome/browser/download/chrome_download_manager_delegate.h ++++ b/chrome/browser/download/chrome_download_manager_delegate.h +@@ -304,12 +304,6 @@ class ChromeDownloadManagerDelegate + void ShouldCompleteDownloadInternal(uint32_t download_id, + base::OnceClosure user_complete_callback); + +-#if BUILDFLAG(ENTERPRISE_CONTENT_ANALYSIS) +- // Called when obfuscated download files are deobfuscated. +- void OnDeobfuscationComplete( +- base::OnceClosure callback, +- base::expected deobfuscation_result); +-#endif + + // Sets the next download id based on download database records, and runs all + // cached id callbacks. --- a/chrome/browser/download/download_item_model.cc +++ b/chrome/browser/download/download_item_model.cc -@@ -952,30 +952,6 @@ void DownloadItemModel::ExecuteCommand(D +@@ -920,30 +920,6 @@ void DownloadItemModel::ExecuteCommand(D } TailoredWarningType DownloadItemModel::GetTailoredWarningType() const { @@ -366,15 +435,15 @@ --- a/chrome/browser/download/download_stats.cc +++ b/chrome/browser/download/download_stats.cc -@@ -11,6 +11,7 @@ - #include "chrome/browser/download/download_ui_model.h" +@@ -12,6 +12,7 @@ + #include "chrome/browser/profiles/profile.h" #include "components/download/public/common/download_content.h" #include "components/profile_metrics/browser_profile_type.h" +#include "components/safe_browsing/buildflags.h" #include "components/safe_browsing/content/browser/download/download_stats.h" void RecordDownloadSource(ChromeDownloadSource source) { -@@ -33,9 +34,6 @@ void MaybeRecordDangerousDownloadWarning +@@ -34,9 +35,6 @@ void MaybeRecordDangerousDownloadWarning base::UmaHistogramEnumeration("SBClientDownload.TailoredWarningType", model.GetTailoredWarningType()); #endif // BUILDFLAG(IS_ANDROID) @@ -430,7 +499,7 @@ } #if BUILDFLAG(FULL_SAFE_BROWSING) -@@ -98,23 +92,5 @@ void SendSafeBrowsingDownloadReport( +@@ -91,23 +85,5 @@ void SendSafeBrowsingDownloadReport( bool ShouldShowDeepScanPromptNotice(Profile* profile, download::DownloadDangerType danger_type) { @@ -595,7 +664,7 @@ #include "chrome/grit/generated_resources.h" #include "components/enterprise/buildflags/buildflags.h" #include "components/enterprise/common/files_scan_data.h" -@@ -1117,16 +1115,6 @@ void ContentAnalysisDelegate::AckAllRequ +@@ -1115,16 +1113,6 @@ void ContentAnalysisDelegate::AckAllRequ void ContentAnalysisDelegate::FinishLargeDataRequestEarly( std::unique_ptr request, safe_browsing::BinaryUploadService::Result result) { @@ -614,7 +683,7 @@ } --- a/chrome/browser/enterprise/connectors/analysis/content_analysis_downloads_delegate.cc +++ b/chrome/browser/enterprise/connectors/analysis/content_analysis_downloads_delegate.cc -@@ -123,7 +123,7 @@ ContentAnalysisDownloadsDelegate::GetCus +@@ -126,7 +126,7 @@ ContentAnalysisDownloadsDelegate::GetCus } bool ContentAnalysisDownloadsDelegate::BypassRequiresJustification() const { @@ -778,7 +847,7 @@ --- a/chrome/browser/enterprise/connectors/connectors_manager.cc +++ b/chrome/browser/enterprise/connectors/connectors_manager.cc -@@ -317,16 +317,7 @@ std::vector Conne +@@ -316,16 +316,7 @@ std::vector Conne } DataRegion ConnectorsManager::GetDataRegion() const { @@ -797,7 +866,7 @@ void ConnectorsManager::StartObservingPrefs(PrefService* pref_service) { --- a/chrome/browser/enterprise/connectors/connectors_service.cc +++ b/chrome/browser/enterprise/connectors/connectors_service.cc -@@ -428,22 +428,7 @@ std::string ConnectorsService::GetManage +@@ -427,22 +427,7 @@ std::string ConnectorsService::GetManage } std::string ConnectorsService::GetRealTimeUrlCheckIdentifier() const { @@ -867,7 +936,7 @@ signals.Set(device_signals::names::kBuiltInDnsClientEnabled, --- a/chrome/browser/enterprise/connectors/reporting/realtime_reporting_client.cc +++ b/chrome/browser/enterprise/connectors/reporting/realtime_reporting_client.cc -@@ -501,17 +501,7 @@ void RealtimeReportingClient::ReportEven +@@ -500,17 +500,7 @@ void RealtimeReportingClient::ReportEven } std::string RealtimeReportingClient::GetProfileUserName() const { @@ -985,7 +1054,7 @@ ReportingServiceFactory::~ReportingServiceFactory() = default; --- a/chrome/browser/enterprise/data_protection/data_protection_clipboard_utils.cc +++ b/chrome/browser/enterprise/data_protection/data_protection_clipboard_utils.cc -@@ -153,41 +153,7 @@ void PasteIfAllowedByContentAnalysis( +@@ -155,40 +155,7 @@ void PasteIfAllowedByContentAnalysis( return; } @@ -1003,8 +1072,7 @@ - enterprise_connectors::ContentAnalysisDelegate::Data dialog_data; - - if (!enterprise_connectors::ContentAnalysisDelegate::IsEnabled( -- profile, *destination.data_transfer_endpoint()->GetURL(), -- &dialog_data, connector)) { +- profile, GetUrlFromEndpoint(destination), &dialog_data, connector)) { - std::move(callback).Run(std::move(clipboard_paste_data)); - return; - } @@ -1108,7 +1176,7 @@ // static --- a/chrome/browser/enterprise/signals/context_info_fetcher.cc +++ b/chrome/browser/enterprise/signals/context_info_fetcher.cc -@@ -227,7 +227,6 @@ void ContextInfoFetcher::Fetch(ContextIn +@@ -259,7 +259,6 @@ void ContextInfoFetcher::Fetch(ContextIn GetAnalysisConnectorProviders(enterprise_connectors::BULK_DATA_ENTRY); info.on_print_providers = GetAnalysisConnectorProviders(enterprise_connectors::PRINT); @@ -1116,7 +1184,7 @@ info.on_security_event_providers = GetOnSecurityEventProviders(); info.browser_version = version_info::GetVersionNumber(); info.site_isolation_enabled = -@@ -284,11 +283,6 @@ std::vector ContextInfoFetc +@@ -316,11 +315,6 @@ std::vector ContextInfoFetc return connectors_service_->GetAnalysisServiceProviderNames(connector); } @@ -1215,18 +1283,18 @@ } // namespace utils --- a/chrome/browser/extensions/BUILD.gn +++ b/chrome/browser/extensions/BUILD.gn -@@ -259,10 +259,6 @@ source_set("extensions") { - "api/resources_private/resources_private_api.h", +@@ -247,10 +247,6 @@ source_set("extensions") { + "api/proxy/proxy_pref_transformer.h", "api/runtime/chrome_runtime_api_delegate.cc", "api/runtime/chrome_runtime_api_delegate.h", - "api/safe_browsing_private/safe_browsing_private_event_router.cc", - "api/safe_browsing_private/safe_browsing_private_event_router.h", - "api/safe_browsing_private/safe_browsing_private_event_router_factory.cc", - "api/safe_browsing_private/safe_browsing_private_event_router_factory.h", - "api/search/search_api.cc", - "api/search/search_api.h", "api/sessions/session_id.cc", -@@ -590,8 +586,6 @@ source_set("extensions") { + "api/sessions/session_id.h", + "api/sessions/sessions_api.cc", +@@ -562,8 +558,6 @@ source_set("extensions") { "mv2_experiment_stage.h", "navigation_extension_enabler.cc", "navigation_extension_enabler.h", @@ -1237,10 +1305,10 @@ "pending_extension_info.cc", --- a/chrome/browser/extensions/api/api_browser_context_keyed_service_factories.cc +++ b/chrome/browser/extensions/api/api_browser_context_keyed_service_factories.cc -@@ -112,7 +112,6 @@ void EnsureApiBrowserContextKeyedService +@@ -103,7 +103,6 @@ void EnsureApiBrowserContextKeyedService #endif extensions::ProcessesAPI::GetFactoryInstance(); - extensions::ReadingListEventRouter::GetFactoryInstance(); + extensions::ReadingListEventRouterFactory::GetInstance(); - extensions::SafeBrowsingPrivateEventRouterFactory::GetInstance(); extensions::SessionsAPI::GetFactoryInstance(); extensions::SettingsPrivateEventRouterFactory::GetInstance(); @@ -1294,7 +1362,7 @@ CookiesSetFunction::CookiesSetFunction() --- a/chrome/browser/extensions/api/enterprise_reporting_private/enterprise_reporting_private_api.cc +++ b/chrome/browser/extensions/api/enterprise_reporting_private/enterprise_reporting_private_api.cc -@@ -101,16 +101,8 @@ api::enterprise_reporting_private::Conte +@@ -102,16 +102,8 @@ api::enterprise_reporting_private::Conte info.third_party_blocking_enabled = signals.third_party_blocking_enabled; info.os_firewall = ToInfoSettingValue(signals.os_firewall); info.system_dns_servers = std::move(signals.system_dns_servers); @@ -1313,7 +1381,7 @@ info.enterprise_profile_id = signals.enterprise_profile_id; --- a/chrome/browser/extensions/api/tabs/tabs_api.cc +++ b/chrome/browser/extensions/api/tabs/tabs_api.cc -@@ -423,30 +423,6 @@ void NotifyExtensionTelemetry(Profile* p +@@ -436,30 +436,6 @@ void NotifyExtensionTelemetry(Profile* p const std::string& current_url, const std::string& new_url, const std::optional& js_callstack) { @@ -1369,7 +1437,7 @@ void Blocklist::GetMalwareIDs(const std::set& ids, --- a/chrome/browser/extensions/chrome_extensions_browser_client.cc +++ b/chrome/browser/extensions/chrome_extensions_browser_client.cc -@@ -816,44 +816,17 @@ void ChromeExtensionsBrowserClient::Noti +@@ -799,44 +799,17 @@ void ChromeExtensionsBrowserClient::Noti content::BrowserContext* context, const ExtensionId& extension_id, const std::string& code) const { @@ -1415,7 +1483,7 @@ } void ChromeExtensionsBrowserClient:: -@@ -862,59 +835,12 @@ void ChromeExtensionsBrowserClient:: +@@ -845,59 +818,12 @@ void ChromeExtensionsBrowserClient:: const ExtensionId& extension_id, const GURL& request_url, const GURL& redirect_url) const { @@ -1475,7 +1543,7 @@ } // static -@@ -1083,7 +1009,6 @@ void ChromeExtensionsBrowserClient::GetW +@@ -1066,7 +992,6 @@ void ChromeExtensionsBrowserClient::GetW void ChromeExtensionsBrowserClient::CreatePasswordReuseDetectionManager( content::WebContents* web_contents) const { @@ -1493,7 +1561,7 @@ #include "chrome/browser/extensions/pending_extension_manager.h" #include "chrome/browser/extensions/permissions/permissions_updater.h" #include "chrome/browser/extensions/profile_util.h" -@@ -229,7 +228,6 @@ void ExtensionService::BlocklistExtensio +@@ -226,7 +225,6 @@ void ExtensionService::BlocklistExtensio blocklist_prefs::SetSafeBrowsingExtensionBlocklistState( extension_id, BitMapBlocklistState::BLOCKLISTED_MALWARE, extension_prefs_); @@ -1501,7 +1569,7 @@ } void ExtensionService::GreylistExtensionForTest( -@@ -237,7 +235,6 @@ void ExtensionService::GreylistExtension +@@ -234,7 +232,6 @@ void ExtensionService::GreylistExtension const BitMapBlocklistState& state) { blocklist_prefs::SetSafeBrowsingExtensionBlocklistState(extension_id, state, extension_prefs_); @@ -1509,7 +1577,7 @@ } bool ExtensionService::OnExternalExtensionUpdateUrlFound( -@@ -405,9 +402,6 @@ ExtensionService::ExtensionService( +@@ -402,9 +399,6 @@ ExtensionService::ExtensionService( safe_browsing_verdict_handler_(extension_prefs, ExtensionRegistry::Get(profile), this), @@ -1519,7 +1587,7 @@ extension_telemetry_service_verdict_handler_( extension_prefs, ExtensionRegistry::Get(profile), -@@ -937,17 +931,6 @@ bool ExtensionService::IsExtensionEnable +@@ -941,17 +935,6 @@ bool ExtensionService::IsExtensionEnable return extension_registrar_.IsExtensionEnabled(extension_id); } @@ -1537,7 +1605,7 @@ void ExtensionService::PerformActionBasedOnExtensionTelemetryServiceVerdicts( const Blocklist::BlocklistStateMap& blocklist_state_map) { DCHECK_CURRENTLY_ON(BrowserThread::UI); -@@ -957,89 +940,6 @@ void ExtensionService::PerformActionBase +@@ -961,89 +944,6 @@ void ExtensionService::PerformActionBase error_controller_->ShowErrorIfNeeded(); } @@ -1678,7 +1746,7 @@ // Performs action based on verdicts received from the Extension Telemetry // server. Currently, these verdicts are limited to off-store extensions. void PerformActionBasedOnExtensionTelemetryServiceVerdicts( -@@ -676,8 +646,6 @@ class ExtensionService : public Extensio +@@ -682,8 +652,6 @@ class ExtensionService : public Extensio SafeBrowsingVerdictHandler safe_browsing_verdict_handler_; @@ -1749,6 +1817,17 @@ UMA_HISTOGRAM_ENUMERATION("Extensions.Greylist.Disabled", extension->location()); } +--- a/chrome/browser/external_protocol/external_protocol_handler.cc ++++ b/chrome/browser/external_protocol/external_protocol_handler.cc +@@ -172,8 +172,6 @@ void LaunchUrlWithoutSecurityCheckWithDe + return; + } + +- g_browser_process->safe_browsing_service()->ReportExternalAppRedirect( +- web_contents, url.scheme(), url.possibly_invalid_spec()); + + // |web_contents| is only passed in to find browser context. Do not assume + // that the external protocol request came from the main frame. --- a/chrome/browser/file_select_helper.cc +++ b/chrome/browser/file_select_helper.cc @@ -323,7 +323,7 @@ void FileSelectHelper::PerformContentAna @@ -1782,7 +1861,7 @@ std::vector list, --- a/chrome/browser/file_system_access/chrome_file_system_access_permission_context.cc +++ b/chrome/browser/file_system_access/chrome_file_system_access_permission_context.cc -@@ -37,7 +37,6 @@ +@@ -40,7 +40,6 @@ #include "chrome/browser/permissions/permission_decision_auto_blocker_factory.h" #include "chrome/browser/profiles/profile.h" #include "chrome/browser/profiles/profile_manager.h" @@ -1790,7 +1869,7 @@ #include "chrome/browser/ui/browser_finder.h" #include "chrome/browser/ui/file_system_access/file_system_access_dangerous_file_dialog.h" #include "chrome/browser/ui/file_system_access/file_system_access_dialogs.h" -@@ -451,89 +450,6 @@ bool ShouldBlockAccessToPath(const base: +@@ -468,89 +467,6 @@ bool ShouldBlockAccessToPath(const base: return true; } @@ -1880,23 +1959,33 @@ std::string GenerateLastPickedDirectoryKey(const std::string& id) { return id.empty() ? kDefaultLastPickedDirectoryKey : base::StrCat({kCustomLastPickedDirectoryKey, "-", id}); -@@ -553,13 +469,7 @@ std::string_view GetGrantKeyFromGrantTyp - bool FileHasDangerousExtension(const url::Origin& origin, - const base::FilePath& path, - Profile* profile) { -- safe_browsing::DownloadFileType::DangerLevel danger_level = -- safe_browsing::FileTypePolicies::GetInstance()->GetFileDangerLevel( -- path, origin.GetURL(), profile->GetPrefs()); -- // See https://crbug.com/1320877#c4 for justification for why we show the -- // prompt if `danger_level` is ALLOW_ON_USER_GESTURE as well as DANGEROUS. -- return danger_level == safe_browsing::DownloadFileType::DANGEROUS || -- danger_level == safe_browsing::DownloadFileType::ALLOW_ON_USER_GESTURE; +@@ -567,13 +483,6 @@ std::string_view GetGrantKeyFromGrantTyp + : kPermissionReadableKey; + } + +-safe_browsing::DownloadFileType::DangerLevel GetFileTypeDangerLevel( +- const base::FilePath& path, +- const url::Origin& origin, +- Profile* profile) { +- return safe_browsing::FileTypePolicies::GetInstance()->GetFileDangerLevel( +- path, origin.GetURL(), profile->GetPrefs()); +-} + + std::string StringOrEmpty(const std::string* s) { + return s ? *s : std::string(); +@@ -1689,9 +1598,7 @@ bool ChromeFileSystemAccessPermissionCon + bool ChromeFileSystemAccessPermissionContext::IsFileTypeDangerous( + const base::FilePath& path, + const url::Origin& origin) { +- return GetFileTypeDangerLevel(path, origin, +- Profile::FromBrowserContext(profile_)) == +- safe_browsing::DownloadFileType::DANGEROUS; + return false; } - } // namespace -@@ -1672,7 +1582,7 @@ void ChromeFileSystemAccessPermissionCon - std::vector entries, + void ChromeFileSystemAccessPermissionContext::ConfirmSensitiveEntryAccess( +@@ -1715,7 +1622,7 @@ void ChromeFileSystemAccessPermissionCon + std::vector entries, content::GlobalRenderFrameHostId frame_id, EntriesAllowedByEnterprisePolicyCallback callback) { -#if BUILDFLAG(ENTERPRISE_CLOUD_CONTENT_ANALYSIS) @@ -1904,7 +1993,7 @@ // Get WebContents pointer in order to perform enterprise content analysis. content::WebContents* web_contents = nullptr; if (!entries.empty()) { -@@ -1780,29 +1690,6 @@ void ChromeFileSystemAccessPermissionCon +@@ -1823,29 +1730,6 @@ void ChromeFileSystemAccessPermissionCon std::move(callback)); } @@ -1933,10 +2022,37 @@ - void ChromeFileSystemAccessPermissionContext::DidCheckPathAgainstBlocklist( const url::Origin& origin, - const base::FilePath& path, + const content::PathInfo& path_info, +@@ -1873,26 +1757,6 @@ void ChromeFileSystemAccessPermissionCon + return; + } + +- // If attempting to save a file with a dangerous extension, prompt the user +- // to make them confirm they actually want to save the file. +- if (handle_type == HandleType::kFile && user_action == UserAction::kSave) { +- // See https://crbug.com/1320877#c4 for justification for why we show the +- // prompt if `danger_level` is ALLOW_ON_USER_GESTURE as well as DANGEROUS. +- auto danger_level = GetFileTypeDangerLevel( +- path_info.path, origin, Profile::FromBrowserContext(profile_)); +- if (danger_level == safe_browsing::DownloadFileType::DANGEROUS || +- danger_level == +- safe_browsing::DownloadFileType::ALLOW_ON_USER_GESTURE) { +- auto result_callback = +- base::BindPostTaskToCurrentDefault(std::move(callback)); +- content::GetUIThreadTaskRunner({})->PostTask( +- FROM_HERE, +- base::BindOnce(&ShowFileSystemAccessDangerousFileDialogOnUIThread, +- frame_id, origin, path_info, +- std::move(result_callback))); +- return; +- } +- } + + std::move(callback).Run(SensitiveEntryResult::kAllowed); + } --- a/chrome/browser/file_system_access/chrome_file_system_access_permission_context.h +++ b/chrome/browser/file_system_access/chrome_file_system_access_permission_context.h -@@ -180,10 +180,6 @@ class ChromeFileSystemAccessPermissionCo +@@ -177,10 +177,6 @@ class ChromeFileSystemAccessPermissionCo UserAction user_action, content::GlobalRenderFrameHostId frame_id, base::OnceCallback callback) override; @@ -1944,9 +2060,9 @@ - std::unique_ptr item, - content::GlobalRenderFrameHostId frame_id, - base::OnceCallback callback) override; + bool IsFileTypeDangerous(const base::FilePath& path, + const url::Origin& origin) override; bool CanObtainReadPermission(const url::Origin& origin) override; - bool CanObtainWritePermission(const url::Origin& origin) override; - void SetLastPickedDirectory(const url::Origin& origin, --- a/chrome/browser/media/webrtc/display_media_access_handler.cc +++ b/chrome/browser/media/webrtc/display_media_access_handler.cc @@ -29,6 +29,7 @@ @@ -1999,7 +2115,7 @@ #include "chrome/browser/safe_browsing/user_interaction_observer.h" #include "chrome/browser/signin/identity_manager_factory.h" #include "chrome/browser/sync/sync_service_factory.h" -@@ -1038,6 +1037,7 @@ autofill::LanguageCode ChromePasswordMan +@@ -1056,6 +1055,7 @@ autofill::LanguageCode ChromePasswordMan return autofill::LanguageCode(); } @@ -2007,7 +2123,7 @@ safe_browsing::PasswordProtectionService* ChromePasswordManagerClient::GetPasswordProtectionService() const { return safe_browsing::ChromePasswordProtectionService:: -@@ -1057,6 +1057,7 @@ void ChromePasswordManagerClient::CheckS +@@ -1075,6 +1075,7 @@ void ChromePasswordManagerClient::CheckS } } #endif // defined(ON_FOCUS_PING_ENABLED) @@ -2015,7 +2131,7 @@ #if !BUILDFLAG(IS_ANDROID) void ChromePasswordManagerClient::MaybeReportEnterpriseLoginEvent( -@@ -1064,30 +1065,10 @@ void ChromePasswordManagerClient::MaybeR +@@ -1082,30 +1083,10 @@ void ChromePasswordManagerClient::MaybeR bool is_federated, const url::SchemeHostPort& federated_origin, const std::u16string& login_user_name) const { @@ -2046,7 +2162,7 @@ } #endif -@@ -1853,6 +1834,7 @@ bool ChromePasswordManagerClient::IsPass +@@ -1889,6 +1870,7 @@ bool ChromePasswordManagerClient::IsPass is_enabled = false; } @@ -2054,7 +2170,7 @@ // SafeBrowsing Delayed Warnings experiment can delay some SafeBrowsing // warnings until user interaction. If the current page has a delayed warning, // it'll have a user interaction observer attached. Disable password -@@ -1863,6 +1845,7 @@ bool ChromePasswordManagerClient::IsPass +@@ -1899,6 +1881,7 @@ bool ChromePasswordManagerClient::IsPass observer->OnPasswordSaveOrAutofillDenied(); is_enabled = false; } @@ -2064,7 +2180,7 @@ password_manager::BrowserSavePasswordProgressLogger logger( --- a/chrome/browser/password_manager/chrome_password_manager_client.h +++ b/chrome/browser/password_manager/chrome_password_manager_client.h -@@ -237,15 +237,9 @@ class ChromePasswordManagerClient +@@ -239,15 +239,9 @@ class ChromePasswordManagerClient autofill::LogManager* GetLogManager() override; void AnnotateNavigationEntry(bool has_password_field) override; autofill::LanguageCode GetPageLanguage() const override; @@ -2277,7 +2393,7 @@ #include "components/safe_browsing/content/common/file_type_policies_prefs.h" #include "components/safe_browsing/core/common/safe_browsing_policy_handler.h" #include "components/safe_browsing/core/common/safe_browsing_prefs.h" -@@ -2361,8 +2362,6 @@ std::unique_ptrAddHandler( std::make_unique( chrome_schema)); @@ -2286,7 +2402,7 @@ handlers->AddHandler(std::make_unique()); handlers->AddHandler( std::make_unique(key::kURLBlocklist)); -@@ -2472,20 +2471,6 @@ std::unique_ptr scanning_data = enterprise_data_protection::GetPrintAnalysisData( web_contents(), enterprise_data_protection::PrintScanningContext:: -@@ -1340,7 +1340,7 @@ void PrintViewManagerBase::CompleteScrip +@@ -1333,7 +1333,7 @@ void PrintViewManagerBase::CompleteScrip std::move(callback_wrapper))); } @@ -2392,7 +2508,7 @@ void PrintViewManagerBase::CompletePrintDocumentAfterContentAnalysis( scoped_refptr print_data, const gfx::Size& page_size, -@@ -1363,17 +1363,6 @@ void PrintViewManagerBase::ContentAnalys +@@ -1356,17 +1356,6 @@ void PrintViewManagerBase::ContentAnalys const gfx::Size& page_size, const gfx::Rect& content_area, const gfx::Point& offsets) { @@ -2423,7 +2539,7 @@ // This method is virtual for testing purposes. --- a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc +++ b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc -@@ -845,9 +845,6 @@ void ChromeBrowserMainExtraPartsProfiles +@@ -815,9 +815,6 @@ void ChromeBrowserMainExtraPartsProfiles enterprise_connectors::ExtensionInstallEventRouterFactory::GetInstance(); enterprise_connectors::ExtensionTelemetryEventRouterFactory::GetInstance(); #endif @@ -2433,7 +2549,7 @@ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ BUILDFLAG(IS_ANDROID) enterprise_idle::IdleServiceFactory::GetInstance(); -@@ -1173,23 +1170,6 @@ void ChromeBrowserMainExtraPartsProfiles +@@ -1127,23 +1124,6 @@ void ChromeBrowserMainExtraPartsProfiles #if !BUILDFLAG(IS_ANDROID) ResetReportUploaderFactory::GetInstance(); #endif @@ -2541,7 +2657,7 @@ scoped_refptr --- a/chrome/browser/site_protection/site_protection_metrics_observer.cc +++ b/chrome/browser/site_protection/site_protection_metrics_observer.cc -@@ -198,17 +198,6 @@ void SiteProtectionMetricsObserver::OnKn +@@ -200,18 +200,6 @@ void SiteProtectionMetricsObserver::OnKn SiteFamiliarityHistoryHeuristicName::kNoVisitsToAnySiteMoreThanADayAgo; } @@ -2551,17 +2667,18 @@ - GURL last_committed_url = metrics_data->last_committed_url; - database_manager->CheckUrlForHighConfidenceAllowlist( - last_committed_url, -- base::BindOnce(&SiteProtectionMetricsObserver::LogMetrics, +- base::BindOnce(&SiteProtectionMetricsObserver:: +- OnGotHighConfidenceAllowlistResult, - weak_factory_.GetWeakPtr(), std::move(metrics_data))); - return; - } - } - LogMetrics(std::move(metrics_data), - /* url_on_safe_browsing_high_confidence_allowlist=*/false); + OnGotHighConfidenceAllowlistResult( + std::move(metrics_data), --- a/chrome/browser/ssl/chrome_security_blocking_page_factory.cc +++ b/chrome/browser/ssl/chrome_security_blocking_page_factory.cc -@@ -147,15 +147,6 @@ CreateSettingsPageHelper() { +@@ -126,15 +126,6 @@ CreateSettingsPageHelper() { CreateChromeSettingsPageHelper(); } @@ -2577,7 +2694,7 @@ } // namespace std::unique_ptr -@@ -178,10 +169,6 @@ ChromeSecurityBlockingPageFactory::Creat +@@ -157,10 +148,6 @@ ChromeSecurityBlockingPageFactory::Creat Profile::FromBrowserContext(web_contents->GetBrowserContext())); state->DidDisplayErrorPage(cert_error); @@ -2588,18 +2705,18 @@ auto controller_client = std::make_unique( web_contents, ssl_info, cert_error, request_url, std::move(metrics_helper), CreateSettingsPageHelper()); -@@ -244,10 +231,6 @@ ChromeSecurityBlockingPageFactory::Creat - const GURL& request_url, - const net::SSLInfo& ssl_info, +@@ -225,10 +212,6 @@ ChromeSecurityBlockingPageFactory::Creat const std::string& mitm_software_name) { + Profile* profile = + Profile::FromBrowserContext(web_contents->GetBrowserContext()); - LogSafeBrowsingSecuritySensitiveAction( - safe_browsing::SafeBrowsingMetricsCollectorFactory::GetForProfile( -- Profile::FromBrowserContext(web_contents->GetBrowserContext()))); +- profile)); - auto page = std::make_unique( web_contents, cert_error, request_url, /*can_show_enhanced_protection_message=*/true, ssl_info, -@@ -267,10 +250,6 @@ ChromeSecurityBlockingPageFactory::Creat +@@ -248,10 +231,6 @@ ChromeSecurityBlockingPageFactory::Creat int cert_error, const GURL& request_url, const net::SSLInfo& ssl_info) { @@ -2664,7 +2781,7 @@ } // namespace --- a/chrome/browser/ui/BUILD.gn +++ b/chrome/browser/ui/BUILD.gn -@@ -598,7 +598,6 @@ static_library("ui") { +@@ -575,7 +575,6 @@ static_library("ui") { "//components/renderer_context_menu", "//components/resources", "//components/safe_browsing/content/browser", @@ -2672,16 +2789,7 @@ "//components/safe_browsing/content/browser/password_protection", "//components/safe_browsing/content/browser/web_ui", "//components/safe_browsing/core/browser/db:database_manager", -@@ -3214,8 +3213,6 @@ static_library("ui") { - "startup/web_app_startup_utils.h", - "tab_contents/chrome_web_contents_menu_helper.cc", - "tab_contents/chrome_web_contents_menu_helper.h", -- "tab_contents/chrome_web_contents_view_handle_drop.cc", -- "tab_contents/chrome_web_contents_view_handle_drop.h", - "views/autofill/payments/webauthn_dialog_view.cc", - "views/autofill/payments/webauthn_dialog_view.h", - "views/close_bubble_on_tab_activation_helper.cc", -@@ -4854,8 +4851,6 @@ static_library("ui") { +@@ -4625,8 +4624,6 @@ static_library("ui") { "views/safe_browsing/prompt_for_scanning_modal_dialog.h", "views/safe_browsing/tailored_security_desktop_dialog_manager.cc", "views/safe_browsing/tailored_security_desktop_dialog_manager.h", @@ -2710,7 +2818,7 @@ } --- a/chrome/browser/ui/exclusive_access/fullscreen_controller.cc +++ b/chrome/browser/ui/exclusive_access/fullscreen_controller.cc -@@ -113,20 +113,6 @@ void RecordWebsiteStateAtApiRequest(hist +@@ -113,23 +113,6 @@ void RecordWebsiteStateAtApiRequest(hist void CheckUrlForAllowlistAndRecordMetric( const GURL& url, history::HistoryLastVisitResult result) { @@ -2724,7 +2832,10 @@ - ->CheckUrlForHighConfidenceAllowlist( - url, - base::BindOnce( -- [](history::HistoryLastVisitResult result, bool on_allowlist) { +- [](history::HistoryLastVisitResult result, bool on_allowlist, +- std::optional +- logging_details) { - RecordWebsiteStateAtApiRequest(result, on_allowlist); - }, - result)); @@ -2800,9 +2911,19 @@ } const std::set +--- a/chrome/browser/ui/tab_contents/BUILD.gn ++++ b/chrome/browser/ui/tab_contents/BUILD.gn +@@ -50,7 +50,6 @@ source_set("impl") { + if (is_win || is_mac || is_linux || is_chromeos) { + sources += [ + "chrome_web_contents_menu_helper.cc", +- "chrome_web_contents_view_handle_drop.cc", + ] + } + --- a/chrome/browser/ui/tab_helpers.cc +++ b/chrome/browser/ui/tab_helpers.cc -@@ -393,7 +393,6 @@ void TabHelpers::AttachTabHelpers(WebCon +@@ -392,7 +392,6 @@ void TabHelpers::AttachTabHelpers(WebCon if (!autofill_client_provider.uses_platform_autofill()) { ChromePasswordManagerClient::CreateForWebContents(web_contents); } @@ -2820,29 +2941,22 @@ #include "chrome/browser/safe_browsing/safe_browsing_service.h" #include "chrome/browser/ui/browser.h" #include "chrome/browser/ui/browser_element_identifiers.h" -@@ -40,21 +39,6 @@ namespace { +@@ -40,14 +39,6 @@ namespace { void MaybeSendDownloadReport(content::BrowserContext* browser_context, download::DownloadItem* download) { -- if (download->GetURL().is_empty() || browser_context->IsOffTheRecord()) { -- return; +- if (safe_browsing::SafeBrowsingService* service = +- g_browser_process->safe_browsing_service()) { +- service->SendDownloadReport(download, +- safe_browsing::ClientSafeBrowsingReportRequest:: +- DANGEROUS_DOWNLOAD_RECOVERY, +- /*did_proceed=*/true, +- /*show_download_in_folder=*/std::nullopt); - } -- -- safe_browsing::SafeBrowsingService* service = -- g_browser_process->safe_browsing_service(); -- if (!service) { -- return; -- } -- -- service->SendDownloadReport(download, -- safe_browsing::ClientSafeBrowsingReportRequest:: -- DANGEROUS_DOWNLOAD_RECOVERY, -- /*did_proceed=*/true, -- /*show_download_in_folder=*/std::nullopt); } } // namespace -@@ -189,74 +173,16 @@ void DownloadBubbleContentsView::Process +@@ -182,74 +173,16 @@ void DownloadBubbleContentsView::Process const ContentId& id, DownloadItemWarningData::DeepScanTrigger trigger, base::optional_ref password) { @@ -2966,7 +3080,7 @@ --- a/chrome/browser/ui/views/media_router/presentation_receiver_window_view.cc +++ b/chrome/browser/ui/views/media_router/presentation_receiver_window_view.cc -@@ -171,7 +171,6 @@ void PresentationReceiverWindowView::Ini +@@ -173,7 +173,6 @@ void PresentationReceiverWindowView::Ini ChromeTranslateClient::CreateForWebContents(web_contents); autofill::ChromeAutofillClient::CreateForWebContents(web_contents); ChromePasswordManagerClient::CreateForWebContents(web_contents); @@ -3021,19 +3135,19 @@ std::unique_ptr --- a/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc +++ b/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc -@@ -406,9 +406,6 @@ WebUIFactoryFunction GetWebUIFactoryFunc +@@ -254,9 +254,6 @@ WebUIFactoryFunction GetWebUIFactoryFunc optimization_guide_internals::kChromeUIOptimizationGuideInternalsHost) { return &NewWebUI; } - if (url.host_piece() == safe_browsing::kChromeUISafeBrowsingHost) - return &NewComponentUI; - if (url.host_piece() == chrome::kChromeUISupervisedUserPassphrasePageHost) - return &NewWebUI; if (url.host_piece() == + history_clusters_internals::kChromeUIHistoryClustersInternalsHost) { + return &NewWebUI; --- a/chrome/browser/ui/webui/downloads/downloads_dom_handler.cc +++ b/chrome/browser/ui/webui/downloads/downloads_dom_handler.cc -@@ -191,10 +191,6 @@ void MaybeReportBypassAction(download::D +@@ -183,10 +183,6 @@ void MaybeReportBypassAction(download::D if (action != WarningAction::PROCEED && action != WarningAction::DISCARD) { return; } @@ -3044,7 +3158,7 @@ } // Triggers a Trust and Safety sentiment survey (if enabled). Should be called -@@ -203,21 +199,6 @@ void MaybeReportBypassAction(download::D +@@ -195,21 +191,6 @@ void MaybeReportBypassAction(download::D void MaybeTriggerTrustSafetySurvey(download::DownloadItem* file, WarningSurface surface, WarningAction action) { @@ -3066,7 +3180,7 @@ } void RecordDownloadsPageValidatedHistogram(download::DownloadItem* item) { -@@ -369,46 +350,10 @@ void DownloadsDOMHandler::RecordOpenBypa +@@ -361,46 +342,10 @@ void DownloadsDOMHandler::RecordOpenBypa void DownloadsDOMHandler::RecordOpenBypassWarningInterstitial( const std::string& id) { @@ -3113,7 +3227,7 @@ } void DownloadsDOMHandler::SaveDangerousFromDialogRequiringGesture( -@@ -443,54 +388,6 @@ void DownloadsDOMHandler::SaveDangerousF +@@ -435,54 +380,6 @@ void DownloadsDOMHandler::SaveDangerousF void DownloadsDOMHandler::SaveDangerousFromInterstitialNeedGesture( const std::string& id, downloads::mojom::DangerousDownloadInterstitialSurveyOptions response) { @@ -3168,7 +3282,7 @@ } void DownloadsDOMHandler::RecordCancelBypassWarningDialog( -@@ -507,27 +404,6 @@ void DownloadsDOMHandler::RecordCancelBy +@@ -499,27 +396,6 @@ void DownloadsDOMHandler::RecordCancelBy void DownloadsDOMHandler::RecordCancelBypassWarningInterstitial( const std::string& id) { @@ -3196,7 +3310,7 @@ } void DownloadsDOMHandler::DiscardDangerous(const std::string& id) { -@@ -753,18 +629,6 @@ void DownloadsDOMHandler::DeepScan(const +@@ -745,18 +621,6 @@ void DownloadsDOMHandler::DeepScan(const return; } @@ -3215,7 +3329,7 @@ DownloadItemModel model(download); DownloadCommands commands(model.GetWeakPtr()); commands.ExecuteCommand(DownloadCommands::DEEP_SCAN); -@@ -800,12 +664,6 @@ void DownloadsDOMHandler::ReviewDangerou +@@ -792,12 +656,6 @@ void DownloadsDOMHandler::ReviewDangerou return; } @@ -3230,7 +3344,7 @@ #if BUILDFLAG(GOOGLE_CHROME_BRANDING) --- a/chrome/browser/ui/webui/management/management_ui_handler.cc +++ b/chrome/browser/ui/webui/management/management_ui_handler.cc -@@ -274,10 +274,7 @@ void ManagementUIHandler::AddReportingIn +@@ -273,10 +273,7 @@ void ManagementUIHandler::AddReportingIn enterprise_reporting::kCloudProfileReportingEnabled); const bool real_time_url_check_connector_enabled = @@ -3242,7 +3356,7 @@ if (cloud_legacy_tech_report_enabled) { Profile::FromWebUI(web_ui())->GetPrefs()->GetList( -@@ -453,12 +450,6 @@ base::Value::Dict ManagementUIHandler::G +@@ -457,12 +454,6 @@ base::Value::Dict ManagementUIHandler::G &info); } @@ -3401,7 +3515,7 @@ kChromeUITabSearchHost, --- a/chrome/renderer/url_loader_throttle_provider_impl.cc +++ b/chrome/renderer/url_loader_throttle_provider_impl.cc -@@ -171,26 +171,6 @@ URLLoaderThrottleProviderImpl::CreateThr +@@ -175,25 +175,6 @@ URLLoaderThrottleProviderImpl::CreateThr DCHECK(!is_frame_resource || type_ == blink::URLLoaderThrottleProviderType::kFrame); @@ -3409,7 +3523,6 @@ - if (pending_safe_browsing_) { - safe_browsing_.Bind(std::move(pending_safe_browsing_)); - } -- -#if BUILDFLAG(ENABLE_EXTENSIONS) - if (pending_extension_web_request_reporter_) { - extension_web_request_reporter_.Bind( @@ -3426,8 +3539,8 @@ - throttles.emplace_back(std::move(throttle)); - } - if (type_ == blink::URLLoaderThrottleProviderType::kFrame && - !is_frame_resource && local_frame_token.has_value()) { + if (fingerprinting_protection_filter::features:: + IsFingerprintingProtectionFeatureEnabled()) { --- a/chrome/renderer/websocket_handshake_throttle_provider_impl.cc +++ b/chrome/renderer/websocket_handshake_throttle_provider_impl.cc @@ -58,15 +58,5 @@ WebSocketHandshakeThrottleProviderImpl:: @@ -3448,7 +3561,7 @@ } --- a/chrome/test/BUILD.gn +++ b/chrome/test/BUILD.gn -@@ -2189,9 +2189,6 @@ if (!is_android) { +@@ -2169,9 +2169,6 @@ if (!is_android) { "//components/resources", "//components/safe_browsing:buildflags", "//components/safe_browsing/content/browser", @@ -3458,7 +3571,7 @@ "//components/safe_browsing/content/browser:safe_browsing_service", "//components/safe_browsing/content/browser/password_protection", "//components/safe_browsing/content/browser/password_protection:test_support", -@@ -6878,9 +6875,6 @@ test("unit_tests") { +@@ -6429,9 +6426,6 @@ test("unit_tests") { "//components/resources", "//components/safe_browsing:buildflags", "//components/safe_browsing/content/browser", @@ -3489,7 +3602,7 @@ const base::Value::List* enabled_opt_in_events_value = --- a/components/password_manager/content/browser/content_password_manager_driver.cc +++ b/components/password_manager/content/browser/content_password_manager_driver.cc -@@ -622,7 +622,7 @@ void ContentPasswordManagerDriver::Check +@@ -624,7 +624,7 @@ void ContentPasswordManagerDriver::Check if (!password_manager::bad_message::CheckFrameNotPrerendering( render_frame_host_)) return; @@ -3560,13 +3673,13 @@ --- a/components/safe_browsing/content/common/safe_browsing.mojom +++ b/components/safe_browsing/content/common/safe_browsing.mojom @@ -146,7 +146,6 @@ interface PhishingDetector { - mojo_base.mojom.ProtoWrapper? request); - }; --[EnableIf=full_safe_browsing] // Interface for setting a phishing model. This is scoped to an entire // RenderProcess. +-[EnableIf=full_safe_browsing] interface PhishingModelSetter { + // A classification model for client-side phishing detection in addition to + // the image embedding model. This call sends the model and the image --- a/components/safe_browsing/core/browser/BUILD.gn +++ b/components/safe_browsing/core/browser/BUILD.gn @@ -23,8 +23,6 @@ source_set("browser") { @@ -3672,7 +3785,7 @@ void OhttpKeyService::Shutdown() { --- a/components/safe_browsing/core/browser/realtime/url_lookup_service.cc +++ b/components/safe_browsing/core/browser/realtime/url_lookup_service.cc -@@ -267,17 +267,6 @@ void RealTimeUrlLookupService::MaybeLogP +@@ -275,17 +275,6 @@ void RealTimeUrlLookupService::MaybeLogP bool request_had_cookie, bool was_first_request, bool sent_with_token) { @@ -3901,8 +4014,8 @@ void DidFileSkipQuarantine(base::File::Error result); --- a/content/browser/file_system_access/mock_file_system_access_permission_context.cc +++ b/content/browser/file_system_access/mock_file_system_access_permission_context.cc -@@ -23,11 +23,4 @@ void MockFileSystemAccessPermissionConte - user_action, frame_id, callback); +@@ -22,13 +22,6 @@ void MockFileSystemAccessPermissionConte + frame_id, callback); } -void MockFileSystemAccessPermissionContext::PerformAfterWriteChecks( @@ -3912,10 +4025,12 @@ - PerformAfterWriteChecks_(item.get(), frame_id, callback); -} - - } // namespace content + bool MockFileSystemAccessPermissionContext::IsFileTypeDangerous( + const base::FilePath& path, + const url::Origin& origin) { --- a/content/browser/file_system_access/mock_file_system_access_permission_context.h +++ b/content/browser/file_system_access/mock_file_system_access_permission_context.h -@@ -54,16 +54,6 @@ class MockFileSystemAccessPermissionCont +@@ -52,16 +52,6 @@ class MockFileSystemAccessPermissionCont GlobalRenderFrameHostId frame_id, base::OnceCallback& callback)); @@ -3929,12 +4044,12 @@ - GlobalRenderFrameHostId frame_id, - base::OnceCallback& callback)); - + bool IsFileTypeDangerous(const base::FilePath& path, + const url::Origin& origin) override; MOCK_METHOD(bool, - CanObtainReadPermission, - (const url::Origin& origin), --- a/content/public/browser/file_system_access_permission_context.h +++ b/content/public/browser/file_system_access_permission_context.h -@@ -128,12 +128,6 @@ class FileSystemAccessPermissionContext +@@ -176,12 +176,6 @@ class FileSystemAccessPermissionContext base::OnceCallback callback) = 0; enum class AfterWriteCheckResult { kAllow, kBlock }; @@ -3945,11 +4060,11 @@ - GlobalRenderFrameHostId frame_id, - base::OnceCallback callback) = 0; - // Returns whether the give |origin| already allows read permission, or it is - // possible to request one. This is used to block file dialogs from being + // Returns whether the file type is considered dangerous. This is used to + // block file operations from creating or accessing these file types. --- a/content/public/test/fake_file_system_access_permission_context.cc +++ b/content/public/test/fake_file_system_access_permission_context.cc -@@ -47,13 +47,6 @@ void FakeFileSystemAccessPermissionConte +@@ -46,13 +46,6 @@ void FakeFileSystemAccessPermissionConte std::move(callback).Run(SensitiveEntryResult::kAllowed); } @@ -3960,12 +4075,12 @@ - std::move(callback).Run(AfterWriteCheckResult::kAllow); -} - - bool FakeFileSystemAccessPermissionContext::CanObtainReadPermission( + bool FakeFileSystemAccessPermissionContext::IsFileTypeDangerous( + const base::FilePath& path, const url::Origin& origin) { - return true; --- a/content/public/test/fake_file_system_access_permission_context.h +++ b/content/public/test/fake_file_system_access_permission_context.h -@@ -46,11 +46,6 @@ class FakeFileSystemAccessPermissionCont +@@ -45,11 +45,6 @@ class FakeFileSystemAccessPermissionCont GlobalRenderFrameHostId frame_id, base::OnceCallback callback) override; @@ -3974,12 +4089,12 @@ - GlobalRenderFrameHostId frame_id, - base::OnceCallback callback) override; - - bool CanObtainReadPermission(const url::Origin& origin) override; - bool CanObtainWritePermission(const url::Origin& origin) override; + bool IsFileTypeDangerous(const base::FilePath& path, + const url::Origin& origin) override; --- a/extensions/browser/updater/update_service.cc +++ b/extensions/browser/updater/update_service.cc -@@ -134,13 +134,6 @@ void UpdateService::OnCrxStateChange(Upd +@@ -132,13 +132,6 @@ void UpdateService::OnCrxStateChange(Upd break; } diff --git a/patches/core/ungoogled-chromium/remove-unused-preferences-fields.patch b/patches/core/ungoogled-chromium/remove-unused-preferences-fields.patch index 0726fc9e50..c91475164f 100644 --- a/patches/core/ungoogled-chromium/remove-unused-preferences-fields.patch +++ b/patches/core/ungoogled-chromium/remove-unused-preferences-fields.patch @@ -12,7 +12,7 @@ #include "components/url_formatter/url_fixer.h" #include "components/user_prefs/user_prefs.h" #include "components/visitedlink/browser/visitedlink_writer.h" -@@ -516,8 +515,6 @@ void AwBrowserContext::BuildVisitedLinkT +@@ -521,8 +520,6 @@ void AwBrowserContext::BuildVisitedLinkT } void AwBrowserContext::SetExtendedReportingAllowed(bool allowed) { @@ -21,61 +21,6 @@ } // TODO(amalova): Make sure NetworkContextParams is configured correctly when ---- a/chrome/browser/android/signin/signin_manager_android.cc -+++ b/chrome/browser/android/signin/signin_manager_android.cc -@@ -31,7 +31,6 @@ - #include "components/policy/core/common/cloud/user_cloud_policy_manager.h" - #include "components/policy/core/common/policy_switches.h" - #include "components/prefs/pref_service.h" --#include "components/signin/public/base/signin_pref_names.h" - #include "components/signin/public/base/signin_switches.h" - #include "components/signin/public/identity_manager/account_managed_status_finder.h" - #include "components/signin/public/identity_manager/accounts_cookie_mutator.h" -@@ -119,11 +118,6 @@ class ProfileDataRemover : public conten - // All the Profile data has been wiped. Clear the last signed in username - // as well, so that the next signin doesn't trigger the account - // change dialog. -- profile_->GetPrefs()->ClearPref(prefs::kGoogleServicesLastSyncingGaiaId); -- profile_->GetPrefs()->ClearPref( -- prefs::kGoogleServicesLastSyncingUsername); -- profile_->GetPrefs()->ClearPref( -- prefs::kGoogleServicesLastSignedInUsername); - } - - origin_runner_->PostTask(FROM_HERE, std::move(callback_)); -@@ -160,11 +154,6 @@ SigninManagerAndroid::SigninManagerAndro - DCHECK(user_cloud_policy_manager_); - DCHECK(user_policy_signin_service_); - -- signin_allowed_.Init( -- prefs::kSigninAllowed, profile_->GetPrefs(), -- base::BindRepeating(&SigninManagerAndroid::OnSigninAllowedPrefChanged, -- base::Unretained(this))); -- - force_browser_signin_.Init(prefs::kForceBrowserSignin, - g_browser_process->local_state()); - -@@ -199,7 +188,7 @@ SigninManagerAndroid::ManagementCredenti - SigninManagerAndroid::ManagementCredentials::~ManagementCredentials() = default; - - bool SigninManagerAndroid::IsSigninAllowed() const { -- return signin_allowed_.GetValue(); -+ return false; - } - - bool SigninManagerAndroid::IsSigninAllowedByPolicy(JNIEnv* env) const { ---- a/chrome/browser/android/signin/signin_manager_android.h -+++ b/chrome/browser/android/signin/signin_manager_android.h -@@ -141,9 +141,6 @@ class SigninManagerAndroid : public Keye - - const raw_ptr profile_ = nullptr; - -- // Handler for prefs::kSigninAllowed set in user's profile. -- BooleanPrefMember signin_allowed_; -- - // Handler for prefs::kForceBrowserSignin. This preference is set in Local - // State, not in user prefs. - BooleanPrefMember force_browser_signin_; --- a/chrome/browser/ash/lock_screen_apps/lock_screen_profile_creator_impl.cc +++ b/chrome/browser/ash/lock_screen_apps/lock_screen_profile_creator_impl.cc @@ -19,7 +19,6 @@ @@ -98,7 +43,7 @@ #include "content/public/test/browser_task_environment.h" --- a/chrome/browser/ash/login/signin/device_id_browsertest.cc +++ b/chrome/browser/ash/login/signin/device_id_browsertest.cc -@@ -30,7 +30,6 @@ +@@ -32,7 +32,6 @@ #include "chrome/test/base/in_process_browser_test.h" #include "chromeos/dbus/constants/dbus_paths.h" #include "components/prefs/pref_service.h" @@ -106,7 +51,7 @@ #include "components/user_manager/known_user.h" #include "components/user_manager/user_manager.h" #include "content/public/test/browser_test.h" -@@ -289,15 +288,6 @@ IN_PROC_BROWSER_TEST_F(DeviceIDTest, PRE +@@ -300,15 +299,6 @@ IN_PROC_BROWSER_TEST_F(DeviceIDTest, PRE SignInOnline(FakeGaiaMixin::kFakeUserEmail, FakeGaiaMixin::kFakeUserPassword, kRefreshToken1, FakeGaiaMixin::kFakeUserGaiaId); @@ -122,7 +67,7 @@ // Can't use SetKnownUserDeviceId here, because it forbids changing a device // ID. user_manager::KnownUser known_user(g_browser_process->local_state()); -@@ -326,13 +316,6 @@ IN_PROC_BROWSER_TEST_F(DeviceIDTest, PRE +@@ -337,13 +327,6 @@ IN_PROC_BROWSER_TEST_F(DeviceIDTest, PRE SignInOnline(FakeGaiaMixin::kFakeUserEmail, FakeGaiaMixin::kFakeUserPassword, kRefreshToken1, FakeGaiaMixin::kFakeUserGaiaId); @@ -189,14 +134,14 @@ } --- a/chrome/browser/chrome_content_browser_client.cc +++ b/chrome/browser/chrome_content_browser_client.cc -@@ -303,7 +303,6 @@ +@@ -308,7 +308,6 @@ #include "components/safe_browsing/core/browser/url_checker_delegate.h" #include "components/safe_browsing/core/common/features.h" #include "components/safe_browsing/core/common/hashprefix_realtime/hash_realtime_utils.h" -#include "components/safe_browsing/core/common/safe_browsing_prefs.h" + #include "components/search_engines/template_url_service.h" #include "components/security_interstitials/content/insecure_form_navigation_throttle.h" #include "components/security_interstitials/content/ssl_error_handler.h" - #include "components/security_interstitials/content/ssl_error_navigation_throttle.h" --- a/chrome/browser/download/download_browsertest.cc +++ b/chrome/browser/download/download_browsertest.cc @@ -108,7 +108,6 @@ @@ -209,7 +154,7 @@ #include "content/public/browser/browser_task_traits.h" --- a/chrome/browser/download/download_item_model.cc +++ b/chrome/browser/download/download_item_model.cc -@@ -858,17 +858,6 @@ void DownloadItemModel::ExecuteCommand(D +@@ -828,17 +828,6 @@ void DownloadItemModel::ExecuteCommand(D #if BUILDFLAG(FULL_SAFE_BROWSING) CompleteSafeBrowsingScan(); #endif @@ -227,7 +172,7 @@ [[fallthrough]]; case DownloadCommands::KEEP: if (IsInsecure()) { -@@ -928,24 +917,9 @@ void DownloadItemModel::ExecuteCommand(D +@@ -896,24 +885,9 @@ void DownloadItemModel::ExecuteCommand(D DownloadUIModel::ExecuteCommand(download_commands, command); break; case DownloadCommands::DEEP_SCAN: { @@ -284,7 +229,7 @@ #include "crypto/secure_hash.h" --- a/chrome/browser/enterprise/connectors/connectors_service.cc +++ b/chrome/browser/enterprise/connectors/connectors_service.cc -@@ -376,8 +376,7 @@ std::string ConnectorsService::GetManage +@@ -375,8 +375,7 @@ std::string ConnectorsService::GetManage std::optional scope = std::nullopt; for (const char* scope_pref : @@ -341,7 +286,7 @@ Profile::FromBrowserContext( --- a/chrome/browser/enterprise/signals/context_info_fetcher.cc +++ b/chrome/browser/enterprise/signals/context_info_fetcher.cc -@@ -239,12 +239,6 @@ void ContextInfoFetcher::Fetch(ContextIn +@@ -271,12 +271,6 @@ void ContextInfoFetcher::Fetch(ContextIn info.third_party_blocking_enabled = utils::GetThirdPartyBlockingEnabled(g_browser_process->local_state()); @@ -407,7 +352,7 @@ #include "components/signin/public/identity_manager/primary_account_mutator.h" #include "content/public/browser/storage_partition.h" #include "content/public/browser/web_contents.h" -@@ -379,8 +378,7 @@ void OidcAuthenticationSigninInterceptor +@@ -385,8 +384,7 @@ void OidcAuthenticationSigninInterceptor // TODO(b/355270189): The interaction between OIDC profiles and BrowserSignin // policy should be finalized, this check only prevents Chrome from crashing. @@ -456,7 +401,7 @@ void TokenManagedProfileCreationDelegate::OnManagedProfileInitialized( --- a/chrome/browser/extensions/api/enterprise_reporting_private/enterprise_reporting_private_api.cc +++ b/chrome/browser/extensions/api/enterprise_reporting_private/enterprise_reporting_private_api.cc -@@ -107,45 +107,10 @@ api::enterprise_reporting_private::Conte +@@ -108,45 +108,10 @@ api::enterprise_reporting_private::Conte info.built_in_dns_client_enabled = signals.built_in_dns_client_enabled; info.enterprise_profile_id = signals.enterprise_profile_id; @@ -541,7 +486,7 @@ #include "extensions/browser/api/content_settings/content_settings_service.h" #include "extensions/browser/extension_function_registry.h" #include "extensions/browser/extension_pref_value_map.h" -@@ -703,17 +702,6 @@ ExtensionFunction::ResponseAction SetPre +@@ -443,17 +442,6 @@ ExtensionFunction::ResponseAction SetPre base::Value(browser_pref_value->GetBool())); } @@ -559,7 +504,7 @@ prefs_helper->SetExtensionControlledPref(extension_id(), browser_pref, scope, browser_pref_value->Clone()); -@@ -801,16 +789,6 @@ ExtensionFunction::ResponseAction ClearP +@@ -503,16 +491,6 @@ ExtensionFunction::ResponseAction ClearP prefs_helper->RemoveExtensionControlledPref(extension_id(), browser_pref, scope); @@ -573,9 +518,9 @@ - prefs_helper->RemoveExtensionControlledPref( - extension_id(), prefs::kSafeBrowsingEnhanced, scope); - } - #if BUILDFLAG(IS_CHROMEOS_LACROS) - if (!IsBrowserScopePrefOperation(pref_path, profile) && - did_just_control_pref) { + return RespondNow(NoArguments()); + } + --- a/chrome/browser/extensions/api/preference/preference_apitest.cc +++ b/chrome/browser/extensions/api/preference/preference_apitest.cc @@ -30,7 +30,6 @@ @@ -632,19 +577,19 @@ #include "extensions/browser/test_event_router.h" --- a/chrome/browser/extensions/api/settings_private/prefs_util.cc +++ b/chrome/browser/extensions/api/settings_private/prefs_util.cc -@@ -54,10 +54,8 @@ +@@ -53,10 +53,8 @@ #include "components/privacy_sandbox/privacy_sandbox_prefs.h" #include "components/privacy_sandbox/tracking_protection_prefs.h" #include "components/proxy_config/proxy_config_pref_names.h" -#include "components/safe_browsing/core/common/safe_browsing_prefs.h" - #include "components/saved_tab_groups/pref_names.h" + #include "components/saved_tab_groups/public/pref_names.h" #include "components/search_engines/default_search_manager.h" -#include "components/signin/public/base/signin_pref_names.h" #include "components/spellcheck/browser/pref_names.h" #include "components/supervised_user/core/common/pref_names.h" #include "components/translate/core/browser/translate_pref_names.h" -@@ -315,8 +313,6 @@ const PrefsUtil::TypedPrefMap& PrefsUtil - #endif +@@ -324,8 +322,6 @@ const PrefsUtil::TypedPrefMap& PrefsUtil + settings_api::PrefType::kNumber; // Privacy page - (*s_allowlist)[::prefs::kSigninAllowedOnNextStartup] = @@ -652,7 +597,7 @@ (*s_allowlist)[::prefs::kDnsOverHttpsMode] = settings_api::PrefType::kString; (*s_allowlist)[::prefs::kDnsOverHttpsTemplates] = settings_api::PrefType::kString; -@@ -339,16 +335,6 @@ const PrefsUtil::TypedPrefMap& PrefsUtil +@@ -348,16 +344,6 @@ const PrefsUtil::TypedPrefMap& PrefsUtil settings_api::PrefType::kBoolean; // Security page @@ -744,7 +689,7 @@ #include "components/supervised_user/core/browser/supervised_user_preferences.h" #include "content/public/browser/browser_thread.h" #include "content/public/browser/render_process_host.h" -@@ -547,10 +546,7 @@ void ExtensionService::Init() { +@@ -551,10 +550,7 @@ void ExtensionService::Init() { LoadExtensionsFromCommandLineFlag(::switches::kDisableExtensionsExcept); if (load_command_line_extensions) { @@ -796,7 +741,7 @@ #include "components/spellcheck/browser/pref_names.h" #include "components/translate/core/browser/translate_pref_names.h" -@@ -67,11 +66,6 @@ const PrefMappingEntry kMappings[] = { +@@ -63,11 +62,6 @@ const PrefMappingEntry kMappings[] = { APIPermissionID::kPrivacy}, {"doNotTrackEnabled", prefs::kEnableDoNotTrack, APIPermissionID::kPrivacy, APIPermissionID::kPrivacy}, @@ -810,7 +755,7 @@ {"spellingServiceEnabled", spellcheck::prefs::kSpellCheckUseSpellingService, --- a/chrome/browser/net/profile_network_context_service.cc +++ b/chrome/browser/net/profile_network_context_service.cc -@@ -68,7 +68,6 @@ +@@ -69,7 +69,6 @@ #include "components/prefs/pref_registry_simple.h" #include "components/prefs/pref_service.h" #include "components/privacy_sandbox/privacy_sandbox_prefs.h" @@ -818,7 +763,7 @@ #include "content/public/browser/browser_context.h" #include "content/public/browser/browser_thread.h" #include "content/public/browser/first_party_sets_handler.h" -@@ -1194,15 +1193,8 @@ void ProfileNetworkContextService::Confi +@@ -1354,15 +1353,8 @@ void ProfileNetworkContextService::Confi network_context_params->enable_certificate_reporting = true; @@ -1033,7 +978,7 @@ { key::kSavingBrowserHistoryDisabled, prefs::kSavingBrowserHistoryDisabled, base::Value::Type::BOOLEAN }, -@@ -457,9 +445,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -460,9 +448,6 @@ const PolicyToPreferenceMapEntry kSimple { key::kAdsSettingForIntrusiveAdsSites, prefs::kManagedDefaultAdsSetting, base::Value::Type::INTEGER }, @@ -1043,7 +988,7 @@ { key::kAllowCrossOriginAuthPrompt, prefs::kAllowCrossOriginAuthPrompt, base::Value::Type::BOOLEAN }, -@@ -670,15 +655,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -679,15 +664,6 @@ const PolicyToPreferenceMapEntry kSimple { key::kPasswordDismissCompromisedAlertEnabled, password_manager::prefs::kPasswordDismissCompromisedAlertEnabled, base::Value::Type::BOOLEAN }, @@ -1059,7 +1004,7 @@ #if BUILDFLAG(ENABLE_PDF) { key::kPdfLocalFileAccessAllowedForDomains, prefs::kPdfLocalFileAccessAllowedForDomains, -@@ -725,9 +701,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -734,9 +710,6 @@ const PolicyToPreferenceMapEntry kSimple { key::kRestoreOnStartupURLs, prefs::kURLsToRestoreOnStartup, base::Value::Type::LIST }, @@ -1069,7 +1014,7 @@ { key::kSameOriginTabCaptureAllowedByOrigins, prefs::kSameOriginTabCaptureAllowedByOrigins, base::Value::Type::LIST }, -@@ -839,9 +812,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -848,9 +821,6 @@ const PolicyToPreferenceMapEntry kSimple { key::kAdditionalDnsQueryTypesEnabled, prefs::kAdditionalDnsQueryTypesEnabled, base::Value::Type::BOOLEAN }, @@ -1079,7 +1024,7 @@ { key::kForceGoogleSafeSearch, policy_prefs::kForceGoogleSafeSearch, base::Value::Type::BOOLEAN }, -@@ -906,9 +876,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -915,9 +885,6 @@ const PolicyToPreferenceMapEntry kSimple { key::kRequireOnlineRevocationChecksForLocalAnchors, prefs::kCertRevocationCheckingRequiredLocalAnchors, base::Value::Type::BOOLEAN }, @@ -1089,7 +1034,7 @@ #endif // #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) // || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) -@@ -1833,9 +1800,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -1848,9 +1815,6 @@ const PolicyToPreferenceMapEntry kSimple { key::kUnmanagedDeviceSignalsConsentFlowEnabled, device_signals::prefs::kUnmanagedDeviceSignalsConsentFlowEnabled, base::Value::Type::BOOLEAN }, @@ -1099,7 +1044,7 @@ #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) { key::kDefaultBrowserSettingEnabled, -@@ -1894,9 +1858,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -1909,9 +1873,6 @@ const PolicyToPreferenceMapEntry kSimple prefs::kImportDialogAutofillFormData, base::Value::Type::BOOLEAN }, @@ -1109,7 +1054,7 @@ { key::kHardwareAccelerationModeEnabled, prefs::kHardwareAccelerationModeEnabled, base::Value::Type::BOOLEAN }, -@@ -2184,9 +2145,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -2193,9 +2154,6 @@ const PolicyToPreferenceMapEntry kSimple { key::kGoogleSearchSidePanelEnabled, prefs::kGoogleSearchSidePanelEnabled, base::Value::Type::BOOLEAN }, @@ -1119,7 +1064,7 @@ #endif // BUILDFLAG(IS_ANDROID) { key::kAllowBackForwardCacheForCacheControlNoStorePageEnabled, policy_prefs::kAllowBackForwardCacheForCacheControlNoStorePageEnabled, -@@ -2654,21 +2612,7 @@ std::unique_ptrAddHandler(std::make_unique( key::kProfileReauthPrompt, enterprise_signin::prefs::kProfileReauthPrompt, static_cast(enterprise_signin::ProfileReauthPrompt::kDoNotPrompt), -@@ -2729,24 +2673,6 @@ std::unique_ptr> signin_legacy_policies; @@ -1168,15 +1113,15 @@ std::make_unique(chrome_schema))); --- a/chrome/browser/prefs/browser_prefs.cc +++ b/chrome/browser/prefs/browser_prefs.cc -@@ -168,7 +168,6 @@ +@@ -167,7 +167,6 @@ #include "components/privacy_sandbox/privacy_sandbox_prefs.h" #include "components/proxy_config/pref_proxy_config_tracker_impl.h" #include "components/safe_browsing/content/common/file_type_policies_prefs.h" -#include "components/safe_browsing/core/common/safe_browsing_prefs.h" - #include "components/saved_tab_groups/pref_names.h" + #include "components/saved_tab_groups/public/pref_names.h" #include "components/search_engines/search_engine_choice/search_engine_choice_service.h" #include "components/search_engines/template_url_prepopulate_data.h" -@@ -177,7 +176,6 @@ +@@ -176,7 +175,6 @@ #include "components/segmentation_platform/embedder/default_model/device_switcher_result_dispatcher.h" #include "components/segmentation_platform/public/segmentation_platform_service.h" #include "components/sessions/core/session_id_generator.h" @@ -1184,7 +1129,7 @@ #include "components/signin/public/base/signin_prefs.h" #include "components/signin/public/identity_manager/identity_manager.h" #include "components/site_engagement/content/site_engagement_service.h" -@@ -1604,7 +1602,6 @@ void RegisterLocalState(PrefRegistrySimp +@@ -1679,7 +1677,6 @@ void RegisterLocalState(PrefRegistrySimp PushMessagingServiceImpl::RegisterPrefs(registry); #endif RegisterScreenshotPrefs(registry); @@ -1192,7 +1137,7 @@ search_engines::SearchEngineChoiceService::RegisterLocalStatePrefs(registry); secure_origin_allowlist::RegisterPrefs(registry); segmentation_platform::SegmentationPlatformService::RegisterLocalStatePrefs( -@@ -1940,8 +1937,6 @@ void RegisterProfilePrefs(user_prefs::Pr +@@ -2015,8 +2012,6 @@ void RegisterProfilePrefs(user_prefs::Pr #if BUILDFLAG(IS_CHROMEOS_ASH) settings::ResetSettingsHandler::RegisterProfilePrefs(registry); #endif // BUILDFLAG(IS_CHROMEOS_ASH) @@ -1201,7 +1146,7 @@ SearchPrefetchService::RegisterProfilePrefs(registry); blocked_content::SafeBrowsingTriggeredPopupBlocker::RegisterProfilePrefs( registry); -@@ -2588,9 +2583,6 @@ void MigrateObsoleteProfilePrefs(PrefSer +@@ -2676,9 +2671,6 @@ void MigrateObsoleteProfilePrefs(PrefSer // If the sync (old) pref still exists, copy it to signin (new), // and clear the sync part of the pref. if (profile_prefs->HasPrefPath(kSync_ExplicitBrowserSignin)) { @@ -1211,17 +1156,6 @@ profile_prefs->ClearPref(kSync_ExplicitBrowserSignin); } -@@ -2682,10 +2674,6 @@ void MigrateObsoleteProfilePrefs(PrefSer - // Added 03/2024. - profile_prefs->ClearPref(kDefaultSearchProviderChoicePendingDeprecated); - -- // Added 02/2024, but DO NOT REMOVE after the usual year! -- // TODO(crbug.com/40282890): Remove ~one year after full launch. -- browser_sync::MaybeMigrateSyncingUserToSignedIn(profile_path, profile_prefs); -- - // Added 03/2024. - profile_prefs->ClearPref(kShowInternalAccessibilityTree); - --- a/chrome/browser/prefs/chrome_command_line_pref_store.cc +++ b/chrome/browser/prefs/chrome_command_line_pref_store.cc @@ -25,7 +25,6 @@ @@ -1383,7 +1317,7 @@ info.Set(ProfileAttributesEntry::kAccountIdKey, --- a/chrome/browser/profiles/profile_impl.cc +++ b/chrome/browser/profiles/profile_impl.cc -@@ -151,7 +151,6 @@ +@@ -157,7 +157,6 @@ #include "components/profile_metrics/browser_profile_type.h" #include "components/safe_search_api/safe_search_util.h" #include "components/security_interstitials/content/stateful_ssl_host_state_delegate.h" @@ -1391,6 +1325,14 @@ #include "components/signin/public/identity_manager/identity_manager.h" #include "components/site_isolation/site_isolation_policy.h" #include "components/spellcheck/spellcheck_buildflags.h" +@@ -1088,7 +1087,6 @@ void ProfileImpl::OnLocaleReady(CreateMo + CHECK(!AccountPasswordStoreFactory::HasStore(this), + base::NotFatalUntil::M133); + CHECK(!ReadingListModelFactory::HasModel(this), base::NotFatalUntil::M133); +- browser_sync::MaybeMigrateSyncingUserToSignedIn(GetPath(), GetPrefs()); + + #if BUILDFLAG(IS_ANDROID) + // On Android StartupData creates proto database provider for the profile --- a/chrome/browser/profiles/profile_manager.cc +++ b/chrome/browser/profiles/profile_manager.cc @@ -92,7 +92,6 @@ @@ -1401,7 +1343,7 @@ #include "components/signin/public/identity_manager/identity_manager.h" #include "components/signin/public/identity_manager/primary_account_mutator.h" #include "components/supervised_user/core/browser/child_account_service.h" -@@ -1964,8 +1963,7 @@ void ProfileManager::AddProfileToStorage +@@ -1906,8 +1905,7 @@ void ProfileManager::AddProfileToStorage entry->SetAuthInfo(account_info.gaia, username, is_consented_primary_account); @@ -1409,9 +1351,9 @@ - prefs::kSignedInWithCredentialProvider)); + entry->SetSignedInWithCredentialProvider(false); - #if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CHROMEOS_ASH) + #if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CHROMEOS) // Sign out if force-sign-in policy is enabled and profile is not signed -@@ -2014,14 +2012,13 @@ void ProfileManager::AddProfileToStorage +@@ -1956,14 +1954,13 @@ void ProfileManager::AddProfileToStorage init_params.is_ephemeral = IsForceEphemeralProfilesEnabled(profile); init_params.is_signed_in_with_credential_provider = @@ -1446,10 +1388,10 @@ -#include "components/signin/public/base/signin_pref_names.h" #endif - #if BUILDFLAG(IS_CHROMEOS_LACROS) + namespace profiles { --- a/chrome/browser/resources/settings/privacy_page/privacy_page.html +++ b/chrome/browser/resources/settings/privacy_page/privacy_page.html -@@ -859,7 +859,7 @@ +@@ -814,7 +814,7 @@ @@ -1460,7 +1402,7 @@