diff --git a/chromium_version.txt b/chromium_version.txt index a6d3b486..f3d87f4f 100644 --- a/chromium_version.txt +++ b/chromium_version.txt @@ -1 +1 @@ -137.0.7151.104 +138.0.7204.49 diff --git a/domain_substitution.list b/domain_substitution.list index d445073a..07edd87b 100644 --- a/domain_substitution.list +++ b/domain_substitution.list @@ -244,6 +244,7 @@ base/allocator/partition_allocator/PRESUBMIT.py base/allocator/partition_allocator/partition_alloc.gni base/allocator/partition_allocator/src/partition_alloc/BUILD.gn base/allocator/partition_allocator/src/partition_alloc/address_space_randomization.h +base/allocator/partition_allocator/src/partition_alloc/bucket_lookup.h base/allocator/partition_allocator/src/partition_alloc/build_config.h base/allocator/partition_allocator/src/partition_alloc/in_slot_metadata.h base/allocator/partition_allocator/src/partition_alloc/lightweight_quarantine.h @@ -286,6 +287,7 @@ base/base_switches.cc base/command_line.cc base/command_line.h base/compiler_specific.h +base/containers/auto_spanification_helper.h base/containers/checked_iterators_unittest.cc base/debug/debugger_posix.cc base/debug/stack_trace.cc @@ -332,6 +334,7 @@ base/metrics/user_metrics.h base/observer_list.h base/power_monitor/battery_level_provider_win.cc base/power_monitor/cpu_frequency_utils.cc +base/power_monitor/energy_monitor_android.h base/power_monitor/power_monitor_device_source_android.cc base/power_monitor/speed_limit_observer_win.cc base/process/launch.h @@ -440,7 +443,6 @@ build/android/pylib/local/device/local_device_monkey_test_run.py build/android/pylib/local/emulator/avd.py build/android/pylib/results/flakiness_dashboard/json_results_generator.py build/android/pylib/results/presentation/test_results_presentation.py -build/android/pylib/utils/google_storage_helper.py build/android/pylib/utils/maven_downloader.py build/android/pylib/utils/simpleperf.py build/android/resource_sizes.py @@ -464,6 +466,7 @@ build/config/chromeos/rules.gni build/config/compiler/BUILD.gn build/config/compiler/compiler.gni build/config/fuchsia/BUILD.gn +build/config/linux/pkg_config.gni build/config/locales.gni build/config/nacl/BUILD.gn build/config/nacl/rules.gni @@ -497,6 +500,8 @@ build/toolchain/gcc_toolchain.gni build/toolchain/nacl/BUILD.gn build/toolchain/win/midl.py build/toolchain/win/rc/rc.py +build/util/lib/common/google_storage_helper.py +build/util/lib/common/google_storage_helper_test.py build/util/lib/proto/PRESUBMIT.py build/util/lib/results/result_sink.py build/vs_toolchain.py @@ -511,6 +516,7 @@ cc/input/scrollbar_controller.h cc/metrics/average_lag_tracker.h cc/metrics/ukm_smoothness_data.h cc/paint/paint_image.h +cc/paint/tone_map_util.cc cc/raster/one_copy_raster_buffer_provider.cc cc/scheduler/scheduler_state_machine.cc cc/tiles/gpu_image_decode_cache.h @@ -548,7 +554,7 @@ chrome/browser/actor/tools/page_tool.cc chrome/browser/ai/ai_data_keyed_service.cc chrome/browser/ai/ai_data_keyed_service_browsertest.cc chrome/browser/ai/ai_language_model.cc -chrome/browser/ai/ai_language_model_unittest.cc +chrome/browser/ai/ai_on_device_browsertest.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 @@ -675,6 +681,7 @@ chrome/browser/ash/bluetooth/debug_logs_manager_unittest.cc chrome/browser/ash/boca/on_task/on_task_locked_session_navigation_throttle_interactive_ui_test.cc chrome/browser/ash/boca/on_task/on_task_locked_session_window_tracker_browsertest.cc chrome/browser/ash/boca/spotlight/spotlight_crd_manager_impl_browsertest.cc +chrome/browser/ash/boca/spotlight/spotlight_oauth_token_fetcher_impl.cc chrome/browser/ash/bruschetta/bruschetta_download.cc chrome/browser/ash/calendar/calendar_client_impl.cc chrome/browser/ash/calendar/calendar_client_impl_unittest.cc @@ -761,7 +768,6 @@ chrome/browser/ash/login/saml/password_sync_token_fetcher.cc chrome/browser/ash/login/saml/saml_browsertest.cc chrome/browser/ash/login/saml/saml_lockscreen_browsertest.cc chrome/browser/ash/login/screens/arc_vm_data_migration_screen_unittest.cc -chrome/browser/ash/login/screens/assistant_optin_flow_screen_browsertest.cc chrome/browser/ash/login/screens/categories_selection_screen_browsertest.cc chrome/browser/ash/login/screens/locale_switch_screen.cc chrome/browser/ash/login/screens/locale_switch_screen_browsertest.cc @@ -966,6 +972,7 @@ chrome/browser/enterprise/connectors/analysis/content_analysis_delegate_browsert chrome/browser/enterprise/connectors/analysis/content_analysis_delegate_unittest.cc 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/content_analysis_info.cc chrome/browser/enterprise/connectors/analysis/file_transfer_analysis_delegate_unittest.cc chrome/browser/enterprise/connectors/analysis/page_print_request_handler_unittest.cc chrome/browser/enterprise/connectors/device_trust/attestation/ash/ash_attestation_cleanup_manager_unittest.cc @@ -1009,7 +1016,7 @@ chrome/browser/extensions/activity_log/counting_policy_unittest.cc chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc chrome/browser/extensions/api/activity_log_private/activity_log_private_api_unittest.cc chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api_unittest.cc -chrome/browser/extensions/api/bookmarks/bookmark_apitest.cc +chrome/browser/extensions/api/bookmarks/bookmarks_apitest.cc chrome/browser/extensions/api/braille_display_private/braille_display_private_apitest.cc chrome/browser/extensions/api/content_settings/content_settings_apitest.cc chrome/browser/extensions/api/context_menus/extension_context_menu_browsertest.cc @@ -1142,6 +1149,7 @@ chrome/browser/flag-metadata.json chrome/browser/flag_descriptions.cc chrome/browser/flags/android/chrome_session_state.h chrome/browser/font_prewarmer_tab_helper_browsertest.cc +chrome/browser/glic/e2e_test/glic_e2e_test.cc chrome/browser/glic/fre/glic_fre_controller.cc chrome/browser/glic/fre/glic_fre_controller_unittest.cc chrome/browser/glic/fre/glic_fre_page_handler.cc @@ -1277,7 +1285,6 @@ chrome/browser/notifications/platform_notification_service_unittest.cc chrome/browser/notifications/win/notification_template_builder.cc chrome/browser/ntp_tiles/ntp_tiles_browsertest.cc chrome/browser/obsolete_system/obsolete_system_linux.cc -chrome/browser/on_device_translation/on_device_translation_browsertest.cc chrome/browser/optimization_guide/chrome_hints_manager_unittest.cc chrome/browser/optimization_guide/hints_fetcher_browsertest.cc chrome/browser/optimization_guide/model_execution/model_execution_browsertest.cc @@ -1393,6 +1400,7 @@ chrome/browser/preloading/prefetch/prefetch_service/chrome_prefetch_service_dele chrome/browser/preloading/prefetch/zero_suggest_prefetch/zero_suggest_prefetch_tab_helper_browsertest.cc chrome/browser/preloading/preview/preview_navigation_throttle.h chrome/browser/preloading/preview/preview_zoom_controller.h +chrome/browser/preloading/search_preload/search_preload_features.h chrome/browser/preloading/search_preload/search_preload_pipeline_manager.cc chrome/browser/printing/print_preview_dialog_controller_unittest.cc chrome/browser/privacy/secure_dns_bridge.cc @@ -1437,7 +1445,6 @@ chrome/browser/renderer_context_menu/render_view_context_menu_interactive_uitest chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc chrome/browser/renderer_host/chrome_navigation_ui_data.h chrome/browser/renderer_preferences_util_unittest.cc -chrome/browser/request_header_integrity/request_header_integrity_url_loader_throttle_unittest.cc chrome/browser/resource_coordinator/tab_load_tracker_unittest.cc chrome/browser/resources/PRESUBMIT.py chrome/browser/resources/accessibility/chromevox_helper_manifest.json.jinja2 @@ -1467,7 +1474,6 @@ chrome/browser/resources/ash/settings/os_people_page/add_user_dialog.ts chrome/browser/resources/ash/settings/os_privacy_page/os_privacy_page.ts chrome/browser/resources/ash/settings/os_settings_icons.html chrome/browser/resources/ash/settings/settings_shared.css -chrome/browser/resources/bookmarks/browser_proxy.ts chrome/browser/resources/bookmarks/command_manager.ts chrome/browser/resources/browsing_topics/browsing_topics_internals.html chrome/browser/resources/chromeos/about_os_credits.html @@ -1652,7 +1658,7 @@ chrome/browser/search_engines/template_url_service_test_util.cc chrome/browser/search_engines/template_url_service_unittest.cc chrome/browser/segmentation_platform/segmentation_platform_service_factory_unittest.cc chrome/browser/segmentation_platform/service_browsertest.cc -chrome/browser/send_tab_to_self/desktop_notification_handler_unittest.cc +chrome/browser/send_tab_to_self/desktop_notification_handler_browsertest.cc chrome/browser/serial/chrome_serial_browsertest.cc chrome/browser/serial/serial_chooser_context_unittest.cc chrome/browser/serial/serial_policy_allowed_ports_unittest.cc @@ -1687,6 +1693,7 @@ chrome/browser/signin/bound_session_credentials/dice_bound_session_cookie_servic chrome/browser/signin/bound_session_credentials/registration_token_helper_unittest.cc chrome/browser/signin/bound_session_credentials/session_binding_helper_unittest.cc chrome/browser/signin/bound_session_credentials/throttled_gaia_auth_fetcher_unittest.cc +chrome/browser/signin/chrome_signin_client_browsertest.cc chrome/browser/signin/chrome_signin_helper_unittest.cc chrome/browser/signin/chrome_signin_proxying_url_loader_factory.h chrome/browser/signin/chrome_signin_proxying_url_loader_factory_unittest.cc @@ -1781,7 +1788,6 @@ chrome/browser/task_manager/sampling/shared_sampler_win_defines.h chrome/browser/themes/theme_syncable_service.cc chrome/browser/translate/translate_manager_browsertest.cc chrome/browser/trusted_vault/trusted_vault_encryption_keys_tab_helper_browsertest.cc -chrome/browser/ui/android/plus_addresses/all_plus_addresses_bottom_sheet_view_browsertest.cc chrome/browser/ui/android/strings/android_chrome_strings.grd chrome/browser/ui/ash/app_list/app_list_interactive_uitest.cc chrome/browser/ui/ash/arc/arc_open_url_delegate_impl_browsertest.cc @@ -1794,7 +1800,6 @@ chrome/browser/ui/ash/birch/birch_keyed_service_unittest.cc chrome/browser/ui/ash/birch/birch_lost_media_provider.cc chrome/browser/ui/ash/birch/refresh_token_waiter_unittest.cc chrome/browser/ui/ash/capture_mode/chrome_capture_mode_delegate.cc -chrome/browser/ui/ash/capture_mode/lens_overlay_query_controller.cc chrome/browser/ui/ash/capture_mode/sunfish_browsertest.cc chrome/browser/ui/ash/desks/desks_client_browsertest.cc chrome/browser/ui/ash/focus_mode/certificate_manager.cc @@ -1880,7 +1885,6 @@ chrome/browser/ui/lens/lens_overlay_controller_browsertest.cc chrome/browser/ui/lens/lens_overlay_gen204_controller.cc chrome/browser/ui/lens/lens_overlay_languages_controller.cc chrome/browser/ui/lens/lens_overlay_live_test.cc -chrome/browser/ui/lens/lens_overlay_proto_converter_unittest.cc chrome/browser/ui/lens/lens_overlay_query_controller.cc chrome/browser/ui/lens/lens_overlay_query_controller_unittest.cc chrome/browser/ui/lens/lens_overlay_side_panel_coordinator.cc @@ -1906,6 +1910,7 @@ chrome/browser/ui/passwords/password_manager_navigation_throttle_unittest.cc chrome/browser/ui/passwords/well_known_change_password_navigation_throttle.cc chrome/browser/ui/passwords/well_known_change_password_navigation_throttle_browsertest.cc chrome/browser/ui/passwords/well_known_change_password_navigation_throttle_unittest.cc +chrome/browser/ui/plus_addresses/android/all_plus_addresses_bottom_sheet_view_browsertest.cc chrome/browser/ui/plus_addresses/plus_address_menu_model_unittest.cc chrome/browser/ui/profiles/profile_picker_unittest.cc chrome/browser/ui/safety_hub/disruptive_notification_permissions_manager_unittest.cc @@ -1976,11 +1981,14 @@ chrome/browser/ui/views/extensions/extension_uninstall_dialog_view_browsertest.c chrome/browser/ui/views/file_system_access/file_system_access_usage_bubble_view_browsertest.cc chrome/browser/ui/views/frame/browser_root_view_browsertest.cc chrome/browser/ui/views/frame/browser_view.h +chrome/browser/ui/views/frame/multi_contents_view_drop_target_controller_unittest.cc chrome/browser/ui/views/frame/webui_tab_strip_interactive_uitest.cc chrome/browser/ui/views/intent_picker_bubble_view_browsertest.cc chrome/browser/ui/views/intent_picker_bubble_view_unittest.cc chrome/browser/ui/views/location_bar/selected_keyword_view.h chrome/browser/ui/views/network_profile_bubble_view.cc +chrome/browser/ui/views/new_tab_footer/footer_controller_browsertest.cc +chrome/browser/ui/views/new_tab_footer/footer_interactive_uitest.cc chrome/browser/ui/views/omnibox/omnibox_popup_view_views_browsertest.cc chrome/browser/ui/views/omnibox/omnibox_result_view_unittest.cc chrome/browser/ui/views/omnibox/omnibox_view_views.cc @@ -2260,6 +2268,8 @@ chrome/common/importer/firefox_importer_utils.cc chrome/common/net/x509_certificate_model_nss_unittest.cc chrome/common/net/x509_certificate_model_unittest.cc chrome/common/pref_names.h +chrome/common/request_header_integrity/request_header_integrity_url_loader_throttle_browsertest.cc +chrome/common/request_header_integrity/request_header_integrity_url_loader_throttle_unittest.cc chrome/common/url_constants.h chrome/common/webui_url_constants.h chrome/common/win/delay_load_failure_hook.cc @@ -2267,24 +2277,24 @@ chrome/common/win/delay_load_notify_hook.cc chrome/common/win/delay_load_notify_hook.h chrome/credential_provider/extension/os_service_manager.h chrome/credential_provider/extension/service.h -chrome/credential_provider/extension/task_manager_unittests.cc +chrome/credential_provider/extension/task_manager_unittest.cc chrome/credential_provider/gaiacp/associated_user_validator.cc -chrome/credential_provider/gaiacp/associated_user_validator_unittests.cc +chrome/credential_provider/gaiacp/associated_user_validator_unittest.cc chrome/credential_provider/gaiacp/auth_utils.cc chrome/credential_provider/gaiacp/dllmain.cc chrome/credential_provider/gaiacp/gaia_credential_base.cc -chrome/credential_provider/gaiacp/gaia_credential_base_unittests.cc -chrome/credential_provider/gaiacp/gaia_credential_provider_unittests.cc -chrome/credential_provider/gaiacp/gaia_credential_unittests.cc +chrome/credential_provider/gaiacp/gaia_credential_base_unittest.cc +chrome/credential_provider/gaiacp/gaia_credential_provider_unittest.cc +chrome/credential_provider/gaiacp/gaia_credential_unittest.cc chrome/credential_provider/gaiacp/gcp_utils.cc chrome/credential_provider/gaiacp/gcp_utils.h -chrome/credential_provider/gaiacp/gcp_utils_unittests.cc +chrome/credential_provider/gaiacp/gcp_utils_unittest.cc chrome/credential_provider/gaiacp/gcpw_strings.cc chrome/credential_provider/gaiacp/internet_availability_checker.cc chrome/credential_provider/gaiacp/mdm_utils.cc -chrome/credential_provider/gaiacp/reauth_credential_unittests.cc +chrome/credential_provider/gaiacp/reauth_credential_unittest.cc chrome/credential_provider/gaiacp/reg_utils.cc -chrome/credential_provider/gaiacp/win_http_url_fetcher_unittests.cc +chrome/credential_provider/gaiacp/win_http_url_fetcher_unittest.cc chrome/credential_provider/test/gcp_fakes.cc chrome/credential_provider/test/gcp_gls_output_unittest.cc chrome/credential_provider/test/gls_runner_test_base.cc @@ -2366,6 +2376,7 @@ chrome/renderer/accessibility/read_anything/read_anything_app_controller_browser chrome/renderer/accessibility/read_anything/read_anything_app_model.cc chrome/renderer/accessibility/read_anything/read_anything_app_model_browsertest.cc chrome/renderer/accessibility/read_anything/read_anything_node_utils.cc +chrome/renderer/accessibility/read_anything/read_anything_node_utils_unittest.cc chrome/renderer/app_categorizer_unittest.cc chrome/renderer/ash_merge_session_loader_throttle_unittest.cc chrome/renderer/autofill/autofill_renderer_browsertest.cc @@ -2422,6 +2433,7 @@ chrome/test/chromedriver/session_commands.cc chrome/test/chromedriver/test/run_py_tests.py chrome/test/chromedriver/window_commands.cc chrome/test/chromedriver/window_commands_unittest.cc +chrome/test/enterprise/e2e/PRESUBMIT.py chrome/test/enterprise/e2e/connector/chrome_reporting_connector_test_case.py chrome/test/enterprise/e2e/connector/client_certs/client_certs_test.py chrome/test/enterprise/e2e/connector/common/realtime_reporting_ui_test.py @@ -2446,6 +2458,7 @@ chrome/test/enterprise/e2e/policy/extension_blocklist/extension_blocklist.py chrome/test/enterprise/e2e/policy/extension_forcelist/extension_forcelist.py chrome/test/enterprise/e2e/policy/force_google_safe_search/force_google_safe_search_webdriver_test.py chrome/test/enterprise/e2e/policy/fullscreen_allowed/fullscreen_allowed.py +chrome/test/enterprise/e2e/policy/gemini_settings/gemini_settings.py chrome/test/enterprise/e2e/policy/homepage/homepage.py chrome/test/enterprise/e2e/policy/install_extension.py chrome/test/enterprise/e2e/policy/mergelist/mergelist.py @@ -2460,11 +2473,11 @@ chrome/test/enterprise/e2e/policy/url_blocklist/url_blocklist.py chrome/test/enterprise/e2e/policy/user_data_dir/user_data_dir.py chrome/test/enterprise/e2e/policy/webprotect_file_download/webprotect_file_download_webdriver.py chrome/test/enterprise/e2e/policy/youtube_restrict/youtube_restrict.py +chrome/test/enterprise/e2e/webstore/enterprise_cws/enterprise_cws_webdriver.py chrome/test/fuzzing/atspi_in_process_fuzzer.cc chrome/test/fuzzing/in_process_fuzzer.cc chrome/test/interaction/interactive_browser_test_interactive_uitest.cc chrome/test/media_router/media_router_gmc_ui_for_test.cc -chrome/test/media_router/media_router_integration_ui_browsertest.cc chrome/test/mini_installer/PRESUBMIT.py chrome/test/mini_installer/create_zip.py chrome/test/mini_installer/installer_test.py @@ -2500,6 +2513,7 @@ chrome/updater/policy/dm_policy_manager_unittest.cc chrome/updater/test/service/win/ui.py chrome/updater/test/test_installer/test_installer.wxs.xml chrome/updater/tools/PRESUBMIT.py +chrome/updater/tools/file_inspector/parser.js chrome/updater/tools/keystone_ticketstore_tool.mm chrome/updater/util/util_unittest.cc chrome/updater/util/util_win_unittest.cc @@ -2615,9 +2629,6 @@ chromeos/ash/experiences/arc/net/passpoint_dialog_view.cc chromeos/ash/experiences/arc/session/arc_upgrade_params.h chromeos/ash/experiences/arc/session/serial_number_util_unittest.cc chromeos/ash/experiences/arc/volume_mounter/arc_volume_mounter_bridge_unittest.cc -chromeos/ash/services/assistant/assistant_manager_service_impl.cc -chromeos/ash/services/assistant/service.cc -chromeos/ash/services/assistant/service_unittest.cc chromeos/ash/services/device_sync/cryptauth_api_call_flow_unittest.cc chromeos/ash/services/device_sync/cryptauth_client_impl.cc chromeos/ash/services/device_sync/cryptauth_client_impl_unittest.cc @@ -2628,7 +2639,6 @@ chromeos/ash/services/device_sync/remote_device_provider_impl_unittest.cc chromeos/ash/services/device_sync/remote_device_v2_loader_impl_unittest.cc chromeos/ash/services/device_sync/switches.cc chromeos/ash/services/ime/input_method_user_data_service_impl_unittest.cc -chromeos/ash/services/ime/public/mojom/mojom_traits.cc chromeos/ash/services/libassistant/public/cpp/assistant_suggestion.h chromeos/ash/services/quick_pair/fast_pair_data_parser.cc chromeos/ash/services/quick_pair/fast_pair_decryption.cc @@ -2769,6 +2779,7 @@ components/browsing_topics/annotator_impl_unittest.cc components/captive_portal/content/captive_portal_service.h components/captive_portal/content/captive_portal_tab_helper.h components/captive_portal/core/captive_portal_detector.cc +components/cdm/common/playready_cdm_common.h components/certificate_transparency/chrome_require_ct_delegate.h components/certificate_transparency/chrome_require_ct_delegate_unittest.cc components/certificate_transparency/data/log_list.json @@ -2971,6 +2982,7 @@ components/input/render_widget_host_input_event_router.cc components/input/render_widget_host_input_event_router.h components/input/render_widget_host_view_input.h components/input/touch_action_filter.h +components/input/utils.cc components/invalidation/impl/fcm_invalidation_service_unittest.cc components/invalidation/impl/per_user_topic_subscription_manager.cc components/invalidation/impl/per_user_topic_subscription_manager_unittest.cc @@ -3023,6 +3035,7 @@ components/metrics/metrics_state_manager.h components/metrics/metrics_state_manager_unittest.cc components/metrics/net/net_metrics_log_uploader.cc components/metrics/persistent_histograms.cc +components/metrics/reporting_service.cc components/metrics/server_urls.cc components/metrics/server_urls.grd components/mirroring/service/mirror_settings.h @@ -3123,6 +3136,7 @@ components/omnibox/browser/zero_suggest_verbatim_match_provider_unittest.cc components/omnibox/resources/omnibox_pedal_synonyms.grd components/omnibox_pedal_ui_strings.grdp components/omnibox_strings.grdp +components/optimization_guide/content/browser/page_context_eligibility_unittest.cc components/optimization_guide/core/hints_component_util_unittest.cc components/optimization_guide/core/hints_manager_unittest.cc components/optimization_guide/core/model_execution/json_response_parser_unittest.cc @@ -3209,6 +3223,7 @@ components/password_manager/core/browser/leak_detection_dialog_utils.cc components/password_manager/core/browser/old_google_credentials_cleaner.cc components/password_manager/core/browser/old_google_credentials_cleaner.h components/password_manager/core/browser/old_google_credentials_cleaner_unittest.cc +components/password_manager/core/browser/one_time_passwords/otp_form_manager_unittest.cc components/password_manager/core/browser/os_crypt_async_migrator.h components/password_manager/core/browser/password_feature_manager_impl_unittest.cc components/password_manager/core/browser/password_form_filling_unittest.cc @@ -3571,6 +3586,7 @@ components/safety_check/update_check_helper.h components/safety_check/url_constants.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_account_data_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 @@ -3637,7 +3653,6 @@ components/services/heap_profiling/json_exporter.cc components/services/paint_preview_compositor/paint_preview_compositor_impl_unittest.cc components/services/quarantine/quarantine_mac.mm components/services/quarantine/quarantine_win.cc -components/services/storage/partition_impl_unittest.cc components/services/storage/public/mojom/buckets/bucket_info_mojom_traits_unittest.cc components/services/storage/public/mojom/buckets/bucket_locator_mojom_traits_unittest.cc components/services/storage/shared_storage/async_shared_storage_database_impl_unittest.cc @@ -3681,6 +3696,7 @@ components/signin/public/identity_manager/access_token_fetcher_unittest.cc components/signin/public/identity_manager/account_info.h components/signin/public/identity_manager/account_managed_status_finder.cc components/signin/public/identity_manager/account_managed_status_finder.h +components/signin/public/identity_manager/account_managed_status_finder_outcome.h components/signin/public/identity_manager/account_managed_status_finder_unittest.cc components/signin/public/identity_manager/accounts_cookie_mutator_unittest.cc components/signin/public/identity_manager/diagnostics_provider_unittest.cc @@ -3719,6 +3735,7 @@ 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_service_unittest.cc components/supervised_user/core/browser/supervised_user_settings_service_unittest.cc +components/supervised_user/core/browser/supervised_user_sync_data_fake.h components/supervised_user/core/browser/supervised_user_url_filter.cc components/supervised_user/core/browser/supervised_user_url_filter.h components/supervised_user/core/browser/supervised_user_url_filter_unittest.cc @@ -3766,13 +3783,14 @@ components/translate/core/browser/translate_script.cc components/translate/core/common/translate_util.cc components/translate_strings.grdp components/trusted_vault/command_line_switches.cc +components/trusted_vault/recovery_key_store_certificate.cc components/trusted_vault/recovery_key_store_certificate.h components/trusted_vault/recovery_key_store_connection_impl.cc components/trusted_vault/recovery_key_store_connection_unittest.cc +components/trusted_vault/standalone_trusted_vault_server_constants.h components/trusted_vault/trusted_vault_access_token_fetcher_frontend.cc components/trusted_vault/trusted_vault_access_token_fetcher_frontend_unittest.cc components/trusted_vault/trusted_vault_histograms.h -components/trusted_vault/trusted_vault_server_constants.h components/ui_devtools/agent_util.cc components/ukm/observers/ukm_consent_state_observer_unittest.cc components/ukm/ukm_service_unittest.cc @@ -3865,6 +3883,7 @@ content/browser/accessibility/accessibility_action_browsertest.cc content/browser/accessibility/accessibility_auralinux_browsertest.cc content/browser/accessibility/browser_accessibility_manager_android.cc content/browser/accessibility/hit_testing_browsertest.cc +content/browser/android/battery_metrics.h content/browser/android/nfc_host_unittest.cc content/browser/attribution_reporting/attribution_os_level_manager_android.cc content/browser/attribution_reporting/attribution_suitable_context_unittest.cc @@ -3948,7 +3967,6 @@ content/browser/network/trust_token_browsertest.cc content/browser/notifications/notification_database_unittest.cc content/browser/payments/payment_manager_unittest.cc content/browser/permissions/embedded_permission_control_checker_unittest.cc -content/browser/permissions/permission_controller_impl.cc content/browser/permissions/permission_controller_impl_unittest.cc content/browser/permissions/permission_service_context_unittest.cc content/browser/plugin_service_impl_browsertest.cc @@ -4271,6 +4289,7 @@ docs/website/scripts/fetch_lobs.py docs/website/scripts/fetch_node_modules.py docs/website/site/Home/google-ssl.xml docs/website/site/administrators/err_ssl_weak_server_ephemeral_dh_key/redirect-dh.xml +docs/website/site/chromium-os/developer-library/reference/linux-constants/syscalls/syscalls.py docs/website/site/chromium-os/developer-library/reference/upstart-cookbook/index.html docs/website/site/developers/design-documents/accessibility/tracker/CSUN_Accessibility_in_the_Cloud.txt docs/website/site/developers/design-documents/accessibility/tracker/CSUN_Improving_Access_To_Web_Platforms_Content_and_Applications.txt @@ -4805,11 +4824,14 @@ 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/ssl_client_socket_unittest.cc +net/socket/ssl_server_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 net/socket/udp_socket_unittest.cc +net/socket/udp_socket_win.cc net/socket/udp_socket_win.h net/socket/websocket_transport_client_socket_pool_unittest.cc net/spdy/spdy_http_stream.cc @@ -4926,6 +4948,7 @@ remoting/base/compute_engine_service_client.cc remoting/base/compute_engine_service_client.h remoting/base/corp_auth_util.cc remoting/base/crash/crashpad_linux.cc +remoting/base/crash/crashpad_win.cc remoting/base/instance_identity_token_getter_unittest.cc remoting/base/is_google_email.cc remoting/base/service_urls.cc @@ -4998,7 +5021,6 @@ sandbox/linux/system_headers/linux_prctl.h sandbox/policy/features.cc sandbox/policy/linux/sandbox_linux.h sandbox/policy/sandbox.cc -sandbox/policy/win/sandbox_warmup.cc sandbox/policy/win/sandbox_win.cc sandbox/win/src/interception.cc sandbox/win/src/interception.h @@ -5014,6 +5036,7 @@ sandbox/win/src/sandbox_nt_util.h sandbox/win/src/sandbox_policy.h sandbox/win/src/security_level.h sandbox/win/src/startup_information_helper.cc +sandbox/win/src/win_utils.cc services/BUILD.gn services/accessibility/features/javascript/event.js services/device/generic_sensor/platform_sensor_and_provider_unittest_win.cc @@ -5042,6 +5065,7 @@ services/network/host_resolver_unittest.cc services/network/http_cache_data_counter_unittest.cc services/network/http_cache_data_remover_unittest.cc services/network/mojo_host_resolver_impl_unittest.cc +services/network/network_context.h services/network/network_context_unittest.cc services/network/orb/orb_impl.cc services/network/orb/orb_impl_unittest.cc @@ -5053,6 +5077,7 @@ services/network/public/cpp/cors/cors_unittest.cc services/network/public/cpp/cors/origin_access_entry_unittest.cc services/network/public/cpp/cors/origin_access_list_unittest.cc services/network/public/cpp/features.cc +services/network/public/cpp/features.h services/network/public/cpp/is_potentially_trustworthy.cc services/network/public/cpp/network_switches.cc services/network/public/cpp/permissions_policy/origin_with_possible_wildcards_unittest.cc @@ -5060,6 +5085,8 @@ services/network/public/cpp/resource_request.h services/network/public/cpp/transferable_socket.cc services/network/public/mojom/permissions_policy/PRESUBMIT.py services/network/sct_auditing/sct_auditing_reporter.cc +services/network/shared_resource_checker.cc +services/network/shared_resource_checker.h services/network/trust_tokens/trust_token_client_data_canonicalization.h services/network/trust_tokens/trust_token_key_commitment_parser.h services/network/trust_tokens/trust_token_key_commitments.h @@ -5093,6 +5120,7 @@ services/video_capture/test/fake_video_capture_device_unittest.cc services/viz/public/cpp/gpu/gpu.cc services/webnn/dml/adapter.cc services/webnn/dml/adapter.h +services/webnn/dml/command_recorder.cc services/webnn/dml/context_impl_dml.cc services/webnn/dml/graph_builder_dml.h services/webnn/dml/graph_impl_dml.cc @@ -5125,9 +5153,10 @@ testing/android/junit/shadows-allowlist.txt testing/android/native_test/java/AndroidManifest.xml.jinja2 testing/buildbot/PRESUBMIT.py testing/buildbot/check.py +testing/buildbot/chromium.perf.json +testing/buildbot/chromium.perf.pinpoint.json 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/chromoting/browser_test_commands_linux.txt testing/chromoting/chromoting_test_driver_commands_linux.txt @@ -5176,6 +5205,7 @@ third_party/abseil-cpp/absl/log/internal/globals.cc third_party/abseil-cpp/absl/random/internal/platform.h third_party/abseil-cpp/absl/status/status.h third_party/abseil-cpp/absl/synchronization/internal/win32_waiter.h +third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_lookup.cc third_party/abseil-cpp/absl/time/time.h third_party/abseil-cpp/conanfile.py third_party/abseil-cpp/generate_def_files.py @@ -5217,34 +5247,13 @@ third_party/android_deps/libs/com_android_tools_common/3pp/fetch.py third_party/android_deps/libs/com_android_tools_layoutlib_layoutlib_api/3pp/fetch.py third_party/android_deps/libs/com_android_tools_sdk_common/3pp/fetch.py third_party/android_deps/libs/com_google_android_apps_common_testing_accessibility_framework_accessibility_test_framework/3pp/fetch.py -third_party/android_deps/libs/com_google_android_datatransport_transport_api/3pp/fetch.py -third_party/android_deps/libs/com_google_android_datatransport_transport_backend_cct/3pp/fetch.py -third_party/android_deps/libs/com_google_android_datatransport_transport_runtime/3pp/fetch.py -third_party/android_deps/libs/com_google_android_gms_play_services_cast/3pp/fetch.py -third_party/android_deps/libs/com_google_android_gms_play_services_cast_framework/3pp/fetch.py -third_party/android_deps/libs/com_google_android_gms_play_services_clearcut/3pp/fetch.py third_party/android_deps/libs/com_google_android_gms_play_services_cloud_messaging/3pp/fetch.py -third_party/android_deps/libs/com_google_android_gms_play_services_flags/3pp/fetch.py -third_party/android_deps/libs/com_google_android_gms_play_services_gcm/3pp/fetch.py -third_party/android_deps/libs/com_google_android_gms_play_services_iid/3pp/fetch.py -third_party/android_deps/libs/com_google_android_gms_play_services_instantapps/3pp/fetch.py -third_party/android_deps/libs/com_google_android_gms_play_services_location/3pp/fetch.py -third_party/android_deps/libs/com_google_android_gms_play_services_phenotype/3pp/fetch.py -third_party/android_deps/libs/com_google_android_gms_play_services_stats/3pp/fetch.py -third_party/android_deps/libs/com_google_android_gms_play_services_vision/3pp/fetch.py -third_party/android_deps/libs/com_google_android_gms_play_services_vision_common/3pp/fetch.py -third_party/android_deps/libs/com_google_android_material_material/3pp/fetch.py -third_party/android_deps/libs/com_google_android_play_core_common/3pp/fetch.py -third_party/android_deps/libs/com_google_android_play_feature_delivery/3pp/fetch.py third_party/android_deps/libs/com_google_ar_impress/3pp/fetch.py third_party/android_deps/libs/com_google_firebase_firebase_annotations/3pp/fetch.py third_party/android_deps/libs/com_google_firebase_firebase_common/3pp/fetch.py third_party/android_deps/libs/com_google_firebase_firebase_common_ktx/3pp/fetch.py third_party/android_deps/libs/com_google_firebase_firebase_components/3pp/fetch.py third_party/android_deps/libs/com_google_firebase_firebase_datatransport/3pp/fetch.py -third_party/android_deps/libs/com_google_firebase_firebase_encoders/3pp/fetch.py -third_party/android_deps/libs/com_google_firebase_firebase_encoders_json/3pp/fetch.py -third_party/android_deps/libs/com_google_firebase_firebase_encoders_proto/3pp/fetch.py third_party/android_deps/libs/com_google_firebase_firebase_iid/3pp/fetch.py third_party/android_deps/libs/com_google_firebase_firebase_iid_interop/3pp/fetch.py third_party/android_deps/libs/com_google_firebase_firebase_installations/3pp/fetch.py @@ -5317,6 +5326,7 @@ third_party/angle/extensions/EGL_ANGLE_stream_producer_d3d_texture.txt third_party/angle/extensions/EGL_ANGLE_sync_control_rate.txt third_party/angle/extensions/EGL_ANGLE_vulkan_image.txt third_party/angle/extensions/EGL_ANGLE_wait_until_work_scheduled.txt +third_party/angle/extensions/EGL_ANGLE_webgpu_texture_client_buffer.txt third_party/angle/extensions/EGL_ANGLE_window_fixed_size.txt third_party/angle/extensions/EGL_CHROMIUM_create_context_bind_generates_resource.txt third_party/angle/extensions/EGL_CHROMIUM_sync_control.txt @@ -5555,6 +5565,7 @@ third_party/blink/renderer/core/dom/transform_source.h third_party/blink/renderer/core/dom/tree_walker.cc third_party/blink/renderer/core/dom/tree_walker.h third_party/blink/renderer/core/dom/tree_walker.idl +third_party/blink/renderer/core/editing/commands/delete_selection_command.cc third_party/blink/renderer/core/editing/commands/editor_command.cc third_party/blink/renderer/core/editing/commands/smart_replace_icu.cc third_party/blink/renderer/core/editing/commands/style_commands.cc @@ -5621,7 +5632,6 @@ third_party/blink/renderer/core/frame/web_frame_widget_impl.cc third_party/blink/renderer/core/frame/web_local_frame_impl.cc third_party/blink/renderer/core/frame/web_remote_frame_impl.cc third_party/blink/renderer/core/html/anchor_element_metrics_test.cc -third_party/blink/renderer/core/html/canvas/html_canvas_element.cc third_party/blink/renderer/core/html/custom/element_internals.idl third_party/blink/renderer/core/html/custom/validity_state_flags.idl third_party/blink/renderer/core/html/forms/base_text_input_type.cc @@ -5701,7 +5711,6 @@ third_party/blink/renderer/core/layout/layout_box.cc third_party/blink/renderer/core/layout/layout_box_hot.cc third_party/blink/renderer/core/layout/layout_box_model_object.cc third_party/blink/renderer/core/layout/layout_box_model_object.h -third_party/blink/renderer/core/layout/layout_html_canvas.cc third_party/blink/renderer/core/layout/layout_image.cc third_party/blink/renderer/core/layout/layout_image.h third_party/blink/renderer/core/layout/layout_image_resource.cc @@ -5836,19 +5845,13 @@ third_party/blink/renderer/modules/accessibility/ax_node_object.cc third_party/blink/renderer/modules/accessibility/ax_object_cache_impl.cc third_party/blink/renderer/modules/accessibility/ax_object_cache_impl.h third_party/blink/renderer/modules/accessibility/testing/internals_accessibility.h -third_party/blink/renderer/modules/ai/on_device_translation/create_translator_client.cc third_party/blink/renderer/modules/bluetooth/bluetooth_error.cc -third_party/blink/renderer/modules/canvas/canvas2d/base_rendering_context_2d.cc -third_party/blink/renderer/modules/canvas/canvas2d/base_rendering_context_2d.h third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d.cc -third_party/blink/renderer/modules/clipboard/clipboard_promise.cc third_party/blink/renderer/modules/content_extraction/ai_page_content_agent_unittest.cc third_party/blink/renderer/modules/credentialmanagement/authentication_credentials_container.cc -third_party/blink/renderer/modules/encryptedmedia/encrypted_media_utils.h third_party/blink/renderer/modules/file_system_access/file_system_cloud_identifier.idl third_party/blink/renderer/modules/filesystem/dom_file_system_base_test.cc third_party/blink/renderer/modules/font_access/font_metadata.h -third_party/blink/renderer/modules/geolocation/geolocation.cc third_party/blink/renderer/modules/geolocation/geolocation.h third_party/blink/renderer/modules/hid/hid.cc third_party/blink/renderer/modules/indexeddb/idb_value_wrapping.cc @@ -5884,10 +5887,11 @@ third_party/blink/renderer/modules/webaudio/media_stream_audio_destination_node. third_party/blink/renderer/modules/webaudio/media_stream_audio_source_handler.h third_party/blink/renderer/modules/webaudio/media_stream_audio_source_node.h third_party/blink/renderer/modules/webaudio/realtime_audio_destination_handler.h +third_party/blink/renderer/modules/webgl/webgl2_rendering_context_webgpu.idl +third_party/blink/renderer/modules/webgl/webgl_rendering_context_webgpu.idl third_party/blink/renderer/modules/webgl/webgl_unowned_texture.h third_party/blink/renderer/modules/webgpu/external_texture_helper.cc third_party/blink/renderer/modules/webgpu/gpu_render_pipeline.cc -third_party/blink/renderer/modules/webmidi/navigator_web_midi.cc third_party/blink/renderer/modules/websockets/websocket_channel_impl.cc third_party/blink/renderer/modules/websockets/websocket_stream.h third_party/blink/renderer/modules/webtransport/web_transport_test.cc @@ -5931,7 +5935,6 @@ third_party/blink/renderer/platform/geometry/physical_offset.h third_party/blink/renderer/platform/geometry/physical_size.h third_party/blink/renderer/platform/graphics/bitmap_image.cc third_party/blink/renderer/platform/graphics/bitmap_image.h -third_party/blink/renderer/platform/graphics/canvas_resource_provider.cc third_party/blink/renderer/platform/graphics/filters/distant_light_source.h third_party/blink/renderer/platform/graphics/filters/fe_tile.cc third_party/blink/renderer/platform/graphics/filters/filter_effect.cc @@ -5942,7 +5945,6 @@ third_party/blink/renderer/platform/graphics/filters/source_graphic.h third_party/blink/renderer/platform/graphics/filters/spot_light_source.cc third_party/blink/renderer/platform/graphics/filters/spot_light_source.h third_party/blink/renderer/platform/graphics/gpu/webgl_image_conversion.cc -third_party/blink/renderer/platform/graphics/gpu/webgpu_swap_buffer_provider.cc third_party/blink/renderer/platform/graphics/image.cc third_party/blink/renderer/platform/graphics/image.h third_party/blink/renderer/platform/graphics/paint/geometry_mapper.cc @@ -6312,7 +6314,6 @@ third_party/catapult/dashboard/sandwich_verification/common/request.py third_party/catapult/devil/PRESUBMIT.py third_party/catapult/devil/devil/android/device_utils.py third_party/catapult/devil/devil/android/device_utils_test.py -third_party/catapult/devil/devil/android/install_commands.py third_party/catapult/devil/devil/android/ndk/abis.py third_party/catapult/devil/devil/android/sdk/adb_wrapper.py third_party/catapult/devil/devil/android/sdk/intent.py @@ -6996,8 +6997,6 @@ third_party/catapult/third_party/polymer/components/webcomponentsjs/ShadowDOM.js third_party/catapult/third_party/polymer/components/webcomponentsjs/ShadowDOM.min.js third_party/catapult/third_party/polymer/components/webcomponentsjs/webcomponents.js third_party/catapult/third_party/polymer/components/webcomponentsjs/webcomponents.min.js -third_party/catapult/third_party/polymer3/bower_components/polymer/test/unit/styling-cross-scope-apply.html -third_party/catapult/third_party/polymer3/bower_components/polymer/test/unit/styling-scoped.html third_party/catapult/third_party/pyasn1/pyasn1/codec/ber/decoder.py third_party/catapult/third_party/pyasn1/pyasn1/codec/ber/encoder.py third_party/catapult/third_party/pyasn1/pyasn1/codec/ber/eoo.py @@ -7355,6 +7354,8 @@ 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/action_runner/action/enums.py +third_party/crossbench/crossbench/action_runner/action/position.py +third_party/crossbench/crossbench/action_runner/action/text_input.py third_party/crossbench/crossbench/action_runner/default_bond_action_runner.py third_party/crossbench/crossbench/benchmarks/loading/config/login/google.py third_party/crossbench/crossbench/benchmarks/loading/loading_benchmark.py @@ -7385,6 +7386,7 @@ third_party/crossbench/tests/crossbench/benchmarks/loading/config/test_pages.py third_party/crossbench/tests/crossbench/benchmarks/loading/test_loading.py third_party/crossbench/tests/crossbench/plt/test_chromeos_ssh.py third_party/crossbench/tests/crossbench/probes/test_js.py +third_party/crossbench/tests/crossbench/probes/test_meminfo.py third_party/crossbench/tests/crossbench/probes/test_perfetto.py third_party/crossbench/tests/crossbench/probes/test_v8_rcs.py third_party/crossbench/tests/crossbench/test_env.py @@ -7400,17 +7402,18 @@ third_party/dawn/.vscode/tasks.json third_party/dawn/CMakeLists.txt third_party/dawn/generator/dawn_json_generator.py third_party/dawn/infra/specs/PRESUBMIT.py -third_party/dawn/src/dawn/common/Math.h 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 +third_party/dawn/src/dawn/native/Limits.cpp third_party/dawn/src/dawn/native/Sampler.h third_party/dawn/src/dawn/native/SubresourceStorage.h third_party/dawn/src/dawn/native/Toggles.cpp third_party/dawn/src/dawn/native/d3d/D3DError.cpp third_party/dawn/src/dawn/native/d3d11/BindGroupTrackerD3D11.cpp third_party/dawn/src/dawn/native/d3d11/BufferD3D11.cpp +third_party/dawn/src/dawn/native/d3d11/DeviceD3D11.cpp third_party/dawn/src/dawn/native/d3d11/DeviceInfoD3D11.cpp third_party/dawn/src/dawn/native/d3d11/PhysicalDeviceD3D11.cpp third_party/dawn/src/dawn/native/d3d11/PipelineLayoutD3D11.cpp @@ -7631,6 +7634,7 @@ third_party/dawn/third_party/webgpu-cts/src/webgpu/api/operation/sampling/filter third_party/dawn/third_party/webgpu-cts/src/webgpu/multisample_info.ts third_party/dawn/third_party/webgpu-cts/src/webgpu/shader/execution/shader_io/fragment_builtins.spec.ts third_party/dawn/third_party/webgpu-cts/standalone/index.html +third_party/dawn/third_party/webgpu-headers/src/webgpu.h third_party/dawn/tools/src/cmd/cts/config.json third_party/dawn/tools/src/cmd/cts/treemap/treemap.html third_party/depot_tools/PRESUBMIT.py @@ -7664,6 +7668,7 @@ third_party/depot_tools/fetch_configs/skia.py third_party/depot_tools/fetch_configs/skia_buildbot.py third_party/depot_tools/fetch_configs/syzygy.py third_party/depot_tools/fetch_configs/v8.py +third_party/depot_tools/fetch_configs/web-tests.py third_party/depot_tools/fetch_configs/web-workload.py third_party/depot_tools/fetch_configs/webpagereplay.py third_party/depot_tools/fetch_configs/webrtc.py @@ -7685,6 +7690,7 @@ 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/lockfile.py third_party/depot_tools/man/README.txt third_party/depot_tools/man/html/depot_tools.html third_party/depot_tools/man/html/depot_tools_gerrit_auth.html @@ -7982,6 +7988,7 @@ third_party/devtools-frontend/src/front_end/models/issues_manager/GenericIssue.t third_party/devtools-frontend/src/front_end/models/issues_manager/HeavyAdIssue.ts third_party/devtools-frontend/src/front_end/models/issues_manager/PartitioningBlobURLIssue.ts third_party/devtools-frontend/src/front_end/models/issues_manager/SharedArrayBufferIssue.ts +third_party/devtools-frontend/src/front_end/models/issues_manager/UserReidentificationIssue.ts third_party/devtools-frontend/src/front_end/models/live-metrics/LiveMetrics.ts third_party/devtools-frontend/src/front_end/models/persistence/NetworkPersistenceManager.test.ts third_party/devtools-frontend/src/front_end/models/persistence/NetworkPersistenceManager.ts @@ -8011,10 +8018,10 @@ third_party/devtools-frontend/src/front_end/models/trace/insights/ImageDelivery. third_party/devtools-frontend/src/front_end/models/trace/insights/InteractionToNextPaint.ts third_party/devtools-frontend/src/front_end/models/trace/insights/ModernHTTP.test.ts third_party/devtools-frontend/src/front_end/models/trace/insights/ModernHTTP.ts +third_party/devtools-frontend/src/front_end/models/trace/insights/NetworkDependencyTree.test.ts third_party/devtools-frontend/src/front_end/models/trace/insights/NetworkDependencyTree.ts third_party/devtools-frontend/src/front_end/models/trace/insights/RenderBlocking.test.ts third_party/devtools-frontend/src/front_end/models/trace/insights/SlowCSSSelector.ts -third_party/devtools-frontend/src/front_end/models/trace/insights/ThirdParties.ts third_party/devtools-frontend/src/front_end/models/trace/insights/Viewport.ts third_party/devtools-frontend/src/front_end/models/trace/lantern/core/NetworkAnalyzer.test.ts third_party/devtools-frontend/src/front_end/models/trace/lantern/graph/NetworkNode.ts @@ -8061,7 +8068,7 @@ third_party/devtools-frontend/src/front_end/panels/changes/ChangesView.ts third_party/devtools-frontend/src/front_end/panels/console/ConsoleViewMessage.ts third_party/devtools-frontend/src/front_end/panels/console/ErrorStackParser.test.ts third_party/devtools-frontend/src/front_end/panels/coverage/CoverageView.ts -third_party/devtools-frontend/src/front_end/panels/css_overview/components/CSSOverviewStartView.ts +third_party/devtools-frontend/src/front_end/panels/css_overview/CSSOverviewStartView.ts third_party/devtools-frontend/src/front_end/panels/elements/ElementStatePaneWidget.test.ts third_party/devtools-frontend/src/front_end/panels/elements/ElementStatePaneWidget.ts third_party/devtools-frontend/src/front_end/panels/elements/components/CSSPropertyDocsView.test.ts @@ -8370,11 +8377,7 @@ third_party/devtools-frontend/src/front_end/ui/legacy/components/perf_ui/FlameCh third_party/devtools-frontend/src/front_end/ui/legacy/components/utils/JSPresentationUtils.test.ts third_party/devtools-frontend/src/front_end/ui/legacy/components/utils/Linkifier.test.ts third_party/devtools-frontend/src/front_end/ui/legacy/theme_support/ThemeSupport.ts -third_party/devtools-frontend/src/node_modules/@babel/core/node_modules/source-map/dist/source-map.debug.js -third_party/devtools-frontend/src/node_modules/@babel/core/node_modules/source-map/dist/source-map.js -third_party/devtools-frontend/src/node_modules/@babel/core/node_modules/source-map/lib/base64-vlq.js -third_party/devtools-frontend/src/node_modules/@babel/core/node_modules/source-map/lib/source-map-consumer.js -third_party/devtools-frontend/src/node_modules/@babel/core/node_modules/source-map/package.json +third_party/devtools-frontend/src/node_modules/@ampproject/remapping/package.json third_party/devtools-frontend/src/node_modules/@babel/traverse/node_modules/globals/package.json third_party/devtools-frontend/src/node_modules/@colors/colors/lib/colors.js third_party/devtools-frontend/src/node_modules/@colors/colors/lib/styles.js @@ -8385,6 +8388,11 @@ third_party/devtools-frontend/src/node_modules/@csstools/css-tokenizer/package.j third_party/devtools-frontend/src/node_modules/@csstools/media-query-list-parser/package.json third_party/devtools-frontend/src/node_modules/@dual-bundle/import-meta-resolve/package.json third_party/devtools-frontend/src/node_modules/@eslint/eslintrc/node_modules/globals/package.json +third_party/devtools-frontend/src/node_modules/@isaacs/cliui/node_modules/ansi-regex/package.json +third_party/devtools-frontend/src/node_modules/@isaacs/cliui/node_modules/ansi-styles/package.json +third_party/devtools-frontend/src/node_modules/@isaacs/cliui/node_modules/string-width/package.json +third_party/devtools-frontend/src/node_modules/@isaacs/cliui/node_modules/strip-ansi/package.json +third_party/devtools-frontend/src/node_modules/@isaacs/cliui/node_modules/wrap-ansi/package.json third_party/devtools-frontend/src/node_modules/@keyv/serialize/node_modules/buffer/index.js third_party/devtools-frontend/src/node_modules/@puppeteer/browsers/lib/cjs/browser-data/browser-data.d.ts third_party/devtools-frontend/src/node_modules/@puppeteer/browsers/lib/cjs/browser-data/browser-data.js @@ -8423,7 +8431,6 @@ third_party/devtools-frontend/src/node_modules/@sinonjs/commons/types/prototypes third_party/devtools-frontend/src/node_modules/@sinonjs/samsam/lib/create-set.js third_party/devtools-frontend/src/node_modules/@sinonjs/samsam/lib/deep-equal.js third_party/devtools-frontend/src/node_modules/@sinonjs/samsam/types/create-set.d.ts -third_party/devtools-frontend/src/node_modules/@sinonjs/text-encoding/package.json third_party/devtools-frontend/src/node_modules/@tootallnate/quickjs-emscripten/dist/context.d.ts third_party/devtools-frontend/src/node_modules/@tootallnate/quickjs-emscripten/dist/context.js third_party/devtools-frontend/src/node_modules/@tootallnate/quickjs-emscripten/dist/index.d.ts @@ -8482,7 +8489,6 @@ third_party/devtools-frontend/src/node_modules/binary-extensions/package.json third_party/devtools-frontend/src/node_modules/body-parser/node_modules/debug/package.json third_party/devtools-frontend/src/node_modules/body-parser/node_modules/debug/src/browser.js third_party/devtools-frontend/src/node_modules/buffer-crc32/package.json -third_party/devtools-frontend/src/node_modules/buffer/index.js third_party/devtools-frontend/src/node_modules/bytes/package.json third_party/devtools-frontend/src/node_modules/call-bind/package.json third_party/devtools-frontend/src/node_modules/callsites/package.json @@ -8510,7 +8516,6 @@ third_party/devtools-frontend/src/node_modules/chromium-bidi/lib/esm/bidiMapper/ third_party/devtools-frontend/src/node_modules/chromium-bidi/lib/esm/bidiMapper/modules/network/NetworkRequest.js third_party/devtools-frontend/src/node_modules/chromium-bidi/lib/esm/bidiMapper/modules/storage/StorageProcessor.js third_party/devtools-frontend/src/node_modules/chromium-bidi/lib/esm/utils/uuid.js -third_party/devtools-frontend/src/node_modules/chromium-bidi/lib/iife/mapperTab.js third_party/devtools-frontend/src/node_modules/cli-cursor/package.json third_party/devtools-frontend/src/node_modules/cli-spinners/package.json third_party/devtools-frontend/src/node_modules/cliui/node_modules/ansi-regex/package.json @@ -8560,10 +8565,6 @@ third_party/devtools-frontend/src/node_modules/debug/package.json third_party/devtools-frontend/src/node_modules/debug/src/browser.js third_party/devtools-frontend/src/node_modules/define-data-property/package.json third_party/devtools-frontend/src/node_modules/define-properties/package.json -third_party/devtools-frontend/src/node_modules/degenerator/node_modules/escodegen/bin/escodegen.js -third_party/devtools-frontend/src/node_modules/degenerator/node_modules/escodegen/bin/esgenerate.js -third_party/devtools-frontend/src/node_modules/degenerator/node_modules/escodegen/escodegen.js -third_party/devtools-frontend/src/node_modules/degenerator/node_modules/escodegen/package.json third_party/devtools-frontend/src/node_modules/devtools-protocol/json/browser_protocol.json third_party/devtools-frontend/src/node_modules/devtools-protocol/types/protocol-mapping.d.ts third_party/devtools-frontend/src/node_modules/devtools-protocol/types/protocol-proxy-api.d.ts @@ -8597,6 +8598,10 @@ third_party/devtools-frontend/src/node_modules/es-shim-unscopables/package.json third_party/devtools-frontend/src/node_modules/es-to-primitive/package.json third_party/devtools-frontend/src/node_modules/escalade/package.json third_party/devtools-frontend/src/node_modules/escape-string-regexp/package.json +third_party/devtools-frontend/src/node_modules/escodegen/bin/escodegen.js +third_party/devtools-frontend/src/node_modules/escodegen/bin/esgenerate.js +third_party/devtools-frontend/src/node_modules/escodegen/escodegen.js +third_party/devtools-frontend/src/node_modules/escodegen/package.json third_party/devtools-frontend/src/node_modules/eslint-import-resolver-node/node_modules/debug/package.json third_party/devtools-frontend/src/node_modules/eslint-import-resolver-node/node_modules/debug/src/browser.js third_party/devtools-frontend/src/node_modules/eslint-module-utils/node_modules/debug/package.json @@ -8721,6 +8726,7 @@ third_party/devtools-frontend/src/node_modules/json-buffer/package.json third_party/devtools-frontend/src/node_modules/json5/package.json third_party/devtools-frontend/src/node_modules/jsonfile/package.json third_party/devtools-frontend/src/node_modules/karma-chrome-launcher/package.json +third_party/devtools-frontend/src/node_modules/karma-chrome-launcher/tools/update-contributors.js third_party/devtools-frontend/src/node_modules/karma-coverage/examples/coffee-requirejs/package.json third_party/devtools-frontend/src/node_modules/karma-coverage/examples/coffee/package.json third_party/devtools-frontend/src/node_modules/karma-coverage/package.json @@ -8775,17 +8781,12 @@ third_party/devtools-frontend/src/node_modules/meow/build/index.d.ts third_party/devtools-frontend/src/node_modules/meow/package.json third_party/devtools-frontend/src/node_modules/mimic-function/index.d.ts third_party/devtools-frontend/src/node_modules/mimic-function/package.json -third_party/devtools-frontend/src/node_modules/mocha/lib/browser/growl.js third_party/devtools-frontend/src/node_modules/mocha/lib/runnable.js third_party/devtools-frontend/src/node_modules/mocha/lib/utils.js -third_party/devtools-frontend/src/node_modules/mocha/mocha-es2018.js third_party/devtools-frontend/src/node_modules/mocha/mocha.js -third_party/devtools-frontend/src/node_modules/mocha/node_modules/debug/package.json -third_party/devtools-frontend/src/node_modules/mocha/node_modules/debug/src/browser.js third_party/devtools-frontend/src/node_modules/mocha/node_modules/escape-string-regexp/package.json third_party/devtools-frontend/src/node_modules/mocha/node_modules/has-flag/package.json third_party/devtools-frontend/src/node_modules/mocha/node_modules/supports-color/package.json -third_party/devtools-frontend/src/node_modules/nise/nise.js third_party/devtools-frontend/src/node_modules/node-releases/package.json third_party/devtools-frontend/src/node_modules/normalize-package-data/package.json third_party/devtools-frontend/src/node_modules/normalize-path/index.js @@ -9010,12 +9011,17 @@ third_party/devtools-frontend/src/node_modules/source-map/package.json third_party/devtools-frontend/src/node_modules/spdx-correct/package.json third_party/devtools-frontend/src/node_modules/stdin-discarder/package.json third_party/devtools-frontend/src/node_modules/streamroller/package.json +third_party/devtools-frontend/src/node_modules/string-width-cjs/node_modules/ansi-regex/package.json +third_party/devtools-frontend/src/node_modules/string-width-cjs/node_modules/strip-ansi/package.json +third_party/devtools-frontend/src/node_modules/string-width-cjs/package.json third_party/devtools-frontend/src/node_modules/string-width/node_modules/ansi-regex/package.json third_party/devtools-frontend/src/node_modules/string-width/node_modules/strip-ansi/package.json third_party/devtools-frontend/src/node_modules/string-width/package.json third_party/devtools-frontend/src/node_modules/string.prototype.trim/package.json third_party/devtools-frontend/src/node_modules/string.prototype.trimend/package.json third_party/devtools-frontend/src/node_modules/string.prototype.trimstart/package.json +third_party/devtools-frontend/src/node_modules/strip-ansi-cjs/node_modules/ansi-regex/package.json +third_party/devtools-frontend/src/node_modules/strip-ansi-cjs/package.json third_party/devtools-frontend/src/node_modules/strip-ansi/package.json third_party/devtools-frontend/src/node_modules/strip-bom/package.json third_party/devtools-frontend/src/node_modules/strip-json-comments/package.json @@ -9036,8 +9042,6 @@ third_party/devtools-frontend/src/node_modules/stylelint/node_modules/mdn-data/c third_party/devtools-frontend/src/node_modules/stylelint/node_modules/mdn-data/css/types.json third_party/devtools-frontend/src/node_modules/stylelint/node_modules/mdn-data/css/types.schema.json third_party/devtools-frontend/src/node_modules/stylelint/node_modules/mdn-data/package.json -third_party/devtools-frontend/src/node_modules/stylelint/node_modules/postcss/lib/comment.d.ts -third_party/devtools-frontend/src/node_modules/stylelint/node_modules/postcss/lib/declaration.d.ts third_party/devtools-frontend/src/node_modules/stylelint/node_modules/resolve-from/package.json third_party/devtools-frontend/src/node_modules/supports-color/package.json third_party/devtools-frontend/src/node_modules/supports-hyperlinks/node_modules/has-flag/package.json @@ -9082,7 +9086,6 @@ third_party/devtools-frontend/src/node_modules/terser/lib/sourcemap.js third_party/devtools-frontend/src/node_modules/terser/lib/transform.js third_party/devtools-frontend/src/node_modules/terser/lib/utils/index.js third_party/devtools-frontend/src/node_modules/terser/package.json -third_party/devtools-frontend/src/node_modules/through/package.json third_party/devtools-frontend/src/node_modules/tmp/package.json third_party/devtools-frontend/src/node_modules/toidentifier/package.json third_party/devtools-frontend/src/node_modules/treeify/package.json @@ -9124,7 +9127,6 @@ third_party/devtools-frontend/src/node_modules/typescript/lib/zh-cn/diagnosticMe third_party/devtools-frontend/src/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json 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 @@ -9180,6 +9182,12 @@ third_party/devtools-frontend/src/node_modules/workerpool/dist/workerpool.js third_party/devtools-frontend/src/node_modules/workerpool/dist/workerpool.min.js.LICENSE.txt third_party/devtools-frontend/src/node_modules/workerpool/package.json third_party/devtools-frontend/src/node_modules/workerpool/src/header.js +third_party/devtools-frontend/src/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/package.json +third_party/devtools-frontend/src/node_modules/wrap-ansi-cjs/node_modules/ansi-styles/package.json +third_party/devtools-frontend/src/node_modules/wrap-ansi-cjs/node_modules/color-convert/package.json +third_party/devtools-frontend/src/node_modules/wrap-ansi-cjs/node_modules/color-name/package.json +third_party/devtools-frontend/src/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/package.json +third_party/devtools-frontend/src/node_modules/wrap-ansi-cjs/package.json third_party/devtools-frontend/src/node_modules/wrap-ansi/node_modules/ansi-regex/package.json third_party/devtools-frontend/src/node_modules/wrap-ansi/node_modules/ansi-styles/package.json third_party/devtools-frontend/src/node_modules/wrap-ansi/node_modules/color-convert/package.json @@ -9324,10 +9332,12 @@ third_party/eigen3/src/Eigen/src/Core/arch/AVX/TypeCasting.h third_party/eigen3/src/Eigen/src/Core/arch/AVX512/Complex.h third_party/eigen3/src/Eigen/src/Core/arch/AVX512/GemmKernel.h third_party/eigen3/src/Eigen/src/Core/arch/AVX512/MathFunctions.h +third_party/eigen3/src/Eigen/src/Core/arch/AVX512/MathFunctionsFP16.h third_party/eigen3/src/Eigen/src/Core/arch/AVX512/PacketMath.h third_party/eigen3/src/Eigen/src/Core/arch/AVX512/PacketMathFP16.h third_party/eigen3/src/Eigen/src/Core/arch/AVX512/TrsmKernel.h third_party/eigen3/src/Eigen/src/Core/arch/AVX512/TypeCasting.h +third_party/eigen3/src/Eigen/src/Core/arch/AVX512/TypeCastingFP16.h third_party/eigen3/src/Eigen/src/Core/arch/AltiVec/Complex.h third_party/eigen3/src/Eigen/src/Core/arch/AltiVec/MathFunctions.h third_party/eigen3/src/Eigen/src/Core/arch/AltiVec/MatrixProduct.h @@ -9674,6 +9684,7 @@ third_party/eigen3/src/test/nomalloc.cpp third_party/eigen3/src/test/nullary.cpp third_party/eigen3/src/test/num_dimensions.cpp third_party/eigen3/src/test/numext.cpp +third_party/eigen3/src/test/packet_segment.cpp third_party/eigen3/src/test/packetmath.cpp third_party/eigen3/src/test/packetmath_test_shared.h third_party/eigen3/src/test/pastix_support.cpp @@ -10399,6 +10410,7 @@ third_party/ffmpeg/libavutil/timecode.h third_party/ffmpeg/libavutil/timecode_internal.c third_party/ffmpeg/libavutil/timecode_internal.h third_party/ffmpeg/libavutil/tx.c +third_party/ffmpeg/libavutil/x86/aes_init.c third_party/ffmpeg/libavutil/x86/w64xmmtest.h third_party/ffmpeg/libswscale/arm/swscale_unscaled.c third_party/ffmpeg/libswscale/gamma.c @@ -10406,6 +10418,7 @@ third_party/ffmpeg/libswscale/hscale.c third_party/ffmpeg/libswscale/slice.c third_party/ffmpeg/libswscale/vscale.c third_party/ffmpeg/libswscale/x86/w64xmmtest.c +third_party/ffmpeg/tests/checkasm/aes.c third_party/ffmpeg/tests/checkasm/hevc_sao.c third_party/ffmpeg/tests/checkasm/vf_colorspace.c third_party/ffmpeg/tests/checkasm/videodsp.c @@ -10422,6 +10435,7 @@ third_party/flatbuffers/src/docs/header.html third_party/flatbuffers/src/java/pom.xml third_party/flatbuffers/src/python/setup.py third_party/flatbuffers/src/src/idl_gen_csharp.cpp +third_party/fontconfig/src/build-aux/fetch-testfonts.py third_party/fontconfig/src/src/fcfreetype.c third_party/fp16/src/third-party/eigen-half.h third_party/freetype-testing/src/fuzzing/src/utils/utils.cpp @@ -10440,19 +10454,17 @@ third_party/freetype/src/src/autofit/afadjust.c third_party/freetype/src/src/autofit/afadjust.h third_party/freetype/src/src/autofit/afindic.c third_party/freetype/src/src/autofit/afindic.h -third_party/freetype/src/src/base/ftbase.h +third_party/freetype/src/src/autofit/hb-script-list.h third_party/freetype/src/src/sfnt/sfobjs.c third_party/freetype/src/src/sfnt/ttcmap.c third_party/freetype/src/src/sfnt/ttcolr.c third_party/freetype/src/src/sfnt/ttcpal.c third_party/freetype/src/src/sfnt/ttgpos.c third_party/freetype/src/src/sfnt/ttsvg.c -third_party/freetype/src/src/truetype/ttgxvar.c 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/fuzztest/src/fuzztest/internal/centipede_adaptor.cc @@ -10461,26 +10473,16 @@ third_party/gemmlowp/src/standalone/neon-gemm-kernel-benchmark.cc third_party/glslang/src/glslang/HLSL/hlslParseHelper.cpp third_party/google-closure-library/closure-deps/lib/jsfile_parser.js third_party/google-closure-library/closure-deps/package.json -third_party/google-closure-library/closure/bin/build/closurebuilder.py -third_party/google-closure-library/closure/bin/build/depstree.py -third_party/google-closure-library/closure/bin/build/depstree_test.py third_party/google-closure-library/closure/bin/build/depswriter.py -third_party/google-closure-library/closure/bin/build/depswriter_test.py -third_party/google-closure-library/closure/bin/build/jscompiler.py -third_party/google-closure-library/closure/bin/build/jscompiler_test.py third_party/google-closure-library/closure/bin/build/source.py -third_party/google-closure-library/closure/bin/build/source_test.py third_party/google-closure-library/closure/bin/build/treescan.py -third_party/google-closure-library/closure/bin/generate_closure_unit_tests/package.json third_party/google-closure-library/closure/bin/labs/code/generate_jsdoc_test.py -third_party/google-closure-library/closure/css/inlay/g-base.css -third_party/google-closure-library/closure/css/inlay/g-fixed.css -third_party/google-closure-library/closure/css/inlay/g-ratio.css third_party/google-closure-library/closure/goog/async/nexttick.js third_party/google-closure-library/closure/goog/base.js third_party/google-closure-library/closure/goog/base_debug_loader_test.js third_party/google-closure-library/closure/goog/collections/iters.js third_party/google-closure-library/closure/goog/crypt/arc4.js +third_party/google-closure-library/closure/goog/crypt/base64.js third_party/google-closure-library/closure/goog/crypt/blobhasher.js third_party/google-closure-library/closure/goog/crypt/crypt.js third_party/google-closure-library/closure/goog/crypt/crypt_test.js @@ -10506,13 +10508,9 @@ third_party/google-closure-library/closure/goog/css/toolbar.css third_party/google-closure-library/closure/goog/css/tree.css third_party/google-closure-library/closure/goog/css/tristatemenuitem.css third_party/google-closure-library/closure/goog/cssom/cssom.js -third_party/google-closure-library/closure/goog/datasource/expr_test.js -third_party/google-closure-library/closure/goog/datasource/fastdatanode_test.js -third_party/google-closure-library/closure/goog/datasource/jsondatasource.js +third_party/google-closure-library/closure/goog/date/date.js +third_party/google-closure-library/closure/goog/debug/asyncstacktag.js third_party/google-closure-library/closure/goog/debug/errorhandler.js -third_party/google-closure-library/closure/goog/debug/fpsdisplay.js -third_party/google-closure-library/closure/goog/debug/logger.js -third_party/google-closure-library/closure/goog/demos/autocompleterichremotedata.js third_party/google-closure-library/closure/goog/demos/autocompleterichremotedata.json third_party/google-closure-library/closure/goog/demos/css/demo.css third_party/google-closure-library/closure/goog/demos/css/emojipicker.css @@ -10525,24 +10523,19 @@ third_party/google-closure-library/closure/goog/demos/history2.html third_party/google-closure-library/closure/goog/demos/history3.html third_party/google-closure-library/closure/goog/demos/hovercard.html third_party/google-closure-library/closure/goog/demos/splitpane.html -third_party/google-closure-library/closure/goog/deps.js third_party/google-closure-library/closure/goog/dom/animationframe/animationframe.js third_party/google-closure-library/closure/goog/dom/browserfeature.js third_party/google-closure-library/closure/goog/dom/browserrange/geckorange.js third_party/google-closure-library/closure/goog/dom/browserrange/w3crange.js -third_party/google-closure-library/closure/goog/dom/controlrange_test.html third_party/google-closure-library/closure/goog/dom/controlrange_test_dom.html third_party/google-closure-library/closure/goog/dom/dom.js third_party/google-closure-library/closure/goog/dom/dom_test.js third_party/google-closure-library/closure/goog/dom/forms.js -third_party/google-closure-library/closure/goog/dom/range_test.html third_party/google-closure-library/closure/goog/dom/range_test.js third_party/google-closure-library/closure/goog/dom/range_test_dom.html -third_party/google-closure-library/closure/goog/dom/textrange_test.html third_party/google-closure-library/closure/goog/dom/textrange_test_dom.html third_party/google-closure-library/closure/goog/dom/uri_test.js third_party/google-closure-library/closure/goog/dom/xml.js -third_party/google-closure-library/closure/goog/editor/clicktoeditwrapper_test.html third_party/google-closure-library/closure/goog/editor/clicktoeditwrapper_test_dom.html third_party/google-closure-library/closure/goog/editor/contenteditablefield.js third_party/google-closure-library/closure/goog/editor/field.js @@ -10551,14 +10544,11 @@ third_party/google-closure-library/closure/goog/editor/link_test.js third_party/google-closure-library/closure/goog/editor/node_test.js third_party/google-closure-library/closure/goog/editor/plugins/abstractbubbleplugin_test.js third_party/google-closure-library/closure/goog/editor/plugins/basictextformatter.js -third_party/google-closure-library/closure/goog/editor/plugins/basictextformatter_test.html third_party/google-closure-library/closure/goog/editor/plugins/basictextformatter_test.js third_party/google-closure-library/closure/goog/editor/plugins/basictextformatter_test_dom.html -third_party/google-closure-library/closure/goog/editor/plugins/linkbubble_test.html third_party/google-closure-library/closure/goog/editor/plugins/linkbubble_test.js third_party/google-closure-library/closure/goog/editor/plugins/linkbubble_test_dom.html third_party/google-closure-library/closure/goog/editor/plugins/linkdialogplugin_test.js -third_party/google-closure-library/closure/goog/editor/plugins/linkshortcutplugin_test.html third_party/google-closure-library/closure/goog/editor/plugins/linkshortcutplugin_test.js third_party/google-closure-library/closure/goog/editor/plugins/linkshortcutplugin_test_dom.html third_party/google-closure-library/closure/goog/editor/plugins/removeformatting_test.js @@ -10575,13 +10565,13 @@ third_party/google-closure-library/closure/goog/events/keycodes.js third_party/google-closure-library/closure/goog/events/keyhandler.js third_party/google-closure-library/closure/goog/events/keys.js third_party/google-closure-library/closure/goog/events/mousewheelhandler.js +third_party/google-closure-library/closure/goog/events/onlinehandler.js third_party/google-closure-library/closure/goog/format/emailaddress.js third_party/google-closure-library/closure/goog/format/emailaddress_test.js third_party/google-closure-library/closure/goog/format/internationalizedemailaddress_test.js third_party/google-closure-library/closure/goog/fs/blob.js third_party/google-closure-library/closure/goog/fx/anim/anim.js third_party/google-closure-library/closure/goog/graphics/svggraphics_test.js -third_party/google-closure-library/closure/goog/html/flash_test.js third_party/google-closure-library/closure/goog/html/legacyconversions_test.js third_party/google-closure-library/closure/goog/html/safehtml.js third_party/google-closure-library/closure/goog/html/safehtml_test.js @@ -10593,15 +10583,17 @@ third_party/google-closure-library/closure/goog/html/sanitizer/csssanitizer_test third_party/google-closure-library/closure/goog/html/sanitizer/html_test_vectors.js third_party/google-closure-library/closure/goog/html/sanitizer/htmlsanitizer_test.js third_party/google-closure-library/closure/goog/html/sanitizer/tagblacklist.js -third_party/google-closure-library/closure/goog/html/silverlight_test.js third_party/google-closure-library/closure/goog/html/trustedresourceurl.js third_party/google-closure-library/closure/goog/html/trustedresourceurl_test.js third_party/google-closure-library/closure/goog/i18n/bidi_test.js third_party/google-closure-library/closure/goog/i18n/collation.js third_party/google-closure-library/closure/goog/i18n/collation_test.js +third_party/google-closure-library/closure/goog/i18n/dateintervalformat.js +third_party/google-closure-library/closure/goog/i18n/datetimeformat.js +third_party/google-closure-library/closure/goog/i18n/externs_test.js +third_party/google-closure-library/closure/goog/i18n/listformat.js third_party/google-closure-library/closure/goog/i18n/localefeature.js third_party/google-closure-library/closure/goog/iter/iter.js -third_party/google-closure-library/closure/goog/labs/collections/iterables.js third_party/google-closure-library/closure/goog/labs/net/image.js third_party/google-closure-library/closure/goog/labs/net/webchannel.js third_party/google-closure-library/closure/goog/labs/net/webchannel/channel.js @@ -10614,6 +10606,7 @@ third_party/google-closure-library/closure/goog/labs/net/xhr.js third_party/google-closure-library/closure/goog/labs/net/xhr_test.js third_party/google-closure-library/closure/goog/labs/useragent/browser.js third_party/google-closure-library/closure/goog/labs/useragent/engine.js +third_party/google-closure-library/closure/goog/labs/useragent/platform.js third_party/google-closure-library/closure/goog/labs/useragent/test_agents.js third_party/google-closure-library/closure/goog/messaging/portchannel_test.js third_party/google-closure-library/closure/goog/module/moduleloader.js @@ -10626,7 +10619,6 @@ third_party/google-closure-library/closure/goog/net/cookies_test.js third_party/google-closure-library/closure/goog/net/crossdomainrpc_test.js third_party/google-closure-library/closure/goog/net/fetchxmlhttpfactory.js third_party/google-closure-library/closure/goog/net/fetchxmlhttpfactory_test.js -third_party/google-closure-library/closure/goog/net/iframeio_test.html third_party/google-closure-library/closure/goog/net/iframeio_test_dom.html third_party/google-closure-library/closure/goog/net/imageloader.js third_party/google-closure-library/closure/goog/net/ipaddress.js @@ -10638,14 +10630,13 @@ third_party/google-closure-library/closure/goog/net/tmpnetwork.js third_party/google-closure-library/closure/goog/net/xhrio.js third_party/google-closure-library/closure/goog/net/xhrlike.js third_party/google-closure-library/closure/goog/net/xmlhttp.js -third_party/google-closure-library/closure/goog/net/xpc/iframepollingtransport_test.js third_party/google-closure-library/closure/goog/positioning/positioning_test.js third_party/google-closure-library/closure/goog/proto2/textformatserializer.js third_party/google-closure-library/closure/goog/reflect/reflect.js third_party/google-closure-library/closure/goog/soy/data_test.js third_party/google-closure-library/closure/goog/soy/soy_testhelper.js third_party/google-closure-library/closure/goog/storage/mechanism/ieuserdata.js -third_party/google-closure-library/closure/goog/storage/mechanism/mechanismtester.js +third_party/google-closure-library/closure/goog/storage/mechanism/mechanismtests.js third_party/google-closure-library/closure/goog/string/linkify.js third_party/google-closure-library/closure/goog/string/linkify_test.js third_party/google-closure-library/closure/goog/string/newlines.js @@ -10663,7 +10654,6 @@ third_party/google-closure-library/closure/goog/testing/stacktrace.js third_party/google-closure-library/closure/goog/testing/stacktrace_test.js third_party/google-closure-library/closure/goog/testing/testcase.js third_party/google-closure-library/closure/goog/timer/timer.js -third_party/google-closure-library/closure/goog/transpile.js third_party/google-closure-library/closure/goog/tweak/tweak.js third_party/google-closure-library/closure/goog/ui/ac/autocomplete_test.js third_party/google-closure-library/closure/goog/ui/ac/inputhandler.js @@ -10676,17 +10666,8 @@ third_party/google-closure-library/closure/goog/ui/editor/bubble_test.js third_party/google-closure-library/closure/goog/ui/editor/linkdialog.js third_party/google-closure-library/closure/goog/ui/editor/linkdialog_test.js third_party/google-closure-library/closure/goog/ui/editor/messages.js -third_party/google-closure-library/closure/goog/ui/hovercard_test.html third_party/google-closure-library/closure/goog/ui/hovercard_test_dom.html -third_party/google-closure-library/closure/goog/ui/keyboardshortcuthandler_test.html third_party/google-closure-library/closure/goog/ui/keyboardshortcuthandler_test_dom.html -third_party/google-closure-library/closure/goog/ui/media/flashobject.js -third_party/google-closure-library/closure/goog/ui/media/flashobject_test.js -third_party/google-closure-library/closure/goog/ui/media/googlevideo.js -third_party/google-closure-library/closure/goog/ui/media/googlevideo_test.js -third_party/google-closure-library/closure/goog/ui/media/mp3.js -third_party/google-closure-library/closure/goog/ui/media/picasa.js -third_party/google-closure-library/closure/goog/ui/media/picasa_test.js third_party/google-closure-library/closure/goog/ui/media/youtube.js third_party/google-closure-library/closure/goog/ui/media/youtube_test.js third_party/google-closure-library/closure/goog/ui/menu.js @@ -10703,7 +10684,6 @@ third_party/google-closure-library/closure/goog/url/url.js third_party/google-closure-library/closure/goog/url/url_test.js third_party/google-closure-library/closure/goog/useragent/product_test.js third_party/google-closure-library/closure/goog/window/window.js -third_party/google-closure-library/closure/goog/window/window_test.html third_party/google-closure-library/closure/goog/window/window_test.js third_party/google-closure-library/closure/goog/window/window_test_dom.html third_party/google-closure-library/doc/_layouts/article.html @@ -11155,7 +11135,6 @@ third_party/hunspell/src/hunspell/replist.hxx third_party/hunspell/src/hunspell/suggestmgr.cxx third_party/hunspell/src/hunspell/suggestmgr.hxx third_party/hunspell/src/hunspell/utf_info.cxx -third_party/hunspell/src/hunspell/utf_info.hxx third_party/hunspell/src/hunspell/w_char.hxx third_party/hunspell/src/parsers/firstparser.cxx third_party/hunspell/src/parsers/firstparser.hxx @@ -11696,6 +11675,26 @@ third_party/node/node_modules/@azure/msal-browser/lib/types/network/FetchClient. third_party/node/node_modules/@azure/msal-browser/package.json third_party/node/node_modules/@azure/msal-common/lib/types/telemetry/performance/PerformanceEvent.d.ts third_party/node/node_modules/@azure/msal-common/package.json +third_party/node/node_modules/@bufbuild/protobuf/dist/cjs/from-binary.d.ts +third_party/node/node_modules/@bufbuild/protobuf/dist/cjs/to-binary.d.ts +third_party/node/node_modules/@bufbuild/protobuf/dist/cjs/wire/binary-encoding.d.ts +third_party/node/node_modules/@bufbuild/protobuf/dist/cjs/wire/binary-encoding.js +third_party/node/node_modules/@bufbuild/protobuf/dist/cjs/wire/varint.js +third_party/node/node_modules/@bufbuild/protobuf/dist/cjs/wkt/any.js +third_party/node/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/any_pb.d.ts +third_party/node/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/api_pb.d.ts +third_party/node/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/timestamp_pb.d.ts +third_party/node/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/type_pb.d.ts +third_party/node/node_modules/@bufbuild/protobuf/dist/esm/from-binary.d.ts +third_party/node/node_modules/@bufbuild/protobuf/dist/esm/to-binary.d.ts +third_party/node/node_modules/@bufbuild/protobuf/dist/esm/wire/binary-encoding.d.ts +third_party/node/node_modules/@bufbuild/protobuf/dist/esm/wire/binary-encoding.js +third_party/node/node_modules/@bufbuild/protobuf/dist/esm/wire/varint.js +third_party/node/node_modules/@bufbuild/protobuf/dist/esm/wkt/any.js +third_party/node/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/any_pb.d.ts +third_party/node/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/api_pb.d.ts +third_party/node/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/timestamp_pb.d.ts +third_party/node/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/type_pb.d.ts third_party/node/node_modules/@lit/reactive-element/css-tag.d.ts third_party/node/node_modules/@lit/reactive-element/reactive-element.d.ts third_party/node/node_modules/@mediapipe/tasks-vision/vision.d.ts @@ -11798,6 +11797,10 @@ third_party/node/node_modules/mdn-data/css/selectors.schema.json third_party/node/node_modules/mdn-data/css/types.json third_party/node/node_modules/mdn-data/css/types.schema.json third_party/node/node_modules/mdn-data/package.json +third_party/node/node_modules/messageformat/lib/functions/datetime.d.ts +third_party/node/node_modules/messageformat/lib/functions/datetime.js +third_party/node/node_modules/messageformat/lib/messageformat.d.ts +third_party/node/node_modules/messageformat/package.json third_party/node/node_modules/mocha/mocha.js third_party/node/node_modules/p-limit/package.json third_party/node/node_modules/p-locate/package.json @@ -11849,6 +11852,8 @@ 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/ts-proto/build/src/main.js +third_party/node/node_modules/ts-proto/build/src/types.js third_party/node/node_modules/typescript/lib/_tsc.js third_party/node/node_modules/typescript/lib/lib.dom.d.ts third_party/node/node_modules/typescript/lib/lib.dom.iterable.d.ts @@ -12556,7 +12561,9 @@ third_party/perfetto/src/traced/probes/android_log/android_log_data_source.cc third_party/perfetto/src/tracing/service/tracing_service_impl_unittest.cc third_party/perfetto/test/cts/AndroidTest.xml third_party/perfetto/test/cts/art_module/AndroidTest.xml +third_party/perfetto/test/cts/heapprofd_test_helper.cc third_party/perfetto/test/cts/reporter/AndroidTest.xml +third_party/perfetto/test/trace_processor/diff_tests/parser/art_hprof/tests.py third_party/perfetto/test/trace_processor/diff_tests/parser/chrome/tests_v8.py third_party/perfetto/test/trace_processor/diff_tests/parser/simpleperf/tests.py third_party/perfetto/test/vts/AndroidTest.xml @@ -12771,6 +12778,8 @@ third_party/protobuf/php/ext/google/protobuf/names.h third_party/protobuf/php/ext/google/protobuf/php-upb.c third_party/protobuf/php/ext/google/protobuf/php-upb.h third_party/protobuf/php/ext/google/protobuf/php_protobuf.h +third_party/protobuf/php/ext/google/protobuf/print_options.c +third_party/protobuf/php/ext/google/protobuf/print_options.h third_party/protobuf/php/ext/google/protobuf/protobuf.c third_party/protobuf/php/ext/google/protobuf/protobuf.h third_party/protobuf/php/ext/google/protobuf/template_package.xml @@ -12944,7 +12953,6 @@ third_party/protobuf/src/google/protobuf/arena_align.h third_party/protobuf/src/google/protobuf/arena_align_test.cc third_party/protobuf/src/google/protobuf/arena_allocation_policy.h third_party/protobuf/src/google/protobuf/arena_cleanup.h -third_party/protobuf/src/google/protobuf/arena_test_util.cc third_party/protobuf/src/google/protobuf/arena_test_util.h third_party/protobuf/src/google/protobuf/arena_unittest.cc third_party/protobuf/src/google/protobuf/arenastring.cc @@ -13003,7 +13011,6 @@ third_party/protobuf/src/google/protobuf/compiler/cpp/move_unittest.cc third_party/protobuf/src/google/protobuf/compiler/cpp/names.h third_party/protobuf/src/google/protobuf/compiler/cpp/namespace_printer.h third_party/protobuf/src/google/protobuf/compiler/cpp/options.h -third_party/protobuf/src/google/protobuf/compiler/cpp/padding_optimizer.cc third_party/protobuf/src/google/protobuf/compiler/cpp/padding_optimizer.h third_party/protobuf/src/google/protobuf/compiler/cpp/parse_function_generator.cc third_party/protobuf/src/google/protobuf/compiler/cpp/parse_function_generator.h @@ -13348,6 +13355,7 @@ third_party/protobuf/src/google/protobuf/json/internal/zero_copy_buffered_stream third_party/protobuf/src/google/protobuf/json/json.cc third_party/protobuf/src/google/protobuf/json/json.h third_party/protobuf/src/google/protobuf/json/json_test.cc +third_party/protobuf/src/google/protobuf/lazily_build_dependencies_test.cc third_party/protobuf/src/google/protobuf/lite_arena_unittest.cc third_party/protobuf/src/google/protobuf/lite_unittest.cc third_party/protobuf/src/google/protobuf/map.cc @@ -13355,15 +13363,11 @@ third_party/protobuf/src/google/protobuf/map.h third_party/protobuf/src/google/protobuf/map_entry.h third_party/protobuf/src/google/protobuf/map_field.cc third_party/protobuf/src/google/protobuf/map_field.h -third_party/protobuf/src/google/protobuf/map_field_inl.h third_party/protobuf/src/google/protobuf/map_field_lite.h third_party/protobuf/src/google/protobuf/map_field_test.cc -third_party/protobuf/src/google/protobuf/map_lite_test_util.cc -third_party/protobuf/src/google/protobuf/map_lite_test_util.h third_party/protobuf/src/google/protobuf/map_probe_benchmark.cc third_party/protobuf/src/google/protobuf/map_test.cc third_party/protobuf/src/google/protobuf/map_test_util.h -third_party/protobuf/src/google/protobuf/map_test_util_impl.h third_party/protobuf/src/google/protobuf/map_type_handler.h third_party/protobuf/src/google/protobuf/message.cc third_party/protobuf/src/google/protobuf/message.h @@ -13372,6 +13376,9 @@ third_party/protobuf/src/google/protobuf/message_lite.h third_party/protobuf/src/google/protobuf/message_unittest.cc third_party/protobuf/src/google/protobuf/metadata.h third_party/protobuf/src/google/protobuf/metadata_lite.h +third_party/protobuf/src/google/protobuf/micro_string.cc +third_party/protobuf/src/google/protobuf/micro_string.h +third_party/protobuf/src/google/protobuf/micro_string_test.cc third_party/protobuf/src/google/protobuf/no_field_presence_map_test.cc third_party/protobuf/src/google/protobuf/no_field_presence_test.cc third_party/protobuf/src/google/protobuf/package_info.h @@ -13719,9 +13726,14 @@ third_party/protobuf/upb_generator/minitable/names_internal.cc third_party/protobuf/upb_generator/minitable/names_internal.h third_party/protobuf/upb_generator/plugin.cc third_party/protobuf/upb_generator/plugin.h +third_party/protobuf/upb_generator/reflection/context.h third_party/protobuf/upb_generator/reflection/generator.cc +third_party/protobuf/upb_generator/reflection/header.cc +third_party/protobuf/upb_generator/reflection/header.h third_party/protobuf/upb_generator/reflection/names.cc third_party/protobuf/upb_generator/reflection/names.h +third_party/protobuf/upb_generator/reflection/source.cc +third_party/protobuf/upb_generator/reflection/source.h third_party/pthreadpool/chromium/jobs.cc third_party/pycoverage/coverage/htmlfiles/pyfile.html third_party/pyelftools/elftools/__init__.py @@ -13793,17 +13805,17 @@ third_party/rust/anyhow/v1/BUILD.gn third_party/rust/autocfg/v1/BUILD.gn third_party/rust/bytemuck/v1/BUILD.gn third_party/rust/bytemuck_derive/v1/BUILD.gn +third_party/rust/chromium_crates_io/PRESUBMIT.py +third_party/rust/chromium_crates_io/crate_utils.py third_party/rust/chromium_crates_io/vendor/cxx-v1/.bcr/metadata.template.json third_party/rust/cxx/v1/BUILD.gn third_party/rust/cxxbridge_cmd/v1/BUILD.gn third_party/rust/cxxbridge_flags/v1/BUILD.gn third_party/rust/cxxbridge_macro/v1/BUILD.gn -third_party/rust/diplomat/v0_10/BUILD.gn -third_party/rust/diplomat_core/v0_10/BUILD.gn -third_party/rust/diplomat_runtime/v0_10/BUILD.gn -third_party/rust/ff/v0_13/BUILD.gn +third_party/rust/diplomat/v0_11/BUILD.gn +third_party/rust/diplomat_core/v0_11/BUILD.gn +third_party/rust/diplomat_runtime/v0_11/BUILD.gn third_party/rust/foldhash/v0_1/BUILD.gn -third_party/rust/group/v0_13/BUILD.gn third_party/rust/hashbrown/v0_15/BUILD.gn third_party/rust/itoa/v1/BUILD.gn third_party/rust/lazy_static/v1/BUILD.gn @@ -13823,7 +13835,6 @@ third_party/rust/serde/v1/BUILD.gn third_party/rust/serde_derive/v1/BUILD.gn third_party/rust/serde_json/v1/BUILD.gn third_party/rust/serde_json_lenient/v0_2/BUILD.gn -third_party/rust/sfv/v0_10/BUILD.gn third_party/rust/stable_deref_trait/v1/BUILD.gn third_party/rust/strck/v1/BUILD.gn third_party/rust/strum/v0_27/BUILD.gn @@ -13838,6 +13849,7 @@ third_party/rust/yoke_derive/v0_8/BUILD.gn third_party/rust/zerofrom/v0_1/BUILD.gn third_party/rust/zerofrom_derive/v0_1/BUILD.gn third_party/rust/zerovec_derive/v0_11/BUILD.gn +third_party/rust/zip/v3/BUILD.gn third_party/s2cellid/src/s2/_fpcontractoff.h third_party/s2cellid/src/s2/r1interval.h third_party/s2cellid/src/s2/r2.h @@ -13858,6 +13870,7 @@ third_party/shell-encryption/BUILD.gn third_party/simplejson/ordered_dict.py third_party/skia/BUILD.gn third_party/skia/PRESUBMIT.py +third_party/skia/bazel/deps.json third_party/skia/bench/DashBench.cpp third_party/skia/bench/DecodeBench.cpp third_party/skia/build_overrides/partition_alloc.gni @@ -14010,6 +14023,7 @@ third_party/skia/src/gpu/ganesh/GrRenderTask.h third_party/skia/src/gpu/ganesh/GrShaderCaps.h third_party/skia/src/gpu/ganesh/d3d/GrD3DCaps.cpp third_party/skia/src/gpu/ganesh/effects/GrDisableColorXP.cpp +third_party/skia/src/gpu/ganesh/gl/AHardwareBufferGL.cpp third_party/skia/src/gpu/ganesh/gl/GrGLCaps.cpp third_party/skia/src/gpu/ganesh/gl/GrGLCaps.h third_party/skia/src/gpu/ganesh/gl/GrGLGpu.cpp @@ -14436,12 +14450,12 @@ third_party/tflite/src/tensorflow/python/tpu/tpu_embedding_v2_utils.py 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.tpl third_party/tflite/src/third_party/xla/xla/backends/gpu/codegen/emitters/transpose.h 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/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/tools/benchmarks/utils/generate_benchmark_matrices_main.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 @@ -14490,8 +14504,8 @@ third_party/vulkan-loader/src/loader/log.c third_party/vulkan-loader/src/loader/log.h third_party/vulkan-loader/src/loader/stack_allocation.h third_party/vulkan-loader/src/loader/wsi.c +third_party/vulkan-loader/src/scripts/generators/helper_file_generator.py third_party/vulkan-loader/src/scripts/gn/gn.py -third_party/vulkan-loader/src/scripts/helper_file_generator.py third_party/vulkan-tools/src/cube/cube.c third_party/vulkan-tools/src/cube/gettime.h third_party/vulkan-tools/src/icd/generated/vk_typemap_helper.h @@ -14576,6 +14590,7 @@ third_party/webgpu-cts/src/src/webgpu/multisample_info.ts third_party/webgpu-cts/src/src/webgpu/shader/execution/shader_io/fragment_builtins.spec.ts third_party/webgpu-cts/src/standalone/index.html third_party/webpagereplay/PRESUBMIT.py +third_party/webrtc/.gn third_party/webrtc/BUILD.gn third_party/webrtc/PRESUBMIT.py third_party/webrtc/api/audio_codecs/opus/audio_encoder_opus_config.h @@ -14646,7 +14661,6 @@ third_party/webrtc/p2p/base/turn_port.cc third_party/webrtc/p2p/base/turn_port_unittest.cc third_party/webrtc/p2p/client/basic_port_allocator.cc third_party/webrtc/p2p/client/basic_port_allocator_unittest.cc -third_party/webrtc/p2p/dtls/dtls_utils_unittest.cc third_party/webrtc/pc/channel.cc third_party/webrtc/pc/jsep_session_description.cc third_party/webrtc/pc/media_session_unittest.cc @@ -14714,7 +14728,6 @@ third_party/webrtc/test/testsupport/perf_test.h third_party/webrtc/tools_webrtc/autoroller/roll_deps.py third_party/webrtc/tools_webrtc/autoroller/unittests/roll_deps_test.py third_party/webrtc/tools_webrtc/iwyu/apply_include_cleaner.py -third_party/webrtc/tools_webrtc/network_emulator/emulate.py third_party/webrtc/tools_webrtc/perf/catapult_uploader.py third_party/webrtc/tools_webrtc/sanitizers/lsan_suppressions_webrtc.cc third_party/webrtc/tools_webrtc/sanitizers/tsan_suppressions_webrtc.cc @@ -14820,7 +14833,6 @@ third_party/wpt_tools/wpt/tools/wptrunner/wptrunner/browsers/firefox.py third_party/wpt_tools/wpt/tools/wptrunner/wptrunner/executors/executormarionette.py third_party/wpt_tools/wpt/tools/wptrunner/wptrunner/executors/executorwebdriver.py third_party/wpt_tools/wpt/tools/wptrunner/wptrunner/executors/test-wait.js -third_party/wpt_tools/wpt/tools/wptrunner/wptrunner/formatters/chromium.py third_party/wpt_tools/wpt/tools/wptrunner/wptrunner/wpttest.py third_party/wuffs/BUILD.gn third_party/wuffs/src/release/c/wuffs-v0.3.c @@ -14935,6 +14947,7 @@ tools/clang/scripts/dashboard.py tools/clang/scripts/include-analysis.html tools/clang/scripts/package.py tools/clang/scripts/update.py +tools/clang/spanify/Spanifier.cpp tools/clang/spanify/evaluate_patches.py tools/clang/spanify/extract_edits.py tools/clang/spanify/list-required-pragma.py @@ -14949,6 +14962,7 @@ tools/crates/create_draft_comments.py tools/crates/create_update_cl.py tools/crates/gnrt/lib/test_metadata.json tools/crates/gnrt/lib/test_metadata2.json +tools/crates/gnrt/lib/test_metadata3.json tools/crbug/crbug.js tools/crbug/pinpoint.js tools/crbug/user-activity.js @@ -15007,6 +15021,7 @@ tools/grit/grit/testdata/privacy.html tools/grit/grit/tool/android2grd.py tools/grit/grit/tool/build.py tools/grit/grit/tool/resize.py +tools/grit/grit/zip_helpers.py tools/grit/pak_util.py tools/grit/setup.py tools/include_tracer.py @@ -15261,6 +15276,7 @@ tools/metrics/histograms/metadata/prefetch/histograms.xml tools/metrics/histograms/metadata/preloading/histograms.xml tools/metrics/histograms/metadata/printing/enums.xml tools/metrics/histograms/metadata/printing/histograms.xml +tools/metrics/histograms/metadata/privacy/enums.xml tools/metrics/histograms/metadata/privacy/histograms.xml tools/metrics/histograms/metadata/privacy_budget/enums.xml tools/metrics/histograms/metadata/privacy_budget/histograms.xml @@ -15547,8 +15563,6 @@ tools/run-swarmed.py tools/rust/build_bindgen.py tools/rust/build_rust.py tools/sample_clang_tidy_results.py -tools/search_engine_choice/download_search_engine_icons.py -tools/search_engine_choice/generate_search_engine_icons_config.json tools/site_compare/commands/measure.py tools/site_compare/commands/scrape.py tools/site_compare/scrapers/chrome/chromebase.py @@ -15556,6 +15570,7 @@ tools/site_compare/scrapers/firefox/firefox2.py tools/site_compare/scrapers/ie/ie7.py tools/site_compare/utils/browser_iterate.py tools/symsrc/source_index.py +tools/test_selection/decisiongraph_invoker.py tools/traceline/svgui/traceline.js tools/tracing/PRESUBMIT.py tools/tracing/rename_breakpad.py @@ -15647,7 +15662,6 @@ ui/base/ime/win/tsf_bridge.cc ui/base/ime/win/tsf_text_store.cc ui/base/ime/win/tsf_text_store.h ui/base/l10n/l10n_util_win.h -ui/base/linux/xdg_shortcut.h ui/base/prediction/linear_resampling.h ui/base/resource/data_pack.cc ui/base/resource/resource_bundle.h @@ -15728,9 +15742,12 @@ ui/gl/gl_display.cc ui/gl/gl_surface_egl.cc ui/gl/gl_surface_presentation_helper.cc ui/gl/hdr_metadata_helper_win.cc +ui/gl/os_compositor_tree_base.h ui/gl/vsync_thread_win_dxgi.cc ui/gtk/printing/print_dialog_gtk.cc ui/latency/latency_info.h +ui/menus/android/menu_model_bridge.cc +ui/menus/android/menu_model_bridge.h ui/native_theme/native_theme_win.cc ui/native_theme/native_theme_win.h ui/ozone/ozone.gni @@ -15791,6 +15808,7 @@ url/url_parse_unittest.cc url/url_util.cc url/url_util.h url/url_util_unittest.cc +v8/BUILD.gn v8/PRESUBMIT.py v8/build_overrides/partition_alloc.gni v8/include/cppgc/internal/compiler-specific.h @@ -15903,7 +15921,6 @@ v8/tools/profview/index.html v8/tools/release/common_includes.py v8/tools/release/create_release.py v8/tools/release/git_recipes.py -v8/tools/release/merge_to_branch.py v8/tools/release/merge_to_branch_gerrit.py v8/tools/release/roll_bisect.py v8/tools/release/roll_merge_gerrit.py diff --git a/flags.gn b/flags.gn index 76a992fe..8629b90b 100644 --- a/flags.gn +++ b/flags.gn @@ -5,7 +5,6 @@ disable_fieldtrial_testing_config=true enable_hangout_services_extension=false enable_mdns=false enable_nacl=false -enable_reading_list=false enable_remoting=false enable_reporting=false enable_service_discovery=false diff --git a/patches/core/bromite/disable-fetching-field-trials.patch b/patches/core/bromite/disable-fetching-field-trials.patch index 3535604d..73a8b6cd 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 -@@ -59,7 +59,7 @@ public abstract class ChromeFeatureList +@@ -60,7 +60,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 } /** -@@ -71,8 +71,7 @@ public abstract class ChromeFeatureList +@@ -72,8 +72,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 } /** -@@ -84,8 +83,7 @@ public abstract class ChromeFeatureList +@@ -85,8 +84,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 } /** -@@ -97,8 +95,7 @@ public abstract class ChromeFeatureList +@@ -98,8 +96,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 b42b48fb..ca2ff3a0 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 -@@ -3696,8 +3696,6 @@ static_library("browser") { +@@ -3752,8 +3752,6 @@ static_library("browser") { "download/download_auto_open_policy_handler.cc", "download/download_auto_open_policy_handler.h", "download/download_commands.cc", @@ -9,19 +9,19 @@ "download/download_dir_policy_handler.cc", "download/download_dir_policy_handler.h", "download/download_dir_util.cc", ---- a/chrome/browser/chrome_content_browser_client.cc -+++ b/chrome/browser/chrome_content_browser_client.cc -@@ -5511,10 +5511,6 @@ ChromeContentBrowserClient::CreateThrott - throttles.push_back(std::make_unique( - handle, handle->GetWebContents()->GetBrowserContext())); +--- a/chrome/browser/chrome_content_browser_client_navigation_throttles.cc ++++ b/chrome/browser/chrome_content_browser_client_navigation_throttles.cc +@@ -391,10 +391,6 @@ void CreateAndAddChromeThrottlesForNavig + registry.AddThrottle(std::make_unique( + registry, handle.GetWebContents()->GetBrowserContext())); - // Before setting up SSL error detection, configure SSLErrorHandler to invoke - // the relevant extension API whenever an SSL interstitial is shown. - SSLErrorHandler::SetClientCallbackOnInterstitialsShown( - base::BindRepeating(&MaybeTriggerSecurityInterstitialShownEvent)); - throttles.push_back(std::make_unique( - handle, - base::BindOnce(&HandleSSLErrorWrapper), base::BindOnce(&IsInHostedApp), + registry.AddThrottle(std::make_unique( + registry, base::BindOnce(&HandleSSLErrorWrapper), + base::BindOnce(&IsInHostedApp), --- a/chrome/browser/component_updater/file_type_policies_component_installer.cc +++ b/chrome/browser/component_updater/file_type_policies_component_installer.cc @@ -38,21 +38,6 @@ const uint8_t kFileTypePoliciesPublicKey @@ -180,7 +180,7 @@ class DownloadsShowFunction : public ExtensionFunction { --- a/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc +++ b/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc -@@ -705,18 +705,6 @@ void WebstorePrivateBeginInstallWithMani +@@ -702,18 +702,6 @@ void WebstorePrivateBeginInstallWithMani void WebstorePrivateBeginInstallWithManifest3Function:: ReportFrictionAcceptedEvent() { @@ -253,7 +253,7 @@ # Note: is_android is not equivalent to safe_browsing_mode == 2. # Sources and dependencies added to this block must not depend on anything -@@ -577,6 +579,7 @@ static_library("advanced_protection") { +@@ -579,6 +581,7 @@ static_library("advanced_protection") { } source_set("metrics_collector") { @@ -261,7 +261,7 @@ sources = [ "safe_browsing_metrics_collector_factory.cc", "safe_browsing_metrics_collector_factory.h", -@@ -596,6 +599,7 @@ source_set("metrics_collector") { +@@ -598,6 +601,7 @@ source_set("metrics_collector") { "//components/safe_browsing/core/common:safe_browsing_prefs", "//content/public/browser", ] diff --git a/patches/core/inox-patchset/0003-disable-autofill-download-manager.patch b/patches/core/inox-patchset/0003-disable-autofill-download-manager.patch index a1a92489..a7ca65fe 100644 --- a/patches/core/inox-patchset/0003-disable-autofill-download-manager.patch +++ b/patches/core/inox-patchset/0003-disable-autofill-download-manager.patch @@ -1,6 +1,6 @@ --- a/components/autofill/core/browser/crowdsourcing/autofill_crowdsourcing_manager.cc +++ b/components/autofill/core/browser/crowdsourcing/autofill_crowdsourcing_manager.cc -@@ -891,93 +891,6 @@ std::tuple AutofillCr +@@ -924,93 +924,6 @@ std::tuple AutofillCr } bool AutofillCrowdsourcingManager::StartRequest(FormRequestData request_data) { diff --git a/patches/core/inox-patchset/0015-disable-update-pings.patch b/patches/core/inox-patchset/0015-disable-update-pings.patch index e2cc4ef6..8cbdbb3b 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 -@@ -115,7 +115,7 @@ base::TimeDelta Configurator::UpdateDela +@@ -133,7 +133,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 89b92b31..7b8fa312 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 -@@ -477,14 +477,6 @@ group("gn_all") { +@@ -476,14 +476,6 @@ group("gn_all") { ] } 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 a1c295aa..b43ee567 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 @@ -112,7 +112,7 @@ by default. scoped_refptr task_runner) --- a/chrome/browser/media/webrtc/webrtc_log_uploader.cc +++ b/chrome/browser/media/webrtc/webrtc_log_uploader.cc -@@ -535,7 +535,7 @@ void WebRtcLogUploader::UploadCompressed +@@ -531,7 +531,7 @@ void WebRtcLogUploader::UploadCompressed } })"); @@ -189,7 +189,7 @@ by default. --- a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc +++ b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc -@@ -73,17 +73,17 @@ namespace { +@@ -75,17 +75,17 @@ namespace { // The URL for the the Learn More page shown on incognito new tab. const char kLearnMoreIncognitoUrl[] = #if BUILDFLAG(IS_CHROMEOS) @@ -227,7 +227,7 @@ by default. --- a/chrome/installer/setup/google_chrome_behaviors.cc +++ b/chrome/installer/setup/google_chrome_behaviors.cc -@@ -36,7 +36,7 @@ namespace installer { +@@ -37,7 +37,7 @@ namespace installer { namespace { constexpr std::wstring_view kUninstallSurveyUrl( 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 0928ac3e..b8824662 100644 --- a/patches/core/iridium-browser/safe_browsing-disable-incident-reporting.patch +++ b/patches/core/iridium-browser/safe_browsing-disable-incident-reporting.patch @@ -39,7 +39,7 @@ the URL so we get notified if this happens again in the future). kSafeBrowsingIncidentTrafficAnnotation = --- a/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc +++ b/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc -@@ -304,11 +304,14 @@ IncidentReportingService::UploadContext: +@@ -303,11 +303,14 @@ IncidentReportingService::UploadContext: // static bool IncidentReportingService::IsEnabledForProfile(Profile* profile) { diff --git a/patches/core/ungoogled-chromium/block-requests.patch b/patches/core/ungoogled-chromium/block-requests.patch index f3a081e7..35db9e4c 100644 --- a/patches/core/ungoogled-chromium/block-requests.patch +++ b/patches/core/ungoogled-chromium/block-requests.patch @@ -38,7 +38,7 @@ --- a/components/affiliations/core/browser/hash_affiliation_fetcher.cc +++ b/components/affiliations/core/browser/hash_affiliation_fetcher.cc -@@ -132,6 +132,10 @@ HashAffiliationFetcher::~HashAffiliation +@@ -128,6 +128,10 @@ HashAffiliationFetcher::~HashAffiliation } void HashAffiliationFetcher::StartRequest( @@ -72,14 +72,14 @@ if (state_ == REQUESTING) { --- a/components/themes/ntp_background_service.cc +++ b/components/themes/ntp_background_service.cc -@@ -96,6 +96,7 @@ void NtpBackgroundService::Shutdown() { +@@ -88,6 +88,7 @@ void NtpBackgroundService::Shutdown() { } void NtpBackgroundService::FetchCollectionInfo() { + return; + // If a request is currently in progress, drop the new request. if (collections_loader_ != nullptr) { return; - } --- a/components/update_client/update_checker.cc +++ b/components/update_client/update_checker.cc @@ -104,6 +104,7 @@ void UpdateCheckerImpl::CheckForUpdates( diff --git a/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch b/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch index f0402f56..79f45143 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 -@@ -582,7 +582,8 @@ void AutocompleteInput::ParseForEmphasiz +@@ -578,7 +578,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 -@@ -939,6 +939,7 @@ ChildProcessSecurityPolicyImpl::ChildPro +@@ -938,6 +938,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 -@@ -1094,6 +1094,8 @@ component("net") { +@@ -1101,6 +1101,8 @@ component("net") { "url_request/static_http_user_agent_settings.cc", "url_request/static_http_user_agent_settings.h", "url_request/storage_access_status_cache.h", diff --git a/patches/core/ungoogled-chromium/disable-crash-reporter.patch b/patches/core/ungoogled-chromium/disable-crash-reporter.patch index 1d46ed88..47cc3750 100644 --- a/patches/core/ungoogled-chromium/disable-crash-reporter.patch +++ b/patches/core/ungoogled-chromium/disable-crash-reporter.patch @@ -2,7 +2,7 @@ --- a/chrome/browser/chrome_content_browser_client.cc +++ b/chrome/browser/chrome_content_browser_client.cc -@@ -2752,24 +2752,6 @@ void ChromeContentBrowserClient::AppendE +@@ -2636,24 +2636,6 @@ void ChromeContentBrowserClient::AppendE command_line->AppendSwitchASCII(switches::kMetricsClientID, client_info->client_id); } @@ -26,7 +26,7 @@ - command_line->AppendSwitchASCII(switches::kEnableCrashReporter, switch_value); #endif - if (logging::DialogsAreSuppressed()) + if (logging::DialogsAreSuppressed()) { --- a/components/crash/core/app/crashpad.cc +++ b/components/crash/core/app/crashpad.cc @@ -72,6 +72,12 @@ void InitializeDatabasePath(const base:: @@ -44,7 +44,7 @@ const base::FilePath& exe_path, --- a/components/gwp_asan/client/gwp_asan.cc +++ b/components/gwp_asan/client/gwp_asan.cc -@@ -323,6 +323,11 @@ GWP_ASAN_EXPORT std::optional GetAllocatorSettings( diff --git a/patches/core/ungoogled-chromium/disable-domain-reliability.patch b/patches/core/ungoogled-chromium/disable-domain-reliability.patch index c0369e8e..fb09156c 100644 --- a/patches/core/ungoogled-chromium/disable-domain-reliability.patch +++ b/patches/core/ungoogled-chromium/disable-domain-reliability.patch @@ -705,7 +705,7 @@ --- a/components/domain_reliability/uploader.cc +++ b/components/domain_reliability/uploader.cc -@@ -81,7 +81,7 @@ class DomainReliabilityUploaderImpl : pu +@@ -80,7 +80,7 @@ class DomainReliabilityUploaderImpl : pu if (discard_uploads_) discarded_upload_count_++; diff --git a/patches/core/ungoogled-chromium/disable-gcm.patch b/patches/core/ungoogled-chromium/disable-gcm.patch index a449671f..5ed40356 100644 --- a/patches/core/ungoogled-chromium/disable-gcm.patch +++ b/patches/core/ungoogled-chromium/disable-gcm.patch @@ -2,7 +2,7 @@ --- a/components/gcm_driver/gcm_client_impl.cc +++ b/components/gcm_driver/gcm_client_impl.cc -@@ -432,6 +432,7 @@ void GCMClientImpl::StartGCM() { +@@ -431,6 +431,7 @@ void GCMClientImpl::StartGCM() { void GCMClientImpl::InitializeMCSClient() { DCHECK(network_connection_tracker_); @@ -10,7 +10,7 @@ std::vector endpoints; endpoints.push_back(gservices_settings_.GetMCSMainEndpoint()); GURL fallback_endpoint = gservices_settings_.GetMCSFallbackEndpoint(); -@@ -611,23 +612,6 @@ void GCMClientImpl::RemoveHeartbeatInter +@@ -610,23 +611,6 @@ void GCMClientImpl::RemoveHeartbeatInter void GCMClientImpl::StartCheckin() { DCHECK(io_task_runner_->RunsTasksInCurrentSequence()); @@ -34,7 +34,7 @@ } void GCMClientImpl::OnCheckinCompleted( -@@ -684,24 +668,6 @@ void GCMClientImpl::SetGServicesSettings +@@ -683,24 +667,6 @@ void GCMClientImpl::SetGServicesSettings void GCMClientImpl::SchedulePeriodicCheckin() { DCHECK(io_task_runner_->RunsTasksInCurrentSequence()); diff --git a/patches/core/ungoogled-chromium/disable-google-host-detection.patch b/patches/core/ungoogled-chromium/disable-google-host-detection.patch index fbb84be8..3ba9a2e0 100644 --- a/patches/core/ungoogled-chromium/disable-google-host-detection.patch +++ b/patches/core/ungoogled-chromium/disable-google-host-detection.patch @@ -565,7 +565,7 @@ bool IsProbablyGoogleSearchUrl(const GURL& url) { --- a/components/search_engines/template_url.cc +++ b/components/search_engines/template_url.cc -@@ -615,10 +615,7 @@ std::u16string TemplateURLRef::SearchTer +@@ -621,10 +621,7 @@ std::u16string TemplateURLRef::SearchTer bool TemplateURLRef::HasGoogleBaseURLs( const SearchTermsData& search_terms_data) const { ParseIfNecessary(search_terms_data); @@ -692,7 +692,7 @@ --- a/net/base/url_util.cc +++ b/net/base/url_util.cc -@@ -519,28 +519,6 @@ bool HasGoogleHost(const GURL& url) { +@@ -537,28 +537,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 f7b4b2a1..2102b929 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 -@@ -372,7 +372,6 @@ if (!is_android && !is_mac) { +@@ -369,7 +369,6 @@ if (!is_android && !is_mac) { } data_deps += [ @@ -15,7 +15,7 @@ "//components/webapps/isolated_web_apps/preload:component", "//third_party/widevine/cdm", ] -@@ -1206,7 +1205,6 @@ if (is_win) { +@@ -1204,7 +1203,6 @@ if (is_win) { ":optimization_guide_library", ":swiftshader_binaries", ":widevine_cdm_library", @@ -25,8 +25,8 @@ --- a/chrome/browser/resources/BUILD.gn +++ b/chrome/browser/resources/BUILD.gn -@@ -89,11 +89,6 @@ group("resources") { - public_deps += [ "accessibility:reading_mode_gdocs_extension_resources" ] +@@ -97,11 +97,6 @@ group("resources") { + ] } - if (is_mac) { diff --git a/patches/core/ungoogled-chromium/disable-privacy-sandbox.patch b/patches/core/ungoogled-chromium/disable-privacy-sandbox.patch index 807e7a6f..04425c1a 100644 --- a/patches/core/ungoogled-chromium/disable-privacy-sandbox.patch +++ b/patches/core/ungoogled-chromium/disable-privacy-sandbox.patch @@ -1,6 +1,6 @@ --- a/components/browsing_data/content/browsing_data_model.cc +++ b/components/browsing_data/content/browsing_data_model.cc -@@ -998,12 +998,6 @@ void BrowsingDataModel::PopulateFromDisk +@@ -992,12 +992,6 @@ void BrowsingDataModel::PopulateFromDisk base::FeatureList::IsEnabled(network::features::kSharedStorageAPI); bool is_shared_dictionary_enabled = base::FeatureList::IsEnabled( network::features::kCompressionDictionaryTransportBackend); @@ -13,7 +13,7 @@ base::RepeatingClosure completion = base::BindRepeating([](const base::OnceClosure&) {}, -@@ -1040,27 +1034,7 @@ void BrowsingDataModel::PopulateFromDisk +@@ -1034,27 +1028,7 @@ void BrowsingDataModel::PopulateFromDisk base::BindOnce(&OnSharedDictionaryUsageLoaded, this, completion)); } @@ -52,7 +52,7 @@ } // static -@@ -864,7 +864,7 @@ void PrivacySandboxSettingsImpl::SetTopi +@@ -888,7 +888,7 @@ void PrivacySandboxSettingsImpl::SetTopi } bool PrivacySandboxSettingsImpl::IsPrivacySandboxRestricted() const { @@ -61,7 +61,7 @@ } bool PrivacySandboxSettingsImpl::IsPrivacySandboxCurrentlyUnrestricted() const { -@@ -933,11 +933,7 @@ PrivacySandboxSettingsImpl::GetPrivacySa +@@ -957,11 +957,7 @@ PrivacySandboxSettingsImpl::GetPrivacySa return Status::kIncognitoProfile; } @@ -164,7 +164,7 @@ // static --- a/content/browser/interest_group/ad_auction_service_impl.cc +++ b/content/browser/interest_group/ad_auction_service_impl.cc -@@ -193,11 +193,6 @@ AdAuctionServiceImpl::BiddingAndAuctionD +@@ -192,11 +192,6 @@ AdAuctionServiceImpl::BiddingAndAuctionD void AdAuctionServiceImpl::CreateMojoService( RenderFrameHost* render_frame_host, mojo::PendingReceiver receiver) { @@ -178,7 +178,7 @@ void AdAuctionServiceImpl::JoinInterestGroup( --- a/content/browser/storage_partition_impl.cc +++ b/content/browser/storage_partition_impl.cc -@@ -1466,38 +1466,7 @@ void StoragePartitionImpl::Initialize( +@@ -1469,38 +1469,7 @@ void StoragePartitionImpl::Initialize( bucket_manager_ = std::make_unique(this); @@ -217,7 +217,7 @@ GeneratedCodeCacheSettings settings = GetContentClient()->browser()->GetGeneratedCodeCacheSettings( -@@ -1526,8 +1495,6 @@ void StoragePartitionImpl::Initialize( +@@ -1529,8 +1498,6 @@ void StoragePartitionImpl::Initialize( font_access_manager_ = FontAccessManager::Create(); @@ -226,7 +226,7 @@ #if BUILDFLAG(ENABLE_LIBRARY_CDMS) if (is_in_memory()) { -@@ -1551,11 +1518,6 @@ void StoragePartitionImpl::Initialize( +@@ -1554,11 +1521,6 @@ void StoragePartitionImpl::Initialize( std::make_unique(this); } @@ -240,7 +240,7 @@ void StoragePartitionImpl::OnStorageServiceDisconnected() { --- a/content/browser/web_contents/web_contents_impl.cc +++ b/content/browser/web_contents/web_contents_impl.cc -@@ -3979,12 +3979,6 @@ void WebContentsImpl::Init(const WebCont +@@ -4107,12 +4107,6 @@ void WebContentsImpl::Init(const WebCont DateTimeChooser::CreateDateTimeChooser(this); #endif diff --git a/patches/core/ungoogled-chromium/disable-webrtc-log-uploader.patch b/patches/core/ungoogled-chromium/disable-webrtc-log-uploader.patch index fba3512e..531dfbfa 100644 --- a/patches/core/ungoogled-chromium/disable-webrtc-log-uploader.patch +++ b/patches/core/ungoogled-chromium/disable-webrtc-log-uploader.patch @@ -2,7 +2,7 @@ --- a/chrome/browser/media/webrtc/webrtc_log_uploader.cc +++ b/chrome/browser/media/webrtc/webrtc_log_uploader.cc -@@ -183,31 +183,13 @@ void WebRtcLogUploader::OnLoggingStopped +@@ -179,31 +179,13 @@ void WebRtcLogUploader::OnLoggingStopped DCHECK(meta_data.get()); DCHECK(!upload_done_data.paths.directory.empty()); @@ -35,7 +35,7 @@ } else { main_task_runner_->PostTask( FROM_HERE, -@@ -224,28 +206,7 @@ void WebRtcLogUploader::PrepareMultipart +@@ -220,28 +202,7 @@ void WebRtcLogUploader::PrepareMultipart DCHECK(!compressed_log.empty()); DCHECK(meta_data.get()); @@ -65,7 +65,7 @@ } void WebRtcLogUploader::UploadStoredLog( -@@ -312,48 +273,6 @@ void WebRtcLogUploader::LoggingStoppedDo +@@ -308,48 +269,6 @@ void WebRtcLogUploader::LoggingStoppedDo DCHECK(log_buffer.get()); DCHECK(!log_paths.directory.empty()); @@ -116,7 +116,7 @@ --- a/chrome/browser/ui/browser_ui_prefs.cc +++ b/chrome/browser/ui/browser_ui_prefs.cc -@@ -114,7 +114,7 @@ void RegisterBrowserUserPrefs(user_prefs +@@ -130,7 +130,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/doh-changes.patch b/patches/core/ungoogled-chromium/doh-changes.patch index 2cd7cc77..75d8a2ec 100644 --- a/patches/core/ungoogled-chromium/doh-changes.patch +++ b/patches/core/ungoogled-chromium/doh-changes.patch @@ -55,7 +55,7 @@ base::FEATURE_ENABLED_BY_DEFAULT), --- a/services/network/public/cpp/features.cc +++ b/services/network/public/cpp/features.cc -@@ -124,12 +124,7 @@ BASE_FEATURE(kSplitAuthCacheByNetworkIso +@@ -108,12 +108,7 @@ BASE_FEATURE(kSplitAuthCacheByNetworkIso // Enable usage of hardcoded DoH upgrade mapping for use in automatic mode. BASE_FEATURE(kDnsOverHttpsUpgrade, "DnsOverHttpsUpgrade", diff --git a/patches/core/ungoogled-chromium/extensions-manifestv2.patch b/patches/core/ungoogled-chromium/extensions-manifestv2.patch index fdafccd5..babf7a0f 100644 --- a/patches/core/ungoogled-chromium/extensions-manifestv2.patch +++ b/patches/core/ungoogled-chromium/extensions-manifestv2.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/extensions/api/developer_private/extension_info_generator_desktop.cc +++ b/chrome/browser/extensions/api/developer_private/extension_info_generator_desktop.cc -@@ -61,17 +61,6 @@ void ExtensionInfoGenerator::FillExtensi +@@ -54,17 +54,6 @@ void ExtensionInfoGenerator::FillExtensi info.controlled_info.emplace(); info.controlled_info->text = l10n_util::GetStringUTF8(IDS_EXTENSIONS_INSTALL_LOCATION_ENTERPRISE); @@ -17,7 +17,7 @@ - } } - // Dependent extensions. + // Pinned to toolbar. --- a/chrome/browser/extensions/extension_management.cc +++ b/chrome/browser/extensions/extension_management.cc @@ -322,31 +322,7 @@ bool ExtensionManagement::IsAllowedManif @@ -81,7 +81,7 @@ bool ExtensionManagement::IsAllowedByUnpublishedAvailabilityPolicy( --- a/chrome/browser/extensions/manifest_v2_experiment_manager.cc +++ b/chrome/browser/extensions/manifest_v2_experiment_manager.cc -@@ -146,22 +146,6 @@ bool ManifestV2ExperimentManagerFactory: +@@ -145,22 +145,6 @@ bool ManifestV2ExperimentManagerFactory: // Determines the current stage of the MV2 deprecation experiments. MV2ExperimentStage CalculateCurrentExperimentStage() { @@ -104,7 +104,7 @@ return MV2ExperimentStage::kNone; } -@@ -201,19 +185,7 @@ PrefMap GetGlobalNoticeAcknowledgedPrefF +@@ -200,19 +184,7 @@ PrefMap GetGlobalNoticeAcknowledgedPrefF // Returns true if legacy extensions should be disabled, looking at both // experiment stage and global state. bool ShouldDisableLegacyExtensions(MV2ExperimentStage stage) { @@ -137,7 +137,7 @@ source->AddResourcePath("images/product_logo.png", --- a/extensions/common/extension.cc +++ b/extensions/common/extension.cc -@@ -96,13 +96,6 @@ bool IsManifestSupported(int manifest_ve +@@ -104,13 +104,6 @@ bool IsManifestSupported(int manifest_ve // Supported versions are always safe. if (manifest_version >= kMinimumSupportedManifestVersion && manifest_version <= kMaximumSupportedManifestVersion) { 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 469a2865..a2fd9b40 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 -@@ -373,7 +373,6 @@ if (!is_android && !is_mac) { +@@ -370,7 +370,6 @@ if (!is_android && !is_mac) { data_deps += [ "//chrome/browser/resources/media/mei_preload:component", @@ -11,7 +11,7 @@ "//components/webapps/isolated_web_apps/preload:component", "//third_party/widevine/cdm", ] -@@ -937,8 +936,6 @@ if (is_win) { +@@ -934,8 +933,6 @@ if (is_win) { bundle_data("chrome_framework_resources") { sources = [ @@ -20,7 +20,7 @@ # This image is used to badge the lock icon in the # authentication dialogs, such as those used for installation # from disk image and Keystone promotion (if so enabled). It -@@ -1210,7 +1207,6 @@ if (is_win) { +@@ -1208,7 +1205,6 @@ if (is_win) { ":swiftshader_binaries", ":widevine_cdm_library", "//chrome/browser/resources/media/mei_preload:component_bundle", @@ -30,7 +30,7 @@ --- a/chrome/browser/BUILD.gn +++ b/chrome/browser/BUILD.gn -@@ -763,10 +763,6 @@ static_library("browser") { +@@ -775,10 +775,6 @@ static_library("browser") { "navigation_predictor/navigation_predictor_metrics_document_data.h", "navigation_predictor/navigation_predictor_preconnect_client.cc", "navigation_predictor/navigation_predictor_preconnect_client.h", @@ -41,7 +41,7 @@ "navigation_predictor/search_engine_preconnector_keyed_service_factory.cc", "navigation_predictor/search_engine_preconnector_keyed_service_factory.h", "net/cert_verifier_service_time_updater.cc", -@@ -3562,10 +3558,6 @@ static_library("browser") { +@@ -3618,10 +3614,6 @@ static_library("browser") { } else { #!is_android sources += [ @@ -52,27 +52,27 @@ "accessibility/caption_bubble_context_browser.h", "accessibility/embedded_a11y_extension_loader.cc", "accessibility/embedded_a11y_extension_loader.h", -@@ -4285,8 +4277,6 @@ static_library("browser") { +@@ -4329,8 +4321,6 @@ static_library("browser") { "//chrome/app:command_ids", "//chrome/app/theme:chrome_unscaled_resources_grit", "//chrome/app/vector_icons", - "//chrome/browser/accessibility/tree_fixing:prefs", - "//chrome/browser/accessibility/tree_fixing:service", + "//chrome/browser/actor", "//chrome/browser/apps/app_service", "//chrome/browser/apps/link_capturing", - "//chrome/browser/contextual_cueing", -@@ -4307,10 +4297,6 @@ static_library("browser") { +@@ -4350,10 +4340,6 @@ static_library("browser") { + "//chrome/browser/metrics/desktop_session_duration", "//chrome/browser/new_tab_page/chrome_colors", "//chrome/browser/policy:path_parser", - "//chrome/browser/resources:component_extension_resources", - "//chrome/browser/screen_ai:prefs", - "//chrome/browser/screen_ai:screen_ai_install_state", - "//chrome/browser/screen_ai:screen_ai_service_router_factory", - "//chrome/browser/screen_ai/public:optical_character_recognizer", "//chrome/browser/search/background", + "//chrome/browser/sharing_hub", "//chrome/browser/smart_card", - "//chrome/browser/themes", -@@ -4444,9 +4430,6 @@ static_library("browser") { +@@ -4512,9 +4498,6 @@ static_library("browser") { "//components/webauthn/core/browser", "//components/webauthn/core/browser:passkey_model", "//services/device/public/cpp/hid", @@ -82,7 +82,7 @@ "//third_party/crashpad/crashpad/client:common", "//third_party/zxcvbn-cpp", "//ui/views", -@@ -4546,8 +4529,6 @@ static_library("browser") { +@@ -4630,8 +4613,6 @@ static_library("browser") { sources += [ "accessibility/soda_installer_impl.cc", "accessibility/soda_installer_impl.h", @@ -91,7 +91,7 @@ "device_identity/device_oauth2_token_store_desktop.cc", "device_identity/device_oauth2_token_store_desktop.h", "device_notifications/device_status_icon_renderer.cc", -@@ -4586,8 +4567,6 @@ static_library("browser") { +@@ -4670,8 +4651,6 @@ static_library("browser") { "profiles/profile_activity_metrics_recorder.h", "profiles/profile_list_desktop.cc", "profiles/profile_list_desktop.h", @@ -100,15 +100,15 @@ "signin/force_signin_verifier.cc", "signin/force_signin_verifier.h", "signin/signin_manager.cc", -@@ -5388,7 +5367,6 @@ static_library("browser") { +@@ -5471,7 +5450,6 @@ static_library("browser") { "//chrome/browser/policy:system_features_disable_list", "//chrome/browser/push_notification:push_notification", "//chrome/browser/resources:app_icon_resources", - "//chrome/browser/screen_ai:screen_ai_dlc_installer", + "//chrome/browser/sharesheet", "//chrome/browser/support_tool/ash", "//chrome/browser/ui/ash/accelerator", - "//chrome/browser/ui/ash/accessibility", -@@ -5653,7 +5631,6 @@ static_library("browser") { +@@ -5738,7 +5716,6 @@ static_library("browser") { "//remoting/host/chromeos:browser_interop", "//remoting/host/chromeos:features", "//services/device/public/cpp/geolocation", @@ -116,7 +116,7 @@ "//third_party/nearby:rpc_resources_proto", "//third_party/nearby:wire_format_proto", "//ui/chromeos", -@@ -7895,12 +7872,6 @@ static_library("browser") { +@@ -7993,12 +7970,6 @@ static_library("browser") { } if (enable_pdf) { @@ -145,7 +145,7 @@ } --- a/chrome/browser/browser_process_impl.cc +++ b/chrome/browser/browser_process_impl.cc -@@ -250,12 +250,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" @@ -158,7 +158,7 @@ #include "chrome/browser/usb/usb_status_icon.h" #include "components/enterprise/browser/controller/chrome_browser_cloud_management_controller.h" #endif -@@ -1381,9 +1379,6 @@ void BrowserProcessImpl::PreMainMessageL +@@ -1382,9 +1380,6 @@ void BrowserProcessImpl::PreMainMessageL soda_installer_impl_ = std::make_unique(); #endif // BUILDFLAG(IS_CHROMEOS) @@ -192,7 +192,7 @@ std::unique_ptr platform_part_; --- a/chrome/browser/chrome_browser_interface_binders.cc +++ b/chrome/browser/chrome_browser_interface_binders.cc -@@ -82,8 +82,6 @@ +@@ -81,8 +81,6 @@ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ BUILDFLAG(IS_CHROMEOS) @@ -229,7 +229,7 @@ void BindModelBroker( content::RenderFrameHost* frame_host, -@@ -530,11 +507,6 @@ void PopulateChromeFrameBinders( +@@ -532,11 +509,6 @@ void PopulateChromeFrameBinders( base::BindRepeating(&web_app::SubAppsServiceImpl::CreateIfAllowed)); } @@ -252,7 +252,7 @@ #endif // BUILDFLAG(IS_ANDROID) #if !BUILDFLAG(IS_ANDROID) -@@ -237,9 +235,6 @@ void RegisterComponentsForUpdate() { +@@ -239,9 +237,6 @@ void RegisterComponentsForUpdate() { RegisterAutofillStatesComponent(cus, g_browser_process->local_state()); @@ -367,7 +367,7 @@ void NavigationPredictor::SetModelScoreCallbackForTesting( --- a/chrome/browser/pdf/pdf_extension_util.cc +++ b/chrome/browser/pdf/pdf_extension_util.cc -@@ -100,7 +100,6 @@ void AddPdfViewerStrings(base::Value::Di +@@ -110,7 +110,6 @@ void AddPdfViewerStrings(base::Value::Di {"rotationStateLabel90", IDS_PDF_ROTATION_STATE_LABEL_90}, {"rotationStateLabel180", IDS_PDF_ROTATION_STATE_LABEL_180}, {"rotationStateLabel270", IDS_PDF_ROTATION_STATE_LABEL_270}, @@ -375,33 +375,76 @@ {"thumbnailPageAriaLabel", IDS_PDF_THUMBNAIL_PAGE_ARIA_LABEL}, {"tooltipAttachments", IDS_PDF_TOOLTIP_ATTACHMENTS}, {"tooltipDocumentOutline", IDS_PDF_TOOLTIP_DOCUMENT_OUTLINE}, +--- a/chrome/browser/permissions/BUILD.gn ++++ b/chrome/browser/permissions/BUILD.gn +@@ -42,8 +42,6 @@ source_set("permissions") { + "permissions_aiv1_handler.h", + "prediction_based_permission_ui_selector.cc", + "prediction_based_permission_ui_selector.h", +- "prediction_model_handler_provider.cc", +- "prediction_model_handler_provider.h", + "prediction_service_factory.cc", + "prediction_service_factory.h", + "prediction_service_request.cc", --- a/chrome/browser/permissions/prediction_based_permission_ui_selector.cc +++ b/chrome/browser/permissions/prediction_based_permission_ui_selector.cc -@@ -283,21 +283,6 @@ void PredictionBasedPermissionUiSelector +@@ -250,30 +250,6 @@ void PredictionBasedPermissionUiSelector + if (snapshot.drawsNothing()) { + VLOG(1) << "[PermissionsAIv3] The page's snapshot is empty"; + } else { +- PredictionModelHandlerProvider* prediction_model_handler_provider = +- PredictionModelHandlerProviderFactory::GetForBrowserContext(profile_); +- LogPredictionModelHandlerProviderForAiv3( +- prediction_model_handler_provider != nullptr); +- if (prediction_model_handler_provider) { +- PermissionsAiv3Handler* aiv3_handler = +- prediction_model_handler_provider->GetPermissionsAiv3Handler( +- request_metadata.request_type); +- +- LogPermissionsAiv3HandlerForAiv3(aiv3_handler != nullptr); +- if (aiv3_handler) { +- VLOG(1) << "[PermissionsAIv3] Inquire model"; +- +- aiv3_handler->ExecuteModel( +- base::BindRepeating( +- &PredictionBasedPermissionUiSelector:: +- OnDeviceAiv3ModelExecutionCallback, +- weak_ptr_factory_.GetWeakPtr(), +- /*model_inquire_start_time=*/base::TimeTicks::Now(), +- std::move(features), std::move(request_metadata)), +- std::make_unique(snapshot)); +- return; +- } +- } + VLOG(1) << "[PermissionsAIv3] On device AI model session unavailable"; + } + InquireServerModel(features, std::move(request_metadata), +@@ -404,22 +380,6 @@ void PredictionBasedPermissionUiSelector if (inner_text.size() > kPageContentMaxLength) { inner_text.resize(kPageContentMaxLength); } - if (PredictionModelHandlerProvider* prediction_model_handler_provider = - PredictionModelHandlerProviderFactory::GetForBrowserContext( - profile_)) { -- if (PermissionsAiv1Handler* aiv1_model_handler = +- if (PermissionsAiv1Handler* aiv1_handler = - prediction_model_handler_provider->GetPermissionsAiv1Handler()) { -- VLOG(1) << "[PermissionsAIv1] Inquire model."; -- aiv1_model_handler->InquireAiOnDeviceModel( -- std::move(inner_text), request_type, +- VLOG(1) << "[PermissionsAIv1] Inquire model"; +- aiv1_handler->InquireAiOnDeviceModel( +- std::move(inner_text), request_metadata.request_type, - base::BindRepeating(&PredictionBasedPermissionUiSelector:: -- AiOnDeviceModelExecutionCallback, +- OnDeviceAiv1ModelExecutionCallback, - weak_ptr_factory_.GetWeakPtr(), -- std::move(features), request_type)); +- std::move(features), +- std::move(request_metadata))); - return; - } - } VLOG(1) << "[PermissionsAIv1] On device AI model session unavailable"; } else { - VLOG(1) << "[PermissionsAIv1] The page's contnet too short or empty"; + VLOG(1) << "[PermissionsAIv1] The page's content is too short or empty"; --- a/chrome/browser/prefs/BUILD.gn +++ b/chrome/browser/prefs/BUILD.gn -@@ -274,7 +274,6 @@ source_set("impl") { +@@ -286,7 +286,6 @@ source_set("impl") { } else { deps += [ "//chrome/browser/promos:utils", @@ -411,7 +454,7 @@ "//chrome/browser/search_engines", --- a/chrome/browser/prefs/browser_prefs.cc +++ b/chrome/browser/prefs/browser_prefs.cc -@@ -1807,9 +1807,6 @@ void RegisterLocalState(PrefRegistrySimp +@@ -1842,9 +1842,6 @@ void RegisterLocalState(PrefRegistrySimp DeviceOAuth2TokenStoreDesktop::RegisterPrefs(registry); #endif @@ -423,7 +466,7 @@ PlatformAuthPolicyObserver::RegisterPrefs(registry); --- a/chrome/browser/profiles/BUILD.gn +++ b/chrome/browser/profiles/BUILD.gn -@@ -297,7 +297,6 @@ source_set("profiles_extra_parts_impl") +@@ -305,7 +305,6 @@ source_set("profiles_extra_parts_impl") ] } else { deps += [ @@ -431,7 +474,7 @@ "//chrome/browser/apps/app_service", "//chrome/browser/autofill", "//chrome/browser/contextual_cueing", -@@ -305,7 +304,6 @@ source_set("profiles_extra_parts_impl") +@@ -313,7 +312,6 @@ source_set("profiles_extra_parts_impl") "//chrome/browser/feedback", "//chrome/browser/hid", "//chrome/browser/media/router/discovery/access_code:access_code_sink_service", @@ -441,7 +484,7 @@ "//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 -@@ -104,7 +104,6 @@ +@@ -105,7 +105,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" @@ -449,15 +492,15 @@ #include "chrome/browser/navigation_predictor/search_engine_preconnector.h" #include "chrome/browser/navigation_predictor/search_engine_preconnector_keyed_service_factory.h" #include "chrome/browser/net/dns_probe_service_factory.h" -@@ -326,7 +325,6 @@ - #include "chrome/browser/performance_manager/persistence/site_data/site_data_cache_facade_factory.h" +@@ -332,7 +331,6 @@ + #include "chrome/browser/prefs/persistent_renderer_prefs_manager_factory.h" #include "chrome/browser/privacy_sandbox/privacy_sandbox_survey_desktop_controller_factory.h" #include "chrome/browser/profile_resetter/reset_report_uploader_factory.h" -#include "chrome/browser/screen_ai/screen_ai_service_router_factory.h" #include "chrome/browser/search/background/ntp_background_service_factory.h" #include "chrome/browser/search/background/ntp_custom_background_service_factory.h" #include "chrome/browser/search/instant_service_factory.h" -@@ -1025,7 +1023,6 @@ void ChromeBrowserMainExtraPartsProfiles +@@ -1039,7 +1037,6 @@ void ChromeBrowserMainExtraPartsProfiles #if BUILDFLAG(CHROME_ROOT_STORE_CERT_MANAGEMENT_UI) net::ServerCertificateDatabaseServiceFactory::GetInstance(); #endif @@ -465,7 +508,7 @@ #if BUILDFLAG(IS_CHROMEOS) NearbySharingServiceFactory::GetInstance(); if (base::FeatureList::IsEnabled(ash::features::kNearbyPresence)) { -@@ -1077,9 +1074,6 @@ void ChromeBrowserMainExtraPartsProfiles +@@ -1091,9 +1088,6 @@ void ChromeBrowserMainExtraPartsProfiles OneTimePermissionsTrackerFactory::GetInstance(); #endif OpenerHeuristicServiceFactory::GetInstance(); @@ -475,7 +518,7 @@ OptimizationGuideKeyedServiceFactory::GetInstance(); OriginKeyedPermissionActionServiceFactory::GetInstance(); OriginTrialsFactory::GetInstance(); -@@ -1146,13 +1140,6 @@ void ChromeBrowserMainExtraPartsProfiles +@@ -1168,13 +1162,6 @@ void ChromeBrowserMainExtraPartsProfiles policy::UserPolicySigninServiceFactory::GetInstance(); #endif PolicyBlocklistFactory::GetInstance(); @@ -489,7 +532,7 @@ PredictionServiceFactory::GetInstance(); predictors::AutocompleteActionPredictorFactory::GetInstance(); predictors::LoadingPredictorFactory::GetInstance(); -@@ -1239,13 +1226,6 @@ void ChromeBrowserMainExtraPartsProfiles +@@ -1261,13 +1248,6 @@ void ChromeBrowserMainExtraPartsProfiles #else SafetyHubMenuNotificationServiceFactory::GetInstance(); SafetyHubHatsServiceFactory::GetInstance(); @@ -503,7 +546,7 @@ #endif #if BUILDFLAG(IS_CHROMEOS) if (ash::features::IsScannerEnabled()) { -@@ -1356,7 +1336,6 @@ void ChromeBrowserMainExtraPartsProfiles +@@ -1378,7 +1358,6 @@ void ChromeBrowserMainExtraPartsProfiles TrackingProtectionSettingsFactory::GetInstance(); translate::TranslateRankerFactory::GetInstance(); #if !BUILDFLAG(IS_ANDROID) @@ -527,7 +570,7 @@ // System Profile. --- a/chrome/browser/profiles/profile_impl.cc +++ b/chrome/browser/profiles/profile_impl.cc -@@ -846,24 +846,6 @@ void ProfileImpl::DoFinalInit(CreateMode +@@ -845,24 +845,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); @@ -562,7 +605,7 @@ #include "chrome/browser/prefs/incognito_mode_prefs.h" #include "chrome/browser/profiles/delete_profile_helper.h" #include "chrome/browser/profiles/keep_alive/profile_keep_alive_types.h" -@@ -1506,9 +1505,6 @@ void ProfileManager::DoFinalInitForServi +@@ -1509,9 +1508,6 @@ void ProfileManager::DoFinalInitForServi // Ensure NavigationPredictorKeyedService is started. NavigationPredictorKeyedServiceFactory::GetForProfile(profile); @@ -574,7 +617,7 @@ #if BUILDFLAG(IS_ANDROID) --- a/chrome/browser/resources/BUILD.gn +++ b/chrome/browser/resources/BUILD.gn -@@ -92,7 +92,6 @@ group("resources") { +@@ -100,7 +100,6 @@ group("resources") { if (is_mac) { public_deps += [ "//chrome/browser/resources/media/mei_preload:component", @@ -584,7 +627,7 @@ --- a/chrome/browser/resources/pdf/pdf_viewer.html +++ b/chrome/browser/resources/pdf/pdf_viewer.html -@@ -98,10 +98,6 @@ import {AnnotationMode} from './constant +@@ -100,10 +100,6 @@ import {AnnotationMode} from './constant ` : ''} @@ -597,7 +640,7 @@ ${this.showErrorDialog ? html` --- a/chrome/browser/ui/BUILD.gn +++ b/chrome/browser/ui/BUILD.gn -@@ -1723,8 +1723,6 @@ static_library("ui") { +@@ -1657,8 +1657,6 @@ static_library("ui") { "//chrome/browser/regional_capabilities", "//chrome/browser/safe_browsing", "//chrome/browser/safe_browsing:advanced_protection", @@ -606,7 +649,7 @@ "//chrome/browser/smart_card:smart_card", "//chrome/browser/tab_group_sync:utils", "//chrome/browser/themes", -@@ -2416,7 +2414,6 @@ static_library("ui") { +@@ -2370,7 +2368,6 @@ static_library("ui") { "//chrome/browser/policy:onc", "//chrome/browser/policy:system_features_disable_list", "//chrome/browser/push_notification:push_notification", @@ -750,7 +793,7 @@ #include "chrome/browser/speech/extension_api/tts_engine_extension_api.h" #include "chrome/browser/translate/chrome_translate_client.h" #include "chrome/browser/ui/browser.h" -@@ -364,24 +362,6 @@ ReadAnythingUntrustedPageHandler::ReadAn +@@ -369,24 +367,6 @@ ReadAnythingUntrustedPageHandler::ReadAn prefs_lang = language::ExtractBaseLanguage(prefs_lang); SetDefaultLanguageCode(prefs_lang); @@ -775,7 +818,7 @@ // Enable accessibility for the top level render frame and all descendants. // This causes AXTreeSerializer to reset and send accessibility events of -@@ -829,12 +809,6 @@ void ReadAnythingUntrustedPageHandler::S +@@ -856,12 +836,6 @@ void ReadAnythingUntrustedPageHandler::S weak_factory_.GetSafeRef(), inner_contents[0], kReadAnythingAXMode); } } @@ -790,7 +833,7 @@ --- a/chrome/renderer/BUILD.gn +++ b/chrome/renderer/BUILD.gn -@@ -371,18 +371,6 @@ static_library("renderer") { +@@ -373,18 +373,6 @@ static_library("renderer") { ] } else { sources += [ @@ -809,7 +852,7 @@ "media/chrome_speech_recognition_client.cc", "media/chrome_speech_recognition_client.h", "searchbox/searchbox.cc", -@@ -396,7 +384,6 @@ static_library("renderer") { +@@ -399,7 +387,6 @@ static_library("renderer") { "//components/crx_file", "//components/trusted_vault", "//services/screen_ai/buildflags", @@ -824,10 +867,10 @@ #if !BUILDFLAG(IS_ANDROID) -#include "chrome/renderer/accessibility/read_anything/read_anything_app_controller.h" + #include "chrome/renderer/actor/tool_executor.h" #include "chrome/renderer/searchbox/searchbox_extension.h" #endif // !BUILDFLAG(IS_ANDROID) - -@@ -321,21 +320,6 @@ void ChromeRenderFrameObserver::DidCommi +@@ -318,21 +317,6 @@ void ChromeRenderFrameObserver::DidCommi } void ChromeRenderFrameObserver::DidClearWindowObject() { @@ -851,7 +894,7 @@ void ChromeRenderFrameObserver::DidMeaningfulLayout( --- a/chrome/test/BUILD.gn +++ b/chrome/test/BUILD.gn -@@ -2250,9 +2250,6 @@ if (!is_android) { +@@ -2275,9 +2275,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", @@ -861,7 +904,7 @@ "//chrome/browser/search", "//chrome/browser/search_engines", "//chrome/browser/segmentation_platform:test_utils", -@@ -2664,9 +2661,6 @@ if (!is_android) { +@@ -2699,9 +2696,6 @@ if (!is_android) { "//services/network/public/proto:sct_audit_report_proto", "//services/preferences/public/cpp", "//services/preferences/public/cpp/tracked", @@ -871,30 +914,30 @@ "//services/service_manager/public/cpp", "//services/strings", "//services/test/echo/public/mojom", -@@ -8211,7 +8205,6 @@ test("unit_tests") { - - # Non-android deps for "unit_tests" target. +@@ -8265,7 +8259,6 @@ test("unit_tests") { + # + # TODO(crbug.com/417513088): Maybe merge with the non-android `deps` declaration above? deps += [ - "../browser/screen_ai:screen_ai_install_state", "//chrome:packed_resources_integrity_header", "//chrome/browser/apps:icon_standardizer", "//chrome/browser/apps/app_service", -@@ -8246,7 +8239,6 @@ test("unit_tests") { +@@ -8299,7 +8292,6 @@ test("unit_tests") { + "//chrome/browser/profile_resetter:fake_profile_resetter", "//chrome/browser/resource_coordinator:tab_manager_features", - "//chrome/browser/resources:component_extension_resources_grit", "//chrome/browser/resources/new_tab_page_instant:resources_grit", - "//chrome/browser/screen_ai:unit_tests", "//chrome/browser/search/background", "//chrome/browser/search/background:constants", "//chrome/browser/search_engine_choice:unit_tests", -@@ -8358,7 +8350,6 @@ test("unit_tests") { +@@ -8413,7 +8405,6 @@ test("unit_tests") { "//components/webapps/browser", "//services/metrics/public/cpp:ukm_builders", "//services/network:test_support", - "//services/screen_ai:test_support", - "//services/video_effects/test:test_support", "//third_party/crashpad/crashpad/util", "//third_party/libaddressinput", + "//third_party/lzma_sdk/google:unit_tests", --- a/chrome/test/chromedriver/BUILD.gn +++ b/chrome/test/chromedriver/BUILD.gn @@ -408,7 +408,7 @@ source_set("lib") { @@ -918,9 +961,9 @@ python_library("fixtures") { --- a/chrome/utility/BUILD.gn +++ b/chrome/utility/BUILD.gn -@@ -144,7 +144,6 @@ static_library("utility") { - "//chrome/common/importer:interfaces", +@@ -145,7 +145,6 @@ static_library("utility") { "//components/autofill/core/common", + "//components/user_data_importer/common", "//services/proxy_resolver:lib", - "//services/screen_ai", ] @@ -960,7 +1003,7 @@ #if BUILDFLAG(ENABLE_BROWSER_SPEECH_SERVICE) --- a/components/BUILD.gn +++ b/components/BUILD.gn -@@ -597,7 +597,6 @@ test("components_unittests") { +@@ -600,7 +600,6 @@ test("components_unittests") { "//components/media_router/common/providers/cast/channel:unit_tests", "//components/page_info:unit_tests", "//components/permissions:unit_tests", @@ -1023,24 +1066,20 @@ return wrapper_node; --- a/components/pdf/renderer/pdf_view_web_plugin_client.cc +++ b/components/pdf/renderer/pdf_view_web_plugin_client.cc -@@ -203,34 +203,6 @@ PdfViewWebPluginClient::CreateAssociated +@@ -203,44 +203,6 @@ PdfViewWebPluginClient::CreateAssociated return GetFrame()->CreateAssociatedURLLoader(options); } +-void PdfViewWebPluginClient::GetOcrMaxImageDimension( +- base::OnceCallback callback) { +- ConnectOcrIfNeeded(); +- return screen_ai_annotator_->GetMaxImageDimension(std::move(callback)); +-} +- -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())); -- } +- ConnectOcrIfNeeded(); - screen_ai_annotator_->PerformOcrAndReturnAnnotation(image, - std::move(callback)); -} @@ -1054,6 +1093,20 @@ - screen_ai_annotator_.reset(); - CHECK(ocr_disconnect_callback_); - ocr_disconnect_callback_.Run(); +-} +- +-void PdfViewWebPluginClient::ConnectOcrIfNeeded() { +- 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())); +- } -} void PdfViewWebPluginClient::UpdateTextInputState() { @@ -1068,10 +1121,12 @@ namespace blink { class WebLocalFrame; -@@ -87,16 +86,10 @@ class PdfViewWebPluginClient : public ch +@@ -87,19 +86,10 @@ class PdfViewWebPluginClient : public ch chrome_pdf::PdfAccessibilityImageFetcher* image_fetcher, blink::WebPluginContainer* plugin_element, bool print_preview) override; +- void GetOcrMaxImageDimension( +- base::OnceCallback callback) override; - void PerformOcr( - const SkBitmap& image, - base::OnceCallback callback) @@ -1082,10 +1137,11 @@ blink::WebLocalFrame* GetFrame() const; - void OnOcrDisconnected(); +- void ConnectOcrIfNeeded(); const raw_ptr render_frame_; -@@ -105,8 +98,6 @@ class PdfViewWebPluginClient : public ch +@@ -108,8 +98,6 @@ class PdfViewWebPluginClient : public ch raw_ptr plugin_container_; @@ -1107,7 +1163,7 @@ fuzzer_test("update_client_protocol_serializer_fuzzer") { --- a/content/shell/BUILD.gn +++ b/content/shell/BUILD.gn -@@ -830,10 +830,6 @@ if (is_apple) { +@@ -825,10 +825,6 @@ if (is_apple) { deps = [ "//third_party/icu:icudata" ] } @@ -1130,19 +1186,22 @@ page_objects.links = page->GetLinkInfo(text_runs); --- a/pdf/pdf_view_web_plugin.cc +++ b/pdf/pdf_view_web_plugin.cc -@@ -1348,11 +1348,6 @@ void PdfViewWebPlugin::DocumentLoadCompl +@@ -1378,14 +1378,6 @@ void PdfViewWebPlugin::DocumentLoadCompl if (accessibility_state_ == AccessibilityState::kPending) LoadAccessibility(); - // To avoid delaying page load for searchify, start searchify after document - // load is completed. +- // Maximum image dimension is asked once and stored for the next usages, so +- // `BindOnce` is sufficient. - client_->SetOcrDisconnectedCallback(engine_->GetOcrDisconnectHandler()); - engine_->StartSearchify( +- base::BindOnce(&Client::GetOcrMaxImageDimension, client_->GetWeakPtr()), - base::BindRepeating(&Client::PerformOcr, client_->GetWeakPtr())); if (!full_frame_) return; -@@ -2446,7 +2441,7 @@ void PdfViewWebPlugin::EnableAccessibili +@@ -2482,7 +2474,7 @@ void PdfViewWebPlugin::EnableAccessibili SkBitmap PdfViewWebPlugin::GetImageForOcr(int32_t page_index, int32_t page_object_index) { @@ -1151,7 +1210,7 @@ } void PdfViewWebPlugin::HandleAccessibilityAction( -@@ -2973,19 +2968,6 @@ void PdfViewWebPlugin::PrepareAndSetAcce +@@ -3001,19 +2993,6 @@ void PdfViewWebPlugin::PrepareAndSetAcce return; } @@ -1173,25 +1232,26 @@ --- a/pdf/pdfium/pdfium_engine.cc +++ b/pdf/pdfium/pdfium_engine.cc -@@ -2697,7 +2697,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); +@@ -2674,8 +2674,7 @@ SkBitmap PDFiumEngine::GetImageForOcr(in + // This function is not used after launch of PDF Searchify. Default OCR + // expected resolution is used to avoid unnecessary update of the call chain. + // TODO(crbug.com/360803943): Remove this function and call chain. +- return pages_[page_index]->GetImageForOcr(image_index, +- /*max_image_dimension=*/2048); + return SkBitmap(); } bool PDFiumEngine::GetPrintScaling() { --- a/services/passage_embeddings/passage_embeddings_service.cc +++ b/services/passage_embeddings/passage_embeddings_service.cc -@@ -22,7 +22,6 @@ PassageEmbeddingsService::PassageEmbeddi - PassageEmbeddingsService::~PassageEmbeddingsService() = default; +@@ -23,7 +23,6 @@ PassageEmbeddingsService::~PassageEmbedd + #if BUILDFLAG(BUILD_WITH_TFLITE_LIB) void PassageEmbeddingsService::OnEmbedderDisconnect() { - embedder_.reset(); } + #endif - void PassageEmbeddingsService::LoadModels( --- a/services/passage_embeddings/passage_embeddings_service.h +++ b/services/passage_embeddings/passage_embeddings_service.h @@ -11,7 +11,6 @@ diff --git a/patches/core/ungoogled-chromium/fix-building-without-safebrowsing.patch b/patches/core/ungoogled-chromium/fix-building-without-safebrowsing.patch index 499f7cdd..36450a76 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 -@@ -606,8 +606,6 @@ static_library("browser") { +@@ -613,8 +613,6 @@ static_library("browser") { "infobars/simple_alert_infobar_creator.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", -@@ -2315,7 +2313,6 @@ static_library("browser") { +@@ -2346,7 +2344,6 @@ static_library("browser") { "//components/resources", "//components/safe_browsing/content/browser", "//components/safe_browsing/content/browser:safe_browsing_service", @@ -19,7 +19,7 @@ "//components/safe_browsing/content/browser/password_protection", "//components/safe_browsing/content/browser/web_ui", "//components/safe_browsing/content/common/proto:download_file_types_proto", -@@ -3905,10 +3902,6 @@ static_library("browser") { +@@ -3956,10 +3953,6 @@ static_library("browser") { "new_tab_page/modules/modules_switches.h", "new_tab_page/modules/new_tab_page_modules.cc", "new_tab_page/modules/new_tab_page_modules.h", @@ -30,7 +30,7 @@ "new_tab_page/modules/v2/authentication/microsoft_auth_page_handler.cc", "new_tab_page/modules/v2/authentication/microsoft_auth_page_handler.h", "new_tab_page/modules/v2/calendar/calendar_fake_data_helper.cc", -@@ -8517,7 +8510,6 @@ static_library("browser_generated_files" +@@ -8621,7 +8614,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", @@ -38,7 +38,7 @@ "//chrome/browser/new_tab_page/modules/v2/authentication:mojo_bindings", "//chrome/browser/new_tab_page/modules/v2/calendar:mojo_bindings", "//chrome/browser/new_tab_page/modules/v2/most_relevant_tab_resumption:mojo_bindings", -@@ -9007,8 +8999,6 @@ static_library("test_support") { +@@ -9116,8 +9108,6 @@ static_library("test_support") { "//components/reporting/util:status", "//components/reporting/util:status_macros", "//components/reporting/util:task_runner_context", @@ -82,7 +82,7 @@ using ConnectionType = net::NetworkChangeNotifier::ConnectionType; #if BUILDFLAG(SAFE_BROWSING_DOWNLOAD_PROTECTION) -@@ -1840,7 +1839,6 @@ void ChromeDownloadManagerDelegate::OnDo +@@ -1873,7 +1872,6 @@ void ChromeDownloadManagerDelegate::OnDo DownloadItemModel model(item); model.DetermineAndSetShouldPreferOpeningInBrowser( target_info.target_path, target_info.is_filetype_handled_safely); @@ -90,7 +90,7 @@ } if (ShouldBlockFile(item, target_info.danger_type)) { MaybeReportDangerousDownloadBlocked( -@@ -1921,49 +1919,20 @@ bool ChromeDownloadManagerDelegate::IsOp +@@ -1954,49 +1952,20 @@ bool ChromeDownloadManagerDelegate::IsOp bool ChromeDownloadManagerDelegate::ShouldBlockFile( download::DownloadItem* item, download::DownloadDangerType danger_type) const { @@ -301,8 +301,8 @@ -#include "chrome/browser/safe_browsing/cloud_content_scanning/file_analysis_request.h" -#include "chrome/browser/safe_browsing/download_protection/check_client_download_request.h" #include "chrome/browser/safe_browsing/safe_browsing_navigation_observer_manager_factory.h" + #include "chrome/browser/signin/identity_manager_factory.h" #include "chrome/grit/generated_resources.h" - #include "components/enterprise/buildflags/buildflags.h" --- a/chrome/browser/enterprise/connectors/analysis/content_analysis_downloads_delegate.cc +++ b/chrome/browser/enterprise/connectors/analysis/content_analysis_downloads_delegate.cc @@ -126,7 +126,7 @@ ContentAnalysisDownloadsDelegate::GetCus @@ -695,7 +695,7 @@ #if BUILDFLAG(ENTERPRISE_CLOUD_CONTENT_ANALYSIS) --- a/chrome/browser/extensions/BUILD.gn +++ b/chrome/browser/extensions/BUILD.gn -@@ -330,8 +330,6 @@ source_set("extensions") { +@@ -348,8 +348,6 @@ source_set("extensions") { "management/management_util.h", "manifest_check_level.h", "mv2_experiment_stage.h", @@ -703,7 +703,7 @@ - "omaha_attributes_handler.h", "pack_extension_job.cc", "pack_extension_job.h", - "permissions/permissions_updater.cc", + "permissions/active_tab_permission_granter.cc", --- 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 @@ -99,16 +99,8 @@ api::enterprise_reporting_private::Conte @@ -749,15 +749,15 @@ void Blocklist::GetMalwareIDs(const std::set& ids, --- a/chrome/browser/extensions/chrome_extension_system.cc +++ b/chrome/browser/extensions/chrome_extension_system.cc -@@ -465,8 +465,6 @@ void ChromeExtensionSystem::PerformActio +@@ -463,8 +463,6 @@ void ChromeExtensionSystem::InstallUpdat + void ChromeExtensionSystem::PerformActionBasedOnOmahaAttributes( + const std::string& extension_id, const base::Value::Dict& attributes) { - #if BUILDFLAG(ENABLE_EXTENSIONS) - // TODO(crbug.com/413460628): Port ExtensionService to desktop Android. - extension_service()->PerformActionBasedOnOmahaAttributes(extension_id, - attributes); - #else - NOTIMPLEMENTED(); - #endif + } + + } // namespace extensions --- a/chrome/browser/extensions/extension_allowlist_factory.cc +++ b/chrome/browser/extensions/extension_allowlist_factory.cc @@ -45,7 +45,6 @@ ExtensionAllowlistFactory::ExtensionAllo @@ -828,9 +828,9 @@ #include "chrome/browser/extensions/safe_browsing_verdict_handler.h" #include "chrome/browser/profiles/profile_manager_observer.h" #include "chrome/browser/upgrade_detector/upgrade_observer.h" -@@ -170,10 +169,6 @@ class ExtensionService : public Extensio - // nothing. - void EnableExtension(const std::string& extension_id); +@@ -166,10 +165,6 @@ class ExtensionService : public Extensio + // KeyedService two-phase shutdown. + void Shutdown(); - // Performs action based on Omaha attributes for the extension. - void PerformActionBasedOnOmahaAttributes(const std::string& extension_id, @@ -839,7 +839,7 @@ // Performs action based on verdicts received from the Extension Telemetry // server. Currently, these verdicts are limited to off-store extensions. void PerformActionBasedOnExtensionTelemetryServiceVerdicts( -@@ -386,8 +381,6 @@ class ExtensionService : public Extensio +@@ -374,8 +369,6 @@ class ExtensionService : public Extensio ExtensionTelemetryServiceVerdictHandler extension_telemetry_service_verdict_handler_; @@ -901,7 +901,7 @@ } --- a/chrome/browser/notifications/persistent_notification_handler.cc +++ b/chrome/browser/notifications/persistent_notification_handler.cc -@@ -235,16 +235,6 @@ void PersistentNotificationHandler::Disa +@@ -307,16 +307,6 @@ void PersistentNotificationHandler::Disa NotificationPermissionContext::UpdatePermission(profile, origin, CONTENT_SETTING_BLOCK); #endif @@ -918,7 +918,7 @@ } void PersistentNotificationHandler::OpenSettings(Profile* profile, -@@ -282,42 +272,6 @@ void PersistentNotificationHandler::OnMa +@@ -355,42 +345,6 @@ void PersistentNotificationHandler::OnMa Profile* profile, bool did_show_warning, bool did_user_unsubscribe) { @@ -963,31 +963,45 @@ #if BUILDFLAG(ENABLE_BACKGROUND_MODE) --- a/chrome/browser/notifications/platform_notification_service_impl.cc +++ b/chrome/browser/notifications/platform_notification_service_impl.cc -@@ -773,24 +773,6 @@ void PlatformNotificationServiceImpl::Up +@@ -775,38 +775,8 @@ void PlatformNotificationServiceImpl::Up std::unique_ptr persistent_metadata, bool should_show_warning, std::optional serialized_content_detection_metadata) { - if (base::FeatureList::IsEnabled( -- safe_browsing::kReportNotificationContentDetectionData) && -- serialized_content_detection_metadata.has_value()) { -- scoped_refptr notification_context = -- profile_->GetStoragePartitionForUrl(notification.origin_url()) -- ->GetPlatformNotificationContext(); -- if (notification_context) { -- notification_context->WriteNotificationMetadata( -- notification.id(), notification.origin_url(), -- safe_browsing::kMetadataDictionaryKey, -- serialized_content_detection_metadata.value(), -- base::BindOnce( -- &PlatformNotificationServiceImpl::DidUpdatePersistentMetadata, -- weak_ptr_factory_.GetWeakPtr(), std::move(persistent_metadata), -- notification, should_show_warning)); -- return; +- safe_browsing::kReportNotificationContentDetectionData)) { +- content::PlatformNotificationContext::WriteResourcesResultCallback +- callback = base::BindOnce( +- &PlatformNotificationServiceImpl::DidUpdatePersistentMetadata, +- weak_ptr_factory_.GetWeakPtr(), std::move(persistent_metadata), +- notification, should_show_warning); +-#if BUILDFLAG(IS_ANDROID) +- if (should_show_warning) { +- // Keep track of suspicious notification ids. +- safe_browsing::UpdateSuspiciousNotificationIds( +- HostContentSettingsMapFactory::GetForProfile(profile_), +- notification.origin_url(), notification.id()); - } +-#endif +- if (serialized_content_detection_metadata.has_value()) { +- scoped_refptr notification_context = +- profile_->GetStoragePartitionForUrl(notification.origin_url()) +- ->GetPlatformNotificationContext(); +- if (notification_context) { +- notification_context->WriteNotificationMetadata( +- notification.id(), notification.origin_url(), +- safe_browsing::kMetadataDictionaryKey, +- serialized_content_detection_metadata.value(), std::move(callback)); +- return; +- } +- } +- std::move(callback).Run(/*success=*/false); +- } else { + DoUpdatePersistentMetadataThenDisplay(std::move(persistent_metadata), + notification, should_show_warning); - } - DoUpdatePersistentMetadataThenDisplay(std::move(persistent_metadata), - notification, should_show_warning); } + + void PlatformNotificationServiceImpl::LogPersistentNotificationShownMetrics( --- a/chrome/browser/permissions/contextual_notification_permission_ui_selector.cc +++ b/chrome/browser/permissions/contextual_notification_permission_ui_selector.cc @@ -16,7 +16,6 @@ @@ -1075,7 +1089,7 @@ --- a/chrome/browser/permissions/prediction_based_permission_ui_selector.cc +++ b/chrome/browser/permissions/prediction_based_permission_ui_selector.cc -@@ -463,55 +463,5 @@ bool PredictionBasedPermissionUiSelector +@@ -597,68 +597,6 @@ bool PredictionBasedPermissionUiSelector PredictionSource PredictionBasedPermissionUiSelector::GetPredictionTypeToUse( permissions::RequestType request_type) { @@ -1090,12 +1104,12 @@ - - if (request_type == permissions::RequestType::kNotifications && - !is_notification_cpss_enabled) { -- return PredictionSource::USE_NONE; +- return PredictionSource::kNoCpssModel; - } - - if (request_type == permissions::RequestType::kGeolocation && - !is_geolocation_cpss_enabled) { -- return PredictionSource::USE_NONE; +- return PredictionSource::kNoCpssModel; - } - - bool use_server_side = false; @@ -1109,10 +1123,22 @@ -#endif // BUILDFLAG(IS_ANDROID) - } - if (use_server_side) { -- if (base::FeatureList::IsEnabled(permissions::features::kPermissionsAIv1)) { -- return PredictionSource::USE_ONDEVICE_AI_AND_SERVER_SIDE; +- // Aiv3 takes priority over Aiv1 if both are enabled. +-#if BUILDFLAG(BUILD_WITH_TFLITE_LIB) +- if (request_type == permissions::RequestType::kNotifications && +- base::FeatureList::IsEnabled(permissions::features::kPermissionsAIv3)) { +- return PredictionSource::kOnDeviceAiv3AndServerSideModel; - } -- return PredictionSource::USE_SERVER_SIDE; +- if (request_type == permissions::RequestType::kGeolocation && +- base::FeatureList::IsEnabled( +- permissions::features::kPermissionsAIv3Geolocation)) { +- return PredictionSource::kOnDeviceAiv3AndServerSideModel; +- } +-#endif // BUILDFLAG(BUILD_WITH_TFLITE_LIB) +- if (base::FeatureList::IsEnabled(permissions::features::kPermissionsAIv1)) { +- return PredictionSource::kOnDeviceAiv1AndServerSideModel; +- } +- return PredictionSource::kServerSideCpssV3Model; - } - -#if BUILDFLAG(BUILD_WITH_TFLITE_LIB) @@ -1125,15 +1151,16 @@ - permissions::features::kPermissionOnDeviceGeolocationPredictions); - } - if (use_ondevice_tflite) { -- return PredictionSource::USE_ONDEVICE_TFLITE; +- return PredictionSource::kOnDeviceCpssV1Model; - } -#endif // BUILDFLAG(BUILD_WITH_TFLITE_LIB) - - return PredictionSource::USE_NONE; + return PredictionSource::kNoCpssModel; } + --- a/chrome/browser/policy/configuration_policy_handler_list_factory.cc +++ b/chrome/browser/policy/configuration_policy_handler_list_factory.cc -@@ -2506,8 +2506,6 @@ std::unique_ptrAddHandler( std::make_unique( chrome_schema)); @@ -1144,7 +1171,7 @@ std::make_unique(key::kURLBlocklist)); --- a/chrome/browser/prefs/browser_prefs.cc +++ b/chrome/browser/prefs/browser_prefs.cc -@@ -283,7 +283,6 @@ +@@ -284,7 +284,6 @@ #include "chrome/browser/nearby_sharing/common/nearby_share_prefs.h" #include "chrome/browser/new_tab_page/modules/file_suggestion/drive_service.h" #include "chrome/browser/new_tab_page/modules/file_suggestion/microsoft_files_page_handler.h" @@ -1152,7 +1179,7 @@ #include "chrome/browser/new_tab_page/modules/v2/authentication/microsoft_auth_page_handler.h" #include "chrome/browser/new_tab_page/modules/v2/calendar/google_calendar_page_handler.h" #include "chrome/browser/new_tab_page/modules/v2/calendar/outlook_calendar_page_handler.h" -@@ -2054,7 +2053,6 @@ void RegisterProfilePrefs(user_prefs::Pr +@@ -2089,7 +2088,6 @@ void RegisterProfilePrefs(user_prefs::Pr NewTabFooterUI::RegisterProfilePrefs(registry); NewTabPageHandler::RegisterProfilePrefs(registry); NewTabPageUI::RegisterProfilePrefs(registry); @@ -1162,7 +1189,7 @@ promos_utils::RegisterProfilePrefs(registry); --- a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc +++ b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc -@@ -854,9 +854,7 @@ void ChromeBrowserMainExtraPartsProfiles +@@ -867,9 +867,7 @@ void ChromeBrowserMainExtraPartsProfiles enterprise_connectors::TelomereEventRouterFactory::GetInstance(); } #endif @@ -1174,7 +1201,7 @@ enterprise_connectors::DeviceTrustConnectorServiceFactory::GetInstance(); --- a/chrome/browser/safe_browsing/BUILD.gn +++ b/chrome/browser/safe_browsing/BUILD.gn -@@ -93,13 +93,6 @@ static_library("safe_browsing") { +@@ -94,13 +94,6 @@ static_library("safe_browsing") { allow_circular_includes_from += [ "//chrome/browser/ash/file_manager" ] } @@ -1339,7 +1366,7 @@ // certificate. So, when users click proceed on an interstitial, move the tab --- a/chrome/browser/ui/BUILD.gn +++ b/chrome/browser/ui/BUILD.gn -@@ -4586,8 +4586,6 @@ static_library("ui") { +@@ -4535,8 +4535,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", @@ -1358,7 +1385,7 @@ #include "content/public/browser/browser_context.h" #include "content/public/browser/browser_thread.h" #include "revoked_permissions_service.h" -@@ -386,34 +385,6 @@ RevokedPermissionsService::RevokedPermis +@@ -409,34 +408,6 @@ RevokedPermissionsService::RevokedPermis base::Unretained(this))); #endif // BUILDFLAG(IS_ANDROID) @@ -1383,7 +1410,7 @@ - } - - if (base::FeatureList::IsEnabled( -- safe_browsing::kSafetyHubDisruptiveNotificationRevocation)) { +- features::kSafetyHubDisruptiveNotificationRevocation)) { - disruptive_notification_manager_ = - std::make_unique( - hcsm(), @@ -1393,7 +1420,7 @@ bool migration_completed = pref_change_registrar_->prefs()->GetBoolean( safety_hub_prefs::kUnusedSitePermissionsRevocationMigrationCompleted); -@@ -1154,9 +1125,7 @@ bool RevokedPermissionsService::IsUnused +@@ -1204,9 +1175,7 @@ bool RevokedPermissionsService::IsUnused } bool RevokedPermissionsService::IsAbusiveNotificationAutoRevocationEnabled() { @@ -1416,7 +1443,7 @@ --- a/chrome/browser/ui/toasts/toast_service.cc +++ b/chrome/browser/ui/toasts/toast_service.cc -@@ -33,7 +33,6 @@ +@@ -34,7 +34,6 @@ #include "components/plus_addresses/features.h" #include "components/plus_addresses/grit/plus_addresses_strings.h" #include "components/safe_browsing/core/common/features.h" @@ -1424,7 +1451,7 @@ #include "components/strings/grit/components_strings.h" #include "components/tabs/public/tab_interface.h" #include "components/vector_icons/vector_icons.h" -@@ -140,57 +139,6 @@ void ToastService::RegisterToasts( +@@ -146,57 +145,6 @@ void ToastService::RegisterToasts( .Build()); } @@ -1621,7 +1648,7 @@ #include "components/safe_browsing/core/browser/db/database_manager.h" #include "content/public/browser/web_contents.h" #include "mojo/public/cpp/bindings/self_owned_receiver.h" -@@ -208,11 +210,13 @@ void ShareServiceImpl::Share(const std:: +@@ -210,11 +212,13 @@ void ShareServiceImpl::Share(const std:: // Check if at least one file is marked by the download protection service // to send a ping to check this file type. @@ -1635,7 +1662,7 @@ // In the case where the original blob handle was to a native file (of // unknown size), the serialized data does not contain an accurate file -@@ -222,6 +226,7 @@ void ShareServiceImpl::Share(const std:: +@@ -224,6 +228,7 @@ void ShareServiceImpl::Share(const std:: } DCHECK(!safe_browsing_request_); @@ -1643,7 +1670,7 @@ if (should_check_url && g_browser_process->safe_browsing_service()) { safe_browsing_request_.emplace( g_browser_process->safe_browsing_service()->database_manager(), -@@ -231,6 +236,7 @@ void ShareServiceImpl::Share(const std:: +@@ -233,6 +238,7 @@ void ShareServiceImpl::Share(const std:: std::move(files), std::move(callback))); return; } @@ -1663,7 +1690,7 @@ kChromeUITabSearchHost, --- a/chrome/test/BUILD.gn +++ b/chrome/test/BUILD.gn -@@ -2523,7 +2523,6 @@ if (!is_android) { +@@ -2558,7 +2558,6 @@ if (!is_android) { "//components/resources", "//components/safe_browsing:buildflags", "//components/safe_browsing/content/browser", @@ -1671,7 +1698,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", -@@ -6871,7 +6870,6 @@ test("unit_tests") { +@@ -6921,7 +6920,6 @@ test("unit_tests") { "//components/resources", "//components/safe_browsing:buildflags", "//components/safe_browsing/content/browser", @@ -1752,7 +1779,7 @@ - safe_browsing::SafeBrowsingState safe_browsing_protection_level; bool site_isolation_enabled; - // Enterprise cloud content analysis exclusive + // Enterprise cloud content analysis exclusives --- a/components/enterprise/browser/reporting/chrome_profile_request_generator.cc +++ b/components/enterprise/browser/reporting/chrome_profile_request_generator.cc @@ -229,16 +229,10 @@ void ChromeProfileRequestGenerator::OnAg @@ -1771,7 +1798,7 @@ - profile_signals.safe_browsing_protection_level)); profile_signals_report->set_site_isolation_enabled( profile_signals.site_isolation_enabled); - profile_report->set_allocated_profile_signals_report( + --- a/components/enterprise/browser/reporting/report_util.cc +++ b/components/enterprise/browser/reporting/report_util.cc @@ -80,25 +80,6 @@ em::SettingValue TranslateSettingValue( @@ -1876,7 +1903,7 @@ const base::Value::List* enabled_opt_in_events_value = --- a/components/password_manager/core/browser/leak_detection/leak_detection_check_impl.cc +++ b/components/password_manager/core/browser/leak_detection/leak_detection_check_impl.cc -@@ -336,12 +336,7 @@ bool LeakDetectionCheck::IsURLBlockedByP +@@ -314,12 +314,7 @@ bool LeakDetectionCheck::IsURLBlockedByP const PrefService& prefs, const GURL& form_url, autofill::SavePasswordProgressLogger* logger) { @@ -2033,7 +2060,7 @@ void RealTimeUrlLookupService::MaybeFillReferringWebApk( --- a/components/safe_browsing/core/browser/realtime/url_lookup_service_base.cc +++ b/components/safe_browsing/core/browser/realtime/url_lookup_service_base.cc -@@ -595,17 +595,6 @@ void RealTimeUrlLookupServiceBase::Start +@@ -593,17 +593,6 @@ void RealTimeUrlLookupServiceBase::Start request->set_report_type(is_sampled_report ? RTLookupRequest::SAMPLED_REPORT : RTLookupRequest::FULL_REPORT); request->set_frame_type(RTLookupRequest::MAIN_FRAME); diff --git a/patches/core/ungoogled-chromium/remove-unused-preferences-fields.patch b/patches/core/ungoogled-chromium/remove-unused-preferences-fields.patch index 8d6ba7aa..15910c4e 100644 --- a/patches/core/ungoogled-chromium/remove-unused-preferences-fields.patch +++ b/patches/core/ungoogled-chromium/remove-unused-preferences-fields.patch @@ -95,14 +95,14 @@ } --- a/chrome/browser/chrome_content_browser_client.cc +++ b/chrome/browser/chrome_content_browser_client.cc -@@ -308,7 +308,6 @@ +@@ -281,7 +281,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_state/core/security_state.h" + #include "components/services/on_device_translation/buildflags/buildflags.h" --- a/chrome/browser/download/download_browsertest.cc +++ b/chrome/browser/download/download_browsertest.cc @@ -109,7 +109,6 @@ @@ -135,7 +135,7 @@ #include "chrome/browser/browser_process.h" --- a/chrome/browser/enterprise/connectors/analysis/content_analysis_delegate.cc +++ b/chrome/browser/enterprise/connectors/analysis/content_analysis_delegate.cc -@@ -54,7 +54,6 @@ +@@ -57,7 +57,6 @@ #include "components/safe_browsing/content/browser/web_ui/safe_browsing_ui.h" #include "components/safe_browsing/core/browser/realtime/url_lookup_service_base.h" #include "components/safe_browsing/core/common/features.h" @@ -145,7 +145,7 @@ #include "content/public/browser/web_contents.h" --- a/chrome/browser/enterprise/connectors/connectors_service.cc +++ b/chrome/browser/enterprise/connectors/connectors_service.cc -@@ -357,8 +357,7 @@ std::string ConnectorsService::GetManage +@@ -330,8 +330,7 @@ std::string ConnectorsService::GetManage std::optional scope = std::nullopt; for (const char* scope_pref : @@ -175,7 +175,7 @@ #include "content/public/browser/browser_context.h" #include "content/public/browser/navigation_handle.h" #include "content/public/browser/navigation_throttle.h" -@@ -319,12 +318,6 @@ void ProfileManagementNavigationThrottle +@@ -318,12 +317,6 @@ void ProfileManagementNavigationThrottle std::optional management_domain = GetDomainFromAttributeValue(domain); if (management_domain) { @@ -188,7 +188,7 @@ PostNavigateTo(GURL(base::StringPrintf(kGoogleServiceLoginUrl, management_domain.value().c_str()))); return; -@@ -346,11 +339,6 @@ void ProfileManagementNavigationThrottle +@@ -345,11 +338,6 @@ void ProfileManagementNavigationThrottle PostNavigateTo(GURL(token_url_for_testing_)); return; } @@ -451,9 +451,9 @@ blink::kWebRTCIPHandlingDefaultPublicInterfaceOnly); --- a/chrome/browser/extensions/api/safe_browsing_private/safe_browsing_private_event_router.cc +++ b/chrome/browser/extensions/api/safe_browsing_private/safe_browsing_private_event_router.cc -@@ -24,7 +24,6 @@ - #include "components/enterprise/connectors/core/reporting_constants.h" +@@ -25,7 +25,6 @@ #include "components/enterprise/connectors/core/reporting_service_settings.h" + #include "components/enterprise/connectors/core/reporting_utils.h" #include "components/prefs/pref_service.h" -#include "components/safe_browsing/core/common/safe_browsing_prefs.h" #include "components/url_matcher/url_matcher.h" @@ -461,7 +461,7 @@ #include "content/public/browser/browser_context.h" --- a/chrome/browser/extensions/api/safe_browsing_private/safe_browsing_private_event_router_unittest.cc +++ b/chrome/browser/extensions/api/safe_browsing_private/safe_browsing_private_event_router_unittest.cc -@@ -43,7 +43,6 @@ +@@ -44,7 +44,6 @@ #include "components/policy/core/common/cloud/mock_cloud_policy_client.h" #include "components/policy/core/common/cloud/realtime_reporting_job_configuration.h" #include "components/safe_browsing/core/common/features.h" @@ -671,7 +671,7 @@ #include "content/public/browser/browser_thread.h" #include "content/public/browser/platform_notification_context.h" #include "content/public/browser/storage_partition.h" -@@ -798,25 +797,7 @@ void PlatformNotificationServiceImpl::Lo +@@ -800,25 +799,7 @@ void PlatformNotificationServiceImpl::Lo bool PlatformNotificationServiceImpl:: AreSuspiciousNotificationsAllowlistedByUser(const GURL& origin) { @@ -707,17 +707,7 @@ #include "components/signin/public/identity_manager/identity_manager.h" namespace { -@@ -29,8 +28,7 @@ bool IsUserAllowedToUseLeakDetection(Pro - // Returns whether the effective value of the Safe Browsing preferences for - // |profile| is standard protection. - bool IsSafeBrowsingStandard(Profile* profile) { -- return profile->GetPrefs()->GetBoolean(prefs::kSafeBrowsingEnabled) && -- !profile->GetPrefs()->GetBoolean(prefs::kSafeBrowsingEnhanced); -+ return false; - } - - } // namespace -@@ -49,16 +47,6 @@ GeneratedPasswordLeakDetectionPref::Gene +@@ -42,16 +41,6 @@ GeneratedPasswordLeakDetectionPref::Gene base::BindRepeating( &GeneratedPasswordLeakDetectionPref::OnSourcePreferencesChanged, base::Unretained(this))); @@ -746,14 +736,14 @@ #include "chrome/browser/safe_browsing/safe_browsing_service.h" --- a/chrome/browser/permissions/prediction_based_permission_ui_selector.cc +++ b/chrome/browser/permissions/prediction_based_permission_ui_selector.cc -@@ -34,7 +34,6 @@ +@@ -35,7 +35,6 @@ #include "components/permissions/prediction_service/prediction_service_messages.pb.h" #include "components/permissions/request_type.h" #include "components/prefs/pref_service.h" -#include "components/safe_browsing/core/common/safe_browsing_prefs.h" #include "components/unified_consent/pref_names.h" + #include "content/public/browser/render_widget_host_view.h" #include "content/public/browser/web_contents.h" - #include "mojo/public/cpp/bindings/callback_helpers.h" --- a/chrome/browser/policy/browser_signin_policy_handler.cc +++ b/chrome/browser/policy/browser_signin_policy_handler.cc @@ -15,7 +15,6 @@ @@ -817,7 +807,7 @@ } // namespace policy --- a/chrome/browser/policy/configuration_policy_handler_list_factory.cc +++ b/chrome/browser/policy/configuration_policy_handler_list_factory.cc -@@ -122,8 +122,6 @@ +@@ -115,8 +115,6 @@ #include "components/privacy_sandbox/tracking_protection_prefs.h" #include "components/proxy_config/proxy_policy_handler.h" #include "components/safe_browsing/buildflags.h" @@ -826,7 +816,7 @@ #include "components/search_engines/enterprise/default_search_policy_handler.h" #include "components/search_engines/search_engines_pref_names.h" #include "components/security_interstitials/core/https_only_mode_policy_handler.h" -@@ -132,7 +130,6 @@ +@@ -125,7 +123,6 @@ #include "components/sharing_message/buildflags.h" #include "components/sharing_message/pref_names.h" #include "components/signin/public/base/signin_buildflags.h" @@ -834,7 +824,7 @@ #include "components/spellcheck/spellcheck_buildflags.h" #include "components/sync/base/pref_names.h" #include "components/sync/service/sync_policy_handler.h" -@@ -322,9 +319,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -289,9 +286,6 @@ const PolicyToPreferenceMapEntry kSimple { key::kForcePermissionPolicyUnloadDefaultEnabled, policy_prefs::kForcePermissionPolicyUnloadDefaultEnabled, base::Value::Type::BOOLEAN}, @@ -844,7 +834,7 @@ { key::kDomainReliabilityAllowed, domain_reliability::prefs::kDomainReliabilityAllowedByPolicy, base::Value::Type::BOOLEAN }, -@@ -358,15 +352,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -325,15 +319,6 @@ const PolicyToPreferenceMapEntry kSimple prefs::kOopPrintDriversAllowedByPolicy, base::Value::Type::BOOLEAN }, #endif @@ -860,7 +850,7 @@ { key::kSavingBrowserHistoryDisabled, prefs::kSavingBrowserHistoryDisabled, base::Value::Type::BOOLEAN }, -@@ -487,9 +472,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -463,9 +448,6 @@ const PolicyToPreferenceMapEntry kSimple { key::kAdsSettingForIntrusiveAdsSites, prefs::kManagedDefaultAdsSetting, base::Value::Type::INTEGER }, @@ -870,7 +860,7 @@ { key::kAllowCrossOriginAuthPrompt, prefs::kAllowCrossOriginAuthPrompt, base::Value::Type::BOOLEAN }, -@@ -727,15 +709,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -703,15 +685,6 @@ const PolicyToPreferenceMapEntry kSimple { key::kPasswordDismissCompromisedAlertEnabled, password_manager::prefs::kPasswordDismissCompromisedAlertEnabled, base::Value::Type::BOOLEAN }, @@ -886,7 +876,7 @@ #if BUILDFLAG(ENABLE_PDF) { key::kPdfLocalFileAccessAllowedForDomains, prefs::kPdfLocalFileAccessAllowedForDomains, -@@ -904,9 +877,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -877,9 +850,6 @@ const PolicyToPreferenceMapEntry kSimple { key::kAdditionalDnsQueryTypesEnabled, prefs::kAdditionalDnsQueryTypesEnabled, base::Value::Type::BOOLEAN }, @@ -896,17 +886,17 @@ { key::kForceGoogleSafeSearch, policy_prefs::kForceGoogleSafeSearch, base::Value::Type::BOOLEAN }, -@@ -971,9 +941,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -943,9 +913,6 @@ const PolicyToPreferenceMapEntry kSimple { key::kRequireOnlineRevocationChecksForLocalAnchors, prefs::kCertRevocationCheckingRequiredLocalAnchors, base::Value::Type::BOOLEAN }, - { key::kSafeBrowsingSurveysEnabled, - prefs::kSafeBrowsingSurveysEnabled, - base::Value::Type::BOOLEAN }, - #endif // #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) - // || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) - #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) -@@ -1940,12 +1907,6 @@ const PolicyToPreferenceMapEntry kSimple + { key::kPasswordManagerBlocklist, + policy_prefs::kPasswordManagerBlocklist, + base::Value::Type::LIST }, +@@ -1918,12 +1885,6 @@ const PolicyToPreferenceMapEntry kSimple { key::kUnmanagedDeviceSignalsConsentFlowEnabled, device_signals::prefs::kUnmanagedDeviceSignalsConsentFlowEnabled, base::Value::Type::BOOLEAN }, @@ -919,7 +909,7 @@ { key::kLiveTranslateEnabled, prefs::kLiveTranslateEnabled, base::Value::Type::BOOLEAN }, -@@ -2007,9 +1968,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -1985,9 +1946,6 @@ const PolicyToPreferenceMapEntry kSimple prefs::kImportDialogAutofillFormData, base::Value::Type::BOOLEAN }, @@ -929,7 +919,7 @@ { key::kHardwareAccelerationModeEnabled, prefs::kHardwareAccelerationModeEnabled, base::Value::Type::BOOLEAN }, -@@ -2273,9 +2231,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -2257,9 +2215,6 @@ const PolicyToPreferenceMapEntry kSimple { key::kGoogleSearchSidePanelEnabled, prefs::kGoogleSearchSidePanelEnabled, base::Value::Type::BOOLEAN }, @@ -939,7 +929,7 @@ #endif // BUILDFLAG(IS_ANDROID) { key::kAllowBackForwardCacheForCacheControlNoStorePageEnabled, policy_prefs::kAllowBackForwardCacheForCacheControlNoStorePageEnabled, -@@ -2819,24 +2774,7 @@ std::unique_ptrAddHandler(std::make_unique( key::kProfileReauthPrompt, enterprise_signin::prefs::kProfileReauthPrompt, static_cast(enterprise_signin::ProfileReauthPrompt::kDoNotPrompt), -@@ -2908,24 +2846,6 @@ std::unique_ptr> signin_legacy_policies; @@ -991,7 +981,7 @@ std::make_unique(chrome_schema))); --- a/chrome/browser/prefs/browser_prefs.cc +++ b/chrome/browser/prefs/browser_prefs.cc -@@ -159,7 +159,6 @@ +@@ -161,7 +161,6 @@ #include "components/proxy_config/pref_proxy_config_tracker_impl.h" #include "components/regional_capabilities/regional_capabilities_prefs.h" #include "components/safe_browsing/buildflags.h" @@ -999,7 +989,7 @@ #include "components/saved_tab_groups/public/pref_names.h" #include "components/search_engines/search_engine_choice/search_engine_choice_service.h" #include "components/search_engines/template_url_prepopulate_data.h" -@@ -171,7 +170,6 @@ +@@ -173,7 +172,6 @@ #include "components/sessions/core/session_id_generator.h" #include "components/sharing_message/sharing_sync_preference.h" #include "components/signin/core/browser/active_primary_accounts_metrics_recorder.h" @@ -1007,7 +997,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" -@@ -1605,7 +1603,6 @@ void RegisterLocalState(PrefRegistrySimp +@@ -1641,7 +1639,6 @@ void RegisterLocalState(PrefRegistrySimp PushMessagingServiceImpl::RegisterPrefs(registry); #endif RegisterScreenshotPrefs(registry); @@ -1015,7 +1005,7 @@ search_engines::SearchEngineChoiceService::RegisterLocalStatePrefs(registry); secure_origin_allowlist::RegisterPrefs(registry); segmentation_platform::SegmentationPlatformService::RegisterLocalStatePrefs( -@@ -1943,7 +1940,6 @@ void RegisterProfilePrefs(user_prefs::Pr +@@ -1978,7 +1975,6 @@ void RegisterProfilePrefs(user_prefs::Pr #if BUILDFLAG(SAFE_BROWSING_AVAILABLE) safe_browsing::file_type::RegisterProfilePrefs(registry); #endif @@ -1126,7 +1116,7 @@ #include "components/signin/public/identity_manager/accounts_in_cookie_jar_info.h" --- a/chrome/browser/profiles/gaia_info_update_service_unittest.cc +++ b/chrome/browser/profiles/gaia_info_update_service_unittest.cc -@@ -35,7 +35,6 @@ +@@ -36,7 +36,6 @@ #include "components/prefs/pref_service.h" #include "components/profile_metrics/state.h" #include "components/signin/public/base/consent_level.h" @@ -1184,7 +1174,7 @@ info.Set(ProfileAttributesEntry::kAccountIdKey, --- a/chrome/browser/profiles/profile_impl.cc +++ b/chrome/browser/profiles/profile_impl.cc -@@ -158,7 +158,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" @@ -1192,10 +1182,10 @@ #include "components/signin/public/identity_manager/identity_manager.h" #include "components/site_isolation/site_isolation_policy.h" #include "components/spellcheck/spellcheck_buildflags.h" -@@ -1112,7 +1111,6 @@ void ProfileImpl::OnLocaleReady(CreateMo - CHECK(!AccountPasswordStoreFactory::HasStore(this), - base::NotFatalUntil::M133); - CHECK(!ReadingListModelFactory::HasModel(this), base::NotFatalUntil::M133); +@@ -1107,7 +1106,6 @@ void ProfileImpl::OnLocaleReady(CreateMo + CHECK(!ProfilePasswordStoreFactory::HasStore(this)); + CHECK(!AccountPasswordStoreFactory::HasStore(this)); + CHECK(!ReadingListModelFactory::HasModel(this)); - browser_sync::MaybeMigrateSyncingUserToSignedIn(GetPath(), GetPrefs()); #if BUILDFLAG(IS_ANDROID) @@ -1210,7 +1200,7 @@ #include "components/signin/public/identity_manager/identity_manager.h" #include "components/signin/public/identity_manager/primary_account_mutator.h" #include "components/signin/public/identity_manager/tribool.h" -@@ -1913,8 +1912,7 @@ void ProfileManager::AddProfileToStorage +@@ -1916,8 +1915,7 @@ void ProfileManager::AddProfileToStorage entry->SetAuthInfo(account_info.gaia, username, is_consented_primary_account); @@ -1220,7 +1210,7 @@ #if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CHROMEOS) // Sign out if force-sign-in policy is enabled and profile is not signed -@@ -1963,14 +1961,13 @@ void ProfileManager::AddProfileToStorage +@@ -1966,14 +1964,13 @@ void ProfileManager::AddProfileToStorage init_params.is_ephemeral = IsForceEphemeralProfilesEnabled(profile); init_params.is_signed_in_with_credential_provider = @@ -1258,7 +1248,7 @@ namespace profiles { --- a/chrome/browser/resources/settings/privacy_page/privacy_page.html +++ b/chrome/browser/resources/settings/privacy_page/privacy_page.html -@@ -918,7 +918,7 @@ +@@ -668,7 +668,7 @@ @@ -1269,7 +1259,7 @@

$i18n{secureConnectionsSectionTitle}

-@@ -355,11 +235,3 @@ +@@ -305,11 +185,3 @@ on-click="onAdvancedProtectionProgramLinkClick_" external> @@ -1421,7 +1411,7 @@ - --- a/chrome/browser/resources/settings/privacy_page/security_page.ts +++ b/chrome/browser/resources/settings/privacy_page/security_page.ts -@@ -300,17 +300,6 @@ export class SettingsSecurityPageElement +@@ -274,17 +274,6 @@ export class SettingsSecurityPageElement super.ready(); CrSettingsPrefs.initialized.then(() => { @@ -1439,7 +1429,7 @@ // The HTTPS-First Mode generated pref should never be set to // ENABLED_BALANCED if the feature flag is not enabled. if (!loadTimeData.getBoolean('enableHttpsFirstModeNewSettings')) { -@@ -320,10 +309,6 @@ export class SettingsSecurityPageElement +@@ -294,10 +283,6 @@ export class SettingsSecurityPageElement } }); @@ -1450,7 +1440,7 @@ // Initialize the last focus time on page load. this.lastFocusTime_ = HatsBrowserProxyImpl.getInstance().now(); } -@@ -443,8 +428,7 @@ export class SettingsSecurityPageElement +@@ -417,8 +402,7 @@ export class SettingsSecurityPageElement } private getDisabledExtendedSafeBrowsing_(): boolean { @@ -1460,7 +1450,7 @@ } private getSafeBrowsingStandardSubLabel_(): string { -@@ -456,19 +440,6 @@ export class SettingsSecurityPageElement +@@ -430,19 +414,6 @@ export class SettingsSecurityPageElement private getPasswordsLeakToggleSubLabel_(): string { let subLabel = this.i18n('passwordsLeakDetectionGeneralDescription'); @@ -1502,7 +1492,7 @@ #include "components/signin/public/base/consent_level.h" #include "components/signin/public/identity_manager/account_info.h" @@ -72,9 +71,7 @@ void AdvancedProtectionStatusManagerDesk - : UmaEvent::kDisabled); + RecordStartupUma(is_under_advanced_protection_); NotifyObserversStatusChanged(); - if (pref_service_->HasPrefPath(prefs::kAdvancedProtectionLastRefreshInUs)) { @@ -1529,7 +1519,7 @@ } void AdvancedProtectionStatusManagerDesktop:: -@@ -269,10 +257,6 @@ void AdvancedProtectionStatusManagerDesk +@@ -263,10 +251,6 @@ void AdvancedProtectionStatusManagerDesk } void AdvancedProtectionStatusManagerDesktop::UpdateLastRefreshTime() { @@ -1635,7 +1625,7 @@ } RequestOutcome ChromePasswordProtectionService::GetPingNotSentReason( -@@ -1860,23 +1819,6 @@ MaybeCreateCommitDeferringCondition( +@@ -1855,23 +1814,6 @@ MaybeCreateCommitDeferringCondition( : nullptr; } @@ -1700,7 +1690,7 @@ #include "components/sync/service/sync_service.h" --- a/chrome/browser/safe_browsing/download_protection/check_client_download_request.cc +++ b/chrome/browser/safe_browsing/download_protection/check_client_download_request.cc -@@ -35,7 +35,6 @@ +@@ -36,7 +36,6 @@ #include "components/safe_browsing/content/common/file_type_policies.h" #include "components/safe_browsing/core/common/features.h" #include "components/safe_browsing/core/common/proto/csd.pb.h" @@ -1710,7 +1700,7 @@ #include "content/public/browser/browser_context.h" --- a/chrome/browser/safe_browsing/download_protection/check_client_download_request_base.cc +++ b/chrome/browser/safe_browsing/download_protection/check_client_download_request_base.cc -@@ -22,7 +22,6 @@ +@@ -23,7 +23,6 @@ #include "components/safe_browsing/content/browser/web_ui/safe_browsing_ui.h" #include "components/safe_browsing/content/common/file_type_policies.h" #include "components/safe_browsing/core/common/features.h" @@ -1869,7 +1859,7 @@ pref_object.user_selectable_values->Append( --- a/chrome/browser/safe_browsing/incident_reporting/extension_data_collection_unittest.cc +++ b/chrome/browser/safe_browsing/incident_reporting/extension_data_collection_unittest.cc -@@ -22,7 +22,6 @@ +@@ -21,7 +21,6 @@ #include "chrome/test/base/testing_profile.h" #include "chrome/test/base/testing_profile_manager.h" #include "components/safe_browsing/core/common/proto/csd.pb.h" @@ -1879,7 +1869,7 @@ #include "content/public/test/test_utils.h" --- a/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc +++ b/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc -@@ -41,7 +41,6 @@ +@@ -40,7 +40,6 @@ #include "components/prefs/pref_service.h" #include "components/safe_browsing/core/common/features.h" #include "components/safe_browsing/core/common/proto/csd.pb.h" @@ -2105,7 +2095,7 @@ #include "content/public/browser/web_contents.h" --- a/chrome/browser/signin/account_consistency_mode_manager.cc +++ b/chrome/browser/signin/account_consistency_mode_manager.cc -@@ -22,7 +22,6 @@ +@@ -23,7 +23,6 @@ #include "components/pref_registry/pref_registry_syncable.h" #include "components/prefs/pref_service.h" #include "components/signin/public/base/signin_buildflags.h" @@ -2113,7 +2103,7 @@ #include "google_apis/google_api_keys.h" #if BUILDFLAG(IS_CHROMEOS) -@@ -92,14 +91,6 @@ AccountConsistencyModeManager::AccountCo +@@ -93,21 +92,6 @@ AccountConsistencyModeManager::AccountCo ->GetProfileAttributesStorage() .GetProfileAttributesWithPath(profile_->GetPath()) : nullptr; @@ -2122,13 +2112,20 @@ - // pref. - bool signin_allowed = IsDiceSignInAllowed(entry) && - prefs->GetBoolean(prefs::kSigninAllowedOnNextStartup); +- +- // Disable sign-in if experimental-ai is enabled, regardless of channel. +- auto* command_line = base::CommandLine::ForCurrentProcess(); +- if (command_line->HasSwitch(::switches::kExperimentalAiStableChannel)) { +- signin_allowed = false; +- } +- - prefs->SetBoolean(prefs::kSigninAllowed, signin_allowed); - - UMA_HISTOGRAM_BOOLEAN("Signin.SigninAllowed", signin_allowed); #endif account_consistency_ = ComputeAccountConsistencyMethod(profile_); -@@ -112,7 +103,6 @@ AccountConsistencyModeManager::~AccountC +@@ -120,7 +104,6 @@ AccountConsistencyModeManager::~AccountC // static void AccountConsistencyModeManager::RegisterProfilePrefs( user_prefs::PrefRegistrySyncable* registry) { @@ -2136,7 +2133,7 @@ } // static -@@ -194,13 +184,9 @@ AccountConsistencyModeManager::ComputeAc +@@ -202,13 +185,9 @@ AccountConsistencyModeManager::ComputeAc #if BUILDFLAG(ENABLE_MIRROR) return AccountConsistencyMethod::kMirror; #elif BUILDFLAG(ENABLE_DICE_SUPPORT) @@ -2340,23 +2337,23 @@ #endif // BUILDFLAG(IS_CHROMEOS) --- a/chrome/browser/signin/chrome_signin_client.cc +++ b/chrome/browser/signin/chrome_signin_client.cc -@@ -44,7 +44,6 @@ +@@ -48,7 +48,6 @@ #include "components/signin/public/base/signin_buildflags.h" #include "components/signin/public/base/signin_client.h" #include "components/signin/public/base/signin_metrics.h" -#include "components/signin/public/base/signin_pref_names.h" + #include "components/signin/public/base/signin_prefs.h" #include "components/signin/public/base/signin_switches.h" #include "components/signin/public/identity_manager/access_token_info.h" - #include "components/signin/public/identity_manager/identity_manager.h" --- a/chrome/browser/signin/chromeos_mirror_account_consistency_browsertest.cc +++ b/chrome/browser/signin/chromeos_mirror_account_consistency_browsertest.cc -@@ -19,7 +19,6 @@ +@@ -18,7 +18,6 @@ #include "components/policy/core/common/policy_pref_names.h" #include "components/prefs/pref_service.h" #include "components/signin/core/browser/signin_header_helper.h" -#include "components/signin/public/base/signin_pref_names.h" #include "components/signin/public/identity_manager/identity_test_utils.h" - #include "components/supervised_user/core/browser/supervised_user_settings_service.h" + #include "components/supervised_user/core/browser/supervised_user_preferences.h" #include "components/user_manager/user.h" --- a/chrome/browser/signin/dice_browsertest.cc +++ b/chrome/browser/signin/dice_browsertest.cc @@ -2491,7 +2488,7 @@ IsValidUnconsentedPrimaryAccount(current_primary_account); --- a/chrome/browser/signin/signin_promo_util.cc +++ b/chrome/browser/signin/signin_promo_util.cc -@@ -13,7 +13,6 @@ +@@ -12,7 +12,6 @@ #include "components/prefs/pref_service.h" #include "components/signin/public/base/consent_level.h" #include "components/signin/public/base/signin_metrics.h" @@ -2499,7 +2496,7 @@ #include "components/signin/public/base/signin_prefs.h" #include "components/signin/public/base/signin_switches.h" #include "components/signin/public/identity_manager/identity_manager.h" -@@ -168,84 +167,14 @@ namespace signin { +@@ -170,84 +169,14 @@ namespace signin { #if !BUILDFLAG(IS_ANDROID) bool ShouldShowSyncPromo(Profile& profile) { @@ -2584,7 +2581,7 @@ } bool ShouldShowExtensionSignInPromo(Profile& profile, -@@ -294,40 +223,7 @@ bool ShouldShowAddressSignInPromo(Profil +@@ -296,43 +225,7 @@ bool ShouldShowAddressSignInPromo(Profil } bool ShouldShowBookmarkSignInPromo(Profile& profile) { @@ -2604,21 +2601,24 @@ - return false; - } - -- // If the user is in sign in pending state, the promo should only be shown if -- // they already have account storage for bookmarks enabled. +- if (!ShouldShowSignInPromoCommon(profile, SignInPromoType::kBookmark)) { +- return false; +- } +- +- // At this point, both the identity manager and sync service should not be +- // null. - IdentityManager* identity_manager = - IdentityManagerFactory::GetForProfile(&profile); - syncer::SyncService* sync_service = - SyncServiceFactory::GetForProfile(&profile); -- if (identity_manager && signin_util::IsSigninPending(identity_manager)) { -- if (!sync_service || -- !sync_service->GetUserSettings()->GetSelectedTypes().Has( -- syncer::UserSelectableType::kBookmarks)) { -- return false; -- } -- } +- CHECK(identity_manager); +- CHECK(sync_service); - -- return ShouldShowSignInPromoCommon(profile, SignInPromoType::kBookmark); +- // If the user is in sign in pending state, the promo should only be shown if +- // they already have account storage for bookmarks enabled. +- return !signin_util::IsSigninPending(identity_manager) || +- sync_service->GetUserSettings()->GetSelectedTypes().Has( +- syncer::UserSelectableType::kBookmarks); -#else return false; -#endif // BUILDFLAG(ENABLE_DICE_SUPPORT) @@ -2829,7 +2829,7 @@ #include "ui/events/keycodes/dom/dom_code.h" --- a/chrome/browser/ui/chrome_pages.cc +++ b/chrome/browser/ui/chrome_pages.cc -@@ -80,7 +80,6 @@ +@@ -81,7 +81,6 @@ #if !BUILDFLAG(IS_ANDROID) #include "base/metrics/histogram_functions.h" #include "chrome/browser/signin/identity_manager_factory.h" @@ -3031,15 +3031,15 @@ } --- a/chrome/browser/ui/signin/signin_view_controller.cc +++ b/chrome/browser/ui/signin/signin_view_controller.cc -@@ -30,7 +30,6 @@ +@@ -29,7 +29,6 @@ #include "components/signin/public/base/consent_level.h" #include "components/signin/public/base/signin_buildflags.h" #include "components/signin/public/base/signin_metrics.h" -#include "components/signin/public/base/signin_pref_names.h" #include "components/signin/public/base/signin_prefs.h" + #include "components/signin/public/base/signin_switches.h" #include "components/signin/public/identity_manager/account_info.h" - #include "components/signin/public/identity_manager/accounts_in_cookie_jar_info.h" -@@ -322,15 +321,6 @@ void SigninViewController::SignoutOrReau +@@ -325,15 +324,6 @@ void SigninViewController::SignoutOrReau &SigninViewController::SignoutOrReauthWithPromptWithUnsyncedDataTypes, weak_ptr_factory_.GetWeakPtr(), reauth_access_point, profile_signout_source, token_signout_source); @@ -3055,7 +3055,7 @@ // Dice users don't see the prompt, pass empty datatypes. std::move(signout_prompt_with_datatypes) .Run(absl::flat_hash_map()); -@@ -674,9 +664,7 @@ void SigninViewController::SignoutOrReau +@@ -687,9 +677,7 @@ void SigninViewController::SignoutOrReau bool sign_out_immediately = unsynced_datatypes.empty() && needs_reauth; // Do not show the dialog to users with implicit signin. @@ -3193,7 +3193,7 @@ #include "components/signin/public/identity_manager/identity_test_utils.h" --- a/chrome/browser/ui/views/profiles/avatar_toolbar_button_delegate.cc +++ b/chrome/browser/ui/views/profiles/avatar_toolbar_button_delegate.cc -@@ -58,7 +58,6 @@ +@@ -59,7 +59,6 @@ #include "components/prefs/pref_service.h" #include "components/signin/public/base/consent_level.h" #include "components/signin/public/base/signin_metrics.h" @@ -3201,7 +3201,7 @@ #include "components/signin/public/base/signin_prefs.h" #include "components/signin/public/base/signin_switches.h" #include "components/signin/public/identity_manager/identity_manager.h" -@@ -2020,18 +2019,6 @@ void AvatarToolbarButtonDelegate::OnErro +@@ -2116,18 +2115,6 @@ void AvatarToolbarButtonDelegate::OnErro const CoreAccountInfo& account_info, const GoogleServiceAuthError& error, signin_metrics::SourceForRefreshTokenOperation token_operation_source) { @@ -3230,7 +3230,7 @@ #include "components/signin/public/base/signin_switches.h" #include "components/signin/public/identity_manager/account_info.h" #include "components/signin/public/identity_manager/primary_account_mutator.h" -@@ -633,15 +632,6 @@ ProfileMenuView::GetIdentitySectionParam +@@ -693,19 +692,6 @@ ProfileMenuView::GetIdentitySectionParam signin_metrics::AccessPoint::kAvatarBubbleSignIn; switch (signin_util::GetSignedInState(identity_manager)) { case signin_util::SignedInState::kSignedOut: @@ -3242,11 +3242,15 @@ - IDS_PROFILE_MENU_SIGNIN_PROMO_DESCRIPTION); - params.button_text = - l10n_util::GetStringUTF16(IDS_PROFILE_MENU_SIGNIN_PROMO_BUTTON); +- signin_metrics::LogSignInOffered( +- explicit_signin_access_point_.value_or(access_point), +- signin_metrics::PromoAction:: +- PROMO_ACTION_NEW_ACCOUNT_NO_EXISTING_ACCOUNT); - } break; case signin_util::SignedInState::kWebOnlySignedIn: { access_point = -@@ -760,9 +750,7 @@ void ProfileMenuView::MaybeBuildChromeAc +@@ -850,9 +836,7 @@ void ProfileMenuView::MaybeBuildChromeAc // Show the settings button when signed in to Chrome or to the web, or if // signin is disallowed. const bool should_show_settings_button = @@ -3334,7 +3338,7 @@ #include "content/public/browser/render_process_host.h" --- a/chrome/browser/ui/views/toolbar/app_menu.cc +++ b/chrome/browser/ui/views/toolbar/app_menu.cc -@@ -61,7 +61,6 @@ +@@ -60,7 +60,6 @@ #include "chrome/grit/generated_resources.h" #include "chrome/grit/theme_resources.h" #include "components/saved_tab_groups/public/features.h" @@ -3342,7 +3346,7 @@ #include "components/signin/public/identity_manager/account_info.h" #include "components/zoom/page_zoom.h" #include "components/zoom/zoom_controller.h" -@@ -386,61 +385,6 @@ void AddSignedInChipToProfileMenuItem( +@@ -385,61 +384,6 @@ void AddSignedInChipToProfileMenuItem( const int horizontal_padding, std::vector& profile_menu_subscription_list) { @@ -3430,7 +3434,7 @@ break; --- a/chrome/browser/ui/webui/cr_components/history/history_util.cc +++ b/chrome/browser/ui/webui/cr_components/history/history_util.cc -@@ -23,7 +23,6 @@ +@@ -19,7 +19,6 @@ #include "components/history/core/common/pref_names.h" #include "components/history_clusters/core/history_clusters_prefs.h" #include "components/prefs/pref_service.h" @@ -3438,7 +3442,7 @@ #include "components/signin/public/base/signin_switches.h" #include "components/signin/public/identity_manager/identity_manager.h" #include "components/strings/grit/components_strings.h" -@@ -92,7 +91,7 @@ content::WebUIDataSource* HistoryUtil::P +@@ -88,7 +87,7 @@ content::WebUIDataSource* HistoryUtil::P source->AddBoolean("isGuestSession", profile->IsGuestSession()); source->AddBoolean("isSignInAllowed", @@ -3600,7 +3604,7 @@ #include "components/saved_tab_groups/public/features.h" #include "components/signin/public/base/signin_buildflags.h" #include "components/signin/public/base/signin_switches.h" -@@ -3476,11 +3475,6 @@ void AddSiteSettingsStrings(content::Web +@@ -3450,11 +3449,6 @@ void AddSiteSettingsStrings(content::Web html_source->AddLocalizedStrings(kSensorsLocalizedStrings); html_source->AddBoolean( @@ -3622,7 +3626,7 @@ #include "components/signin/public/base/signin_switches.h" #include "components/sync/base/features.h" #include "content/public/browser/url_data_source.h" -@@ -320,9 +319,7 @@ SettingsUI::SettingsUI(content::WebUI* w +@@ -296,9 +295,7 @@ SettingsUI::SettingsUI(content::WebUI* w } #endif // BUILDFLAG(IS_WIN) && BUILDFLAG(GOOGLE_CHROME_BRANDING) @@ -4049,8 +4053,8 @@ - return sync_service_->GetActiveDataTypes().Has(syncer::CONTACT_INFO); } - bool AddressDataManager::IsCountryEligibleForAccountStorage( -@@ -600,35 +593,7 @@ bool AddressDataManager::IsAutofillUserS + void AddressDataManager::MigrateProfileToAccount( +@@ -589,35 +582,7 @@ bool AddressDataManager::IsAutofillUserS } bool AddressDataManager::IsAutofillSyncToggleAvailable() const { @@ -4086,28 +4090,6 @@ } void AddressDataManager::SetAutofillSelectableTypeEnabled(bool enabled) { ---- a/components/autofill/core/browser/payments/autofill_wallet_data_type_controller.cc -+++ b/components/autofill/core/browser/payments/autofill_wallet_data_type_controller.cc -@@ -10,7 +10,6 @@ - #include "base/functional/callback_helpers.h" - #include "components/autofill/core/common/autofill_prefs.h" - #include "components/prefs/pref_service.h" --#include "components/signin/public/base/signin_pref_names.h" - #include "components/signin/public/base/signin_switches.h" - #include "components/sync/base/sync_mode.h" - #include "components/sync/service/configure_context.h" -@@ -53,11 +52,6 @@ AutofillWalletDataTypeController::~Autof - void AutofillWalletDataTypeController::LoadModels( - const syncer::ConfigureContext& configure_context, - const ModelLoadCallback& model_load_callback) { -- if (configure_context.sync_mode == syncer::SyncMode::kTransportOnly) { -- on_load_models_with_transport_only_cb_.Run( -- pref_service_->GetBoolean(prefs::kExplicitBrowserSignin), -- sync_service_->HasSyncConsent()); -- } - DataTypeController::LoadModels(configure_context, model_load_callback); - } - --- a/components/autofill/core/browser/studies/autofill_experiments.cc +++ b/components/autofill/core/browser/studies/autofill_experiments.cc @@ -35,7 +35,6 @@ @@ -4155,20 +4137,52 @@ public_deps = [ --- a/components/collaboration/internal/collaboration_service_impl.cc +++ b/components/collaboration/internal/collaboration_service_impl.cc -@@ -17,7 +17,6 @@ - #include "components/data_sharing/public/group_data.h" +@@ -19,7 +19,6 @@ #include "components/prefs/pref_service.h" #include "components/saved_tab_groups/public/tab_group_sync_service.h" + #include "components/signin/public/base/consent_level.h" -#include "components/signin/public/base/signin_pref_names.h" #include "components/signin/public/identity_manager/identity_manager.h" #include "components/sync/base/collaboration_id.h" #include "components/sync/base/features.h" -@@ -346,11 +345,6 @@ SigninStatus CollaborationServiceImpl::G +@@ -64,10 +63,6 @@ CollaborationServiceImpl::CollaborationS + prefs::kSharedTabGroupsManagedAccountSetting, + base::BindRepeating(&CollaborationServiceImpl::RefreshServiceStatus, + base::Unretained(this))); +- registrar_.Add( +- ::prefs::kSigninAllowed, +- base::BindRepeating(&CollaborationServiceImpl::RefreshServiceStatus, +- base::Unretained(this))); + } + + CollaborationServiceImpl::~CollaborationServiceImpl() { +@@ -372,32 +367,13 @@ SigninStatus CollaborationServiceImpl::G + DCHECK_CALLED_ON_VALID_THREAD(thread_checker_); + SigninStatus status = SigninStatus::kNotSignedIn; + +- bool has_valid_primary_account = +- identity_manager_->HasPrimaryAccountWithRefreshToken( +- signin::ConsentLevel::kSignin) && +- !identity_manager_->HasAccountWithRefreshTokenInPersistentErrorState( +- identity_manager_->GetPrimaryAccountId( +- signin::ConsentLevel::kSignin)); +- if (has_valid_primary_account) { +- status = SigninStatus::kSignedIn; +- } else if (identity_manager_->HasPrimaryAccount( +- signin::ConsentLevel::kSignin)) { +- status = SigninStatus::kSignedInPaused; +- } else if (!profile_prefs_->GetBoolean(::prefs::kSigninAllowed)) { + status = SigninStatus::kSigninDisabled; +- } + + return status; } CollaborationStatus CollaborationServiceImpl::GetCollaborationStatus() { + DCHECK_CALLED_ON_VALID_THREAD(thread_checker_); - // Check if device policy allow signin. -- if (!profile_prefs_->GetBoolean(::prefs::kSigninAllowed)) { +- if (!profile_prefs_->GetBoolean(::prefs::kSigninAllowed) && +- profile_prefs_->IsManagedPreference(::prefs::kSigninAllowed)) { - return CollaborationStatus::kDisabledForPolicy; - } - @@ -4236,7 +4250,7 @@ #include "components/sync/base/pref_names.h" --- a/components/password_manager/core/browser/leak_detection/leak_detection_check_impl.cc +++ b/components/password_manager/core/browser/leak_detection/leak_detection_check_impl.cc -@@ -21,7 +21,6 @@ +@@ -22,7 +22,6 @@ #include "components/password_manager/core/common/password_manager_pref_names.h" #include "components/prefs/pref_service.h" #include "components/safe_browsing/core/common/features.h" @@ -4244,45 +4258,19 @@ #include "components/signin/public/identity_manager/access_token_fetcher.h" #include "components/signin/public/identity_manager/access_token_info.h" #include "components/signin/public/identity_manager/identity_manager.h" -@@ -227,41 +226,7 @@ bool LeakDetectionCheck::CanStartLeakChe +@@ -228,14 +227,7 @@ bool LeakDetectionCheck::CanStartLeakChe const PrefService& prefs, const GURL& form_url, std::unique_ptr logger) { - const bool is_leak_protection_on = - prefs.GetBoolean(prefs::kPasswordLeakDetectionEnabled); -- if (base::FeatureList::IsEnabled(safe_browsing::kPasswordLeakToggleMove)) { -- if (!is_leak_protection_on && logger) { -- logger->LogMessage(autofill::SavePasswordProgressLogger:: -- STRING_LEAK_DETECTION_DISABLED_FEATURE); -- } -- return is_leak_protection_on && !LeakDetectionCheck::IsURLBlockedByPolicy( -- prefs, form_url, logger.get()); -- } else { -- // Leak detection can only start if: -- // 1. The user has not opted out and Safe Browsing is turned on, or -- // 2. The user is an enhanced protection user -- safe_browsing::SafeBrowsingState sb_state = -- safe_browsing::GetSafeBrowsingState(prefs); -- switch (sb_state) { -- case safe_browsing::SafeBrowsingState::NO_SAFE_BROWSING: -- if (logger) { -- logger->LogMessage(autofill::SavePasswordProgressLogger:: -- STRING_LEAK_DETECTION_DISABLED_SAFE_BROWSING); -- } - return false; -- case safe_browsing::SafeBrowsingState::STANDARD_PROTECTION: -- if (!is_leak_protection_on && logger) { -- logger->LogMessage(autofill::SavePasswordProgressLogger:: -- STRING_LEAK_DETECTION_DISABLED_FEATURE); -- } -- return is_leak_protection_on && -- !LeakDetectionCheck::IsURLBlockedByPolicy(prefs, form_url, -- logger.get()); -- case safe_browsing::SafeBrowsingState::ENHANCED_PROTECTION: -- return !LeakDetectionCheck::IsURLBlockedByPolicy(prefs, form_url, -- logger.get()); -- } +- if (!is_leak_protection_on && logger) { +- logger->LogMessage(autofill::SavePasswordProgressLogger:: +- STRING_LEAK_DETECTION_DISABLED_FEATURE); - } +- return is_leak_protection_on && !LeakDetectionCheck::IsURLBlockedByPolicy( +- prefs, form_url, logger.get()); ++ return false; } void LeakDetectionCheckImpl::OnAccessTokenRequestCompleted( @@ -4327,7 +4315,7 @@ #include "components/signin/public/base/consent_level.h" #include "google_apis/gaia/gaia_auth_util.h" -@@ -374,23 +373,6 @@ void PasswordReuseManagerImpl::ScheduleP +@@ -369,23 +368,6 @@ void PasswordReuseManagerImpl::ScheduleP } void PasswordReuseManagerImpl::ScheduleEnterprisePasswordURLUpdate() { @@ -4500,7 +4488,7 @@ #include "components/safe_browsing/core/common/utils.h" #include "components/sessions/content/session_tab_helper.h" #include "content/public/browser/browser_context.h" -@@ -376,7 +375,7 @@ GURL SafeBrowsingNavigationObserverManag +@@ -379,7 +378,7 @@ GURL SafeBrowsingNavigationObserverManag bool SafeBrowsingNavigationObserverManager::IsEnabledAndReady( PrefService* prefs, bool has_safe_browsing_service) { @@ -4604,15 +4592,15 @@ #include "components/security_interstitials/core/base_safe_browsing_error_ui.h" --- a/components/safe_browsing/content/browser/web_ui/safe_browsing_ui.cc +++ b/components/safe_browsing/content/browser/web_ui/safe_browsing_ui.cc -@@ -38,7 +38,6 @@ - #include "components/safe_browsing/core/common/features.h" - #include "components/safe_browsing/core/common/proto/csd.pb.h" +@@ -41,7 +41,6 @@ + #include "components/safe_browsing/core/common/proto/realtimeapi.to_value.h" #include "components/safe_browsing/core/common/proto/safebrowsingv5.pb.h" + #include "components/safe_browsing/core/common/proto/safebrowsingv5.to_value.h" -#include "components/safe_browsing/core/common/safe_browsing_prefs.h" #include "components/safe_browsing/core/common/web_ui_constants.h" #include "components/strings/grit/components_strings.h" #include "components/user_prefs/user_prefs.h" -@@ -1529,20 +1528,7 @@ std::string SerializeHitReport(const Hit +@@ -884,20 +883,7 @@ std::string SerializeHitReport(const Hit } hit_report_dict.Set("threat_source", std::move(threat_source)); std::string extended_reporting_level; @@ -4633,7 +4621,7 @@ hit_report_dict.Set("extended_reporting_level", std::move(extended_reporting_level)); hit_report_dict.Set("is_enhanced_protection", -@@ -2355,18 +2341,13 @@ void SafeBrowsingUIHandler::GetPrefs(con +@@ -1190,18 +1176,13 @@ void SafeBrowsingUIHandler::GetPrefs(con AllowJavascript(); DCHECK(!args.empty()); const std::string& callback_id = args[0].GetString(); @@ -4683,7 +4671,7 @@ --- a/components/safe_browsing/core/browser/db/v4_local_database_manager.cc +++ b/components/safe_browsing/core/browser/db/v4_local_database_manager.cc -@@ -299,10 +299,9 @@ const V4LocalDatabaseManager* +@@ -298,10 +298,9 @@ const V4LocalDatabaseManager* scoped_refptr V4LocalDatabaseManager::Create( const base::FilePath& base_path, scoped_refptr ui_task_runner, @@ -4696,7 +4684,7 @@ std::move(io_task_runner), nullptr)); } -@@ -325,13 +324,11 @@ void V4LocalDatabaseManager::CollectData +@@ -324,13 +323,11 @@ void V4LocalDatabaseManager::CollectData V4LocalDatabaseManager::V4LocalDatabaseManager( const base::FilePath& base_path, @@ -4710,7 +4698,7 @@ list_infos_(GetListInfos()), task_runner_(task_runner_for_tests ? task_runner_for_tests -@@ -1185,8 +1182,7 @@ void V4LocalDatabaseManager::SetupUpdate +@@ -1184,8 +1181,7 @@ void V4LocalDatabaseManager::SetupUpdate weak_factory_.GetWeakPtr()); v4_update_protocol_manager_ = std::make_unique( @@ -4912,7 +4900,7 @@ // policy. --- a/components/safe_browsing/core/browser/ping_manager.cc +++ b/components/safe_browsing/core/browser/ping_manager.cc -@@ -499,7 +499,7 @@ GURL PingManager::SafeBrowsingHitUrl( +@@ -498,7 +498,7 @@ GURL PingManager::SafeBrowsingHitUrl( hit_report->threat_type == SB_THREAT_TYPE_URL_BINARY_MALWARE || hit_report->threat_type == SB_THREAT_TYPE_URL_CLIENT_SIDE_PHISHING); std::string url = @@ -5005,7 +4993,7 @@ void RealTimeUrlLookupService::MaybeLogProtegoPingCookieHistograms( --- a/components/safe_browsing/core/browser/realtime/url_lookup_service_base.cc +++ b/components/safe_browsing/core/browser/realtime/url_lookup_service_base.cc -@@ -23,7 +23,6 @@ +@@ -22,7 +22,6 @@ #include "components/safe_browsing/core/browser/referrer_chain_provider.h" #include "components/safe_browsing/core/browser/verdict_cache_manager.h" #include "components/safe_browsing/core/common/features.h" @@ -5652,7 +5640,7 @@ #include "components/safe_browsing/core/common/safebrowsing_referral_methods.h" #include "components/security_interstitials/content/security_interstitial_page.h" #include "components/security_interstitials/content/security_interstitial_tab_helper.h" -@@ -157,11 +156,6 @@ SecurityInterstitialControllerClient::Ge +@@ -162,11 +161,6 @@ PrefService* SecurityInterstitialControl return prefs_; } @@ -5666,7 +5654,7 @@ } --- a/components/security_interstitials/content/security_interstitial_controller_client.h +++ b/components/security_interstitials/content/security_interstitial_controller_client.h -@@ -56,8 +56,6 @@ class SecurityInterstitialControllerClie +@@ -59,8 +59,6 @@ class SecurityInterstitialControllerClie bool CanGoBackBeforeNavigation() override; protected: @@ -5736,7 +5724,7 @@ : MetricsHelper::SET_EXTENDED_REPORTING_DISABLED); --- a/components/security_interstitials/core/controller_client.h +++ b/components/security_interstitials/core/controller_client.h -@@ -125,9 +125,6 @@ class ControllerClient { +@@ -130,9 +130,6 @@ class ControllerClient { void SetBaseHelpCenterUrlForTesting(const GURL& test_url); @@ -5890,10 +5878,10 @@ } void AccountReconcilor::RegisterWithAllDependencies() { -@@ -286,12 +275,6 @@ void AccountReconcilor::RegisterWithIden +@@ -288,12 +277,6 @@ void AccountReconcilor::RegisterWithIden } - identity_manager_->AddObserver(this); + identity_manager_observer_.Observe(identity_manager_); -#if BUILDFLAG(ENABLE_DICE_SUPPORT) - pref_observer_.Add( - prefs::kExplicitBrowserSignin, @@ -5933,7 +5921,7 @@ #include "components/signin/public/base/signin_prefs.h" #include "components/signin/public/base/signin_switches.h" #include "components/signin/public/identity_manager/account_info.h" -@@ -451,23 +450,6 @@ void SigninMetricsService::OnRefreshToke +@@ -458,23 +457,6 @@ void SigninMetricsService::OnRefreshToke #if BUILDFLAG(ENABLE_DICE_SUPPORT) void SigninMetricsService::RecordExplicitSigninMigrationStatus() { @@ -5964,10 +5952,10 @@ #include "components/signin/internal/identity_manager/account_info_util.h" #include "components/signin/public/base/signin_metrics.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_capabilities.h" #include "components/signin/public/identity_manager/account_info.h" -@@ -199,11 +198,6 @@ AccountTrackerService::~AccountTrackerSe + #include "components/signin/public/identity_manager/tribool.h" +@@ -194,11 +193,6 @@ AccountTrackerService::~AccountTrackerSe // static void AccountTrackerService::RegisterPrefs(PrefRegistrySimple* registry) { @@ -5979,7 +5967,7 @@ } void AccountTrackerService::Initialize(PrefService* pref_service, -@@ -570,14 +564,12 @@ AccountTrackerService::ComputeNewMigrati +@@ -552,14 +546,12 @@ AccountTrackerService::ComputeNewMigrati void AccountTrackerService::SetMigrationState(AccountIdMigrationState state) { DCHECK(state != MIGRATION_DONE || AreAllAccountsMigrated()) << "state: " << state << ", accounts = " << AccountsToString(accounts_); @@ -5995,7 +5983,7 @@ } #endif // BUILDFLAG(IS_CHROMEOS) -@@ -637,27 +629,6 @@ void AccountTrackerService::OnAccountIma +@@ -619,27 +611,6 @@ void AccountTrackerService::OnAccountIma const CoreAccountId& account_id, const std::string& image_url_with_size, bool success) { @@ -6023,7 +6011,7 @@ } void AccountTrackerService::RemoveAccountImageFromDisk( -@@ -670,176 +641,9 @@ void AccountTrackerService::RemoveAccoun +@@ -652,176 +623,9 @@ void AccountTrackerService::RemoveAccoun } void AccountTrackerService::LoadFromPrefs() { @@ -6200,7 +6188,7 @@ } void AccountTrackerService::RemoveFromPrefs(const AccountInfo& account_info) { -@@ -847,15 +651,7 @@ void AccountTrackerService::RemoveFromPr +@@ -829,15 +633,7 @@ void AccountTrackerService::RemoveFromPr return; } @@ -6218,14 +6206,14 @@ CoreAccountId AccountTrackerService::PickAccountIdForAccount( --- a/components/signin/internal/identity_manager/account_tracker_service_unittest.cc +++ b/components/signin/internal/identity_manager/account_tracker_service_unittest.cc -@@ -30,7 +30,6 @@ +@@ -29,7 +29,6 @@ #include "components/signin/internal/identity_manager/fake_profile_oauth2_token_service.h" #include "components/signin/public/base/avatar_icon_util.h" #include "components/signin/public/base/signin_metrics.h" -#include "components/signin/public/base/signin_pref_names.h" - #include "components/signin/public/base/signin_switches.h" #include "components/signin/public/base/test_signin_client.h" #include "components/signin/public/identity_manager/account_capabilities.h" + #include "components/signin/public/identity_manager/account_capabilities_test_mutator.h" --- a/components/signin/internal/identity_manager/gaia_cookie_manager_service.cc +++ b/components/signin/internal/identity_manager/gaia_cookie_manager_service.cc @@ -32,7 +32,6 @@ @@ -6346,7 +6334,7 @@ #include "components/signin/public/base/signin_prefs.h" #include "components/signin/public/base/signin_switches.h" #include "components/signin/public/identity_manager/account_info.h" -@@ -216,194 +215,25 @@ PrimaryAccountManager::PrimaryAccountMan +@@ -216,179 +215,25 @@ PrimaryAccountManager::PrimaryAccountMan DCHECK(account_tracker_service_); ScopedPrefCommit scoped_pref_commit(client_->GetPrefs(), /*commit_on_destroy=*/false); @@ -6497,21 +6485,6 @@ - - PrefService* prefs = client_->GetPrefs(); - -- // kGoogleServicesLastSignedInUsername was introduced much later than its -- // "Syncing" counterpart, so backfill. Note that having different values for -- // the 2 prefs is possible (user enabled sync, disabled, then signed-in with -- // a different account) and we should not overwrite the "SignedIn" pref in -- // that case. -- // TODO(crbug.com/337112658): Remove migration after 04/25. -- std::string last_syncing_username = -- prefs->GetString(prefs::kGoogleServicesLastSyncingUsername); -- std::string last_signed_in_username = -- prefs->GetString(prefs::kGoogleServicesLastSignedInUsername); -- if (!last_syncing_username.empty() && last_signed_in_username.empty()) { -- prefs->SetString(prefs::kGoogleServicesLastSignedInUsername, -- last_syncing_username); -- } -- - // If the user is clearing the token service from the command line, then - // clear their login info also (not valid to be logged in without any - // tokens). @@ -6541,7 +6514,7 @@ } std::pair -@@ -431,46 +261,10 @@ PrimaryAccountManager::GetOrRestorePrima +@@ -416,46 +261,10 @@ PrimaryAccountManager::GetOrRestorePrima kEmptyAccountInfo_RestoreFailedNotSyncConsented); } @@ -6588,7 +6561,7 @@ } const PrimaryAccountManager::PrimaryAccount& -@@ -561,10 +355,9 @@ void PrimaryAccountManager::SetSyncPrima +@@ -546,10 +355,9 @@ void PrimaryAccountManager::SetSyncPrima #if DCHECK_IS_ON() { @@ -6601,7 +6574,7 @@ DCHECK(pref_account_id.empty() || !consented_to_sync || pref_account_id == account_info.account_id.ToString()) -@@ -575,20 +368,6 @@ void PrimaryAccountManager::SetSyncPrima +@@ -560,20 +368,6 @@ void PrimaryAccountManager::SetSyncPrima SetPrimaryAccountInternal(account_info, /*consented_to_sync=*/true, scoped_pref_commit); @@ -6622,7 +6595,7 @@ } void PrimaryAccountManager::SetPrimaryAccountInternal( -@@ -600,22 +379,6 @@ void PrimaryAccountManager::SetPrimaryAc +@@ -585,22 +379,6 @@ void PrimaryAccountManager::SetPrimaryAc // 'account_info' might be a reference to the contents of `primary_account_`. // Create a PrimaryAccount object before calling emplace to avoid crashes. primary_account_.emplace(PrimaryAccount(account_info, consented_to_sync)); @@ -6645,7 +6618,7 @@ } void PrimaryAccountManager::UpdatePrimaryAccountInfo() { -@@ -753,90 +516,6 @@ PrimaryAccountChangeEvent::State Primary +@@ -738,90 +516,6 @@ PrimaryAccountChangeEvent::State Primary void PrimaryAccountManager::ComputeExplicitBrowserSignin( const PrimaryAccountChangeEvent& event_details, ScopedPrefCommit& scoped_pref_commit) { @@ -6917,7 +6890,7 @@ namespace switches { -@@ -111,11 +110,6 @@ BASE_FEATURE(kEnableBoundSessionCredenti +@@ -114,11 +113,6 @@ BASE_FEATURE(kEnableBoundSessionCredenti base::FEATURE_DISABLED_BY_DEFAULT); bool IsBoundSessionCredentialsEnabled(const PrefService* profile_prefs) { @@ -6929,7 +6902,7 @@ return base::FeatureList::IsEnabled(kEnableBoundSessionCredentials); } -@@ -142,11 +136,6 @@ BASE_FEATURE(kEnableChromeRefreshTokenBi +@@ -145,11 +139,6 @@ BASE_FEATURE(kEnableChromeRefreshTokenBi base::FEATURE_DISABLED_BY_DEFAULT); bool IsChromeRefreshTokenBindingEnabled(const PrefService* profile_prefs) { @@ -6997,7 +6970,7 @@ #include "components/signin/public/identity_manager/identity_test_environment.h" --- a/components/supervised_user/core/browser/supervised_user_pref_store.cc +++ b/components/supervised_user/core/browser/supervised_user_pref_store.cc -@@ -19,7 +19,6 @@ +@@ -20,7 +20,6 @@ #include "components/policy/core/common/policy_pref_names.h" #include "components/prefs/pref_value_map.h" #include "components/safe_search_api/safe_search_util.h" @@ -7005,7 +6978,7 @@ #include "components/signin/public/base/signin_switches.h" #include "components/supervised_user/core/browser/supervised_user_settings_service.h" #include "components/supervised_user/core/browser/supervised_user_url_filter.h" -@@ -56,14 +55,6 @@ SupervisedUserSettingsPrefMappingEntry k +@@ -58,14 +57,6 @@ SupervisedUserSettingsPrefMappingEntry k prefs::kSupervisedUserSafeSites, }, { @@ -7022,7 +6995,7 @@ }, --- a/components/sync/service/sync_prefs.cc +++ b/components/sync/service/sync_prefs.cc -@@ -24,8 +24,6 @@ +@@ -25,8 +25,6 @@ #include "components/saved_tab_groups/public/pref_names.h" #include "components/signin/public/base/gaia_id_hash.h" #include "components/signin/public/base/signin_buildflags.h" @@ -7031,7 +7004,7 @@ #include "components/signin/public/base/signin_switches.h" #include "components/sync/base/account_pref_utils.h" #include "components/sync/base/features.h" -@@ -238,7 +236,7 @@ bool SyncPrefs::IsInitialSyncFeatureSetu +@@ -228,7 +226,7 @@ bool SyncPrefs::IsInitialSyncFeatureSetu } bool SyncPrefs::IsExplicitBrowserSignin() const { @@ -7040,7 +7013,7 @@ } #if !BUILDFLAG(IS_CHROMEOS) -@@ -308,27 +306,11 @@ UserSelectableTypeSet SyncPrefs::GetSele +@@ -298,40 +296,18 @@ UserSelectableTypeSet SyncPrefs::GetSele type == UserSelectableType::kAutofill) { #if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_IOS) type_enabled = true; @@ -7055,22 +7028,18 @@ - type_enabled = - pref_service_->GetBoolean(::prefs::kExplicitBrowserSignin); #endif - } else if (type == UserSelectableType::kBookmarks) { + } else if (type == UserSelectableType::kBookmarks || + type == UserSelectableType::kReadingList) { #if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_IOS) type_enabled = base::FeatureList::IsEnabled(kReplaceSyncPromosWithSignInPromos); -#else -- // Bookmarks require a specific explicit sign in. +- // Bookmarks and Reading List require a specific explicit sign in. - type_enabled = SigninPrefs(*pref_service_) - .GetBookmarksExplicitBrowserSignin(gaia_id) || - base::FeatureList::IsEnabled( - kEnableBookmarksSelectedTypeOnSigninForTesting); #endif - } else if (type == UserSelectableType::kReadingList) { - // Consider kReadingList off by default until -@@ -341,16 +323,10 @@ UserSelectableTypeSet SyncPrefs::GetSele - base::FeatureList::IsEnabled( - kEnableBookmarksSelectedTypeOnSigninForTesting); } else if (type == UserSelectableType::kExtensions) { - // Extensions require a specific explicit sign in. - type_enabled = SigninPrefs(*pref_service_) @@ -7085,7 +7054,7 @@ #endif } else { // All other types are always enabled by default. -@@ -1127,30 +1103,6 @@ void SyncPrefs::MaybeMigrateAutofillToPe +@@ -1102,30 +1078,6 @@ void SyncPrefs::MaybeMigrateAutofillToPe return; } pref_service->SetBoolean(kAutofillPerAccountPrefMigrationDone, true); @@ -7126,7 +7095,7 @@ #include "components/signin/public/base/signin_switches.h" #include "components/signin/public/identity_manager/account_info.h" #include "components/signin/public/identity_manager/accounts_in_cookie_jar_info.h" -@@ -2255,30 +2254,9 @@ SyncServiceImpl::DeterminePreviouslySync +@@ -2249,30 +2248,9 @@ SyncServiceImpl::DeterminePreviouslySync return PreviouslySyncingGaiaIdInfoForMetrics::kUnspecified; } @@ -7196,7 +7165,7 @@ #if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_IOS) --- a/content/browser/webid/federated_auth_request_impl.cc +++ b/content/browser/webid/federated_auth_request_impl.cc -@@ -564,31 +564,6 @@ FederatedAuthRequestImpl::~FederatedAuth +@@ -193,31 +193,6 @@ FederatedAuthRequestImpl::~FederatedAuth void FederatedAuthRequestImpl::Create( RenderFrameHost* host, mojo::PendingReceiver receiver) { diff --git a/patches/core/ungoogled-chromium/toggle-translation-via-switch.patch b/patches/core/ungoogled-chromium/toggle-translation-via-switch.patch index 780773ad..2d4337d5 100644 --- a/patches/core/ungoogled-chromium/toggle-translation-via-switch.patch +++ b/patches/core/ungoogled-chromium/toggle-translation-via-switch.patch @@ -1,7 +1,7 @@ # Disables translation and removes the "Translate to" context menu when --translate-script-url flag is not set --- a/chrome/browser/renderer_context_menu/render_view_context_menu.cc +++ b/chrome/browser/renderer_context_menu/render_view_context_menu.cc -@@ -174,6 +174,7 @@ +@@ -171,6 +171,7 @@ #include "components/supervised_user/core/browser/supervised_user_preferences.h" #include "components/supervised_user/core/browser/supervised_user_service.h" #include "components/supervised_user/core/browser/supervised_user_url_filter.h" @@ -9,7 +9,7 @@ #include "components/translate/core/browser/translate_download_manager.h" #include "components/translate/core/browser/translate_manager.h" #include "components/translate/core/browser/translate_prefs.h" -@@ -2242,6 +2243,7 @@ void RenderViewContextMenu::AppendPageIt +@@ -2281,6 +2282,7 @@ void RenderViewContextMenu::AppendPageIt } if (CanTranslate(/*menu_logging=*/true)) { @@ -47,7 +47,7 @@ request_pending_ = true; --- a/components/translate/core/browser/translate_manager.cc +++ b/components/translate/core/browser/translate_manager.cc -@@ -837,8 +837,9 @@ void TranslateManager::FilterIsTranslate +@@ -821,8 +821,9 @@ void TranslateManager::FilterIsTranslate TriggerDecision::kDisabledOffline); } diff --git a/patches/extra/bromite/fingerprinting-flags-client-rects-and-measuretext.patch b/patches/extra/bromite/fingerprinting-flags-client-rects-and-measuretext.patch index 2378fca7..1dd430d8 100644 --- a/patches/extra/bromite/fingerprinting-flags-client-rects-and-measuretext.patch +++ b/patches/extra/bromite/fingerprinting-flags-client-rects-and-measuretext.patch @@ -9,7 +9,7 @@ --- a/chrome/browser/BUILD.gn +++ b/chrome/browser/BUILD.gn -@@ -2532,6 +2532,7 @@ static_library("browser") { +@@ -2564,6 +2564,7 @@ static_library("browser") { "//third_party/libyuv", "//third_party/metrics_proto", "//third_party/re2", @@ -62,7 +62,7 @@ #include "components/viz/common/switches.h" #include "components/viz/host/gpu_client.h" #include "components/viz/host/host_frame_sink_manager.h" -@@ -3491,6 +3492,8 @@ void RenderProcessHostImpl::PropagateBro +@@ -3507,6 +3508,8 @@ void RenderProcessHostImpl::PropagateBro switches::kEnableWebGLImageChromium, switches::kEnableWebGPUDeveloperFeatures, switches::kFileUrlPathAlias, @@ -91,7 +91,7 @@ #include "ui/accessibility/accessibility_features.h" #include "ui/base/ui_base_features.h" #include "ui/events/blink/blink_features.h" -@@ -490,6 +491,10 @@ void SetRuntimeFeaturesFromCommandLine(c +@@ -487,6 +488,10 @@ void SetRuntimeFeaturesFromCommandLine(c true}, {wrf::EnableWebAudioBypassOutputBufferingOptOut, blink::switches::kWebAudioBypassOutputBufferingOptOut, true}, @@ -116,15 +116,15 @@ --- a/third_party/blink/renderer/core/dom/document.cc +++ b/third_party/blink/renderer/core/dom/document.cc -@@ -43,6 +43,7 @@ - #include "base/metrics/histogram_macros.h" - #include "base/not_fatal_until.h" +@@ -41,6 +41,7 @@ + #include "base/i18n/time_formatting.h" + #include "base/metrics/histogram_functions.h" #include "base/notreached.h" +#include "base/rand_util.h" #include "base/task/single_thread_task_runner.h" #include "base/time/time.h" - #include "base/timer/elapsed_timer.h" -@@ -889,6 +890,11 @@ Document::Document(const DocumentInit& i + #include "base/trace_event/trace_event.h" +@@ -890,6 +891,11 @@ Document::Document(const DocumentInit& i TRACE_EVENT_WITH_FLOW0("blink", "Document::Document", TRACE_ID_LOCAL(this), TRACE_EVENT_FLAG_FLOW_OUT); DCHECK(agent_); @@ -136,7 +136,7 @@ if (base::FeatureList::IsEnabled(features::kDelayAsyncScriptExecution) && features::kDelayAsyncScriptExecutionDelayByDefaultParam.Get()) { script_runner_delayer_->Activate(); -@@ -1015,6 +1021,14 @@ const Position Document::PositionAdjuste +@@ -1020,6 +1026,14 @@ const Position Document::PositionAdjuste return Position::BeforeNode(*shadow_host); } @@ -153,7 +153,7 @@ selector_query_cache_ = MakeGarbageCollected(); --- a/third_party/blink/renderer/core/dom/document.h +++ b/third_party/blink/renderer/core/dom/document.h -@@ -556,6 +556,10 @@ class CORE_EXPORT Document : public Cont +@@ -558,6 +558,10 @@ class CORE_EXPORT Document : public Cont has_xml_declaration_ = has_xml_declaration ? 1 : 0; } @@ -164,7 +164,7 @@ V8VisibilityState visibilityState() const; String visibilityStateAsString() const; bool IsPageVisible() const; -@@ -2732,6 +2736,9 @@ class CORE_EXPORT Document : public Cont +@@ -2747,6 +2751,9 @@ class CORE_EXPORT Document : public Cont base::ElapsedTimer start_time_; @@ -176,7 +176,7 @@ --- a/third_party/blink/renderer/core/dom/element.cc +++ b/third_party/blink/renderer/core/dom/element.cc -@@ -2878,6 +2878,11 @@ DOMRectList* Element::getClientRects() { +@@ -2959,6 +2959,11 @@ DOMRectList* Element::getClientRects() { DCHECK(element_layout_object); GetDocument().AdjustQuadsForScrollAndAbsoluteZoom(quads, *element_layout_object); @@ -188,7 +188,7 @@ return MakeGarbageCollected(quads); } -@@ -2905,6 +2910,9 @@ gfx::RectF Element::GetBoundingClientRec +@@ -2986,6 +2991,9 @@ gfx::RectF Element::GetBoundingClientRec DCHECK(element_layout_object); GetDocument().AdjustRectForScrollAndAbsoluteZoom(result, *element_layout_object); @@ -276,7 +276,7 @@ namespace blink { namespace { -@@ -1293,13 +1296,26 @@ TextMetrics* BaseRenderingContext2D::mea +@@ -1276,13 +1279,26 @@ TextMetrics* BaseRenderingContext2D::mea TextDirection direction = ToTextDirection(state.GetDirection(), host, computed_style); @@ -308,7 +308,7 @@ String BaseRenderingContext2D::lang() const { --- a/third_party/blink/renderer/platform/BUILD.gn +++ b/third_party/blink/renderer/platform/BUILD.gn -@@ -1797,6 +1797,7 @@ component("platform") { +@@ -1793,6 +1793,7 @@ component("platform") { "//components/paint_preview/common", "//components/search_engines:search_engine_utils", "//components/translate/core/language_detection:language_detection", @@ -343,7 +343,7 @@ #include "third_party/skia/include/core/SkSurface.h" --- a/third_party/blink/renderer/platform/runtime_enabled_features.json5 +++ b/third_party/blink/renderer/platform/runtime_enabled_features.json5 -@@ -2176,6 +2176,12 @@ +@@ -2254,6 +2254,12 @@ status: "stable", }, { diff --git a/patches/extra/bromite/flag-fingerprinting-canvas-image-data-noise.patch b/patches/extra/bromite/flag-fingerprinting-canvas-image-data-noise.patch index 44b4f2e8..c3d52d39 100644 --- a/patches/extra/bromite/flag-fingerprinting-canvas-image-data-noise.patch +++ b/patches/extra/bromite/flag-fingerprinting-canvas-image-data-noise.patch @@ -34,7 +34,7 @@ approach to change color components. #endif // CHROME_BROWSER_BROMITE_FLAG_ENTRIES_H_ --- a/content/browser/renderer_host/render_process_host_impl.cc +++ b/content/browser/renderer_host/render_process_host_impl.cc -@@ -3494,6 +3494,7 @@ void RenderProcessHostImpl::PropagateBro +@@ -3510,6 +3510,7 @@ void RenderProcessHostImpl::PropagateBro switches::kFileUrlPathAlias, switches::kFingerprintingClientRectsNoise, switches::kFingerprintingCanvasMeasureTextNoise, @@ -44,7 +44,7 @@ approach to change color components. switches::kForceGpuMemAvailableMb, --- a/content/child/runtime_features.cc +++ b/content/child/runtime_features.cc -@@ -495,6 +495,8 @@ void SetRuntimeFeaturesFromCommandLine(c +@@ -492,6 +492,8 @@ void SetRuntimeFeaturesFromCommandLine(c switches::kFingerprintingClientRectsNoise, true}, {wrf::EnableFingerprintingCanvasMeasureTextNoise, switches::kFingerprintingCanvasMeasureTextNoise, true}, @@ -65,7 +65,7 @@ approach to change color components. }; --- a/third_party/blink/renderer/modules/canvas/canvas2d/base_rendering_context_2d.cc +++ b/third_party/blink/renderer/modules/canvas/canvas2d/base_rendering_context_2d.cc -@@ -615,6 +615,9 @@ ImageData* BaseRenderingContext2D::getIm +@@ -599,6 +599,9 @@ ImageData* BaseRenderingContext2D::getIm snapshot->PaintImageForCurrentFrame().GetSkImageInfo().bounds(); DCHECK(!bounds.intersect(SkIRect::MakeXYWH(sx, sy, sw, sh))); } @@ -77,7 +77,7 @@ approach to change color components. return image_data; --- a/third_party/blink/renderer/platform/BUILD.gn +++ b/third_party/blink/renderer/platform/BUILD.gn -@@ -1741,7 +1741,9 @@ component("platform") { +@@ -1737,7 +1737,9 @@ component("platform") { "//third_party/blink/renderer:non_test_config", ] @@ -305,7 +305,7 @@ approach to change color components. // Methods overridden by all sub-classes --- a/third_party/blink/renderer/platform/runtime_enabled_features.json5 +++ b/third_party/blink/renderer/platform/runtime_enabled_features.json5 -@@ -2182,6 +2182,9 @@ +@@ -2260,6 +2260,9 @@ name: "FingerprintingCanvasMeasureTextNoise", }, { diff --git a/patches/extra/bromite/flag-max-connections-per-host.patch b/patches/extra/bromite/flag-max-connections-per-host.patch index 8d26f6bc..6b521ce4 100644 --- a/patches/extra/bromite/flag-max-connections-per-host.patch +++ b/patches/extra/bromite/flag-max-connections-per-host.patch @@ -17,7 +17,7 @@ with limited CPU/memory resources and it is disabled by default. --- a/chrome/browser/BUILD.gn +++ b/chrome/browser/BUILD.gn -@@ -2209,6 +2209,7 @@ static_library("browser") { +@@ -2241,6 +2241,7 @@ static_library("browser") { "//components/net_log", "//components/network_hints/common:mojo_bindings", "//components/network_session_configurator/browser", @@ -81,7 +81,7 @@ with limited CPU/memory resources and it is disabled by default. #include "ppapi/buildflags/buildflags.h" #include "printing/buildflags/buildflags.h" #include "services/network/public/cpp/features.h" -@@ -418,6 +422,18 @@ void BrowserProcessImpl::Init() { +@@ -419,6 +423,18 @@ void BrowserProcessImpl::Init() { pref_change_registrar_.Add(metrics::prefs::kMetricsReportingEnabled, base::BindRepeating(&ApplyMetricsReportingPolicy)); @@ -102,7 +102,7 @@ with limited CPU/memory resources and it is disabled by default. --- a/chrome/browser/flag_descriptions.cc +++ b/chrome/browser/flag_descriptions.cc -@@ -2603,6 +2603,10 @@ const char kMantisFeatureKeyDescription[ +@@ -2632,6 +2632,10 @@ const char kMantisFeatureKeyDescription[ "Feature key to use the Mantis feature on ChromeOS."; #endif // BUILDFLAG(IS_CHROMEOS) @@ -115,7 +115,7 @@ with limited CPU/memory resources and it is disabled by default. const char kMediaRouterCastAllowAllIPsDescription[] = --- a/chrome/browser/flag_descriptions.h +++ b/chrome/browser/flag_descriptions.h -@@ -1506,6 +1506,9 @@ extern const char kMantisFeatureKeyName[ +@@ -1528,6 +1528,9 @@ extern const char kMantisFeatureKeyName[ extern const char kMantisFeatureKeyDescription[]; #endif // IS_CHROMEOS diff --git a/patches/extra/debian/disable/google-api-warning.patch b/patches/extra/debian/disable/google-api-warning.patch index 0e43fdf4..7f693631 100644 --- a/patches/extra/debian/disable/google-api-warning.patch +++ b/patches/extra/debian/disable/google-api-warning.patch @@ -3,14 +3,14 @@ author: Michael Gilbert --- a/chrome/browser/ui/startup/infobar_utils.cc +++ b/chrome/browser/ui/startup/infobar_utils.cc -@@ -163,10 +163,6 @@ void AddInfoBarsIfNecessary(Browser* bro - infobars::ContentInfoBarManager* infobar_manager = - infobars::ContentInfoBarManager::FromWebContents(web_contents); +@@ -171,10 +171,6 @@ void AddInfoBarsIfNecessary(Browser* bro + infobars::ContentInfoBarManager* infobar_manager = + infobars::ContentInfoBarManager::FromWebContents(web_contents); -- if (!google_apis::HasAPIKeyConfigured()) { -- GoogleApiKeysInfoBarDelegate::Create(infobar_manager); -- } +- if (!google_apis::HasAPIKeyConfigured()) { +- GoogleApiKeysInfoBarDelegate::Create(infobar_manager); +- } - - if (ObsoleteSystem::IsObsoleteNowOrSoon()) { - PrefService* local_state = g_browser_process->local_state(); - if (!local_state || + if (ObsoleteSystem::IsObsoleteNowOrSoon()) { + PrefService* local_state = g_browser_process->local_state(); + if (!local_state || diff --git a/patches/extra/inox-patchset/0006-modify-default-prefs.patch b/patches/extra/inox-patchset/0006-modify-default-prefs.patch index 35fe979f..7274d18a 100644 --- a/patches/extra/inox-patchset/0006-modify-default-prefs.patch +++ b/patches/extra/inox-patchset/0006-modify-default-prefs.patch @@ -12,7 +12,7 @@ void BackgroundModeManager::RegisterProfile(Profile* profile) { --- a/chrome/browser/chrome_content_browser_client.cc +++ b/chrome/browser/chrome_content_browser_client.cc -@@ -1567,7 +1567,7 @@ void ChromeContentBrowserClient::Registe +@@ -1407,7 +1407,7 @@ void ChromeContentBrowserClient::Registe void ChromeContentBrowserClient::RegisterProfilePrefs( user_prefs::PrefRegistrySyncable* registry) { registry->RegisterBooleanPref(prefs::kDisable3DAPIs, false); @@ -56,7 +56,7 @@ --- a/chrome/browser/ui/browser_ui_prefs.cc +++ b/chrome/browser/ui/browser_ui_prefs.cc -@@ -97,7 +97,7 @@ void RegisterBrowserUserPrefs(user_prefs +@@ -113,7 +113,7 @@ void RegisterBrowserUserPrefs(user_prefs registry->RegisterBooleanPref(prefs::kWebAppCreateInAppsMenu, true); registry->RegisterBooleanPref(prefs::kWebAppCreateInQuickLaunchBar, true); registry->RegisterBooleanPref( @@ -87,7 +87,7 @@ kAutofillPaymentCvcStorage, true, --- a/components/bookmarks/browser/bookmark_utils.cc +++ b/components/bookmarks/browser/bookmark_utils.cc -@@ -457,7 +457,7 @@ bool DoesBookmarkContainWords(const std: +@@ -449,7 +449,7 @@ bool DoesBookmarkContainWords(const std: void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { registry->RegisterBooleanPref( diff --git a/patches/extra/iridium-browser/browser-disable-profile-auto-import-on-first-run.patch b/patches/extra/iridium-browser/browser-disable-profile-auto-import-on-first-run.patch index 63f1d839..a98598c0 100644 --- a/patches/extra/iridium-browser/browser-disable-profile-auto-import-on-first-run.patch +++ b/patches/extra/iridium-browser/browser-disable-profile-auto-import-on-first-run.patch @@ -5,7 +5,7 @@ Subject: [PATCH 56/66] browser: disable profile auto-import on first run --- a/chrome/browser/chrome_browser_main.cc +++ b/chrome/browser/chrome_browser_main.cc -@@ -1583,11 +1583,6 @@ int ChromeBrowserMainParts::PreMainMessa +@@ -1568,11 +1568,6 @@ int ChromeBrowserMainParts::PreMainMessa // and preferences have been registered since some of the import code depends // on preferences. if (first_run::IsChromeFirstRun()) { diff --git a/patches/extra/ungoogled-chromium/add-flag-for-bookmark-bar-ntp.patch b/patches/extra/ungoogled-chromium/add-flag-for-bookmark-bar-ntp.patch index f659602a..afff9888 100644 --- a/patches/extra/ungoogled-chromium/add-flag-for-bookmark-bar-ntp.patch +++ b/patches/extra/ungoogled-chromium/add-flag-for-bookmark-bar-ntp.patch @@ -1,27 +1,16 @@ ---- a/chrome/browser/ui/bookmarks/bookmark_tab_helper.cc -+++ b/chrome/browser/ui/bookmarks/bookmark_tab_helper.cc -@@ -4,6 +4,7 @@ - - #include "chrome/browser/ui/bookmarks/bookmark_tab_helper.h" - -+#include "base/command_line.h" - #include "base/observer_list.h" - #include "build/build_config.h" - #include "chrome/browser/bookmarks/bookmark_model_factory.h" -@@ -86,9 +87,12 @@ bool BookmarkTabHelper::ShouldShowBookma - const bool has_saved_tab_groups = - tab_group_service && !tab_group_service->GetAllGroups().empty(); - -+ const std::string flag_value = -+ base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII("bookmark-bar-ntp"); - // The bookmark bar is only shown on the NTP if the user - // has added something to it. -- return IsNTP(web_contents()) && (has_bookmarks || has_saved_tab_groups); -+ return IsNTP(web_contents()) && (has_bookmarks || has_saved_tab_groups) && -+ (flag_value != "never"); +--- a/chrome/browser/ui/browser.cc ++++ b/chrome/browser/ui/browser.cc +@@ -3824,6 +3824,10 @@ void Browser::UpdateBookmarkBarState(Boo } - void BookmarkTabHelper::AddObserver(BookmarkTabHelperObserver* observer) { + bool Browser::ShouldShowBookmarkBar() const { ++ if (base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII("bookmark-bar-ntp") == "never") { ++ return false; ++ } ++ + if (profile_->IsGuestSession()) { + return false; + } --- a/chrome/browser/ungoogled_flag_choices.h +++ b/chrome/browser/ungoogled_flag_choices.h @@ -34,4 +34,10 @@ const FeatureEntry::Choice kScrollEventC diff --git a/patches/extra/ungoogled-chromium/add-flag-for-close-confirmation.patch b/patches/extra/ungoogled-chromium/add-flag-for-close-confirmation.patch index 391f4fbc..b5660fa1 100644 --- a/patches/extra/ungoogled-chromium/add-flag-for-close-confirmation.patch +++ b/patches/extra/ungoogled-chromium/add-flag-for-close-confirmation.patch @@ -8,7 +8,7 @@ #include "chrome/browser/ui/views/status_bubble_views.h" #include "chrome/browser/ui/web_applications/app_browser_controller.h" #include "chrome/browser/ui/web_applications/web_app_launch_utils.h" -@@ -587,6 +588,7 @@ Browser::Browser(const CreateParams& par +@@ -640,6 +641,7 @@ Browser::Browser(const CreateParams& par omit_from_session_restore_(params.omit_from_session_restore), should_trigger_session_restore_(params.should_trigger_session_restore), cancel_download_confirmation_state_(NOT_PROMPTED), @@ -16,7 +16,7 @@ override_bounds_(params.initial_bounds), initial_show_state_(params.initial_show_state), initial_workspace_(params.initial_workspace), -@@ -1050,20 +1052,22 @@ Browser::WarnBeforeClosingResult Browser +@@ -1102,20 +1104,22 @@ Browser::WarnBeforeClosingResult Browser return WarnBeforeClosingResult::kOkToClose; } @@ -52,7 +52,7 @@ } DCHECK(!warn_before_closing_callback_) -@@ -1101,6 +1105,7 @@ bool Browser::TryToCloseWindow( +@@ -1153,6 +1157,7 @@ bool Browser::TryToCloseWindow( void Browser::ResetTryToCloseWindow() { cancel_download_confirmation_state_ = NOT_PROMPTED; @@ -60,7 +60,7 @@ unload_controller_.ResetTryToCloseWindow(); } -@@ -3447,6 +3452,58 @@ bool Browser::CanCloseWithInProgressDown +@@ -3542,6 +3547,58 @@ bool Browser::CanCloseWithInProgressDown return false; } @@ -119,7 +119,7 @@ void Browser::InProgressDownloadResponse(bool cancel_downloads) { if (cancel_downloads) { cancel_download_confirmation_state_ = RESPONSE_RECEIVED; -@@ -3472,6 +3529,22 @@ void Browser::InProgressDownloadResponse +@@ -3567,6 +3624,22 @@ void Browser::InProgressDownloadResponse std::move(warn_before_closing_callback_) .Run(WarnBeforeClosingResult::kDoNotClose); @@ -170,7 +170,7 @@ // Called when the user has decided whether to proceed or not with the browser // closure, in case the cookie migration notice was shown. |proceed_closing| // is true if the browser can be closed. -@@ -1415,6 +1421,8 @@ class Browser : public TabStripModelObse +@@ -1413,6 +1419,8 @@ class Browser : public TabStripModelObse // when the browser is closed with in-progress downloads. CancelDownloadConfirmationState cancel_download_confirmation_state_; diff --git a/patches/extra/ungoogled-chromium/add-flag-for-custom-ntp.patch b/patches/extra/ungoogled-chromium/add-flag-for-custom-ntp.patch index 49f5040d..893df90a 100644 --- a/patches/extra/ungoogled-chromium/add-flag-for-custom-ntp.patch +++ b/patches/extra/ungoogled-chromium/add-flag-for-custom-ntp.patch @@ -1,20 +1,21 @@ --- a/chrome/browser/chrome_content_browser_client.cc +++ b/chrome/browser/chrome_content_browser_client.cc -@@ -943,10 +943,14 @@ bool HandleNewTabPageLocationOverride( +@@ -821,11 +821,15 @@ bool HandleNewTabPageLocationOverride( // Don't change the URL when incognito mode. - if (profile->IsOffTheRecord()) + if (profile->IsOffTheRecord()) { + if (!base::CommandLine::ForCurrentProcess()->HasSwitch("custom-ntp")) return false; + } std::string ntp_location = profile->GetPrefs()->GetString(prefs::kNewTabPageLocationOverride); + if (base::CommandLine::ForCurrentProcess()->HasSwitch("custom-ntp")) + ntp_location = base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII("custom-ntp"); + if (profile->IsOffTheRecord() && ntp_location.find("chrome://") != std::string::npos) return false; - if (ntp_location.empty()) + if (ntp_location.empty()) { return false; - url::Component scheme; + } --- a/chrome/browser/ungoogled_flag_entries.h +++ b/chrome/browser/ungoogled_flag_entries.h @@ -76,4 +76,8 @@ @@ -28,7 +29,7 @@ #endif // CHROME_BROWSER_UNGOOGLED_FLAG_ENTRIES_H_ --- a/components/webui/flags/flags_state.cc +++ b/components/webui/flags/flags_state.cc -@@ -234,6 +234,7 @@ std::string GetCombinedOriginListValue(c +@@ -233,6 +233,7 @@ std::string GetCombinedOriginListValue(c command_line.GetSwitchValueASCII(command_line_switch); const std::string new_value = flags_storage.GetOriginListFlag(internal_entry_name); @@ -36,7 +37,7 @@ return CombineAndSanitizeOriginLists(existing_value, new_value); } -@@ -484,6 +485,7 @@ void FlagsState::SetOriginListFlag(const +@@ -483,6 +484,7 @@ void FlagsState::SetOriginListFlag(const const std::string& value, FlagsStorage* flags_storage) { const std::string new_value = diff --git a/patches/extra/ungoogled-chromium/add-flag-for-disabling-link-drag.patch b/patches/extra/ungoogled-chromium/add-flag-for-disabling-link-drag.patch index d6f22d4b..0742af6c 100644 --- a/patches/extra/ungoogled-chromium/add-flag-for-disabling-link-drag.patch +++ b/patches/extra/ungoogled-chromium/add-flag-for-disabling-link-drag.patch @@ -11,7 +11,7 @@ #endif // CHROME_BROWSER_UNGOOGLED_FLAG_ENTRIES_H_ --- a/third_party/blink/common/features.cc +++ b/third_party/blink/common/features.cc -@@ -18,6 +18,8 @@ +@@ -19,6 +19,8 @@ namespace blink::features { @@ -40,8 +40,8 @@ +#include "third_party/blink/public/common/features.h" #include "third_party/blink/public/common/input/web_menu_source_type.h" #include "third_party/blink/public/platform/web_input_event_result.h" - #include "third_party/blink/renderer/core/dom/document.h" -@@ -1434,10 +1435,14 @@ FrameSelection& SelectionController::Sel + #include "third_party/blink/renderer/core/annotation/annotation_agent_impl.h" +@@ -1436,10 +1437,14 @@ FrameSelection& SelectionController::Sel } bool IsSelectionOverLink(const MouseEventWithHitTestResults& event) { diff --git a/patches/extra/ungoogled-chromium/add-flag-for-incognito-themes.patch b/patches/extra/ungoogled-chromium/add-flag-for-incognito-themes.patch index a806f0c7..56ac976d 100644 --- a/patches/extra/ungoogled-chromium/add-flag-for-incognito-themes.patch +++ b/patches/extra/ungoogled-chromium/add-flag-for-incognito-themes.patch @@ -10,7 +10,7 @@ } --- a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc +++ b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc -@@ -57,6 +57,7 @@ +@@ -59,6 +59,7 @@ #include "ui/base/webui/jstemplate_builder.h" #include "ui/base/webui/web_ui_util.h" #include "ui/color/color_provider.h" @@ -18,7 +18,7 @@ #include "ui/gfx/color_utils.h" #include "ui/native_theme/native_theme.h" -@@ -454,7 +455,9 @@ void NTPResourceCache::CreateNewTabIncog +@@ -467,7 +468,9 @@ void NTPResourceCache::CreateNewTabIncog profile_->GetPrefs()->GetString(prefs::kCurrentThemeID); // Colors. diff --git a/patches/extra/ungoogled-chromium/add-flag-for-omnibox-autocomplete-filtering.patch b/patches/extra/ungoogled-chromium/add-flag-for-omnibox-autocomplete-filtering.patch index 76bbad03..7a125c11 100644 --- a/patches/extra/ungoogled-chromium/add-flag-for-omnibox-autocomplete-filtering.patch +++ b/patches/extra/ungoogled-chromium/add-flag-for-omnibox-autocomplete-filtering.patch @@ -41,7 +41,7 @@ #include "base/feature_list.h" #include "base/format_macros.h" #include "base/functional/bind.h" -@@ -546,6 +547,15 @@ AutocompleteController::AutocompleteCont +@@ -566,6 +567,15 @@ AutocompleteController::AutocompleteCont steady_state_omnibox_position_( metrics::OmniboxEventProto::UNKNOWN_POSITION) { provider_types &= ~OmniboxFieldTrial::GetDisabledProviderTypes(); @@ -59,7 +59,7 @@ // so their async requests can be kicked off before waiting a few milliseconds --- a/components/omnibox/browser/history_url_provider.cc +++ b/components/omnibox/browser/history_url_provider.cc -@@ -489,6 +489,9 @@ void HistoryURLProvider::Start(const Aut +@@ -488,6 +488,9 @@ void HistoryURLProvider::Start(const Aut if (fixed_up_input.type() != metrics::OmniboxInputType::QUERY) matches_.push_back(what_you_typed_match); @@ -79,7 +79,7 @@ #include "base/feature_list.h" #include "base/functional/bind.h" #include "base/functional/callback.h" -@@ -629,6 +630,9 @@ void SearchProvider::Run(bool query_is_p +@@ -628,6 +629,9 @@ void SearchProvider::Run(bool query_is_p } void SearchProvider::DoHistoryQuery(bool minimal_changes) { diff --git a/patches/extra/ungoogled-chromium/add-flag-for-search-engine-collection.patch b/patches/extra/ungoogled-chromium/add-flag-for-search-engine-collection.patch index 76c08444..66f18ddf 100644 --- a/patches/extra/ungoogled-chromium/add-flag-for-search-engine-collection.patch +++ b/patches/extra/ungoogled-chromium/add-flag-for-search-engine-collection.patch @@ -2,7 +2,7 @@ --- a/chrome/browser/ui/tab_helpers.cc +++ b/chrome/browser/ui/tab_helpers.cc -@@ -543,7 +543,9 @@ void TabHelpers::AttachTabHelpers(WebCon +@@ -545,7 +545,9 @@ void TabHelpers::AttachTabHelpers(WebCon profile, web_contents); #endif // BUILDFLAG(SAFE_BROWSING_AVAILABLE) SafetyTipWebContentsObserver::CreateForWebContents(web_contents); @@ -25,7 +25,7 @@ #endif // CHROME_BROWSER_UNGOOGLED_FLAG_ENTRIES_H_ --- a/chrome/renderer/chrome_render_frame_observer.cc +++ b/chrome/renderer/chrome_render_frame_observer.cc -@@ -256,14 +256,16 @@ void ChromeRenderFrameObserver::DidFinis +@@ -253,14 +253,16 @@ void ChromeRenderFrameObserver::DidFinis if (frame->Parent() || frame->IsInFencedFrameTree()) return; @@ -52,7 +52,7 @@ --- a/components/search_engines/template_url_service.cc +++ b/components/search_engines/template_url_service.cc -@@ -20,6 +20,7 @@ +@@ -15,6 +15,7 @@ #include "base/base64url.h" #include "base/check_deref.h" #include "base/check_is_test.h" @@ -60,8 +60,8 @@ #include "base/containers/contains.h" #include "base/containers/fixed_flat_map.h" #include "base/containers/flat_map.h" -@@ -309,6 +310,12 @@ std::string_view SyncChangeTypeToHistogr - NOTREACHED(); +@@ -346,6 +347,12 @@ bool ShouldCommitUpdateToAccount( + return account_data_changed; } +bool ShouldAutocollect() { @@ -73,7 +73,7 @@ } // namespace // TemplateURLService::LessWithPrefix ----------------------------------------- -@@ -489,6 +496,7 @@ TemplateURLService::TemplateURLService( +@@ -526,6 +533,7 @@ TemplateURLService::TemplateURLService( std::unique_ptr client, const base::RepeatingClosure& dsp_change_callback) : prefs_(prefs), @@ -81,7 +81,7 @@ search_engine_choice_service_(search_engine_choice_service), prepopulate_data_resolver_(prepopulate_data_resolver), search_terms_data_(std::move(search_terms_data)), -@@ -594,8 +602,8 @@ bool TemplateURLService::CanAddAutogener +@@ -631,8 +639,8 @@ bool TemplateURLService::CanAddAutogener // that may interfere with search queries). An easy heuristic for this is // whether the user has a TemplateURL that has been manually modified (e.g., // renamed) connected to the same host. @@ -92,7 +92,7 @@ } bool TemplateURLService::IsPrepopulatedOrDefaultProviderByPolicy( -@@ -2438,6 +2446,8 @@ SyncDataMap TemplateURLService::CreateGU +@@ -2441,6 +2449,8 @@ SyncDataMap TemplateURLService::CreateGU } void TemplateURLService::Init() { @@ -101,7 +101,7 @@ if (client_) { client_->SetOwner(this); } -@@ -2620,6 +2630,9 @@ void TemplateURLService::ChangeToLoadedS +@@ -2623,6 +2633,9 @@ void TemplateURLService::ChangeToLoadedS bool TemplateURLService::CanAddAutogeneratedKeywordForHost( const std::string& host) const { @@ -113,7 +113,7 @@ return true; --- a/components/search_engines/template_url_service.h +++ b/components/search_engines/template_url_service.h -@@ -901,6 +901,8 @@ class TemplateURLService final : public +@@ -911,6 +911,8 @@ class TemplateURLService final : public raw_ref prepopulate_data_resolver_; diff --git a/patches/extra/ungoogled-chromium/add-flag-for-tab-hover-cards.patch b/patches/extra/ungoogled-chromium/add-flag-for-tab-hover-cards.patch index 97f17579..aa702cec 100644 --- a/patches/extra/ungoogled-chromium/add-flag-for-tab-hover-cards.patch +++ b/patches/extra/ungoogled-chromium/add-flag-for-tab-hover-cards.patch @@ -24,7 +24,7 @@ // BrowserView::GetAccessibleTabLabel to get the updated accessible name. --- a/chrome/browser/ui/views/tabs/tab.h +++ b/chrome/browser/ui/views/tabs/tab.h -@@ -89,6 +89,7 @@ class Tab : public gfx::AnimationDelegat +@@ -93,6 +93,7 @@ class Tab : public gfx::AnimationDelegat void OnMouseEntered(const ui::MouseEvent& event) override; void OnMouseExited(const ui::MouseEvent& event) override; void OnGestureEvent(ui::GestureEvent* event) override; @@ -42,7 +42,7 @@ #include "base/check.h" #include "base/compiler_specific.h" #include "base/containers/adapters.h" -@@ -1946,6 +1947,8 @@ void TabStrip::OnMouseEventInTab(views:: +@@ -1936,6 +1937,8 @@ void TabStrip::OnMouseEventInTab(views:: } void TabStrip::UpdateHoverCard(Tab* tab, HoverCardUpdateType update_type) { diff --git a/patches/extra/ungoogled-chromium/add-flag-for-tabsearch-button.patch b/patches/extra/ungoogled-chromium/add-flag-for-tabsearch-button.patch index dd6efea0..4d62c1c3 100644 --- a/patches/extra/ungoogled-chromium/add-flag-for-tabsearch-button.patch +++ b/patches/extra/ungoogled-chromium/add-flag-for-tabsearch-button.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/ui/browser_command_controller.cc +++ b/chrome/browser/ui/browser_command_controller.cc -@@ -1535,7 +1535,8 @@ void BrowserCommandController::InitComma +@@ -1555,7 +1555,8 @@ void BrowserCommandController::InitComma command_updater_.UpdateCommandEnabled(IDC_WINDOW_CLOSE_OTHER_TABS, normal_window); @@ -10,9 +10,22 @@ command_updater_.UpdateCommandEnabled(IDC_TAB_SEARCH, enable_tab_search_commands); command_updater_.UpdateCommandEnabled(IDC_TAB_SEARCH_CLOSE, +--- a/chrome/browser/ui/ui_features.cc ++++ b/chrome/browser/ui/ui_features.cc +@@ -458,6 +458,10 @@ static std::string GetCountryCode() { + } + + bool IsTabSearchMoving() { ++ if (base::CommandLine::ForCurrentProcess()->HasSwitch("remove-tabsearch-button")) { ++ return false; ++ } ++ + static const bool is_tab_search_moving = [] { + if (GetCountryCode() == "us" && + base::FeatureList::IsEnabled( --- a/chrome/browser/ui/views/frame/browser_view.cc +++ b/chrome/browser/ui/views/frame/browser_view.cc -@@ -5200,6 +5200,7 @@ void BrowserView::AddedToWidget() { +@@ -5283,6 +5283,7 @@ void BrowserView::AddedToWidget() { toolbar_->Init(); @@ -49,15 +62,3 @@ + "Removes the tabsearch button from the tabstrip. ungoogled-chromium flag", + kOsDesktop, SINGLE_VALUE_TYPE("remove-tabsearch-button")}, #endif // CHROME_BROWSER_UNGOOGLED_FLAG_ENTRIES_H_ ---- a/chrome/common/chrome_features.cc -+++ b/chrome/common/chrome_features.cc -@@ -538,7 +538,8 @@ BASE_FEATURE(kTabstripComboButton, - base::FEATURE_DISABLED_BY_DEFAULT); - - bool IsTabSearchMoving() { -- return base::FeatureList::IsEnabled(features::kTabstripComboButton); -+ return base::FeatureList::IsEnabled(features::kTabstripComboButton) && -+ !base::CommandLine::ForCurrentProcess()->HasSwitch("remove-tabsearch-button"); - } - - const base::FeatureParam kTabstripComboButtonHasBackground{ diff --git a/patches/extra/ungoogled-chromium/add-flag-to-change-http-accept-header.patch b/patches/extra/ungoogled-chromium/add-flag-to-change-http-accept-header.patch index b3c4d78f..4e61f500 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-change-http-accept-header.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-change-http-accept-header.patch @@ -11,7 +11,7 @@ #endif // CHROME_BROWSER_UNGOOGLED_FLAG_ENTRIES_H_ --- a/components/webui/flags/flags_state.cc +++ b/components/webui/flags/flags_state.cc -@@ -235,6 +235,7 @@ std::string GetCombinedOriginListValue(c +@@ -234,6 +234,7 @@ std::string GetCombinedOriginListValue(c const std::string new_value = flags_storage.GetOriginListFlag(internal_entry_name); if (command_line_switch == "custom-ntp") return existing_value.empty() ? new_value : existing_value; @@ -19,7 +19,7 @@ return CombineAndSanitizeOriginLists(existing_value, new_value); } -@@ -486,6 +487,7 @@ void FlagsState::SetOriginListFlag(const +@@ -485,6 +486,7 @@ void FlagsState::SetOriginListFlag(const FlagsStorage* flags_storage) { const std::string new_value = internal_name == "custom-ntp" ? value : diff --git a/patches/extra/ungoogled-chromium/add-flag-to-clear-data-on-exit.patch b/patches/extra/ungoogled-chromium/add-flag-to-clear-data-on-exit.patch index b67fd184..80af8fb5 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-clear-data-on-exit.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-clear-data-on-exit.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/browser_features.cc +++ b/chrome/browser/browser_features.cc -@@ -349,4 +349,5 @@ BASE_FEATURE(kRemovalOfIWAsFromTabCaptur +@@ -359,4 +359,5 @@ BASE_FEATURE(kRemovalOfIWAsFromTabCaptur "RemovalOfIWAsFromTabCapture", base::FEATURE_ENABLED_BY_DEFAULT); @@ -8,7 +8,7 @@ } // namespace features --- a/chrome/browser/browser_features.h +++ b/chrome/browser/browser_features.h -@@ -133,6 +133,7 @@ BASE_DECLARE_FEATURE(kRemovalOfIWAsFromT +@@ -135,6 +135,7 @@ BASE_DECLARE_FEATURE(kRemovalOfIWAsFromT // module, e.g. // //chrome/browser//features.h // diff --git a/patches/extra/ungoogled-chromium/add-flag-to-close-window-with-last-tab.patch b/patches/extra/ungoogled-chromium/add-flag-to-close-window-with-last-tab.patch index 31dd5c06..962d9b79 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-close-window-with-last-tab.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-close-window-with-last-tab.patch @@ -8,7 +8,7 @@ #include "base/containers/adapters.h" #include "base/containers/flat_map.h" #include "base/containers/span.h" -@@ -998,6 +999,10 @@ void TabStripModel::CloseAllTabsInGroup( +@@ -1161,6 +1162,10 @@ void TabStripModel::CloseAllTabsInGroup( void TabStripModel::CloseWebContentsAt(int index, uint32_t close_types) { CHECK(ContainsIndex(index)); @@ -19,7 +19,7 @@ CloseTabs({GetWebContentsAt(index)}, close_types); } -@@ -2466,9 +2471,13 @@ TabStripModel::GetGroupsDestroyedFromRem +@@ -2789,9 +2794,13 @@ TabStripModel::GetGroupsDestroyedFromRem void TabStripModel::ExecuteCloseTabsByIndices( base::RepeatingCallback()> get_indices_to_close, uint32_t close_types) { diff --git a/patches/extra/ungoogled-chromium/add-flag-to-configure-extension-downloading.patch b/patches/extra/ungoogled-chromium/add-flag-to-configure-extension-downloading.patch index 3b58ee3a..eb2e4c72 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-configure-extension-downloading.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-configure-extension-downloading.patch @@ -11,7 +11,7 @@ #include "build/build_config.h" #include "chrome/browser/extensions/crx_installer.h" #include "chrome/browser/extensions/extension_install_prompt.h" -@@ -112,6 +113,14 @@ scoped_refptr +@@ -113,6 +114,14 @@ scoped_refptr return installer; } @@ -26,7 +26,7 @@ bool IsExtensionDownload(const DownloadItem& download_item) { if (download_item.GetTargetDisposition() == DownloadItem::TARGET_DISPOSITION_PROMPT) -@@ -120,7 +129,7 @@ bool IsExtensionDownload(const DownloadI +@@ -121,7 +130,7 @@ bool IsExtensionDownload(const DownloadI if (download_item.GetMimeType() == extensions::Extension::kMimeType || extensions::UserScript::IsURLUserScript(download_item.GetURL(), download_item.GetMimeType())) { diff --git a/patches/extra/ungoogled-chromium/add-flag-to-convert-popups-to-tabs.patch b/patches/extra/ungoogled-chromium/add-flag-to-convert-popups-to-tabs.patch index 6f529fb5..eae6a11c 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-convert-popups-to-tabs.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-convert-popups-to-tabs.patch @@ -13,7 +13,7 @@ #endif // CHROME_BROWSER_UNGOOGLED_FLAG_ENTRIES_H_ --- a/content/renderer/render_frame_impl.cc +++ b/content/renderer/render_frame_impl.cc -@@ -1207,6 +1207,8 @@ WindowOpenDisposition NavigationPolicyTo +@@ -1208,6 +1208,8 @@ WindowOpenDisposition NavigationPolicyTo case blink::kWebNavigationPolicyNewWindow: return WindowOpenDisposition::NEW_WINDOW; case blink::kWebNavigationPolicyNewPopup: diff --git a/patches/extra/ungoogled-chromium/add-flag-to-disable-local-history-expiration.patch b/patches/extra/ungoogled-chromium/add-flag-to-disable-local-history-expiration.patch index 70bb6c46..c415a1e8 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-disable-local-history-expiration.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-disable-local-history-expiration.patch @@ -21,7 +21,7 @@ #include "base/compiler_specific.h" #include "base/containers/flat_set.h" #include "base/feature_list.h" -@@ -1338,7 +1339,8 @@ void HistoryBackend::InitImpl( +@@ -1327,7 +1328,8 @@ void HistoryBackend::InitImpl( db_->GetStartDate(&first_recorded_time_); // Start expiring old stuff. @@ -31,7 +31,7 @@ } void HistoryBackend::OnMemoryPressure( -@@ -1561,6 +1563,8 @@ void HistoryBackend::AddPagesWithDetails +@@ -1549,6 +1551,8 @@ void HistoryBackend::AddPagesWithDetails } bool HistoryBackend::IsExpiredVisitTime(const base::Time& time) const { diff --git a/patches/extra/ungoogled-chromium/add-flag-to-disable-tls-grease.patch b/patches/extra/ungoogled-chromium/add-flag-to-disable-tls-grease.patch index 5d9fed08..f6478277 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-disable-tls-grease.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-disable-tls-grease.patch @@ -11,7 +11,7 @@ #endif // CHROME_BROWSER_UNGOOGLED_FLAG_ENTRIES_H_ --- a/net/socket/ssl_client_socket_impl.cc +++ b/net/socket/ssl_client_socket_impl.cc -@@ -203,7 +203,8 @@ class SSLClientSocketImpl::SSLContext { +@@ -198,7 +198,8 @@ class SSLClientSocketImpl::SSLContext { SSL_CTX_sess_set_new_cb(ssl_ctx_.get(), NewSessionCallback); SSL_CTX_set_timeout(ssl_ctx_.get(), 1 * 60 * 60 /* one hour */); diff --git a/patches/extra/ungoogled-chromium/add-flag-to-hide-crashed-bubble.patch b/patches/extra/ungoogled-chromium/add-flag-to-hide-crashed-bubble.patch index a59e0d4a..eecfd28a 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-hide-crashed-bubble.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-hide-crashed-bubble.patch @@ -3,7 +3,7 @@ --- a/chrome/browser/ui/startup/infobar_utils.cc +++ b/chrome/browser/ui/startup/infobar_utils.cc -@@ -131,7 +131,8 @@ void AddInfoBarsIfNecessary(Browser* bro +@@ -136,7 +136,8 @@ void AddInfoBarsIfNecessary(Browser* bro } // Web apps should not display the session restore bubble (crbug.com/1264121) diff --git a/patches/extra/ungoogled-chromium/add-flag-to-hide-extensions-menu.patch b/patches/extra/ungoogled-chromium/add-flag-to-hide-extensions-menu.patch index 2af14278..7c45c9f9 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-hide-extensions-menu.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-hide-extensions-menu.patch @@ -8,7 +8,7 @@ #include "base/feature_list.h" #include "base/functional/bind.h" #include "base/functional/callback_helpers.h" -@@ -36,6 +37,7 @@ +@@ -35,6 +36,7 @@ #include "chrome/browser/ui/views/side_panel/side_panel_ui.h" #include "chrome/browser/ui/views/toolbar/toolbar_action_hover_card_controller.h" #include "chrome/browser/ui/views/toolbar/toolbar_actions_bar_bubble_views.h" @@ -16,7 +16,7 @@ #include "chrome/common/pref_names.h" #include "chrome/grit/generated_resources.h" #include "components/feature_engagement/public/event_constants.h" -@@ -545,6 +547,17 @@ void ExtensionsToolbarContainer::AnchorA +@@ -544,6 +546,17 @@ void ExtensionsToolbarContainer::AnchorA widget->widget_delegate()->AsBubbleDialogDelegate()->SetAnchorView( anchor_view && anchor_view->GetVisible() ? anchor_view : GetExtensionsButton()); @@ -34,7 +34,7 @@ widget->Show(); } -@@ -944,6 +957,9 @@ void ExtensionsToolbarContainer::UpdateC +@@ -943,6 +956,9 @@ void ExtensionsToolbarContainer::UpdateC } bool ExtensionsToolbarContainer::ShouldContainerBeVisible() const { diff --git a/patches/extra/ungoogled-chromium/add-flag-to-hide-fullscreen-exit-ui.patch b/patches/extra/ungoogled-chromium/add-flag-to-hide-fullscreen-exit-ui.patch index 05b5c6d5..aff91a32 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-hide-fullscreen-exit-ui.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-hide-fullscreen-exit-ui.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/ui/views/frame/browser_view.cc +++ b/chrome/browser/ui/views/frame/browser_view.cc -@@ -2265,6 +2265,10 @@ void BrowserView::ExitFullscreen() { +@@ -2370,6 +2370,10 @@ void BrowserView::ExitFullscreen() { void BrowserView::UpdateExclusiveAccessBubble( const ExclusiveAccessBubbleParams& params, ExclusiveAccessBubbleHideCallback first_hide_callback) { diff --git a/patches/extra/ungoogled-chromium/add-flag-to-hide-tab-close-buttons.patch b/patches/extra/ungoogled-chromium/add-flag-to-hide-tab-close-buttons.patch index 8c460dc4..576e108c 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-hide-tab-close-buttons.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-hide-tab-close-buttons.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/ui/views/tabs/tab.cc +++ b/chrome/browser/ui/views/tabs/tab.cc -@@ -1178,7 +1178,11 @@ void Tab::UpdateIconVisibility() { +@@ -1174,7 +1174,11 @@ void Tab::UpdateIconVisibility() { // Close button is shown on active tabs regardless of the size. showing_close_button_ = true; #endif // BUILDFLAG(IS_CHROMEOS) @@ -12,7 +12,7 @@ showing_alert_indicator_ = has_alert_icon && alert_icon_width <= available_width; -@@ -1207,6 +1211,8 @@ void Tab::UpdateIconVisibility() { +@@ -1203,6 +1207,8 @@ void Tab::UpdateIconVisibility() { !controller_->IsLockedForOnTask() && #endif large_enough_for_close_button; diff --git a/patches/extra/ungoogled-chromium/add-flag-to-reduce-system-info.patch b/patches/extra/ungoogled-chromium/add-flag-to-reduce-system-info.patch index e2e20bc3..37e30ec5 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-reduce-system-info.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-reduce-system-info.patch @@ -40,7 +40,7 @@ // Low entropy client hints. --- a/third_party/blink/common/features.cc +++ b/third_party/blink/common/features.cc -@@ -19,6 +19,7 @@ +@@ -20,6 +20,7 @@ namespace blink::features { BASE_FEATURE(kDisableLinkDrag, "DisableLinkDrag", base::FEATURE_DISABLED_BY_DEFAULT); diff --git a/patches/extra/ungoogled-chromium/add-flag-to-remove-client-hints.patch b/patches/extra/ungoogled-chromium/add-flag-to-remove-client-hints.patch index 837db345..d2c41b73 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-remove-client-hints.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-remove-client-hints.patch @@ -31,7 +31,7 @@ data, container_policy); --- a/third_party/blink/common/features.cc +++ b/third_party/blink/common/features.cc -@@ -20,6 +20,7 @@ namespace blink::features { +@@ -21,6 +21,7 @@ namespace blink::features { BASE_FEATURE(kDisableLinkDrag, "DisableLinkDrag", base::FEATURE_DISABLED_BY_DEFAULT); BASE_FEATURE(kReducedSystemInfo, "ReducedSystemInfo", base::FEATURE_DISABLED_BY_DEFAULT); diff --git a/patches/extra/ungoogled-chromium/add-flag-to-show-avatar-button.patch b/patches/extra/ungoogled-chromium/add-flag-to-show-avatar-button.patch index f50d97ac..16dfd855 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-show-avatar-button.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-show-avatar-button.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/ui/views/toolbar/toolbar_view.cc +++ b/chrome/browser/ui/views/toolbar/toolbar_view.cc -@@ -464,6 +464,17 @@ void ToolbarView::Init() { +@@ -471,6 +471,17 @@ void ToolbarView::Init() { browser_->profile()->IsGuestSession() || browser_->profile()->IsRegularProfile(); #endif diff --git a/patches/extra/ungoogled-chromium/add-flag-to-spoof-webgl-renderer-info.patch b/patches/extra/ungoogled-chromium/add-flag-to-spoof-webgl-renderer-info.patch index 3091bb61..4bf3dfae 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-spoof-webgl-renderer-info.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-spoof-webgl-renderer-info.patch @@ -58,7 +58,7 @@ #endif // CHROME_BROWSER_UNGOOGLED_FLAG_ENTRIES_H_ --- a/third_party/blink/common/features.cc +++ b/third_party/blink/common/features.cc -@@ -21,6 +21,11 @@ namespace blink::features { +@@ -22,6 +22,11 @@ namespace blink::features { BASE_FEATURE(kDisableLinkDrag, "DisableLinkDrag", base::FEATURE_DISABLED_BY_DEFAULT); BASE_FEATURE(kReducedSystemInfo, "ReducedSystemInfo", base::FEATURE_DISABLED_BY_DEFAULT); BASE_FEATURE(kRemoveClientHints, "RemoveClientHints", base::FEATURE_DISABLED_BY_DEFAULT); @@ -86,7 +86,7 @@ // Feature declarations and associated constants (feature params, et cetera) --- a/third_party/blink/renderer/modules/webgl/webgl_rendering_context_base.cc +++ b/third_party/blink/renderer/modules/webgl/webgl_rendering_context_base.cc -@@ -3897,6 +3897,8 @@ ScriptValue WebGLRenderingContextBase::g +@@ -3915,6 +3915,8 @@ ScriptValue WebGLRenderingContextBase::g pname, IdentifiabilityBenignStringToken( String(ContextGL()->GetString(GL_RENDERER)))); } @@ -95,7 +95,7 @@ return WebGLAny(script_state, String(ContextGL()->GetString(GL_RENDERER))); } -@@ -3912,6 +3914,8 @@ ScriptValue WebGLRenderingContextBase::g +@@ -3930,6 +3932,8 @@ ScriptValue WebGLRenderingContextBase::g pname, IdentifiabilityBenignStringToken( String(ContextGL()->GetString(GL_VENDOR)))); } diff --git a/patches/extra/ungoogled-chromium/add-flags-for-existing-switches.patch b/patches/extra/ungoogled-chromium/add-flags-for-existing-switches.patch index 6d74d2b8..3f2a11f2 100644 --- a/patches/extra/ungoogled-chromium/add-flags-for-existing-switches.patch +++ b/patches/extra/ungoogled-chromium/add-flags-for-existing-switches.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/about_flags.cc +++ b/chrome/browser/about_flags.cc -@@ -4619,10 +4619,12 @@ const FeatureEntry::FeatureVariation +@@ -4732,10 +4732,12 @@ const FeatureEntry::FeatureVariation kHi #include "chrome/browser/ungoogled_flag_choices.h" #include "chrome/browser/bromite_flag_choices.h" #include "chrome/browser/ungoogled_platform_flag_choices.h" diff --git a/patches/extra/ungoogled-chromium/add-flags-for-referrer-customization.patch b/patches/extra/ungoogled-chromium/add-flags-for-referrer-customization.patch index 243911a0..e1cb3241 100644 --- a/patches/extra/ungoogled-chromium/add-flags-for-referrer-customization.patch +++ b/patches/extra/ungoogled-chromium/add-flags-for-referrer-customization.patch @@ -19,7 +19,7 @@ #endif // CHROME_BROWSER_UNGOOGLED_FLAG_ENTRIES_H_ --- a/content/browser/renderer_host/navigation_request.cc +++ b/content/browser/renderer_host/navigation_request.cc -@@ -166,6 +166,7 @@ +@@ -168,6 +168,7 @@ #include "services/network/public/cpp/permissions_policy/fenced_frame_permissions_policies.h" #include "services/network/public/cpp/permissions_policy/permissions_policy_declaration.h" #include "services/network/public/cpp/permissions_policy/permissions_policy_features.h" @@ -27,7 +27,7 @@ #include "services/network/public/cpp/resource_request_body.h" #include "services/network/public/cpp/supports_loading_mode/supports_loading_mode_parser.h" #include "services/network/public/cpp/url_loader_completion_status.h" -@@ -386,10 +387,10 @@ void AddAdditionalRequestHeaders( +@@ -388,10 +389,10 @@ void AddAdditionalRequestHeaders( net::HttpRequestHeaders::kUserAgent, ComputeUserAgentValue(*headers, user_agent_override, browser_context)); @@ -52,7 +52,7 @@ #include "services/network/public/cpp/weak_wrapper_shared_url_loader_factory.h" #include "services/network/public/mojom/fetch_api.mojom.h" #include "services/network/public/mojom/restricted_cookie_manager.mojom.h" -@@ -4666,10 +4667,13 @@ void RenderFrameImpl::FinalizeRequestInt +@@ -4664,10 +4665,13 @@ void RenderFrameImpl::FinalizeRequestInt request.SetHasUserGesture(frame_->HasTransientUserActivation()); diff --git a/patches/extra/ungoogled-chromium/add-ipv6-probing-option.patch b/patches/extra/ungoogled-chromium/add-ipv6-probing-option.patch index 8a9a7de0..2a72a34e 100644 --- a/patches/extra/ungoogled-chromium/add-ipv6-probing-option.patch +++ b/patches/extra/ungoogled-chromium/add-ipv6-probing-option.patch @@ -13,7 +13,7 @@ #endif // CHROME_BROWSER_UNGOOGLED_FLAG_ENTRIES_H_ --- a/net/base/features.cc +++ b/net/base/features.cc -@@ -14,6 +14,8 @@ +@@ -18,6 +18,8 @@ namespace net::features { @@ -35,7 +35,7 @@ // https://vasilvv.github.io/httpbis-alps/draft-vvv-httpbis-alps.html. --- a/net/dns/host_resolver_manager.cc +++ b/net/dns/host_resolver_manager.cc -@@ -153,11 +153,6 @@ const size_t kMaxHostLength = 4096; +@@ -152,11 +152,6 @@ const size_t kMaxHostLength = 4096; // cached. const int kIPv6ProbePeriodMs = 1000; @@ -47,7 +47,7 @@ // True if |hostname| ends with either ".local" or ".local.". bool ResemblesMulticastDNSName(std::string_view hostname) { return hostname.ends_with(".local") || hostname.ends_with(".local."); -@@ -1490,33 +1485,10 @@ int HostResolverManager::StartIPv6Reacha +@@ -1489,33 +1484,10 @@ int HostResolverManager::StartIPv6Reacha return OK; } diff --git a/patches/extra/ungoogled-chromium/add-suggestions-url-field.patch b/patches/extra/ungoogled-chromium/add-suggestions-url-field.patch index 93a51dc7..873c332c 100644 --- a/patches/extra/ungoogled-chromium/add-suggestions-url-field.patch +++ b/patches/extra/ungoogled-chromium/add-suggestions-url-field.patch @@ -165,7 +165,7 @@ --- a/chrome/browser/ui/search_engines/edit_search_engine_controller.h +++ b/chrome/browser/ui/search_engines/edit_search_engine_controller.h -@@ -23,7 +23,8 @@ class EditSearchEngineControllerDelegate +@@ -22,7 +22,8 @@ class EditSearchEngineControllerDelegate virtual void OnEditedKeyword(TemplateURL* template_url, const std::u16string& title, const std::u16string& keyword, @@ -175,7 +175,7 @@ protected: virtual ~EditSearchEngineControllerDelegate() = default; -@@ -54,6 +55,8 @@ class EditSearchEngineController { +@@ -53,6 +54,8 @@ class EditSearchEngineController { // character results in a valid url. bool IsURLValid(const std::string& url_input) const; @@ -184,7 +184,7 @@ // Returns true if the value of |keyword_input| represents a valid keyword. // The keyword is valid if it is non-empty and does not conflict with an // existing entry. NOTE: this is just the keyword, not the title and url. -@@ -62,7 +65,8 @@ class EditSearchEngineController { +@@ -61,7 +64,8 @@ class EditSearchEngineController { // Completes the add or edit of a search engine. void AcceptAddOrEdit(const std::u16string& title_input, const std::u16string& keyword_input, @@ -271,7 +271,7 @@ bool CanEdit(const TemplateURL* url) const; --- a/chrome/browser/ui/search_engines/template_url_table_model.cc +++ b/chrome/browser/ui/search_engines/template_url_table_model.cc -@@ -207,21 +207,25 @@ void TemplateURLTableModel::Remove(size_ +@@ -201,21 +201,25 @@ void TemplateURLTableModel::Remove(size_ void TemplateURLTableModel::Add(size_t index, const std::u16string& short_name, const std::u16string& keyword, @@ -302,7 +302,7 @@ DCHECK(index <= RowCount()); DCHECK(!url.empty()); TemplateURL* template_url = GetTemplateURL(index); -@@ -230,7 +234,8 @@ void TemplateURLTableModel::ModifyTempla +@@ -224,7 +228,8 @@ void TemplateURLTableModel::ModifyTempla DCHECK(template_url_service_->GetDefaultSearchProvider() != template_url || template_url->SupportsReplacement( template_url_service_->search_terms_data())); @@ -314,7 +314,7 @@ TemplateURL* TemplateURLTableModel::GetTemplateURL(size_t index) { --- a/chrome/browser/ui/search_engines/template_url_table_model.h +++ b/chrome/browser/ui/search_engines/template_url_table_model.h -@@ -61,13 +61,15 @@ class TemplateURLTableModel : public ui: +@@ -58,13 +58,15 @@ class TemplateURLTableModel : public ui: void Add(size_t index, const std::u16string& short_name, const std::u16string& keyword, @@ -334,7 +334,7 @@ void ReloadIcon(size_t index); --- a/chrome/browser/ui/webui/settings/search_engines_handler.cc +++ b/chrome/browser/ui/webui/settings/search_engines_handler.cc -@@ -50,6 +50,7 @@ namespace { +@@ -49,6 +49,7 @@ namespace { const char kSearchEngineField[] = "searchEngine"; const char kKeywordField[] = "keyword"; const char kQueryUrlField[] = "queryUrl"; @@ -351,7 +351,7 @@ dict.Set("urlLocked", ((template_url->prepopulate_id() > 0) || (template_url->starter_pack_id() > 0))); GURL icon_url = template_url->favicon_url(); -@@ -414,12 +417,14 @@ void SearchEnginesHandler::HandleSearchE +@@ -418,12 +421,14 @@ void SearchEnginesHandler::HandleSearchE void SearchEnginesHandler::OnEditedKeyword(TemplateURL* template_url, const std::u16string& title, const std::u16string& keyword, @@ -369,7 +369,7 @@ } edit_controller_.reset(); -@@ -449,6 +454,8 @@ bool SearchEnginesHandler::CheckFieldVal +@@ -453,6 +458,8 @@ bool SearchEnginesHandler::CheckFieldVal is_valid = edit_controller_->IsKeywordValid(base::UTF8ToUTF16(field_value)); } else if (field_name.compare(kQueryUrlField) == 0) { is_valid = edit_controller_->IsURLValid(field_value); @@ -378,7 +378,7 @@ } else { NOTREACHED(); } -@@ -471,18 +478,21 @@ void SearchEnginesHandler::HandleSearchE +@@ -475,18 +482,21 @@ void SearchEnginesHandler::HandleSearchE return; } @@ -428,7 +428,7 @@ --- a/components/search_engines/template_url_service.cc +++ b/components/search_engines/template_url_service.cc -@@ -1006,7 +1006,8 @@ void TemplateURLService::IncrementUsageC +@@ -998,7 +998,8 @@ void TemplateURLService::IncrementUsageC void TemplateURLService::ResetTemplateURL(TemplateURL* url, const std::u16string& title, const std::u16string& keyword, @@ -438,7 +438,7 @@ DCHECK(!IsCreatedByExtension(url)); DCHECK(!keyword.empty()); DCHECK(!search_url.empty()); -@@ -1021,6 +1022,7 @@ void TemplateURLService::ResetTemplateUR +@@ -1013,6 +1014,7 @@ void TemplateURLService::ResetTemplateUR data.safe_for_autoreplace = false; data.last_modified = clock_->Now(); data.is_active = TemplateURLData::ActiveStatus::kTrue; @@ -448,7 +448,7 @@ syncer::kSeparateLocalAndAccountSearchEngines) --- a/components/search_engines/template_url_service.h +++ b/components/search_engines/template_url_service.h -@@ -346,7 +346,8 @@ class TemplateURLService final : public +@@ -341,7 +341,8 @@ class TemplateURLService final : public void ResetTemplateURL(TemplateURL* url, const std::u16string& title, const std::u16string& keyword, diff --git a/patches/extra/ungoogled-chromium/add-ungoogled-flag-headers.patch b/patches/extra/ungoogled-chromium/add-ungoogled-flag-headers.patch index 8c3acaa6..ecf71dce 100644 --- a/patches/extra/ungoogled-chromium/add-ungoogled-flag-headers.patch +++ b/patches/extra/ungoogled-chromium/add-ungoogled-flag-headers.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/about_flags.cc +++ b/chrome/browser/about_flags.cc -@@ -4615,7 +4615,13 @@ const FeatureEntry::FeatureVariation +@@ -4728,7 +4728,13 @@ const FeatureEntry::FeatureVariation kHi // calculate and verify checksum. // // When adding a new choice, add it to the end of the list. diff --git a/patches/extra/ungoogled-chromium/default-webrtc-ip-handling-policy.patch b/patches/extra/ungoogled-chromium/default-webrtc-ip-handling-policy.patch index 54da0e23..2eb8b22d 100644 --- a/patches/extra/ungoogled-chromium/default-webrtc-ip-handling-policy.patch +++ b/patches/extra/ungoogled-chromium/default-webrtc-ip-handling-policy.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/ui/browser_ui_prefs.cc +++ b/chrome/browser/ui/browser_ui_prefs.cc -@@ -109,7 +109,7 @@ void RegisterBrowserUserPrefs(user_prefs +@@ -125,7 +125,7 @@ void RegisterBrowserUserPrefs(user_prefs false); #endif registry->RegisterStringPref(prefs::kWebRTCIPHandlingPolicy, diff --git a/patches/extra/ungoogled-chromium/disable-chromelabs.patch b/patches/extra/ungoogled-chromium/disable-chromelabs.patch index 4b113db6..9e3c229d 100644 --- a/patches/extra/ungoogled-chromium/disable-chromelabs.patch +++ b/patches/extra/ungoogled-chromium/disable-chromelabs.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/ui/toolbar/chrome_labs/chrome_labs_utils.cc +++ b/chrome/browser/ui/toolbar/chrome_labs/chrome_labs_utils.cc -@@ -144,35 +144,6 @@ bool AreNewChromeLabsExperimentsAvailabl +@@ -140,35 +140,6 @@ bool AreNewChromeLabsExperimentsAvailabl } bool IsChromeLabsEnabled() { diff --git a/patches/extra/ungoogled-chromium/disable-download-quarantine.patch b/patches/extra/ungoogled-chromium/disable-download-quarantine.patch index b6eebe0c..64f1b2bd 100644 --- a/patches/extra/ungoogled-chromium/disable-download-quarantine.patch +++ b/patches/extra/ungoogled-chromium/disable-download-quarantine.patch @@ -142,7 +142,7 @@ } // namespace download --- a/content/browser/BUILD.gn +++ b/content/browser/BUILD.gn -@@ -131,7 +131,6 @@ source_set("browser") { +@@ -132,7 +132,6 @@ source_set("browser") { "//components/performance_manager/scenario_api", "//components/power_monitor", "//components/services/filesystem:lib", diff --git a/patches/extra/ungoogled-chromium/disable-intranet-redirect-detector.patch b/patches/extra/ungoogled-chromium/disable-intranet-redirect-detector.patch index bcd56f8a..2fd99b37 100644 --- a/patches/extra/ungoogled-chromium/disable-intranet-redirect-detector.patch +++ b/patches/extra/ungoogled-chromium/disable-intranet-redirect-detector.patch @@ -3,7 +3,7 @@ --- a/chrome/browser/intranet_redirect_detector.cc +++ b/chrome/browser/intranet_redirect_detector.cc -@@ -118,9 +118,7 @@ void IntranetRedirectDetector::FinishSle +@@ -117,9 +117,7 @@ void IntranetRedirectDetector::FinishSle simple_loaders_.clear(); resulting_origins_.clear(); diff --git a/patches/extra/ungoogled-chromium/enable-default-prefetch-privacy-changes.patch b/patches/extra/ungoogled-chromium/enable-default-prefetch-privacy-changes.patch index 6e31bdd2..991fe244 100644 --- a/patches/extra/ungoogled-chromium/enable-default-prefetch-privacy-changes.patch +++ b/patches/extra/ungoogled-chromium/enable-default-prefetch-privacy-changes.patch @@ -2,7 +2,7 @@ --- a/third_party/blink/common/features.cc +++ b/third_party/blink/common/features.cc -@@ -2089,7 +2089,7 @@ BASE_FEATURE(kPrefetchFontLookupTables, +@@ -2099,7 +2099,7 @@ BASE_FEATURE(kPrefetchFontLookupTables, // crbug.com/988956. BASE_FEATURE(kPrefetchPrivacyChanges, "PrefetchPrivacyChanges", diff --git a/patches/extra/ungoogled-chromium/enable-extra-locales.patch b/patches/extra/ungoogled-chromium/enable-extra-locales.patch index e9ae753b..d9bce1d2 100644 --- a/patches/extra/ungoogled-chromium/enable-extra-locales.patch +++ b/patches/extra/ungoogled-chromium/enable-extra-locales.patch @@ -2,7 +2,7 @@ --- a/build/config/locales.gni +++ b/build/config/locales.gni -@@ -166,12 +166,6 @@ _non_android_locales = [ "cy" ] +@@ -186,12 +186,6 @@ _non_android_locales = [ "cy" ] # Setup |platform_pak_locales| for each platform. platform_pak_locales = all_chrome_locales diff --git a/patches/extra/ungoogled-chromium/enable-page-saving-on-more-pages.patch b/patches/extra/ungoogled-chromium/enable-page-saving-on-more-pages.patch index 27e46e63..9721632f 100644 --- a/patches/extra/ungoogled-chromium/enable-page-saving-on-more-pages.patch +++ b/patches/extra/ungoogled-chromium/enable-page-saving-on-more-pages.patch @@ -2,7 +2,7 @@ --- a/chrome/browser/ui/browser_commands.cc +++ b/chrome/browser/ui/browser_commands.cc -@@ -562,11 +562,6 @@ int GetContentRestrictions(const Browser +@@ -600,11 +600,6 @@ int GetContentRestrictions(const Browser CoreTabHelper* core_tab_helper = CoreTabHelper::FromWebContents(current_tab); content_restrictions = core_tab_helper->content_restrictions(); @@ -14,7 +14,7 @@ } return content_restrictions; } -@@ -1822,8 +1817,7 @@ bool CanSavePage(const Browser* browser) +@@ -1917,8 +1912,7 @@ bool CanSavePage(const Browser* browser) policy::DownloadRestriction::ALL_FILES) { return false; } diff --git a/patches/extra/ungoogled-chromium/enable-paste-and-go-new-tab-button.patch b/patches/extra/ungoogled-chromium/enable-paste-and-go-new-tab-button.patch index 12a2c8bc..305320fa 100644 --- a/patches/extra/ungoogled-chromium/enable-paste-and-go-new-tab-button.patch +++ b/patches/extra/ungoogled-chromium/enable-paste-and-go-new-tab-button.patch @@ -15,7 +15,7 @@ --- a/chrome/browser/ui/views/tabs/tab_strip.cc +++ b/chrome/browser/ui/views/tabs/tab_strip.cc -@@ -2208,8 +2208,6 @@ void TabStrip::NewTabButtonPressed(const +@@ -2198,8 +2198,6 @@ void TabStrip::NewTabButtonPressed(const const ui::MouseEvent& mouse = static_cast(event); if (mouse.IsOnlyMiddleMouseButton()) { @@ -24,7 +24,7 @@ ui::Clipboard* clipboard = ui::Clipboard::GetForCurrentThread(); CHECK(clipboard) << "Clipboard instance is not available, cannot proceed with " -@@ -2220,7 +2218,6 @@ void TabStrip::NewTabButtonPressed(const +@@ -2210,7 +2208,6 @@ void TabStrip::NewTabButtonPressed(const if (!clipboard_text.empty()) { controller_->CreateNewTabWithLocation(clipboard_text); } diff --git a/patches/extra/ungoogled-chromium/keep-expired-flags.patch b/patches/extra/ungoogled-chromium/keep-expired-flags.patch index 3a7aca81..edd0911b 100644 --- a/patches/extra/ungoogled-chromium/keep-expired-flags.patch +++ b/patches/extra/ungoogled-chromium/keep-expired-flags.patch @@ -1,6 +1,6 @@ --- a/components/webui/flags/flags_state.cc +++ b/components/webui/flags/flags_state.cc -@@ -31,6 +31,7 @@ +@@ -30,6 +30,7 @@ #include "base/strings/utf_string_conversions.h" #include "base/values.h" #include "build/build_config.h" @@ -8,7 +8,7 @@ #include "components/variations/field_trial_config/field_trial_util.h" #include "components/variations/variations_associated_data.h" #include "components/variations/variations_switches.h" -@@ -686,14 +687,19 @@ void FlagsState::GetFlagFeatureEntries( +@@ -685,14 +686,19 @@ void FlagsState::GetFlagFeatureEntries( int current_platform = GetCurrentPlatform(); for (const FeatureEntry& entry : feature_entries_) { @@ -29,7 +29,7 @@ base::Value::List supported_platforms; AddOsStrings(entry.supported_platforms, &supported_platforms); -@@ -1102,7 +1108,9 @@ bool FlagsState::IsSupportedFeature(cons +@@ -1101,7 +1107,9 @@ bool FlagsState::IsSupportedFeature(cons continue; } if (delegate_ && delegate_->ShouldExcludeFlag(storage, entry)) { diff --git a/patches/extra/ungoogled-chromium/prepopulated-search-engines.patch b/patches/extra/ungoogled-chromium/prepopulated-search-engines.patch index 69a6868e..de44ac4c 100644 --- a/patches/extra/ungoogled-chromium/prepopulated-search-engines.patch +++ b/patches/extra/ungoogled-chromium/prepopulated-search-engines.patch @@ -2,7 +2,7 @@ # --- a/components/omnibox/common/omnibox_features.cc +++ b/components/omnibox/common/omnibox_features.cc -@@ -320,7 +320,7 @@ BASE_FEATURE(kOmniboxTouchDownTriggerFor +@@ -313,7 +313,7 @@ BASE_FEATURE(kOmniboxTouchDownTriggerFor // Enables additional site search providers for the Site search Starter Pack. BASE_FEATURE(kStarterPackExpansion, "StarterPackExpansion", diff --git a/patches/extra/ungoogled-chromium/remove-uneeded-ui.patch b/patches/extra/ungoogled-chromium/remove-uneeded-ui.patch index fd0f16e4..bc05d273 100644 --- a/patches/extra/ungoogled-chromium/remove-uneeded-ui.patch +++ b/patches/extra/ungoogled-chromium/remove-uneeded-ui.patch @@ -34,7 +34,7 @@ --- a/chrome/app/settings_chromium_strings.grdp +++ b/chrome/app/settings_chromium_strings.grdp -@@ -364,13 +364,13 @@ +@@ -369,13 +369,13 @@ @@ -53,7 +53,7 @@ --- a/chrome/app/settings_strings.grdp +++ b/chrome/app/settings_strings.grdp -@@ -1216,7 +1216,7 @@ +@@ -965,7 +965,7 @@ Active site @@ -62,7 +62,7 @@ Power -@@ -1240,7 +1240,7 @@ +@@ -989,7 +989,7 @@ Inactive tabs appearance @@ -71,7 +71,7 @@ Tab hover preview card appearance -@@ -1252,7 +1252,7 @@ +@@ -1001,7 +1001,7 @@ Performance issue alerts @@ -193,9 +193,9 @@ - +@@ -102,11 +102,6 @@ + sub-label="$i18n{toastAlertLevelDescription}"> + - @@ -270,7 +270,7 @@ import '../privacy_page/privacy_page.js'; import '../safety_hub/safety_hub_entry_point.js'; import '../autofill_page/autofill_page.js'; -@@ -283,7 +282,6 @@ export class SettingsBasicPageElement ex +@@ -265,7 +264,6 @@ export class SettingsBasicPageElement ex this.showPrivacyGuidePromo_ = false; return; } @@ -299,12 +299,12 @@ - label="$i18n{urlKeyedAnonymizedDataCollection}" - sub-label="$i18n{urlKeyedAnonymizedDataCollectionDesc}"> - -