From 970f6b1e2b045485193935740373177ddee69751 Mon Sep 17 00:00:00 2001 From: Ahrotahn <40727284+Ahrotahn@users.noreply.github.com> Date: Wed, 25 May 2022 16:52:41 -0500 Subject: [PATCH] Update to Chromium 102.0.5005.61 (#1964) --- chromium_version.txt | 2 +- domain_substitution.list | 328 ++++++++---- patches/core/debian/disable/unrar.patch | 2 +- ...01-fix-building-without-safebrowsing.patch | 98 ++-- ...03-disable-autofill-download-manager.patch | 2 +- .../0005-disable-default-extensions.patch | 4 +- .../0009-disable-google-ipv6-probes.patch | 2 +- .../0017-disable-new-avatar-menu.patch | 11 - .../core/inox-patchset/0021-disable-rlz.patch | 2 +- ...refixes-to-possibly-evil-connections.patch | 51 +- ..._browsing-disable-incident-reporting.patch | 2 +- .../ungoogled-chromium/block-requests.patch | 4 +- .../block-trk-and-subdomains.patch | 8 +- .../disable-google-host-detection.patch | 10 +- .../disable-mei-preload.patch | 2 +- .../disable-privacy-sandbox.patch | 2 +- .../ungoogled-chromium/disable-signin.patch | 2 +- .../disable-untraceable-urls.patch | 4 +- .../disable-webrtc-log-uploader.patch | 6 +- .../disable-webstore-urls.patch | 14 +- .../core/ungoogled-chromium/doh-changes.patch | 2 +- .../fix-building-with-prunned-binaries.patch | 4 +- .../fix-building-without-safebrowsing.patch | 494 ++++++++--------- .../remove-unused-preferences-fields.patch | 500 +++++++++--------- .../toggle-translation-via-switch.patch | 4 +- ...g-flags-client-rects-and-measuretext.patch | 42 +- ...ngerprinting-canvas-image-data-noise.patch | 18 +- .../flag-max-connections-per-host.patch | 14 +- .../extra/debian/disable/welcome-page.patch | 2 +- .../0006-modify-default-prefs.patch | 29 +- ...ble-profile-auto-import-on-first-run.patch | 2 +- ...mpt-for-download-directory-by-defaul.patch | 2 +- .../updater-disable-auto-update.patch | 2 +- .../add-flag-for-close-confirmation.patch | 12 +- .../add-flag-for-custom-ntp.patch | 8 +- .../add-flag-for-qr-generator.patch | 4 +- ...dd-flag-for-search-engine-collection.patch | 6 +- .../add-flag-for-tab-hover-cards.patch | 4 +- .../add-flag-for-tabsearch-button.patch | 2 +- ...d-flag-to-close-window-with-last-tab.patch | 2 +- ...g-to-configure-extension-downloading.patch | 2 +- .../add-flag-to-convert-popups-to-tabs.patch | 2 +- ...-to-disable-local-history-expiration.patch | 2 +- .../add-flag-to-hide-tab-close-buttons.patch | 4 +- .../add-flag-to-scroll-tabs.patch | 10 +- .../add-flag-to-show-avatar-button.patch | 2 +- .../add-ipv6-probing-option.patch | 16 +- .../add-suggestions-url-field.patch | 8 +- .../add-ungoogled-flag-headers.patch | 2 +- .../disable-download-quarantine.patch | 12 +- .../disable-remote-optimization-guide.patch | 2 +- .../disable-webgl-renderer-info.patch | 4 +- ...ble-default-prefetch-privacy-changes.patch | 2 +- .../enable-page-saving-on-more-pages.patch | 6 +- .../enable-paste-and-go-new-tab-button.patch | 4 +- .../keep-expired-flags.patch | 4 +- .../remove-uneeded-ui.patch | 16 +- patches/series | 1 - pruning.list | 190 ++----- 59 files changed, 945 insertions(+), 1053 deletions(-) delete mode 100644 patches/core/inox-patchset/0017-disable-new-avatar-menu.patch diff --git a/chromium_version.txt b/chromium_version.txt index ee0d7348..ab10ec42 100644 --- a/chromium_version.txt +++ b/chromium_version.txt @@ -1 +1 @@ -101.0.4951.64 +102.0.5005.61 diff --git a/domain_substitution.list b/domain_substitution.list index 07137bca..00de56e7 100644 --- a/domain_substitution.list +++ b/domain_substitution.list @@ -6,6 +6,7 @@ android_webview/browser/aw_content_browser_client.h android_webview/browser/aw_javascript_dialog_manager.cc android_webview/browser/aw_permission_manager_unittest.cc android_webview/browser/aw_settings.cc +android_webview/browser/metrics/aw_metrics_service_client.cc android_webview/browser/network_service/aw_web_resource_request.h android_webview/browser/permission/media_access_permission_request_unittest.cc android_webview/browser/permission/permission_request_handler_unittest.cc @@ -48,12 +49,15 @@ ash/components/device_activity/device_activity_client_unittest.cc ash/components/device_activity/device_activity_controller.cc ash/components/drivefs/drivefs_auth.cc ash/components/geolocation/simple_geolocation_provider.cc +ash/components/multidevice/remote_device_test_util.cc +ash/components/multidevice/stub_multidevice_util.cc ash/components/phonehub/notification.h ash/components/phonehub/url_constants.cc ash/components/proximity_auth/proximity_auth_local_state_pref_manager_unittest.cc ash/components/proximity_auth/proximity_auth_system_unittest.cc ash/components/proximity_auth/proximity_monitor_impl_unittest.cc ash/components/timezone/timezone_request.cc +ash/components/tpm/tpm_token_info_getter_unittest.cc ash/components/trial_group/trial_group_checker.cc ash/constants/ash_switches.cc ash/constants/url_constants.cc @@ -110,14 +114,17 @@ ash/webui/camera_app_ui/resources/js/lib/analytics.js ash/webui/camera_app_ui/resources/strings/camera_strings.grd ash/webui/common/resources/PRESUBMIT.py ash/webui/common/resources/keyboard_layouts.js +ash/webui/diagnostics_ui/diagnostics_ui.cc ash/webui/diagnostics_ui/resources/PRESUBMIT.py -ash/webui/diagnostics_ui/resources/keyboard_tester.html ash/webui/diagnostics_ui/resources/network_card.js ash/webui/diagnostics_ui/resources/routine_section.js +ash/webui/eche_app_ui/eche_tray_stream_status_observer_unittest.cc ash/webui/firmware_update_ui/resources/PRESUBMIT.py ash/webui/help_app_ui/help_app_kids_magazine_untrusted_ui.cc ash/webui/media_app_ui/media_app_guest_ui.cc ash/webui/media_app_ui/resources/js/launch.js +ash/webui/os_feedback_ui/backend/help_content_provider.cc +ash/webui/os_feedback_ui/backend/help_content_provider_unittest.cc ash/webui/os_feedback_ui/resources/fake_data.js ash/webui/personalization_app/personalization_app_ui.cc ash/webui/print_management/resources/PRESUBMIT.py @@ -310,6 +317,7 @@ build/config/chromeos/rules.gni build/config/compiler/BUILD.gn build/config/compiler/compiler.gni build/config/fuchsia/BUILD.gn +build/config/locales.gni build/config/nacl/BUILD.gn build/config/nacl/rules.gni build/config/ozone.gni @@ -424,6 +432,7 @@ chrome/browser/android/webapk/webapk_installer.cc chrome/browser/apps/app_discovery_service/app_discovery_service_unittest.cc chrome/browser/apps/app_discovery_service/recommended_arc_app_fetcher_unittest.cc chrome/browser/apps/app_service/app_icon/app_icon_loader.cc +chrome/browser/apps/app_service/app_service_proxy_lacros_unittest.cc chrome/browser/apps/app_service/intent_util_unittest.cc chrome/browser/apps/app_service/metrics/app_service_metrics.h chrome/browser/apps/app_service/publishers/publisher_unittest.cc @@ -431,7 +440,7 @@ chrome/browser/apps/app_service/web_contents_app_id_utils.h chrome/browser/apps/app_service/webapk/webapk_install_task.cc chrome/browser/apps/digital_goods/digital_goods_factory_impl.cc chrome/browser/apps/guest_view/web_view_browsertest.cc -chrome/browser/apps/intent_helper/intent_picker_auto_display_service_unittest.cc +chrome/browser/apps/intent_helper/intent_picker_auto_display_prefs_unittest.cc chrome/browser/apps/intent_helper/intent_picker_internal_unittest.cc chrome/browser/apps/platform_apps/app_browsertest.cc chrome/browser/apps/platform_apps/app_window_browsertest.cc @@ -456,8 +465,10 @@ chrome/browser/ash/arc/auth/arc_robot_auth_code_fetcher.cc chrome/browser/ash/arc/bluetooth/arc_bluetooth_bridge.cc chrome/browser/ash/arc/bluetooth/arc_bluetooth_bridge.h chrome/browser/ash/arc/enterprise/arc_data_snapshotd_delegate_unittest.cc +chrome/browser/ash/arc/enterprise/arc_enterprise_reporting_service_unittest.cc chrome/browser/ash/arc/extensions/arc_support_message_host.cc chrome/browser/ash/arc/file_system_watcher/file_system_scanner.h +chrome/browser/ash/arc/input_overlay/ui/input_menu_view.cc chrome/browser/ash/arc/instance_throttle/arc_kiosk_mode_throttle_observer_unittest.cc chrome/browser/ash/arc/policy/arc_policy_bridge_unittest.cc chrome/browser/ash/arc/policy/arc_policy_util.h @@ -507,6 +518,7 @@ chrome/browser/ash/file_manager/path_util_unittest.cc chrome/browser/ash/file_system_provider/fileapi/provider_async_file_util.h chrome/browser/ash/hats/hats_dialog.cc chrome/browser/ash/input_method/assistive_suggester_client_filter.cc +chrome/browser/ash/input_method/assistive_suggester_client_filter_unittest.cc chrome/browser/ash/input_method/ime_rules_config.h chrome/browser/ash/input_method/ime_rules_config_unittest.cc chrome/browser/ash/kerberos/kerberos_credentials_manager_test.cc @@ -575,6 +587,7 @@ chrome/browser/ash/policy/core/user_cloud_policy_manager_ash_unittest.cc chrome/browser/ash/policy/core/user_cloud_policy_store_ash_unittest.cc chrome/browser/ash/policy/core/user_cloud_policy_token_forwarder_unittest.cc chrome/browser/ash/policy/dlp/dlp_content_manager_ash_browsertest.cc +chrome/browser/ash/policy/dlp/dlp_content_manager_ash_unittest.cc chrome/browser/ash/policy/enrollment/account_status_check_fetcher.cc chrome/browser/ash/policy/enrollment/account_status_check_fetcher_unittest.cc chrome/browser/ash/policy/handlers/powerwash_requirements_checker.cc @@ -907,11 +920,14 @@ chrome/browser/media/router/providers/dial/dial_activity_manager_unittest.cc chrome/browser/media/router/providers/dial/dial_media_route_provider.cc chrome/browser/media/router/providers/dial/dial_media_route_provider_unittest.cc chrome/browser/media/webrtc/display_media_access_handler_unittest.cc +chrome/browser/media/webrtc/multi_capture_browsertest.cc chrome/browser/media/webrtc/webrtc_browsertest_common.cc chrome/browser/media/webrtc/webrtc_event_log_uploader.cc chrome/browser/media/webrtc/webrtc_log_uploader.cc chrome/browser/media_galleries/fileapi/media_path_filter.cc +chrome/browser/metrics/family_link_user_metrics_provider_unittest.cc chrome/browser/metrics/family_user_metrics_provider_browsertest.cc +chrome/browser/metrics/perf/perf_events_collector.cc chrome/browser/metrics/power/battery_level_provider_win.cc chrome/browser/metrics/testing/sync_metrics_test_utils.cc chrome/browser/metrics/variations/variations_http_headers_browsertest.cc @@ -1097,9 +1113,9 @@ chrome/browser/resources/chromeos/about_os_credits.html chrome/browser/resources/chromeos/accessibility/accessibility_common/dictation/macros/list_commands_macro.js chrome/browser/resources/chromeos/accessibility/accessibility_common/magnifier/magnifier.js chrome/browser/resources/chromeos/accessibility/chromevox/background/background_test.js +chrome/browser/resources/chromeos/accessibility/chromevox/background/braille/braille_input_handler_test.js chrome/browser/resources/chromeos/accessibility/chromevox/background/command_handler.js chrome/browser/resources/chromeos/accessibility/chromevox/background/output/locale_output_helper_test.js -chrome/browser/resources/chromeos/accessibility/chromevox/braille/braille_input_handler_test.js chrome/browser/resources/chromeos/accessibility/chromevox/common/editable_text_base_test.js chrome/browser/resources/chromeos/accessibility/chromevox/common/spannable_test.js chrome/browser/resources/chromeos/accessibility/chromevox/options/options.css @@ -1146,10 +1162,10 @@ chrome/browser/resources/chromeos/login/oobe.js chrome/browser/resources/chromeos/login/screens/common/arc_terms_of_service.js chrome/browser/resources/chromeos/login/screens/common/consolidated_consent.js chrome/browser/resources/chromeos/login/screens/common/marketing_opt_in.html +chrome/browser/resources/chromeos/login/screens/common/oobe_eula.js chrome/browser/resources/chromeos/login/screens/login/encryption_migration.js chrome/browser/resources/chromeos/login/screens/login/offline_login.html chrome/browser/resources/chromeos/login/screens/login/offline_login.js -chrome/browser/resources/chromeos/login/screens/oobe/oobe_eula.js chrome/browser/resources/chromeos/multidevice_internals/browser_tabs_metadata_form.js chrome/browser/resources/chromeos/parent_access/flows/local_web_approvals_after.html chrome/browser/resources/chromeos/parent_access/parent_access_ui.js @@ -1251,7 +1267,6 @@ 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_config.cc chrome/browser/send_tab_to_self/desktop_notification_handler_unittest.cc -chrome/browser/send_tab_to_self/send_tab_to_self_desktop_util_unittest.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 @@ -1295,6 +1310,7 @@ chrome/browser/ssl/typed_navigation_upgrade_throttle_browsertest.cc chrome/browser/startup_data.h chrome/browser/storage/durable_storage_permission_context_unittest.cc chrome/browser/subresource_filter/subresource_filter_browsertest.cc +chrome/browser/subresource_filter/subresource_filter_fenced_frame_browsertest.cc chrome/browser/supervised_user/child_accounts/family_info_fetcher_unittest.cc chrome/browser/supervised_user/child_accounts/kids_management_api.cc chrome/browser/supervised_user/child_accounts/permission_request_creator_apiary_unittest.cc @@ -1351,13 +1367,14 @@ chrome/browser/ui/app_list/app_list_syncable_service.cc chrome/browser/ui/app_list/app_list_test_util.cc chrome/browser/ui/app_list/app_service/app_service_app_model_builder_unittest.cc chrome/browser/ui/app_list/arc/arc_usb_host_permission_browsertest.cc +chrome/browser/ui/app_list/chrome_app_list_model_updater_browsertest.cc chrome/browser/ui/app_list/search/arc/recommend_apps_fetcher_impl.cc chrome/browser/ui/app_list/search/arc/recommend_apps_fetcher_impl_unittest.cc +chrome/browser/ui/app_list/search/common/string_util.cc +chrome/browser/ui/app_list/search/common/string_util_unittest.cc chrome/browser/ui/app_list/search/files/item_suggest_cache.h chrome/browser/ui/app_list/search/files/item_suggest_cache_unittest.cc chrome/browser/ui/app_list/search/omnibox_provider.cc -chrome/browser/ui/app_list/search/open_tab_result.cc -chrome/browser/ui/app_list/search/open_tab_result_unittest.cc chrome/browser/ui/app_list/search/search_result_ranker/app_launch_event_logger_unittest.cc chrome/browser/ui/app_list/search/search_result_ranker/ranking_item_util_unittest.cc chrome/browser/ui/app_list/search/search_result_ranker/search_result_ranker_unittest.cc @@ -1372,7 +1389,6 @@ chrome/browser/ui/ash/chrome_shell_delegate.cc chrome/browser/ui/ash/desks_templates/desks_templates_client_browsertest.cc chrome/browser/ui/ash/in_session_auth_dialog_client.cc chrome/browser/ui/ash/projector/projector_navigation_throttle_browsertest.cc -chrome/browser/ui/ash/projector/projector_utils_unittest.cc chrome/browser/ui/ash/session_controller_client_impl_unittest.cc chrome/browser/ui/ash/shelf/chrome_shelf_controller_unittest.cc chrome/browser/ui/ash/system_tray_client_impl.cc @@ -1382,7 +1398,6 @@ chrome/browser/ui/blocked_content/tab_under_navigation_throttle.h chrome/browser/ui/bookmarks/bookmark_browsertest.cc chrome/browser/ui/bookmarks/bookmark_ui_utils_desktop_unittest.cc chrome/browser/ui/browser_browsertest.cc -chrome/browser/ui/browser_commands_browsertest.cc chrome/browser/ui/browser_content_setting_bubble_model_delegate.cc chrome/browser/ui/browser_focus_uitest.cc chrome/browser/ui/browser_instant_controller_unittest.cc @@ -1410,6 +1425,7 @@ chrome/browser/ui/extensions/hosted_app_browsertest.cc chrome/browser/ui/extensions/installation_error_infobar_delegate.cc chrome/browser/ui/global_media_controls/presentation_request_notification_producer_unittest.cc chrome/browser/ui/hid/hid_chooser_controller_unittest.cc +chrome/browser/ui/intent_picker_tab_helper_unittest.cc chrome/browser/ui/managed_ui.cc chrome/browser/ui/media_router/media_cast_mode.h chrome/browser/ui/media_router/media_cast_mode_unittest.cc @@ -1419,16 +1435,18 @@ chrome/browser/ui/media_router/query_result_manager.h chrome/browser/ui/omnibox/omnibox_view_browsertest.cc chrome/browser/ui/passwords/account_storage_auth_helper_unittest.cc chrome/browser/ui/passwords/bubble_controllers/generation_confirmation_bubble_controller.h +chrome/browser/ui/passwords/bubble_controllers/items_bubble_controller_unittest.cc chrome/browser/ui/passwords/bubble_controllers/move_to_account_store_bubble_controller_unittest.cc chrome/browser/ui/passwords/manage_passwords_ui_controller_unittest.cc -chrome/browser/ui/passwords/manage_passwords_view_utils.h chrome/browser/ui/passwords/passwords_model_delegate.h chrome/browser/ui/passwords/settings/password_manager_presenter_unittest.cc +chrome/browser/ui/passwords/ui_utils.h 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/pdf/adobe_reader_info_win.cc chrome/browser/ui/quick_answers/quick_answers_access_token_fetcher.cc +chrome/browser/ui/quick_answers/quick_answers_state_ash_unittest.cc chrome/browser/ui/quick_answers/quick_answers_ui_controller.cc chrome/browser/ui/search/ntp_user_data_logger_unittest.cc chrome/browser/ui/search/search_tab_helper.h @@ -1487,7 +1505,6 @@ chrome/browser/ui/views/profiles/profile_menu_view_browsertest.cc chrome/browser/ui/views/profiles/profile_picker_view_browsertest.cc chrome/browser/ui/views/qrcode_generator/qrcode_generator_bubble_browsertest.cc chrome/browser/ui/views/qrcode_generator/qrcode_generator_bubble_unittest.cc -chrome/browser/ui/views/read_later/read_later_button_browsertest.cc chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc chrome/browser/ui/views/session_crashed_bubble_view.cc chrome/browser/ui/views/sharing/click_to_call_browsertest.cc @@ -1498,7 +1515,6 @@ chrome/browser/ui/views/user_education/browser_feature_promo_controller.cc chrome/browser/ui/views/web_apps/frame_toolbar/web_app_frame_toolbar_browsertest.cc chrome/browser/ui/views/web_apps/web_app_integration_test_driver.h chrome/browser/ui/web_applications/web_app_browsertest.cc -chrome/browser/ui/web_applications/web_app_link_capturing_browsertest.cc chrome/browser/ui/web_applications/web_app_navigate_browsertest.cc chrome/browser/ui/webui/PRESUBMIT.py chrome/browser/ui/webui/app_management/app_management_page_handler.cc @@ -1533,7 +1549,6 @@ chrome/browser/ui/webui/ntp/ntp_resource_cache.cc chrome/browser/ui/webui/policy/policy_ui_browsertest.cc chrome/browser/ui/webui/print_preview/pdf_printer_handler_unittest.cc chrome/browser/ui/webui/profile_info_watcher.h -chrome/browser/ui/webui/read_later/read_later_page_handler_unittest.cc chrome/browser/ui/webui/settings/about_handler_unittest.cc chrome/browser/ui/webui/settings/chromeos/parental_controls_handler.cc chrome/browser/ui/webui/settings/on_startup_handler_unittest.cc @@ -1548,6 +1563,7 @@ chrome/browser/ui/webui/settings/settings_utils_unittest.cc chrome/browser/ui/webui/settings/settings_utils_win.cc chrome/browser/ui/webui/settings/site_settings_handler_unittest.cc chrome/browser/ui/webui/settings/site_settings_helper_unittest.cc +chrome/browser/ui/webui/side_panel/reading_list/reading_list_page_handler_unittest.cc chrome/browser/ui/webui/signin/profile_picker_handler_unittest.cc chrome/browser/ui/webui/signin/signin_error_handler_unittest.cc chrome/browser/ui/webui/signin/signin_helper_chromeos_browsertest.cc @@ -1591,6 +1607,7 @@ chrome/browser/web_applications/preinstalled_web_apps/preinstalled_web_apps.cc chrome/browser/web_applications/preinstalled_web_apps/youtube.cc chrome/browser/web_applications/preinstalled_web_apps_browsertest.cc chrome/browser/web_applications/system_web_apps/system_web_app_types.h +chrome/browser/web_applications/user_display_mode.h chrome/browser/web_applications/web_app_helpers_unittest.cc chrome/browser/web_applications/web_app_icon_downloader_unittest.cc chrome/browser/web_applications/web_app_id_constants.cc @@ -1677,6 +1694,7 @@ chrome/common/extensions/api/privacy.json chrome/common/extensions/api/scripting.idl chrome/common/extensions/api/tabs.json chrome/common/extensions/api/tts.json +chrome/common/extensions/api/web_authentication_proxy.idl chrome/common/extensions/api/webrtc_audio_private.idl chrome/common/extensions/api/webview_tag.json chrome/common/extensions/api/windows.json @@ -1697,9 +1715,9 @@ chrome/common/extensions/sync_type_unittest.cc chrome/common/google_url_loader_throttle.cc chrome/common/google_url_loader_throttle_unittest.cc chrome/common/importer/firefox_importer_utils.cc -chrome/common/multi_process_lock.h chrome/common/net/safe_search_util_unittest.cc chrome/common/net/x509_certificate_model_nss_unittest.cc +chrome/common/net/x509_certificate_model_unittest.cc chrome/common/pref_names.cc chrome/common/url_constants.cc chrome/common/url_constants.h @@ -1809,7 +1827,6 @@ chrome/renderer/chrome_content_renderer_client_unittest.cc chrome/renderer/extensions/extension_hooks_delegate_unittest.cc chrome/renderer/media/flash_embed_rewrite.cc chrome/renderer/media/flash_embed_rewrite_unittest.cc -chrome/renderer/resources/cart/cart_domain_cart_url_regex.json chrome/renderer/resources/cart/skip_add_to_cart_request_domain_mapping.json chrome/renderer/resources/extensions/identity_custom_bindings.js chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc @@ -1821,6 +1838,7 @@ chrome/renderer/translate/translate_agent_browsertest.cc chrome/services/file_util/public/cpp/sandboxed_document_analyzer_unittest.cc chrome/services/mac_notifications/mac_notification_service_ns.mm chrome/services/util_win/av_products.cc +chrome/test/BUILD.gn chrome/test/base/android/android_browser_test.h chrome/test/base/chromeos/test_chrome_main.cc chrome/test/base/in_process_browser_test_browsertest.cc @@ -1879,7 +1897,6 @@ chrome/test/mini_installer/installer_test.py chrome/test/mini_installer/update_lastrun.py chrome/test/nacl/nacl_browsertest_util.h chrome/test/payments/payment_request_platform_browsertest_base.h -chrome/test/webapps/download_data_from_sheet.py chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp chrome/third_party/mozilla_security_manager/nsNSSCertHelper.h chrome/third_party/mozilla_security_manager/nsNSSCertificate.cpp @@ -1934,18 +1951,16 @@ chromecast/net/net_switches.cc chromecast/public/bluetooth/gatt.h chromecast/public/output_restrictions.h chromeos/BUILD.gn +chromeos/ash/components/dbus/biod/fake_biod_client_unittest.cc chromeos/chromeos_strings.grd chromeos/components/cros_elements/button/button.js chromeos/components/local_search_service/content_extraction_utils_unittest.cc -chromeos/components/multidevice/remote_device_test_util.cc -chromeos/components/multidevice/stub_multidevice_util.cc chromeos/components/quick_answers/translation_result_loader.cc chromeos/components/quick_answers/translation_result_loader_unittest.cc chromeos/components/string_matching/tokenized_string_unittest.cc chromeos/components/test/data/onc/proxy_config.json chromeos/components/test/data/onc/shill_wifi_proxy.json chromeos/dbus/arc/arc_obb_mounter_client.h -chromeos/dbus/biod/fake_biod_client_unittest.cc chromeos/dbus/debug_daemon/debug_daemon_client.h chromeos/dbus/dlcservice/dlcservice_client.h chromeos/dbus/hiberman/hiberman_client_unittest.cc @@ -1981,14 +1996,10 @@ chromeos/services/assistant/assistant_manager_service_impl.cc chromeos/services/assistant/service.cc chromeos/services/assistant/service_unittest.cc chromeos/services/libassistant/public/cpp/assistant_suggestion.h -chromeos/tpm/tpm_token_info_getter_unittest.cc -cloud_print/virtual_driver/win/install/setup.cc -cloud_print/virtual_driver/win/install/virtual_driver_setup_resources.grd -cloud_print/virtual_driver/win/port_monitor/port_monitor.cc components/BUILD.gn components/account_manager_core/account_manager_facade_impl_unittest.cc components/android_system_error_page/error_page_populator.cc -components/app_restore/full_restore_info_unittest.cc +components/app_restore/app_restore_info_unittest.cc components/arc/common/intent_helper/link_handler_model_unittest.cc components/arc/intent_helper/arc_intent_helper_bridge_unittest.cc components/assist_ranker/predictor_config_definitions.cc @@ -2094,15 +2105,16 @@ components/certificate_transparency/chrome_require_ct_delegate_unittest.cc components/certificate_transparency/data/log_list.json components/chrome_cleaner/public/constants/constants.h components/cloud_devices/common/cloud_device_description.h -components/cloud_devices/common/cloud_devices_urls.cc -components/cloud_devices/common/cloud_devices_urls_unittest.cc components/cloud_devices/common/printer_description.h +components/commerce/core/commerce_feature_list.h +components/commerce/core/heuristics/resources/cart_domain_cart_url_regex.json components/component_updater/component_updater_url_constants.cc components/components_google_chrome_strings.grd components/content_creation/notes/core/server/notes_repository.cc components/content_creation/notes/core/server/notes_server_base.cc components/content_creation/notes/core/templates/template_constants.cc components/content_creation/notes/core/templates/template_fetcher.h +components/content_creation/notes/core/templates/template_store_unittest.cc components/content_creation/reactions/core/reaction_list_factory.cc components/content_settings/browser/page_specific_content_settings_unittest.cc components/content_settings/core/browser/content_settings_provider_unittest.cc @@ -2231,6 +2243,7 @@ components/history_clusters/core/ranking_cluster_finalizer_unittest.cc components/history_clusters/core/similar_visit_deduper_cluster_finalizer_unittest.cc components/history_clusters/core/single_visit_cluster_finalizer_unittest.cc components/history_clusters/core/url_deduper_cluster_finalizer_unittest.cc +components/history_clusters_strings.grdp components/history_strings.grdp components/image_fetcher/ios/webp_decoder.h components/infobars/content/content_infobar_manager.cc @@ -2444,6 +2457,7 @@ components/paint_preview/renderer/paint_preview_recorder_browsertest.cc components/paint_preview/renderer/paint_preview_recorder_utils_unittest.cc components/password_manager/content/browser/content_password_manager_driver_unittest.cc components/password_manager/core/browser/android_affiliation/affiliation_utils.h +components/password_manager/core/browser/built_in_backend_to_android_backend_migrator_unittest.cc components/password_manager/core/browser/credential_manager_impl_unittest.cc components/password_manager/core/browser/credential_manager_logger_unittest.cc components/password_manager/core/browser/credential_manager_pending_request_task_unittest.cc @@ -2499,6 +2513,7 @@ components/password_manager/core/browser/password_reuse_manager_impl_unittest.cc components/password_manager/core/browser/password_save_manager_impl_unittest.cc components/password_manager/core/browser/password_scripts_fetcher_impl.cc components/password_manager/core/browser/password_scripts_fetcher_impl_unittests.cc +components/password_manager/core/browser/password_store_backend_migration_decorator_unittest.cc components/password_manager/core/browser/password_store_unittest.cc components/password_manager/core/browser/password_sync_util.cc components/password_manager/core/browser/password_sync_util_unittest.cc @@ -2743,8 +2758,9 @@ 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_locator_mojom_traits_unittest.cc -components/services/storage/shared_storage/async_shared_storage_database_unittest.cc +components/services/storage/shared_storage/async_shared_storage_database_impl_unittest.cc components/services/storage/shared_storage/shared_storage_database_unittest.cc +components/services/storage/shared_storage/shared_storage_manager_unittest.cc components/shared_highlighting/core/common/disabled_sites.cc components/shared_highlighting/core/common/disabled_sites_unittest.cc components/shared_highlighting/core/common/fragment_directives_utils_unittest.cc @@ -2761,7 +2777,6 @@ components/signin/internal/identity_manager/account_tracker_service_unittest.cc components/signin/internal/identity_manager/mutable_profile_oauth2_token_service_delegate_unittest.cc components/signin/internal/identity_manager/oauth_multilogin_helper_unittest.cc components/signin/internal/identity_manager/primary_account_manager_unittest.cc -components/signin/internal/identity_manager/primary_account_policy_manager_impl_unittest.cc components/signin/internal/identity_manager/profile_oauth2_token_service_delegate_android.cc components/signin/internal/identity_manager/profile_oauth2_token_service_delegate_chromeos_unittest.cc components/signin/internal/identity_manager/profile_oauth2_token_service_unittest.cc @@ -2894,6 +2909,7 @@ content/app_shim_remote_cocoa/render_widget_host_view_cocoa.mm content/browser/accessibility/accessibility_action_browsertest.cc content/browser/accessibility/accessibility_auralinux_browsertest.cc content/browser/accessibility/browser_accessibility.h +content/browser/accessibility/browser_accessibility_fuchsia.h content/browser/accessibility/browser_accessibility_manager.cc content/browser/accessibility/browser_accessibility_manager.h content/browser/accessibility/hit_testing_browsertest.cc @@ -2929,6 +2945,9 @@ content/browser/download/mhtml_generation_browsertest.cc content/browser/download/save_package_unittest.cc content/browser/fenced_frame/fenced_frame_unittest.cc content/browser/file_system/browser_file_system_helper_unittest.cc +content/browser/first_party_sets/first_party_sets_handler_impl.cc +content/browser/first_party_sets/first_party_sets_handler_impl.h +content/browser/first_party_sets/first_party_sets_handler_impl_unittest.cc content/browser/font_access/font_enumeration_cache.cc content/browser/font_access/font_enumeration_data_source_win.cc content/browser/font_unique_name_lookup/font_unique_name_lookup_unittest.cc @@ -2943,6 +2962,7 @@ content/browser/indexed_db/indexed_db_reporting.cc content/browser/installedapp/installed_app_provider_impl_win.cc content/browser/interest_group/auction_runner.h content/browser/interest_group/auction_runner_unittest.cc +content/browser/interest_group/interest_group_update_manager.cc content/browser/loader/file_url_loader_factory_unittest.cc content/browser/loader/prefetch_browsertest.cc content/browser/media/media_devices_permission_checker_unittest.cc @@ -2989,7 +3009,9 @@ content/browser/renderer_host/render_process_host_impl.cc content/browser/renderer_host/render_process_host_unittest.cc content/browser/renderer_host/render_view_host_impl.h content/browser/renderer_host/render_view_host_unittest.cc +content/browser/renderer_host/render_widget_host_impl.h content/browser/renderer_host/render_widget_host_input_event_router.cc +content/browser/renderer_host/render_widget_host_view_aura.h content/browser/renderer_host/text_input_client_mac.h content/browser/renderer_host/virtual_keyboard_controller_win.h content/browser/resources/PRESUBMIT.py @@ -3086,6 +3108,7 @@ content/test/gpu/flake_suppressor/results_unittest.py content/test/gpu/gather_power_measurement_results.py content/test/gpu/gather_swarming_json_results.py content/test/gpu/gpu_tests/power_measurement_integration_test.py +content/test/gpu/gpu_tests/test_expectations/webgpu_cts_expectation_queries.js content/test/gpu/measure_power_intel.py content/test/gpu/power_measurement_results/analyze_power_measurement_results.py content/test/gpu/suppress_flakes.py @@ -3333,13 +3356,9 @@ infra/config/generated/builders/ci/Android WebView N (dbg)/properties.json infra/config/generated/builders/ci/Android WebView O (dbg)/properties.json infra/config/generated/builders/ci/Android WebView P (dbg)/properties.json infra/config/generated/builders/ci/Dawn Mac x64 DEPS Builder/properties.json -infra/config/generated/builders/ci/Dawn Win10 x64 DEPS Builder/properties.json -infra/config/generated/builders/ci/Dawn Win10 x86 DEPS Builder/properties.json infra/config/generated/builders/ci/Fuchsia ARM64/properties.json infra/config/generated/builders/ci/Fuchsia x64/properties.json infra/config/generated/builders/ci/GPU Mac Builder/properties.json -infra/config/generated/builders/ci/GPU Win x64 Builder/properties.json -infra/config/generated/builders/ci/Linux ASan LSan Builder/properties.json infra/config/generated/builders/ci/Linux ASan LSan Tests (1)/properties.json infra/config/generated/builders/ci/Linux ASan Tests (sandboxed)/properties.json infra/config/generated/builders/ci/Mac Builder (dbg)/properties.json @@ -3348,10 +3367,9 @@ infra/config/generated/builders/ci/Marshmallow 64 bit Tester/properties.json infra/config/generated/builders/ci/Nougat Phone Tester/properties.json infra/config/generated/builders/ci/Oreo Phone Tester/properties.json infra/config/generated/builders/ci/Win 7 Tests x64 (1)/properties.json -infra/config/generated/builders/ci/Win Builder (dbg)/properties.json -infra/config/generated/builders/ci/Win x64 Builder/properties.json infra/config/generated/builders/ci/Win10 Tests x64/properties.json -infra/config/generated/builders/ci/android-cronet-arm-rel-kitkat-tests/properties.json +infra/config/generated/builders/ci/Win7 Tests (1)/properties.json +infra/config/generated/builders/ci/android-cronet-x86-dbg-10-tests/properties.json infra/config/generated/builders/ci/chromeos-amd64-generic-dbg/properties.json infra/config/generated/builders/ci/chromeos-amd64-generic-lacros-dbg/properties.json infra/config/generated/builders/ci/chromeos-amd64-generic-rel/properties.json @@ -3373,6 +3391,7 @@ infra/config/generated/builders/ci/linux-lacros-builder-rel/properties.json infra/config/generated/builders/ci/linux-lacros-dbg/properties.json infra/config/generated/builders/ci/linux-lacros-tester-rel/properties.json infra/config/generated/builders/ci/mac-arm64-rel/properties.json +infra/config/generated/builders/ci/mac-official/properties.json infra/config/generated/builders/ci/win-official/properties.json infra/config/generated/builders/ci/win32-official/properties.json infra/config/generated/builders/try/android-cronet-arm-dbg/properties.json @@ -3392,6 +3411,7 @@ infra/config/generated/builders/try/cast_shell_android/properties.json infra/config/generated/builders/try/cast_shell_linux/properties.json infra/config/generated/builders/try/cast_shell_linux_dbg/properties.json infra/config/generated/builders/try/chromeos-amd64-generic-dbg/properties.json +infra/config/generated/builders/try/chromeos-amd64-generic-lacros-dbg/properties.json infra/config/generated/builders/try/chromeos-amd64-generic-rel-compilator/properties.json infra/config/generated/builders/try/chromeos-arm-generic-rel/properties.json infra/config/generated/builders/try/chromeos-arm64-generic-rel/properties.json @@ -3464,8 +3484,8 @@ ios/chrome/browser/crash_report/breadcrumbs/breadcrumb_manager_tab_helper_unitte ios/chrome/browser/flags/about_flags.mm ios/chrome/browser/flags/ios_chrome_flag_descriptions.h ios/chrome/browser/history/history_tab_helper_unittest.mm +ios/chrome/browser/link_to_text/link_to_text_java_script_feature_unittest.mm ios/chrome/browser/metrics/tab_usage_recorder_browser_agent_unittest.mm -ios/chrome/browser/net/cookie_util_unittest.mm ios/chrome/browser/net/retryable_url_fetcher_unittest.mm ios/chrome/browser/ntp/browser_policy_new_tab_page_rewriter_unittest.mm ios/chrome/browser/omaha/omaha_service.mm @@ -3473,11 +3493,13 @@ ios/chrome/browser/optimization_guide/optimization_guide_validation_tab_helper_u ios/chrome/browser/passwords/password_controller_js_unittest.mm ios/chrome/browser/passwords/password_controller_unittest.mm ios/chrome/browser/passwords/test/mock_ios_chrome_save_passwords_infobar_delegate.mm +ios/chrome/browser/policy/cloud/user_policy_signin_service_unittest.mm ios/chrome/browser/policy/new_tab_page_location_policy_handler_unittest.cc ios/chrome/browser/policy/policy_watcher_browser_agent_unittest.mm ios/chrome/browser/policy/reporting/profile_report_generator_ios_unittest.mm ios/chrome/browser/policy/restrict_accounts_policy_handler_unittest.cc ios/chrome/browser/prerender/prerender_service_impl_unittest.mm +ios/chrome/browser/safe_browsing/safe_browsing_client_impl_unittest.mm ios/chrome/browser/search_engines/resources/search_engine.js ios/chrome/browser/search_engines/search_engine_js_unittest.mm ios/chrome/browser/search_engines/search_engine_tab_helper.h @@ -3515,9 +3537,9 @@ ios/chrome/browser/ui/bookmarks/bookmark_earl_grey_ui.h ios/chrome/browser/ui/bookmarks/bookmarks_egtest.mm ios/chrome/browser/ui/browser_container/browser_container_coordinator_unittest.mm ios/chrome/browser/ui/browser_view/browser_view_controller_helper_unittest.mm +ios/chrome/browser/ui/content_suggestions/content_suggestions_mediator_unittest.mm ios/chrome/browser/ui/content_suggestions/new_tab_page_app_interface.mm ios/chrome/browser/ui/content_suggestions/ntp_home_mediator.mm -ios/chrome/browser/ui/content_suggestions/ntp_home_mediator_unittest.mm ios/chrome/browser/ui/dialogs/nsurl_protection_space_util_unittest.mm ios/chrome/browser/ui/infobars/test/test_infobar_password_delegate.mm ios/chrome/browser/ui/link_to_text/link_to_text_mediator_unittest.mm @@ -3529,6 +3551,7 @@ ios/chrome/browser/ui/ntp/notification_promo_whats_new.mm ios/chrome/browser/ui/ntp/notification_promo_whats_new_unittest.mm ios/chrome/browser/ui/ntp/revamped_incognito_view.mm ios/chrome/browser/ui/omnibox/omnibox_egtest.mm +ios/chrome/browser/ui/permissions/permissions_egtest.mm ios/chrome/browser/ui/popup_menu/overflow_menu/overflow_menu_mediator_unittest.mm ios/chrome/browser/ui/popup_menu/popup_menu_mediator_unittest.mm ios/chrome/browser/ui/qr_generator/qr_generator_coordinator_unittest.mm @@ -3575,6 +3598,7 @@ ios/chrome/test/earl_grey/chrome_earl_grey_ui.h ios/chrome/test/earl_grey/device_check_egtest.mm ios/chrome/test/providers/omaha/test_omaha.cc ios/chrome/test/xcuitest/device_check_xctest.mm +ios/components/cookie_util/cookie_util_unittest.mm ios/components/credential_provider_extension/password_spec_fetcher.mm ios/net/cookies/cookie_cache_unittest.cc ios/net/cookies/cookie_store_ios_test_util.mm @@ -3598,8 +3622,6 @@ ios/web/browsing_data/browsing_data_remover_unittest.mm ios/web/browsing_data/system_cookie_store_util_unittest.mm ios/web/favicon/favicon_util_unittest.mm ios/web/js_features/context_menu/context_menu_js_unittest.mm -ios/web/js_messaging/resources/frame_listeners.js -ios/web/js_messaging/resources/setup_frame.js ios/web/js_messaging/resources/window_id.js ios/web/navigation/history_state_operations_inttest.mm ios/web/navigation/navigation_manager_impl.mm @@ -3680,6 +3702,7 @@ media/filters/decrypting_audio_decoder.h media/filters/decrypting_video_decoder.h media/filters/source_buffer_stream_unittest.cc media/filters/video_cadence_estimator.h +media/formats/hls/media_playlist_unittest.cc media/fuchsia/common/vmo_buffer_writer_queue.cc media/gpu/android/android_video_encode_accelerator.h media/gpu/buffer_validation_unittest.cc @@ -3694,7 +3717,6 @@ media/gpu/vaapi/vaapi_image_decoder_test_common.h media/gpu/vaapi/vaapi_jpeg_decoder_unittest.cc media/gpu/vaapi/vaapi_unittest.cc media/gpu/vaapi/vaapi_webp_decoder_unittest.cc -media/gpu/windows/d3d11_av1_accelerator.cc media/gpu/windows/d3d11_video_decoder.cc media/gpu/windows/d3d11_vp9_accelerator.cc media/gpu/windows/dxva_video_decode_accelerator_win.cc @@ -4089,6 +4111,7 @@ net/data/fuzzer_data/http_security_headers/http_security_header_047.txt net/data/parse_certificate_unittest/v3_certificate_template.txt net/disk_cache/disk_cache.h net/disk_cache/simple/simple_backend_impl.h +net/disk_cache/simple/simple_file_enumerator.h net/disk_cache/simple/simple_index.cc net/dns/context_host_resolver_unittest.cc net/dns/dns_config_service_linux_unittest.cc @@ -4229,30 +4252,30 @@ net/third_party/mozilla_win/cert/win_util.cc net/third_party/mozilla_win/cert/win_util.h net/third_party/nss/ssl/cmpcert.cc net/third_party/nss/ssl/cmpcert.h -net/third_party/quiche/src/http2/core/priority_write_scheduler.h -net/third_party/quiche/src/quic/core/crypto/client_proof_source_test.cc -net/third_party/quiche/src/quic/core/crypto/quic_crypto_client_config.h -net/third_party/quiche/src/quic/core/crypto/quic_crypto_client_config_test.cc -net/third_party/quiche/src/quic/core/crypto/tls_server_connection.h -net/third_party/quiche/src/quic/core/http/quic_client_promised_info_test.cc -net/third_party/quiche/src/quic/core/http/quic_client_push_promise_index_test.cc -net/third_party/quiche/src/quic/core/http/quic_spdy_client_session_test.cc -net/third_party/quiche/src/quic/core/http/quic_spdy_server_stream_base_test.cc -net/third_party/quiche/src/quic/core/http/quic_spdy_stream_test.cc -net/third_party/quiche/src/quic/core/http/spdy_server_push_utils_test.cc -net/third_party/quiche/src/quic/core/http/spdy_utils_test.cc -net/third_party/quiche/src/quic/core/quic_crypto_stream.h -net/third_party/quiche/src/quic/core/quic_dispatcher_test.cc -net/third_party/quiche/src/quic/core/quic_packet_creator_test.cc -net/third_party/quiche/src/quic/core/quic_server_id_test.cc -net/third_party/quiche/src/quic/core/quic_session_test.cc -net/third_party/quiche/src/quic/platform/api/quic_hostname_utils_test.cc -net/third_party/quiche/src/quic/tools/quic_client_bin.cc -net/third_party/quiche/src/quic/tools/quic_memory_cache_backend.cc -net/third_party/quiche/src/quic/tools/quic_memory_cache_backend_test.cc -net/third_party/quiche/src/quic/tools/quic_simple_server_stream_test.cc -net/third_party/quiche/src/quic/tools/quic_toy_client.cc -net/third_party/quiche/src/spdy/core/spdy_protocol.h +net/third_party/quiche/src/quiche/common/platform/api/quiche_hostname_utils_test.cc +net/third_party/quiche/src/quiche/http2/core/priority_write_scheduler.h +net/third_party/quiche/src/quiche/quic/core/crypto/client_proof_source_test.cc +net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_client_config.h +net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_client_config_test.cc +net/third_party/quiche/src/quiche/quic/core/crypto/tls_server_connection.h +net/third_party/quiche/src/quiche/quic/core/http/quic_client_promised_info_test.cc +net/third_party/quiche/src/quiche/quic/core/http/quic_client_push_promise_index_test.cc +net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_client_session_test.cc +net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_server_stream_base_test.cc +net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_stream_test.cc +net/third_party/quiche/src/quiche/quic/core/http/spdy_server_push_utils_test.cc +net/third_party/quiche/src/quiche/quic/core/http/spdy_utils_test.cc +net/third_party/quiche/src/quiche/quic/core/quic_crypto_stream.h +net/third_party/quiche/src/quiche/quic/core/quic_dispatcher_test.cc +net/third_party/quiche/src/quiche/quic/core/quic_packet_creator_test.cc +net/third_party/quiche/src/quiche/quic/core/quic_server_id_test.cc +net/third_party/quiche/src/quiche/quic/core/quic_session_test.cc +net/third_party/quiche/src/quiche/quic/tools/quic_client_bin.cc +net/third_party/quiche/src/quiche/quic/tools/quic_memory_cache_backend.cc +net/third_party/quiche/src/quiche/quic/tools/quic_memory_cache_backend_test.cc +net/third_party/quiche/src/quiche/quic/tools/quic_simple_server_stream_test.cc +net/third_party/quiche/src/quiche/quic/tools/quic_toy_client.cc +net/third_party/quiche/src/quiche/spdy/core/spdy_protocol.h net/tools/print_certificates.py net/tools/quic/quic_http_proxy_backend_test.cc net/tools/quic/quic_simple_client_bin.cc @@ -4336,6 +4359,7 @@ remoting/host/host_config_unittest.cc remoting/host/host_status_logger_unittest.cc remoting/host/input_injector_x11.cc remoting/host/it2me/com.google.chrome.remote_assistance-firefox.json.jinja2 +remoting/host/it2me/it2me_confirmation_dialog_chromeos_unittest.cc remoting/host/it2me/it2me_constants.cc remoting/host/it2me/it2me_host_unittest.cc remoting/host/it2me/it2me_native_messaging_host_unittest.cc @@ -4349,6 +4373,7 @@ remoting/host/sas_injector_win.cc remoting/host/setup/com.google.chrome.remote_desktop-firefox.json.jinja2 remoting/host/setup/start_host_main.cc remoting/host/touch_injector_win.cc +remoting/host/webauthn/remote_webauthn_extension_notifier.cc remoting/host/win/etw_trace_controller.cc remoting/host/win/trust_util.cc remoting/host/xmpp_register_support_host_request_unittest.cc @@ -4381,6 +4406,7 @@ rlz/lib/rlz_lib_test.cc sandbox/features.gni sandbox/linux/integration_tests/bpf_dsl_seccomp_unittest.cc sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc +sandbox/linux/seccomp-bpf-helpers/baseline_policy_android.cc sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc sandbox/linux/services/libc_interceptor.cc @@ -4431,8 +4457,6 @@ services/media_session/media_controller_unittest.cc services/network/cookie_manager_unittest.cc services/network/cors/preflight_controller_unittest.cc services/network/cors/preflight_result_unittest.cc -services/network/first_party_sets/first_party_sets.cc -services/network/first_party_sets/first_party_sets.h services/network/host_resolver_unittest.cc services/network/http_cache_data_counter_unittest.cc services/network/http_cache_data_remover_unittest.cc @@ -4534,7 +4558,6 @@ testing/scripts/common.py testing/scripts/run_performance_tests.py testing/scripts/rust/test_filtering_unittests.py testing/scripts/variations_smoke_test_data/http_server/index.html -testing/scripts/wpt_common.py testing/test.gni testing/test_env.py testing/trigger_scripts/PRESUBMIT.py @@ -4687,6 +4710,7 @@ third_party/android_platform/development/scripts/stack.py third_party/android_rust_toolchain/toolchain/lib/rustlib/src/rust/library/stdarch/crates/stdarch-verify/arm-intrinsics.html third_party/android_rust_toolchain/toolchain/manifest_8101936.xml third_party/android_support_test_runner/runner/src/main/Android.mk +third_party/angle/BUILD.gn third_party/angle/PRESUBMIT.py third_party/angle/extensions/ANGLE_base_vertex_base_instance.txt third_party/angle/extensions/ANGLE_base_vertex_base_instance_shader_builtin.txt @@ -4749,6 +4773,7 @@ third_party/angle/extensions/EGL_EXT_device_query.txt third_party/angle/include/CL/cl_platform.h third_party/angle/include/GLSLANG/ShaderVars.h third_party/angle/include/platform/FeaturesVk.h +third_party/angle/include/platform/vk_features.json third_party/angle/infra/specs/PRESUBMIT.py third_party/angle/infra/specs/gn_isolate_map.pyl third_party/angle/samples/torus_lighting/TorusBufferStorage.cpp @@ -4827,6 +4852,7 @@ third_party/angle/src/tests/gl_tests/SRGBTextureTest.cpp third_party/angle/src/tests/gl_tests/TextureTest.cpp third_party/angle/src/tests/gl_tests/UniformBufferTest.cpp third_party/angle/src/tests/gl_tests/VulkanExternalImageTest.cpp +third_party/angle/src/tests/gl_tests/VulkanPerformanceCounterTest.cpp third_party/angle/src/tests/gl_tests/gles1/BootAnimationTest.cpp third_party/angle/src/tests/gles1_conformance_tests/ConformanceTests.cpp third_party/angle/src/tests/perf_tests/ANGLEPerfTest.h @@ -4837,6 +4863,7 @@ third_party/angle/src/tests/test_utils/runner/TestSuite.cpp third_party/angle/src/tests/test_utils/runner/android/java/AndroidManifest.xml.jinja2 third_party/angle/src/third_party/volk/volk.h third_party/angle/third_party/BUILD.gn +third_party/angle/third_party/VK-GL-CTS/src/android/cts/AndroidTest.xml third_party/angle/third_party/VK-GL-CTS/src/external/vulkancts/modules/vulkan/conditional_rendering/vktConditionalClearAttachmentTests.cpp third_party/angle/third_party/VK-GL-CTS/src/external/vulkancts/modules/vulkan/conditional_rendering/vktConditionalClearAttachmentTests.hpp third_party/angle/third_party/VK-GL-CTS/src/external/vulkancts/modules/vulkan/conditional_rendering/vktConditionalDispatchTests.cpp @@ -4847,11 +4874,13 @@ third_party/angle/third_party/VK-GL-CTS/src/external/vulkancts/modules/vulkan/co third_party/angle/third_party/VK-GL-CTS/src/external/vulkancts/modules/vulkan/conditional_rendering/vktConditionalRenderingTestUtil.hpp third_party/angle/third_party/VK-GL-CTS/src/external/vulkancts/modules/vulkan/conditional_rendering/vktConditionalTests.cpp third_party/angle/third_party/VK-GL-CTS/src/external/vulkancts/modules/vulkan/conditional_rendering/vktConditionalTests.hpp +third_party/angle/third_party/VK-GL-CTS/src/external/vulkancts/mustpass/AndroidTest.xml third_party/angle/third_party/VK-GL-CTS/src/framework/platform/lnx/wayland/tcuLnxWayland.cpp third_party/angle/third_party/VK-GL-CTS/src/framework/platform/lnx/wayland/tcuLnxWayland.hpp third_party/angle/third_party/VK-GL-CTS/src/framework/platform/lnx/wayland/tcuLnxWaylandEglDisplayFactory.cpp third_party/angle/third_party/VK-GL-CTS/src/framework/platform/lnx/wayland/tcuLnxWaylandEglDisplayFactory.hpp third_party/angle/third_party/VK-GL-CTS/src/scripts/check_swiftshader_runtime.py +third_party/angle/third_party/VK-GL-CTS/src/scripts/mustpass.py third_party/angle/third_party/glmark2/src/src/include/dirent.h third_party/angle/third_party/glmark2/src/src/native-state-dispmanx.cpp third_party/angle/third_party/glmark2/src/src/native-state-dispmanx.h @@ -4981,8 +5010,6 @@ third_party/blink/renderer/bindings/PRESUBMIT.py third_party/blink/renderer/bindings/core/v8/script_regexp.cc third_party/blink/renderer/bindings/core/v8/window_proxy.cc third_party/blink/renderer/bindings/core/v8/window_proxy.h -third_party/blink/renderer/bindings/scripts/blink_idl_lexer.py -third_party/blink/renderer/bindings/scripts/blink_idl_parser.py third_party/blink/renderer/bindings/scripts/utilities.py third_party/blink/renderer/build/scripts/core/style/make_computed_style_base.py third_party/blink/renderer/build/scripts/update_css_ranking.py @@ -5019,7 +5046,6 @@ third_party/blink/renderer/core/css/style_engine_test.cc third_party/blink/renderer/core/css/style_rule_import.cc third_party/blink/renderer/core/css/style_sheet.idl third_party/blink/renderer/core/css/style_sheet_list.idl -third_party/blink/renderer/core/css/svg.css third_party/blink/renderer/core/document_transition/document_transition_content_element.h third_party/blink/renderer/core/dom/abort_controller.h third_party/blink/renderer/core/dom/abort_signal.h @@ -5351,10 +5377,10 @@ third_party/blink/renderer/modules/payments/payment_request.cc third_party/blink/renderer/modules/payments/payment_request_optional_total_test.cc third_party/blink/renderer/modules/payments/payment_response_test.cc third_party/blink/renderer/modules/peerconnection/adapters/ice_transport_adapter_impl.cc -third_party/blink/renderer/modules/peerconnection/rtc_peer_connection.cc third_party/blink/renderer/modules/peerconnection/rtc_peer_connection.h third_party/blink/renderer/modules/peerconnection/rtc_peer_connection.idl third_party/blink/renderer/modules/presentation/presentation_connection_available_event.h +third_party/blink/renderer/modules/scheduler/scheduler.idl third_party/blink/renderer/modules/service_worker/service_worker_content_settings_proxy.cc third_party/blink/renderer/modules/service_worker/service_worker_global_scope.cc third_party/blink/renderer/modules/storage/cached_storage_area.h @@ -5437,6 +5463,7 @@ third_party/blink/renderer/platform/loader/fetch/resource_load_scheduler.cc third_party/blink/renderer/platform/loader/fetch/resource_loader.cc third_party/blink/renderer/platform/loader/fetch/resource_request.h third_party/blink/renderer/platform/loader/fetch/resource_response.h +third_party/blink/renderer/platform/loader/fetch/url_loader/navigation_body_loader_unittest.cc third_party/blink/renderer/platform/loader/fetch/url_loader/web_resource_request_sender_unittest.cc third_party/blink/renderer/platform/mojo/kurl_security_origin_test.cc third_party/blink/renderer/platform/network/form_data_encoder.cc @@ -5725,8 +5752,8 @@ third_party/catapult/dashboard/dashboard/pinpoint/models/change/repository.py third_party/catapult/dashboard/dashboard/pinpoint/models/change/repository_test.py third_party/catapult/dashboard/dashboard/pinpoint/models/errors.py third_party/catapult/dashboard/dashboard/pinpoint/models/job.py -third_party/catapult/dashboard/dashboard/pinpoint/models/job_state.py third_party/catapult/dashboard/dashboard/pinpoint/models/job_test.py +third_party/catapult/dashboard/dashboard/pinpoint/models/quest/find_isolate.py third_party/catapult/dashboard/dashboard/pinpoint/models/quest/find_isolate_test.py third_party/catapult/dashboard/dashboard/pinpoint/models/quest/run_telemetry_test.py third_party/catapult/dashboard/dashboard/pinpoint/models/quest/run_test.py @@ -5801,9 +5828,6 @@ third_party/catapult/experimental/trace_on_tap/background.js third_party/catapult/experimental/trace_on_tap/manifest.json third_party/catapult/experimental/trace_on_tap/trace_uploader.js third_party/catapult/experimental/tracing/bin/diff_heap_profiler.py -third_party/catapult/firefighter/base/bigquery.py -third_party/catapult/firefighter/base/constants.py -third_party/catapult/firefighter/update/common/buildbot/slave.py third_party/catapult/netlog_viewer/netlog_viewer/events_view_test.html third_party/catapult/netlog_viewer/netlog_viewer/log_view_painter_test.html third_party/catapult/netlog_viewer/netlog_viewer/top_bar_view.html @@ -5892,6 +5916,34 @@ third_party/catapult/third_party/flot/jquery.flot.navigate.js third_party/catapult/third_party/flot/jquery.js third_party/catapult/third_party/gae_ts_mon/gae_ts_mon/common/monitors.py third_party/catapult/third_party/gae_ts_mon/gae_ts_mon/httplib2_utils.py +third_party/catapult/third_party/gae_ts_mon/gae_ts_mon/protobuf-3.20.0/google/__init__.py +third_party/catapult/third_party/gae_ts_mon/gae_ts_mon/protobuf-3.20.0/google/protobuf/__init__.py +third_party/catapult/third_party/gae_ts_mon/gae_ts_mon/protobuf-3.20.0/google/protobuf/descriptor.py +third_party/catapult/third_party/gae_ts_mon/gae_ts_mon/protobuf-3.20.0/google/protobuf/descriptor_database.py +third_party/catapult/third_party/gae_ts_mon/gae_ts_mon/protobuf-3.20.0/google/protobuf/descriptor_pool.py +third_party/catapult/third_party/gae_ts_mon/gae_ts_mon/protobuf-3.20.0/google/protobuf/internal/api_implementation.py +third_party/catapult/third_party/gae_ts_mon/gae_ts_mon/protobuf-3.20.0/google/protobuf/internal/builder.py +third_party/catapult/third_party/gae_ts_mon/gae_ts_mon/protobuf-3.20.0/google/protobuf/internal/containers.py +third_party/catapult/third_party/gae_ts_mon/gae_ts_mon/protobuf-3.20.0/google/protobuf/internal/decoder.py +third_party/catapult/third_party/gae_ts_mon/gae_ts_mon/protobuf-3.20.0/google/protobuf/internal/encoder.py +third_party/catapult/third_party/gae_ts_mon/gae_ts_mon/protobuf-3.20.0/google/protobuf/internal/enum_type_wrapper.py +third_party/catapult/third_party/gae_ts_mon/gae_ts_mon/protobuf-3.20.0/google/protobuf/internal/extension_dict.py +third_party/catapult/third_party/gae_ts_mon/gae_ts_mon/protobuf-3.20.0/google/protobuf/internal/message_listener.py +third_party/catapult/third_party/gae_ts_mon/gae_ts_mon/protobuf-3.20.0/google/protobuf/internal/python_message.py +third_party/catapult/third_party/gae_ts_mon/gae_ts_mon/protobuf-3.20.0/google/protobuf/internal/type_checkers.py +third_party/catapult/third_party/gae_ts_mon/gae_ts_mon/protobuf-3.20.0/google/protobuf/internal/well_known_types.py +third_party/catapult/third_party/gae_ts_mon/gae_ts_mon/protobuf-3.20.0/google/protobuf/internal/wire_format.py +third_party/catapult/third_party/gae_ts_mon/gae_ts_mon/protobuf-3.20.0/google/protobuf/json_format.py +third_party/catapult/third_party/gae_ts_mon/gae_ts_mon/protobuf-3.20.0/google/protobuf/message.py +third_party/catapult/third_party/gae_ts_mon/gae_ts_mon/protobuf-3.20.0/google/protobuf/message_factory.py +third_party/catapult/third_party/gae_ts_mon/gae_ts_mon/protobuf-3.20.0/google/protobuf/proto_builder.py +third_party/catapult/third_party/gae_ts_mon/gae_ts_mon/protobuf-3.20.0/google/protobuf/pyext/cpp_message.py +third_party/catapult/third_party/gae_ts_mon/gae_ts_mon/protobuf-3.20.0/google/protobuf/reflection.py +third_party/catapult/third_party/gae_ts_mon/gae_ts_mon/protobuf-3.20.0/google/protobuf/service.py +third_party/catapult/third_party/gae_ts_mon/gae_ts_mon/protobuf-3.20.0/google/protobuf/service_reflection.py +third_party/catapult/third_party/gae_ts_mon/gae_ts_mon/protobuf-3.20.0/google/protobuf/symbol_database.py +third_party/catapult/third_party/gae_ts_mon/gae_ts_mon/protobuf-3.20.0/google/protobuf/text_encoding.py +third_party/catapult/third_party/gae_ts_mon/gae_ts_mon/protobuf-3.20.0/google/protobuf/text_format.py third_party/catapult/third_party/gae_ts_mon/gae_ts_mon/protobuf/google/__init__.py third_party/catapult/third_party/gae_ts_mon/gae_ts_mon/protobuf/google/auth/_cloud_sdk.py third_party/catapult/third_party/gae_ts_mon/gae_ts_mon/protobuf/google/auth/_default.py @@ -6885,7 +6937,7 @@ third_party/dav1d/libdav1d/tools/input/parse.h third_party/dav1d/libdav1d/tools/input/section5.c third_party/dawn/.vscode/tasks.json third_party/dawn/CMakeLists.txt -third_party/dawn/samples/dawn/SampleUtils.cpp +third_party/dawn/PRESUBMIT.py.tint third_party/dawn/src/dawn/common/Compiler.h third_party/dawn/src/dawn/common/vulkan_platform.h third_party/dawn/src/dawn/native/CommandAllocator.cpp @@ -6909,6 +6961,7 @@ third_party/dawn/src/dawn/native/opengl/TextureGL.cpp third_party/dawn/src/dawn/native/vulkan/RenderPassCache.h third_party/dawn/src/dawn/native/vulkan/VulkanInfo.cpp third_party/dawn/src/dawn/native/vulkan/VulkanInfo.h +third_party/dawn/src/dawn/samples/SampleUtils.cpp third_party/dawn/src/dawn/tests/end2end/DepthBiasTests.cpp third_party/dawn/src/dawn/tests/end2end/DepthStencilLoadOpTests.cpp third_party/dawn/src/dawn/tests/end2end/SwapChainValidationTests.cpp @@ -6927,14 +6980,13 @@ third_party/dawn/src/dawn/tests/unittests/validation/ValidationTest.cpp third_party/dawn/src/dawn/tests/unittests/validation/VertexBufferValidationTests.cpp third_party/dawn/src/dawn/tests/white_box/VulkanImageWrappingTests_DmaBuf.cpp third_party/dawn/src/dawn/utils/WindowsDebugLogger.cpp -third_party/dawn/third_party/tint/.vscode/tasks.json -third_party/dawn/third_party/tint/PRESUBMIT.py -third_party/dawn/third_party/tint/src/tint/fuzzers/cli.cc -third_party/dawn/third_party/tint/src/tint/reader/spirv/function.cc -third_party/dawn/third_party/tint/src/tint/reader/spirv/function_cfg_test.cc -third_party/dawn/third_party/tint/src/tint/reader/spirv/parser_impl.cc -third_party/dawn/third_party/tint/src/tint/transform/promote_side_effects_to_decl_test.cc -third_party/dawn/third_party/tint/src/tint/writer/hlsl/generator_impl.cc +third_party/dawn/src/tint/fuzzers/cli.cc +third_party/dawn/src/tint/reader/spirv/function.cc +third_party/dawn/src/tint/reader/spirv/function_cfg_test.cc +third_party/dawn/src/tint/reader/spirv/parser_impl.cc +third_party/dawn/src/tint/transform/promote_side_effects_to_decl_test.cc +third_party/dawn/src/tint/writer/hlsl/generator_impl.cc +third_party/dawn/third_party/webgpu-cts/standalone/index.html third_party/depot_tools/PRESUBMIT.py third_party/depot_tools/auth.py third_party/depot_tools/autoninja.py @@ -9231,6 +9283,8 @@ third_party/ffmpeg/libavutil/downmix_info.h third_party/ffmpeg/libavutil/ffmath.h third_party/ffmpeg/libavutil/hdr_dynamic_metadata.c third_party/ffmpeg/libavutil/hdr_dynamic_metadata.h +third_party/ffmpeg/libavutil/hdr_dynamic_vivid_metadata.c +third_party/ffmpeg/libavutil/hdr_dynamic_vivid_metadata.h third_party/ffmpeg/libavutil/mastering_display_metadata.c third_party/ffmpeg/libavutil/mastering_display_metadata.h third_party/ffmpeg/libavutil/random_seed.c @@ -9726,6 +9780,7 @@ third_party/harfbuzz-ng/src/docs/usermanual-install-harfbuzz.xml third_party/harfbuzz-ng/src/docs/usermanual-integration.xml third_party/harfbuzz-ng/src/docs/usermanual-opentype-features.xml third_party/harfbuzz-ng/src/docs/usermanual-what-is-harfbuzz.xml +third_party/harfbuzz-ng/src/src/OT/Layout/GSUB/GSUB.hh third_party/harfbuzz-ng/src/src/gen-os2-unicode-ranges.py third_party/harfbuzz-ng/src/src/gen-tag-table.py third_party/harfbuzz-ng/src/src/hb-buffer.cc @@ -9752,7 +9807,6 @@ third_party/harfbuzz-ng/src/src/hb-ot-layout-base-table.hh third_party/harfbuzz-ng/src/src/hb-ot-layout-common.hh third_party/harfbuzz-ng/src/src/hb-ot-layout-gdef-table.hh third_party/harfbuzz-ng/src/src/hb-ot-layout-gpos-table.hh -third_party/harfbuzz-ng/src/src/hb-ot-layout-gsub-table.hh third_party/harfbuzz-ng/src/src/hb-ot-layout-gsubgpos.hh third_party/harfbuzz-ng/src/src/hb-ot-layout-jstf-table.hh third_party/harfbuzz-ng/src/src/hb-ot-layout.cc @@ -9932,6 +9986,7 @@ third_party/libaom/source/libaom/av1/encoder/tx_search.c third_party/libaom/source/libaom/test/gviz_api.py third_party/libaom/source/libaom/test/metrics_template.html third_party/libaom/source/libaom/test/visual_metrics.py +third_party/libaom/source/libaom/third_party/googletest/src/googlemock/src/gmock_main.cc third_party/libaom/source/libaom/third_party/googletest/src/googletest/include/gtest/gtest_pred_impl.h third_party/libaom/source/libaom/third_party/googletest/src/googletest/include/gtest/internal/gtest-port.h third_party/libaom/source/libaom/third_party/googletest/src/googletest/src/gtest-death-test.cc @@ -9948,6 +10003,7 @@ third_party/libaom/source/libaom/tools/wrap-commit-msg.py third_party/libavif/src/src/codec_aom.c third_party/libavif/src/src/reformat.c third_party/libavif/src/src/reformat_libyuv.c +third_party/libavif/src/src/scale.c third_party/libdrm/src/android/gralloc_handle.h third_party/libdrm/src/etnaviv/etnaviv_bo.c third_party/libdrm/src/etnaviv/etnaviv_bo_cache.c @@ -9997,6 +10053,10 @@ third_party/liblouis/src/tools/brl_checks.c third_party/liblouis/src/tools/brl_checks.h third_party/liblouis/src/tools/gnulib/getprogname.c third_party/liblouis/src/tools/gnulib/msvc-inval.h +third_party/liblouis/src/tools/gnulib/pathmax.h +third_party/liblouis/src/tools/gnulib/stat-time.h +third_party/liblouis/src/tools/gnulib/stat-w32.c +third_party/liblouis/src/tools/gnulib/stat.c third_party/liblouis/wasm/liblouis_wasm.js third_party/libphonenumber/dist/cpp/src/phonenumbers/phonenumbermatcher.h third_party/libphonenumber/dist/cpp/test/phonenumbers/phonenumberutil_test.cc @@ -10440,7 +10500,6 @@ third_party/mozilla/NSString+Utils.h third_party/mozilla/NSString+Utils.mm third_party/mozilla/NSURL+Utils.h third_party/mozilla/NSWorkspace+Utils.h -third_party/nearby/src/connections/clients/windows/dart/core_adapter_dart.cc third_party/nearby/src/connections/implementation/mediums/ble_v2.cc third_party/nearby/src/connections/implementation/mediums/uuid.h third_party/nearby/src/internal/platform/bluetooth_adapter.h @@ -10451,7 +10510,7 @@ third_party/nearby/src/internal/platform/implementation/bluetooth_adapter.h third_party/nearby/src/internal/platform/implementation/bluetooth_classic.h third_party/nearby/src/internal/platform/implementation/g3/bluetooth_adapter.h third_party/nearby/src/internal/platform/implementation/g3/bluetooth_classic.h -third_party/nearby/src/internal/platform/implementation/ios/Source/GNCConnection.h +third_party/nearby/src/internal/platform/implementation/ios/Source/Public/NearbyConnections/GNCConnection.h third_party/nearby/src/internal/platform/implementation/platform.h third_party/nearby/src/internal/platform/implementation/windows/ble.h third_party/nearby/src/internal/platform/implementation/windows/bluetooth_adapter.cc @@ -10952,6 +11011,7 @@ third_party/perfetto/src/trace_processor/importers/fuchsia/fuchsia_trace_tokeniz third_party/perfetto/src/trace_processor/importers/fuchsia/fuchsia_trace_utils.h third_party/perfetto/src/trace_processor/importers/ninja/ninja_log_parser.cc third_party/perfetto/src/trace_processor/importers/proto/system_probes_parser.cc +third_party/perfetto/src/trace_processor/metrics/sql/android/unsymbolized_frames.sql third_party/perfetto/src/trace_processor/metrics/sql/chrome/rail_modes.sql third_party/perfetto/src/trace_processor/types/task_state.cc third_party/perfetto/src/trace_processor/types/task_state.h @@ -11725,8 +11785,59 @@ third_party/qcms/src/transform.c third_party/qunit/src/qunit.js third_party/re2/src/re2/testing/re2_test.cc third_party/re2/src/util/pcre.h +third_party/rust/aho_corasick/v0_7/BUILD.gn +third_party/rust/ansi_term/v0_11/BUILD.gn +third_party/rust/atty/v0_2/BUILD.gn +third_party/rust/autocxx/v0_17/BUILD.gn +third_party/rust/autocxx_bindgen/v0_59/BUILD.gn +third_party/rust/autocxx_engine/v0_17/BUILD.gn third_party/rust/autocxx_gen/v0_17/BUILD.gn +third_party/rust/autocxx_macro/v0_17/BUILD.gn +third_party/rust/autocxx_parser/v0_17/BUILD.gn +third_party/rust/bindgen/v0_59/BUILD.gn +third_party/rust/clap/v2/BUILD.gn +third_party/rust/cxx/v1/BUILD.gn +third_party/rust/cxx_gen/v0_7/BUILD.gn +third_party/rust/cxxbridge_cmd/v1/BUILD.gn +third_party/rust/cxxbridge_macro/v1/BUILD.gn +third_party/rust/fastrand/v1/BUILD.gn +third_party/rust/heck/v0_4/BUILD.gn +third_party/rust/indoc/v1/BUILD.gn +third_party/rust/itoa/v0_4/BUILD.gn +third_party/rust/itoa/v1/BUILD.gn +third_party/rust/lazy_static/v1/BUILD.gn +third_party/rust/link_cplusplus/v1/BUILD.gn +third_party/rust/memchr/v2/BUILD.gn +third_party/rust/minimal_lexical/v0_2/BUILD.gn +third_party/rust/moveit/v0_4/BUILD.gn +third_party/rust/once_cell/v1/BUILD.gn +third_party/rust/peeking_take_while/v0_1/BUILD.gn +third_party/rust/proc_macro2/v1/BUILD.gn +third_party/rust/quote/v1/BUILD.gn +third_party/rust/remove_dir_all/v0_5/BUILD.gn +third_party/rust/rstest/v0_12/BUILD.gn third_party/rust/rstest/v0_12/crate/docs/head/COPYRIGHT.txt +third_party/rust/rustc_version/v0_4/BUILD.gn +third_party/rust/rustversion/v1/BUILD.gn +third_party/rust/ryu/v1/BUILD.gn +third_party/rust/semver/v1/BUILD.gn +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_1/BUILD.gn +third_party/rust/shlex/v1/BUILD.gn +third_party/rust/strsim/v0_8/BUILD.gn +third_party/rust/strum_macros/v0_24/BUILD.gn +third_party/rust/syn/v1/BUILD.gn +third_party/rust/tempfile/v3/BUILD.gn +third_party/rust/termcolor/v1/BUILD.gn +third_party/rust/unicode_width/v0_1/BUILD.gn +third_party/rust/unicode_xid/v0_2/BUILD.gn +third_party/rust/unindent/v0_1/BUILD.gn +third_party/rust/vec_map/v0_8/BUILD.gn +third_party/rust/which/v4/BUILD.gn +third_party/rust/winapi/v0_3/BUILD.gn +third_party/rust/winapi_util/v0_1/BUILD.gn third_party/s2cellid/src/s2/_fpcontractoff.h third_party/s2cellid/src/s2/r1interval.h third_party/s2cellid/src/s2/r2.h @@ -11742,7 +11853,6 @@ third_party/s2cellid/src/s2/s2coords.h third_party/s2cellid/src/s2/s2latlng.cc third_party/s2cellid/src/s2/s2latlng.h third_party/s2cellid/src/s2/s2point.h -third_party/shaderc/src/libshaderc_util/include/libshaderc_util/universal_unistd.h third_party/shell-encryption/BUILD.gn third_party/simplejson/ordered_dict.py third_party/skia/BUILD.gn @@ -11786,7 +11896,6 @@ third_party/skia/infra/bots/assets/android_ndk_windows/create.py third_party/skia/infra/bots/assets/clang_linux/create.py third_party/skia/infra/bots/assets/clang_win/create.py third_party/skia/infra/bots/assets/gcloud_linux/create.py -third_party/skia/infra/bots/assets/procdump_win/create.py third_party/skia/infra/bots/check_deps.py third_party/skia/infra/bots/git_utils.py third_party/skia/infra/bots/recipe_modules/build/api.py @@ -11801,7 +11910,6 @@ third_party/skia/infra/bots/recipe_modules/checkout/examples/full.expected/flutt third_party/skia/infra/bots/recipe_modules/checkout/examples/full.expected/trybot.json third_party/skia/infra/bots/recipe_modules/checkout/examples/full.py third_party/skia/infra/bots/recipe_modules/doxygen/examples/full.py -third_party/skia/infra/bots/recipe_modules/flavor/default.py third_party/skia/infra/bots/recipe_modules/flavor/examples/full.py third_party/skia/infra/bots/recipe_modules/gold_upload/examples/full.py third_party/skia/infra/bots/recipe_modules/gsutil/examples/full.py @@ -11885,21 +11993,22 @@ third_party/skia/src/core/SkPoint3.cpp third_party/skia/src/core/SkRecordDraw.cpp third_party/skia/src/core/SkRecordOpts.cpp third_party/skia/src/effects/imagefilters/SkDisplacementMapImageFilter.cpp -third_party/skia/src/gpu/GrDistanceFieldGenFromVector.cpp -third_party/skia/src/gpu/GrRenderTask.h -third_party/skia/src/gpu/GrShaderCaps.h -third_party/skia/src/gpu/d3d/GrD3DCaps.cpp -third_party/skia/src/gpu/effects/GrDisableColorXP.cpp -third_party/skia/src/gpu/gl/GrGLCaps.cpp -third_party/skia/src/gpu/gl/GrGLCaps.h -third_party/skia/src/gpu/gl/GrGLGpu.cpp +third_party/skia/src/gpu/ganesh/GrDistanceFieldGenFromVector.cpp +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/GrGLCaps.cpp +third_party/skia/src/gpu/ganesh/gl/GrGLCaps.h +third_party/skia/src/gpu/ganesh/gl/GrGLGpu.cpp +third_party/skia/src/gpu/ganesh/tessellate/shaders/GrStrokeTessellationShader_HardwareImpl.cpp third_party/skia/src/gpu/tessellate/Tessellation.cpp -third_party/skia/src/gpu/tessellate/shaders/GrStrokeTessellationShader_HardwareImpl.cpp third_party/skia/src/images/SkWebpEncoder.cpp third_party/skia/src/pathops/SkOpAngle.cpp third_party/skia/src/pathops/SkPathOpsOp.cpp third_party/skia/src/pdf/SkPDFFont.cpp third_party/skia/src/ports/SkFontHost_FreeType.cpp +third_party/skia/src/ports/SkFontHost_FreeType_common.cpp third_party/skia/src/ports/SkFontHost_win.cpp third_party/skia/src/ports/SkFontMgr_mac_ct.cpp third_party/skia/src/ports/SkScalerContext_mac_ct.cpp @@ -11989,7 +12098,6 @@ third_party/swiftshader/AUTHORS.txt third_party/swiftshader/CMakeLists.txt third_party/swiftshader/CONTRIBUTING.txt third_party/swiftshader/CONTRIBUTORS.txt -third_party/swiftshader/extensions/EGL_ANGLE_iosurface_client_buffer.txt third_party/swiftshader/src/Device/BC_Decoder.cpp third_party/swiftshader/src/OpenGL/compiler/preprocessor/Tokenizer.cpp third_party/swiftshader/src/Shader/Shader.hpp @@ -12058,6 +12166,9 @@ third_party/swiftshader/third_party/subzero/unittest/IceParseTypesTest.cpp third_party/tensorflow-text/src/tensorflow_text/core/kernels/rouge_l_kernel.cc third_party/tensorflow-text/src/tensorflow_text/core/ops/rouge_l_op.cc third_party/tensorflow-text/src/tensorflow_text/python/metrics/text_similarity_metric_ops.py +third_party/text-fragments-polyfill/src/package.json +third_party/text-fragments-polyfill/src/src/text-fragment-utils.js +third_party/text-fragments-polyfill/src/test/unit/complicated-layout.html third_party/tflite/src/configure.py third_party/tflite/src/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/chlo_legalize_to_hlo.cc third_party/tflite/src/tensorflow/compiler/xla/service/gpu/ir_emitter_unnested.cc @@ -12159,8 +12270,6 @@ third_party/vulkan-deps/vulkan-loader/src/loader/loader_windows.c third_party/vulkan-deps/vulkan-loader/src/loader/loader_windows.h third_party/vulkan-deps/vulkan-loader/src/loader/log.c third_party/vulkan-deps/vulkan-loader/src/loader/log.h -third_party/vulkan-deps/vulkan-loader/src/loader/murmurhash.c -third_party/vulkan-deps/vulkan-loader/src/loader/murmurhash.h third_party/vulkan-deps/vulkan-loader/src/loader/wsi.c third_party/vulkan-deps/vulkan-loader/src/scripts/helper_file_generator.py third_party/vulkan-deps/vulkan-tools/src/cmake/Copyright_cmake.txt @@ -12201,6 +12310,8 @@ third_party/vulkan-deps/vulkan-validation-layers/src/layers/generated/vk_validat third_party/vulkan-deps/vulkan-validation-layers/src/layers/image_state.cpp third_party/vulkan-deps/vulkan-validation-layers/src/layers/image_state.h third_party/vulkan-deps/vulkan-validation-layers/src/layers/object_lifetime_validation.h +third_party/vulkan-deps/vulkan-validation-layers/src/layers/pipeline_layout_state.cpp +third_party/vulkan-deps/vulkan-validation-layers/src/layers/pipeline_layout_state.h third_party/vulkan-deps/vulkan-validation-layers/src/layers/pipeline_state.cpp third_party/vulkan-deps/vulkan-validation-layers/src/layers/pipeline_state.h third_party/vulkan-deps/vulkan-validation-layers/src/layers/qfo_transfer.h @@ -12594,6 +12705,8 @@ third_party/webrtc/api/stats/rtc_stats.h third_party/webrtc/api/uma_metrics.h third_party/webrtc/api/video/hdr_metadata.h third_party/webrtc/api/video/i420_buffer.h +third_party/webrtc/api/video/i422_buffer.cc +third_party/webrtc/api/video/i422_buffer.h third_party/webrtc/api/video/i444_buffer.h third_party/webrtc/api/video/nv12_buffer.h third_party/webrtc/api/video_codecs/video_encoder.h @@ -12609,6 +12722,7 @@ third_party/webrtc/common_video/video_render_frames.cc third_party/webrtc/examples/peerconnection/client/defaults.cc third_party/webrtc/examples/stunprober/main.cc third_party/webrtc/examples/unityplugin/simple_peer_connection.cc +third_party/webrtc/infra/specs/gn_isolate_map.pyl third_party/webrtc/media/base/video_common.cc third_party/webrtc/media/base/video_common.h third_party/webrtc/media/engine/webrtc_video_engine.cc @@ -12726,11 +12840,8 @@ third_party/webrtc/test/test_main_lib.cc 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/mb/gn_isolate_map.pyl -third_party/webrtc/tools_webrtc/mb/mb.py third_party/webrtc/tools_webrtc/network_emulator/emulate.py third_party/webrtc/tools_webrtc/perf/catapult_uploader.py -third_party/webrtc/tools_webrtc/perf/webrtc_dashboard_upload.py third_party/webrtc/tools_webrtc/sanitizers/lsan_suppressions_webrtc.cc third_party/webrtc/tools_webrtc/sanitizers/tsan_suppressions_webrtc.cc third_party/webrtc/video/end_to_end_tests/retransmission_tests.cc @@ -12787,9 +12898,9 @@ third_party/wpt_tools/wpt/tools/wptrunner/requirements.txt third_party/wpt_tools/wpt/tools/wptrunner/setup.py third_party/wpt_tools/wpt/tools/wptrunner/wptrunner/browsers/android_weblayer.py third_party/wpt_tools/wpt/tools/wptrunner/wptrunner/browsers/android_webview.py +third_party/wpt_tools/wpt/tools/wptrunner/wptrunner/browsers/base.py third_party/wpt_tools/wpt/tools/wptrunner/wptrunner/browsers/chrome.py third_party/wpt_tools/wpt/tools/wptrunner/wptrunner/browsers/firefox.py -third_party/wpt_tools/wpt/tools/wptrunner/wptrunner/browsers/sauce.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 @@ -12874,7 +12985,7 @@ tools/clang/scripts/package.py tools/clang/scripts/update.py tools/clang/translation_unit/test_translation_unit.py tools/code_coverage/coverage.py -tools/coverity/coverity.py +tools/code_coverage/create_js_source_maps/PRESUBMIT.py tools/cr/cr/base/android.py tools/cr/main.py tools/crbug/crbug.js @@ -13098,6 +13209,7 @@ tools/metrics/histograms/metadata/power/histograms.xml tools/metrics/histograms/metadata/prefetch/histograms.xml tools/metrics/histograms/metadata/print/histograms.xml tools/metrics/histograms/metadata/printing/histograms.xml +tools/metrics/histograms/metadata/privacy/histograms.xml tools/metrics/histograms/metadata/privacy_budget/histograms.xml tools/metrics/histograms/metadata/profile/histograms.xml tools/metrics/histograms/metadata/quick_answers/histograms.xml @@ -13233,7 +13345,6 @@ tools/perf/core/shard_maps/timing_data/mac-laptop_high_end-perf_timing.json tools/perf/core/shard_maps/timing_data/mac-laptop_low_end-perf_timing.json tools/perf/core/shard_maps/timing_data/mac-m1_mini_2020-perf_timing.json tools/perf/core/shard_maps/timing_data/win-10-perf_timing.json -tools/perf/core/shard_maps/timing_data/win-10_amd-perf_timing.json tools/perf/core/shard_maps/timing_data/win-10_laptop_low_end-perf_timing.json tools/perf/core/test_data/benchmarks_to_shard.json tools/perf/core/test_data/test_timing_data.json @@ -13435,6 +13546,7 @@ tools/usb_gadget/gadget.py tools/usb_gadget/msos20_descriptors.py tools/variations/bisect_variations.py tools/variations/fieldtrial_util_unittest.py +tools/visual_debugger/app.html tools/web_dev_style/css_checker.py tools/web_dev_style/css_checker_test.py tools/web_dev_style/html_checker.py diff --git a/patches/core/debian/disable/unrar.patch b/patches/core/debian/disable/unrar.patch index e2164c03..66575594 100644 --- a/patches/core/debian/disable/unrar.patch +++ b/patches/core/debian/disable/unrar.patch @@ -4,7 +4,7 @@ bug: http://bugs.debian.org/914487 --- a/chrome/browser/safe_browsing/download_protection/file_analyzer.cc +++ b/chrome/browser/safe_browsing/download_protection/file_analyzer.cc -@@ -97,7 +97,7 @@ void FileAnalyzer::Start(const base::Fil +@@ -96,7 +96,7 @@ void FileAnalyzer::Start(const base::Fil if (inspection_type == DownloadFileType::ZIP) { StartExtractZipFeatures(); } else if (inspection_type == DownloadFileType::RAR) { 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 cb939021..83802745 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 -@@ -2202,7 +2202,6 @@ static_library("browser") { +@@ -2214,7 +2214,6 @@ static_library("browser") { "//components/reputation/core:proto", "//components/resources", "//components/safe_browsing/content/browser", @@ -8,7 +8,7 @@ "//components/safe_browsing/content/browser:safe_browsing_service", "//components/safe_browsing/content/browser/password_protection", "//components/safe_browsing/content/browser/web_ui", -@@ -3726,8 +3725,6 @@ static_library("browser") { +@@ -3754,8 +3753,6 @@ static_library("browser") { "download/download_commands.h", "download/download_crx_util.cc", "download/download_crx_util.h", @@ -42,7 +42,7 @@ virtual subresource_filter::RulesetService* --- a/chrome/browser/browser_process_impl.cc +++ b/chrome/browser/browser_process_impl.cc -@@ -70,7 +70,6 @@ +@@ -71,7 +71,6 @@ #include "chrome/browser/printing/print_preview_dialog_controller.h" #include "chrome/browser/profiles/profile_manager.h" #include "chrome/browser/resource_coordinator/resource_coordinator_parts.h" @@ -50,7 +50,7 @@ #include "chrome/browser/shell_integration.h" #include "chrome/browser/site_isolation/prefs_observer.h" #include "chrome/browser/ssl/secure_origin_prefs_observer.h" -@@ -391,8 +390,6 @@ void BrowserProcessImpl::StartTearDown() +@@ -394,8 +393,6 @@ void BrowserProcessImpl::StartTearDown() metrics_services_manager_.reset(); intranet_redirect_detector_.reset(); @@ -59,7 +59,7 @@ network_time_tracker_.reset(); #if BUILDFLAG(ENABLE_PLUGINS) plugins_resource_service_.reset(); -@@ -1026,14 +1023,6 @@ StatusTray* BrowserProcessImpl::status_t +@@ -1029,14 +1026,6 @@ StatusTray* BrowserProcessImpl::status_t return status_tray_.get(); } @@ -74,7 +74,7 @@ subresource_filter::RulesetService* BrowserProcessImpl::subresource_filter_ruleset_service() { DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_); -@@ -1270,26 +1259,6 @@ void BrowserProcessImpl::CreateBackgroun +@@ -1283,26 +1272,6 @@ void BrowserProcessImpl::CreateBackgroun #endif } @@ -123,15 +123,15 @@ subresource_filter_ruleset_service_; --- a/chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.cc +++ b/chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.cc -@@ -64,7 +64,6 @@ +@@ -66,7 +66,6 @@ #include "chrome/browser/profiles/keep_alive/profile_keep_alive_types.h" #include "chrome/browser/profiles/keep_alive/scoped_profile_keep_alive.h" #include "chrome/browser/profiles/profile.h" -#include "chrome/browser/safe_browsing/safe_browsing_service.h" + #include "chrome/browser/safe_browsing/verdict_cache_manager_factory.h" #include "chrome/browser/search_engines/template_url_service_factory.h" #include "chrome/browser/share/share_history.h" - #include "chrome/browser/share/share_ranking.h" -@@ -613,10 +612,6 @@ void ChromeBrowsingDataRemoverDelegate:: +@@ -617,10 +616,6 @@ void ChromeBrowsingDataRemoverDelegate:: base::RecordAction(UserMetricsAction("ClearBrowsingData_Cookies")); network::mojom::NetworkContext* safe_browsing_context = nullptr; @@ -144,7 +144,7 @@ host_content_settings_map_); --- a/chrome/browser/chrome_content_browser_client.cc +++ b/chrome/browser/chrome_content_browser_client.cc -@@ -953,34 +953,6 @@ void SetApplicationLocaleOnIOThread(cons +@@ -959,34 +959,6 @@ void SetApplicationLocaleOnIOThread(cons GetIOThreadApplicationLocale() = locale; } @@ -179,7 +179,7 @@ #if BUILDFLAG(ENABLE_EXTENSIONS) AppLoadedInTabSource ClassifyAppLoadedInTabSource( -@@ -1489,7 +1461,6 @@ void ChromeContentBrowserClient::PostAft +@@ -1495,7 +1467,6 @@ void ChromeContentBrowserClient::PostAft InitNetworkContextsParentDirectory(); DCHECK_CURRENTLY_ON(BrowserThread::UI); @@ -187,16 +187,26 @@ } bool ChromeContentBrowserClient::IsBrowserStartupComplete() { -@@ -4305,7 +4276,7 @@ ChromeContentBrowserClient::CreateThrott - content::WebContents* web_contents = handle->GetWebContents(); - throttles.push_back(std::make_unique( - handle, +@@ -4290,18 +4261,6 @@ ChromeContentBrowserClient::CreateThrott + throttles.push_back(std::make_unique( + handle, 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)); +- content::WebContents* web_contents = handle->GetWebContents(); +- throttles.push_back(std::make_unique( +- handle, - std::make_unique(web_contents), -+ nullptr, - base::BindOnce(&HandleSSLErrorWrapper), base::BindOnce(&IsInHostedApp), - base::BindOnce( - &ShouldIgnoreSslInterstitialBecauseNavigationDefaultedToHttps))); -@@ -4340,16 +4311,6 @@ ChromeContentBrowserClient::CreateThrott +- base::BindOnce(&HandleSSLErrorWrapper), base::BindOnce(&IsInHostedApp), +- base::BindOnce( +- &ShouldIgnoreSslInterstitialBecauseNavigationDefaultedToHttps))); +- + throttles.push_back(std::make_unique(handle)); + + if (base::FeatureList::IsEnabled(omnibox::kDefaultTypedNavigationsToHttps)) { +@@ -4332,16 +4291,6 @@ ChromeContentBrowserClient::CreateThrott &throttles); #endif @@ -272,7 +282,7 @@ void ChromeDownloadManagerDelegate::SanitizeDownloadParameters( --- a/chrome/browser/download/download_item_model.cc +++ b/chrome/browser/download/download_item_model.cc -@@ -88,7 +88,7 @@ class DownloadItemModelData : public bas +@@ -89,7 +89,7 @@ class DownloadItemModelData : public bas // Danger level of the file determined based on the file type and whether // there was a user action associated with the download. @@ -281,7 +291,7 @@ // Whether the download is currently being revived. bool is_being_revived_; -@@ -125,7 +125,7 @@ DownloadItemModelData::DownloadItemModel +@@ -126,7 +126,7 @@ DownloadItemModelData::DownloadItemModel : should_show_in_shelf_(true), was_ui_notified_(false), should_prefer_opening_in_browser_(false), @@ -290,7 +300,7 @@ is_being_revived_(false) {} } // namespace -@@ -399,13 +399,13 @@ void DownloadItemModel::SetShouldPreferO +@@ -417,13 +417,13 @@ void DownloadItemModel::SetShouldPreferO data->should_prefer_opening_in_browser_ = preference; } @@ -307,7 +317,7 @@ DownloadItemModelData* data = DownloadItemModelData::GetOrCreate(download_); data->danger_level_ = danger_level; } -@@ -625,9 +625,6 @@ bool DownloadItemModel::IsCommandEnabled +@@ -643,9 +643,6 @@ bool DownloadItemModel::IsCommandEnabled // filename. Don't base an "Always open" decision based on it. Also // exclude extensions. return download_->CanOpenDownload() && @@ -319,7 +329,7 @@ return !download_->IsSavePackageDownload() && --- a/chrome/browser/download/download_prefs.cc +++ b/chrome/browser/download/download_prefs.cc -@@ -251,14 +251,7 @@ DownloadPrefs::DownloadPrefs(Profile* pr +@@ -252,14 +252,7 @@ DownloadPrefs::DownloadPrefs(Profile* pr base::FilePath::StringType(1, base::FilePath::kExtensionSeparator) + extension); @@ -335,7 +345,7 @@ } } -@@ -477,10 +470,6 @@ bool DownloadPrefs::IsAutoOpenByPolicy(c +@@ -479,10 +472,6 @@ bool DownloadPrefs::IsAutoOpenByPolicy(c bool DownloadPrefs::EnableAutoOpenByUserBasedOnExtension( const base::FilePath& file_name) { base::FilePath::StringType extension = file_name.Extension(); @@ -348,7 +358,7 @@ extension.erase(0, 1); --- a/chrome/browser/download/download_target_determiner.cc +++ b/chrome/browser/download/download_target_determiner.cc -@@ -298,13 +298,6 @@ base::FilePath DownloadTargetDeterminer: +@@ -297,13 +297,6 @@ base::FilePath DownloadTargetDeterminer: download_->GetURL(), download_->GetContentDisposition(), referrer_charset, suggested_filename, sniffed_mime_type, default_filename); @@ -362,7 +372,7 @@ // If no mime type or explicitly specified a name, don't replace file // extension. if (sniffed_mime_type.empty() || !suggested_filename.empty()) -@@ -1125,30 +1118,7 @@ DownloadFileType::DangerLevel DownloadTa +@@ -1124,30 +1117,7 @@ DownloadFileType::DangerLevel DownloadTa download_->HasUserGesture()) return DownloadFileType::NOT_DANGEROUS; @@ -404,7 +414,7 @@ #include "chrome/browser/download/download_file_icon_extractor.h" #include "chrome/browser/download/download_open_prompt.h" #include "chrome/browser/download/download_prefs.h" -@@ -1276,9 +1275,6 @@ DownloadsAcceptDangerFunction::Downloads +@@ -1277,9 +1276,6 @@ DownloadsAcceptDangerFunction::Downloads DownloadsAcceptDangerFunction::~DownloadsAcceptDangerFunction() {} @@ -414,7 +424,7 @@ ExtensionFunction::ResponseAction DownloadsAcceptDangerFunction::Run() { std::unique_ptr params( downloads::AcceptDanger::Params::Create(args())); -@@ -1316,42 +1312,7 @@ void DownloadsAcceptDangerFunction::Prom +@@ -1317,42 +1313,7 @@ void DownloadsAcceptDangerFunction::Prom return; } RecordApiFunctions(DOWNLOADS_FUNCTION_ACCEPT_DANGER); @@ -539,7 +549,7 @@ referrer_entries))); --- a/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc +++ b/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc -@@ -716,18 +716,6 @@ void WebstorePrivateBeginInstallWithMani +@@ -721,18 +721,6 @@ void WebstorePrivateBeginInstallWithMani void WebstorePrivateBeginInstallWithManifest3Function:: ReportFrictionAcceptedEvent() { @@ -558,7 +568,7 @@ } void WebstorePrivateBeginInstallWithManifest3Function::OnInstallPromptDone( -@@ -1192,55 +1180,9 @@ WebstorePrivateGetReferrerChainFunction: +@@ -1202,55 +1190,9 @@ WebstorePrivateGetReferrerChainFunction: ExtensionFunction::ResponseAction WebstorePrivateGetReferrerChainFunction::Run() { @@ -687,7 +697,7 @@ // SimpleURLLoader -> (owned loader, extension id). --- a/chrome/browser/metrics/chrome_metrics_service_client.cc +++ b/chrome/browser/metrics/chrome_metrics_service_client.cc -@@ -846,9 +846,6 @@ void ChromeMetricsServiceClient::Registe +@@ -861,9 +861,6 @@ void ChromeMetricsServiceClient::Registe metrics_service_->RegisterMetricsProvider( std::make_unique()); @@ -699,7 +709,7 @@ std::make_unique()); --- a/chrome/browser/net/trial_comparison_cert_verifier_controller.cc +++ b/chrome/browser/net/trial_comparison_cert_verifier_controller.cc -@@ -138,9 +138,6 @@ void TrialComparisonCertVerifierControll +@@ -137,9 +137,6 @@ void TrialComparisonCertVerifierControll std::string serialized_report; if (!report.Serialize(&serialized_report)) return; @@ -711,7 +721,7 @@ // static --- a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc +++ b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc -@@ -319,7 +319,6 @@ void ChromeBrowserMainExtraPartsProfiles +@@ -324,7 +324,6 @@ void ChromeBrowserMainExtraPartsProfiles #if BUILDFLAG(IS_CHROMEOS_LACROS) CertDbInitializerFactory::GetInstance(); #endif @@ -721,7 +731,7 @@ #endif --- a/chrome/browser/profiles/profile_impl.cc +++ b/chrome/browser/profiles/profile_impl.cc -@@ -93,7 +93,6 @@ +@@ -91,7 +91,6 @@ #include "chrome/browser/profiles/profile_metrics.h" #include "chrome/browser/push_messaging/push_messaging_service_factory.h" #include "chrome/browser/push_messaging/push_messaging_service_impl.h" @@ -729,7 +739,7 @@ #include "chrome/browser/sessions/exit_type_service.h" #include "chrome/browser/sharing/sharing_service_factory.h" #include "chrome/browser/signin/identity_manager_factory.h" -@@ -624,17 +623,6 @@ void ProfileImpl::LoadPrefsForNormalStar +@@ -623,17 +622,6 @@ void ProfileImpl::LoadPrefsForNormalStar mojo::PendingRemote pref_validation_delegate; @@ -769,7 +779,7 @@ sources = [ "chrome_controller_client.cc", "chrome_controller_client.h", -@@ -90,6 +91,7 @@ static_library("safe_browsing") { +@@ -91,6 +92,7 @@ static_library("safe_browsing") { "//extensions/browser", ] } @@ -777,7 +787,7 @@ if (safe_browsing_mode != 0) { # "Safe Browsing Basic" files used for safe browsing in full mode -@@ -451,6 +453,7 @@ static_library("advanced_protection") { +@@ -455,6 +457,7 @@ static_library("advanced_protection") { } source_set("metrics_collector") { @@ -785,7 +795,7 @@ sources = [ "safe_browsing_metrics_collector_factory.cc", "safe_browsing_metrics_collector_factory.h", -@@ -468,6 +471,7 @@ source_set("metrics_collector") { +@@ -472,6 +475,7 @@ source_set("metrics_collector") { "//components/safe_browsing/core/common:safe_browsing_prefs", "//content/public/browser", ] @@ -887,7 +897,7 @@ --- a/chrome/browser/ui/BUILD.gn +++ b/chrome/browser/ui/BUILD.gn -@@ -4171,7 +4171,6 @@ static_library("ui") { +@@ -4219,7 +4219,6 @@ static_library("ui") { "views/download/bubble/download_dialog_view.h", "views/download/bubble/download_toolbar_button_view.cc", "views/download/bubble/download_toolbar_button_view.h", @@ -897,7 +907,7 @@ "views/download/download_item_view.cc", --- a/chrome/browser/ui/tab_helpers.cc +++ b/chrome/browser/ui/tab_helpers.cc -@@ -368,22 +368,6 @@ void TabHelpers::AttachTabHelpers(WebCon +@@ -390,22 +390,6 @@ void TabHelpers::AttachTabHelpers(WebCon // See https://crbug.com/910288. resource_coordinator::ResourceCoordinatorTabHelper::CreateForWebContents( web_contents); @@ -1181,9 +1191,9 @@ html = ui::ResourceBundle::GetSharedInstance().LoadDataResourceString( --- a/chrome/renderer/chrome_content_renderer_client.cc +++ b/chrome/renderer/chrome_content_renderer_client.cc -@@ -92,7 +92,6 @@ - #include "components/page_load_metrics/renderer/metrics_render_frame_observer.h" +@@ -95,7 +95,6 @@ #include "components/paint_preview/buildflags/buildflags.h" + #include "components/password_manager/core/common/password_manager_features.h" #include "components/safe_browsing/buildflags.h" -#include "components/safe_browsing/content/renderer/threat_dom_details.h" #include "components/spellcheck/spellcheck_buildflags.h" 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 952d5798..a692d80a 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/autofill_download_manager.cc +++ b/components/autofill/core/browser/autofill_download_manager.cc -@@ -803,94 +803,6 @@ std::tuple AutofillDo +@@ -802,94 +802,6 @@ std::tuple AutofillDo } bool AutofillDownloadManager::StartRequest(FormRequestData request_data) { diff --git a/patches/core/inox-patchset/0005-disable-default-extensions.patch b/patches/core/inox-patchset/0005-disable-default-extensions.patch index 9899a361..5b9cd424 100644 --- a/patches/core/inox-patchset/0005-disable-default-extensions.patch +++ b/patches/core/inox-patchset/0005-disable-default-extensions.patch @@ -55,7 +55,7 @@ { --- a/chrome/browser/extensions/webstore_installer.cc +++ b/chrome/browser/extensions/webstore_installer.cc -@@ -554,20 +554,6 @@ void WebstoreInstaller::DownloadNextPend +@@ -553,20 +553,6 @@ void WebstoreInstaller::DownloadNextPend void WebstoreInstaller::DownloadCrx( const std::string& extension_id, InstallSource source) { @@ -76,7 +76,7 @@ } // http://crbug.com/165634 -@@ -710,21 +696,6 @@ void WebstoreInstaller::UpdateDownloadPr +@@ -709,21 +695,6 @@ void WebstoreInstaller::UpdateDownloadPr void WebstoreInstaller::StartCrxInstaller(const DownloadItem& download) { DCHECK_CURRENTLY_ON(BrowserThread::UI); DCHECK(!crx_installer_.get()); diff --git a/patches/core/inox-patchset/0009-disable-google-ipv6-probes.patch b/patches/core/inox-patchset/0009-disable-google-ipv6-probes.patch index 08aa28a5..ff1eb510 100644 --- a/patches/core/inox-patchset/0009-disable-google-ipv6-probes.patch +++ b/patches/core/inox-patchset/0009-disable-google-ipv6-probes.patch @@ -1,6 +1,6 @@ --- a/net/dns/host_resolver_manager.cc +++ b/net/dns/host_resolver_manager.cc -@@ -152,10 +152,10 @@ const unsigned kMinimumTTLSeconds = kCac +@@ -153,10 +153,10 @@ const unsigned kMinimumTTLSeconds = kCac // cached. const int kIPv6ProbePeriodMs = 1000; diff --git a/patches/core/inox-patchset/0017-disable-new-avatar-menu.patch b/patches/core/inox-patchset/0017-disable-new-avatar-menu.patch deleted file mode 100644 index e02f2819..00000000 --- a/patches/core/inox-patchset/0017-disable-new-avatar-menu.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/components/signin/internal/identity_manager/primary_account_policy_manager_impl.cc -+++ b/components/signin/internal/identity_manager/primary_account_policy_manager_impl.cc -@@ -86,7 +86,7 @@ void PrimaryAccountPolicyManagerImpl::On - } - - bool PrimaryAccountPolicyManagerImpl::IsSigninAllowed() const { -- return signin_allowed_.GetValue(); -+ return false; - } - - void PrimaryAccountPolicyManagerImpl::OnSigninAllowedPrefChanged( diff --git a/patches/core/inox-patchset/0021-disable-rlz.patch b/patches/core/inox-patchset/0021-disable-rlz.patch index aaf94cf5..9620fb25 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 -@@ -468,14 +468,6 @@ group("gn_all") { +@@ -482,14 +482,6 @@ group("gn_all") { deps += [ "//chromeos:chromeos_unittests" ] } diff --git a/patches/core/iridium-browser/all-add-trk-prefixes-to-possibly-evil-connections.patch b/patches/core/iridium-browser/all-add-trk-prefixes-to-possibly-evil-connections.patch index c218bbe4..3b93e8fe 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 @@ -147,7 +147,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 -@@ -485,7 +485,7 @@ void WebRtcLogUploader::UploadCompressed +@@ -484,7 +484,7 @@ void WebRtcLogUploader::UploadCompressed "Not implemented, it would be good to do so." })"); @@ -214,7 +214,7 @@ by default. DownloadFeedbackFactory* DownloadFeedback::factory_ = nullptr; --- a/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc +++ b/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc -@@ -280,7 +280,7 @@ GURL SpellcheckHunspellDictionary::GetDi +@@ -279,7 +279,7 @@ GURL SpellcheckHunspellDictionary::GetDi DCHECK(!bdict_file.empty()); static const char kDownloadServerUrl[] = @@ -225,18 +225,18 @@ by default. base::ToLowerASCII(bdict_file)); --- a/chrome/browser/supervised_user/supervised_user_service.cc +++ b/chrome/browser/supervised_user/supervised_user_service.cc -@@ -86,7 +86,7 @@ namespace { +@@ -85,7 +85,7 @@ namespace { // The URL from which to download a host denylist if no local one exists yet. const char kDenylistURL[] = - "https://www.gstatic.com/chrome/supervised_user/denylist-20141001-1k.bin"; + "trk:272:https://www.gstatic.com/chrome/supervised_user/denylist-20141001-1k.bin"; - // The filename under which we'll store the denylist (in the user data dir). The - // old file will be used as a backup in case the new file has not been loaded - // yet. + // The filename under which we'll store the denylist (in the user data dir). + const char kDenylistFilename[] = "su-denylist.bin"; + --- a/chrome/browser/ui/dialogs/outdated_upgrade_bubble.cc +++ b/chrome/browser/ui/dialogs/outdated_upgrade_bubble.cc -@@ -50,7 +50,7 @@ const char* kUpdateBrowserRedirectUrl = +@@ -49,7 +49,7 @@ const char* kUpdateBrowserRedirectUrl = #else // The URL to be used to re-install Chrome when auto-update failed for // too long. @@ -327,25 +327,6 @@ by default. const char kVirtualChannel[] = "virtual-channel"; ---- a/components/cloud_devices/common/cloud_devices_urls.cc -+++ b/components/cloud_devices/common/cloud_devices_urls.cc -@@ -13,14 +13,14 @@ - namespace cloud_devices { - - const char kCloudPrintAuthScope[] = -- "https://www.googleapis.com/auth/cloudprint"; -+ "trk:197:https://www.googleapis.com/auth/cloudprint"; - - namespace { - - // Url must not be matched by "urls" section of - // cloud_print_app/manifest.json. If it's matched, print driver dialog will - // open sign-in page in separate window. --const char kCloudPrintURL[] = "https://www.google.com/cloudprint"; -+const char kCloudPrintURL[] = "trk:201:https://www.google.com/cloudprint"; - - } - --- a/components/drive/service/drive_api_service.cc +++ b/components/drive/service/drive_api_service.cc @@ -76,9 +76,9 @@ namespace drive { @@ -362,7 +343,7 @@ by default. // Mime type to create a directory. --- a/components/feedback/feedback_uploader.cc +++ b/components/feedback/feedback_uploader.cc -@@ -39,7 +39,7 @@ constexpr base::FilePath::CharType kFeed +@@ -38,7 +38,7 @@ constexpr base::FilePath::CharType kFeed FILE_PATH_LITERAL("Feedback Reports"); constexpr char kFeedbackPostUrl[] = @@ -384,7 +365,7 @@ by default. url::Component query(0, static_cast(str.length())), key, value; --- a/components/history/core/browser/web_history_service.cc +++ b/components/history/core/browser/web_history_service.cc -@@ -44,13 +44,13 @@ namespace history { +@@ -45,13 +45,13 @@ namespace history { namespace { const char kHistoryOAuthScope[] = @@ -490,7 +471,7 @@ by default. --- a/content/browser/webauth/authenticator_common.cc +++ b/content/browser/webauth/authenticator_common.cc -@@ -91,9 +91,9 @@ enum class RequestExtension { +@@ -92,9 +92,9 @@ enum class RequestExtension { namespace { constexpr char kGstaticAppId[] = @@ -504,7 +485,7 @@ by default. return GetContentClient()->browser()->GetWebAuthenticationDelegate(); --- a/content/shell/browser/shell_browser_main_parts.cc +++ b/content/shell/browser/shell_browser_main_parts.cc -@@ -85,7 +85,7 @@ GURL GetStartupURL() { +@@ -86,7 +86,7 @@ GURL GetStartupURL() { #else const base::CommandLine::StringVector& args = command_line->GetArgs(); if (args.empty()) @@ -554,11 +535,6 @@ by default. - "https://www.googleapis.com/auth/chromesync_playpen"; + "trk:073:https://www.googleapis.com/auth/chromesync_playpen"; - // OAuth2 scope for access to Kid Management API. - const char kKidManagementOAuth2Scope[] = -- "https://www.googleapis.com/auth/kid.management"; -+ "trk:074:https://www.googleapis.com/auth/kid.management"; - // OAuth2 scope for parental consent logging for secondary account addition. const char kKidManagementPrivilegedOAuth2Scope[] = - "https://www.googleapis.com/auth/kid.management.privileged"; @@ -624,6 +600,11 @@ by default. -const char kPhotosOAuth2Scope[] = "https://www.googleapis.com/auth/photos"; +const char kPhotosOAuth2Scope[] = "trk:088:https://www.googleapis.com/auth/photos"; + // OAuth2 scope for access to the SecureConnect API. + extern const char kSecureConnectOAuth2Scope[] = +- "https://www.googleapis.com/auth/bce.secureconnect"; ++ "trk:074:https://www.googleapis.com/auth/bce.secureconnect"; + // OAuth2 scope for access to Cast backdrop API. const char kCastBackdropOAuth2Scope[] = - "https://www.googleapis.com/auth/cast.backdrop"; 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 166601c3..4a81a5fc 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 -@@ -307,11 +307,14 @@ IncidentReportingService::UploadContext: +@@ -306,11 +306,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 20f05853..1fb55bb7 100644 --- a/patches/core/ungoogled-chromium/block-requests.patch +++ b/patches/core/ungoogled-chromium/block-requests.patch @@ -45,7 +45,7 @@ collection_error_info_.ClearError(); --- a/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc +++ b/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc -@@ -287,6 +287,7 @@ GURL SpellcheckHunspellDictionary::GetDi +@@ -286,6 +286,7 @@ GURL SpellcheckHunspellDictionary::GetDi } void SpellcheckHunspellDictionary::DownloadDictionary(GURL url) { @@ -65,7 +65,7 @@ if (state_ == REQUESTING) { --- a/components/update_client/update_checker.cc +++ b/components/update_client/update_checker.cc -@@ -109,6 +109,7 @@ void UpdateCheckerImpl::CheckForUpdates( +@@ -108,6 +108,7 @@ void UpdateCheckerImpl::CheckForUpdates( const IdToComponentPtrMap& components, const base::flat_map& additional_attributes, UpdateCheckCallback update_check_callback) { diff --git a/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch b/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch index 7cccf28a..f8e78449 100644 --- a/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch +++ b/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch @@ -3,7 +3,7 @@ --- a/chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.cc +++ b/chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.cc -@@ -57,6 +57,7 @@ ChromeAutocompleteSchemeClassifier::GetI +@@ -58,6 +58,7 @@ ChromeAutocompleteSchemeClassifier::GetI if (base::IsStringASCII(scheme) && (ProfileIOData::IsHandledProtocol(scheme) || base::LowerCaseEqualsASCII(scheme, content::kViewSourceScheme) || @@ -70,7 +70,7 @@ // other origins, so we should not treat them as web safe. Remove callers of --- a/net/BUILD.gn +++ b/net/BUILD.gn -@@ -1019,6 +1019,8 @@ component("net") { +@@ -1004,6 +1004,8 @@ component("net") { "url_request/report_sender.h", "url_request/static_http_user_agent_settings.cc", "url_request/static_http_user_agent_settings.h", @@ -173,7 +173,7 @@ return NetLogURLRequestConstructorParams(url, priority_, --- a/net/url_request/url_request_context_builder.cc +++ b/net/url_request/url_request_context_builder.cc -@@ -48,6 +48,7 @@ +@@ -47,6 +47,7 @@ #include "net/socket/network_binding_client_socket_factory.h" #include "net/ssl/ssl_config_service_defaults.h" #include "net/url_request/static_http_user_agent_settings.h" @@ -181,7 +181,7 @@ #include "net/url_request/url_request_context.h" #include "net/url_request/url_request_context_storage.h" #include "net/url_request/url_request_job_factory.h" -@@ -618,6 +619,9 @@ std::unique_ptr URLRe +@@ -628,6 +629,9 @@ std::unique_ptr URLRe } protocol_handlers_.clear(); diff --git a/patches/core/ungoogled-chromium/disable-google-host-detection.patch b/patches/core/ungoogled-chromium/disable-google-host-detection.patch index 935d7f9f..adc4f316 100644 --- a/patches/core/ungoogled-chromium/disable-google-host-detection.patch +++ b/patches/core/ungoogled-chromium/disable-google-host-detection.patch @@ -500,7 +500,7 @@ bool TemplateURLRef::ExtractSearchTermsFromURL( --- a/components/variations/net/variations_http_headers.cc +++ b/components/variations/net/variations_http_headers.cc -@@ -26,10 +26,6 @@ +@@ -33,10 +33,6 @@ namespace variations { @@ -511,7 +511,7 @@ namespace { // The result of checking whether a request to a URL should have variations -@@ -238,30 +234,7 @@ class VariationsHeaderHelper { +@@ -257,30 +253,7 @@ class VariationsHeaderHelper { VariationsHeaderHelper& operator=(const VariationsHeaderHelper&) = delete; bool AppendHeaderIfNeeded(const GURL& url, InIncognito incognito) { @@ -543,7 +543,7 @@ } private: -@@ -329,8 +302,6 @@ void RemoveVariationsHeaderIfNeeded( +@@ -348,8 +321,6 @@ void RemoveVariationsHeaderIfNeeded( const net::RedirectInfo& redirect_info, const network::mojom::URLResponseHead& response_head, std::vector* to_be_removed_headers) { @@ -552,7 +552,7 @@ } std::unique_ptr -@@ -360,9 +331,7 @@ CreateSimpleURLLoaderWithVariationsHeade +@@ -379,9 +350,7 @@ CreateSimpleURLLoaderWithVariationsHeade } bool HasVariationsHeader(const network::ResourceRequest& request) { @@ -563,7 +563,7 @@ } bool ShouldAppendVariationsHeaderForTesting( -@@ -373,12 +342,6 @@ bool ShouldAppendVariationsHeaderForTest +@@ -392,12 +361,6 @@ bool ShouldAppendVariationsHeaderForTest void UpdateCorsExemptHeaderForVariations( network::mojom::NetworkContextParams* params) { diff --git a/patches/core/ungoogled-chromium/disable-mei-preload.patch b/patches/core/ungoogled-chromium/disable-mei-preload.patch index 0d592b36..a1ac1467 100644 --- a/patches/core/ungoogled-chromium/disable-mei-preload.patch +++ b/patches/core/ungoogled-chromium/disable-mei-preload.patch @@ -15,7 +15,7 @@ "//third_party/widevine/cdm", ] } -@@ -1183,7 +1182,6 @@ if (is_win) { +@@ -1173,7 +1172,6 @@ if (is_win) { ":optimization_guide_library", ":swiftshader_library", ":widevine_cdm_library", diff --git a/patches/core/ungoogled-chromium/disable-privacy-sandbox.patch b/patches/core/ungoogled-chromium/disable-privacy-sandbox.patch index 13856a40..ad36006d 100644 --- a/patches/core/ungoogled-chromium/disable-privacy-sandbox.patch +++ b/patches/core/ungoogled-chromium/disable-privacy-sandbox.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/resources/settings/privacy_page/privacy_page.html +++ b/chrome/browser/resources/settings/privacy_page/privacy_page.html -@@ -80,21 +80,6 @@ +@@ -85,21 +85,6 @@ sub-label="$i18n{permissionsPageDescription}" on-click="onPermissionsPageClick_" role-description="$i18n{subpageArrowRoleDescription}"> diff --git a/patches/core/ungoogled-chromium/disable-signin.patch b/patches/core/ungoogled-chromium/disable-signin.patch index 3f3c067f..7e89e9dd 100644 --- a/patches/core/ungoogled-chromium/disable-signin.patch +++ b/patches/core/ungoogled-chromium/disable-signin.patch @@ -2,7 +2,7 @@ --- a/chrome/browser/ui/chrome_pages.cc +++ b/chrome/browser/ui/chrome_pages.cc -@@ -512,32 +512,6 @@ GURL GetOSSettingsUrl(const std::string& +@@ -520,32 +520,6 @@ GURL GetOSSettingsUrl(const std::string& void ShowBrowserSignin(Browser* browser, signin_metrics::AccessPoint access_point, signin::ConsentLevel consent_level) { diff --git a/patches/core/ungoogled-chromium/disable-untraceable-urls.patch b/patches/core/ungoogled-chromium/disable-untraceable-urls.patch index 2af8b409..59ea41b1 100644 --- a/patches/core/ungoogled-chromium/disable-untraceable-urls.patch +++ b/patches/core/ungoogled-chromium/disable-untraceable-urls.patch @@ -23,7 +23,7 @@ } // namespace --- a/rlz/lib/financial_ping.cc +++ b/rlz/lib/financial_ping.cc -@@ -337,7 +337,7 @@ FinancialPing::PingResponse FinancialPin +@@ -336,7 +336,7 @@ FinancialPing::PingResponse FinancialPin // Open network connection. InternetHandle connection_handle = InternetConnectA(inet_handle, @@ -32,7 +32,7 @@ INTERNET_FLAG_NO_CACHE_WRITE, 0); if (!connection_handle) return PING_FAILURE; -@@ -381,7 +381,7 @@ FinancialPing::PingResponse FinancialPin +@@ -380,7 +380,7 @@ FinancialPing::PingResponse FinancialPin return PING_SUCCESSFUL; #else std::string url = diff --git a/patches/core/ungoogled-chromium/disable-webrtc-log-uploader.patch b/patches/core/ungoogled-chromium/disable-webrtc-log-uploader.patch index db0ac157..8efb3600 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 -@@ -127,28 +127,11 @@ void WebRtcLogUploader::LoggingStoppedDo +@@ -126,28 +126,11 @@ void WebRtcLogUploader::LoggingStoppedDo DCHECK(meta_data.get()); DCHECK(!upload_done_data.paths.directory.empty()); @@ -32,7 +32,7 @@ } void WebRtcLogUploader::PrepareMultipartPostData( -@@ -159,28 +142,7 @@ void WebRtcLogUploader::PrepareMultipart +@@ -158,28 +141,7 @@ void WebRtcLogUploader::PrepareMultipart DCHECK(!compressed_log.empty()); DCHECK(meta_data.get()); @@ -62,7 +62,7 @@ } void WebRtcLogUploader::UploadStoredLog( -@@ -246,49 +208,6 @@ void WebRtcLogUploader::LoggingStoppedDo +@@ -245,49 +207,6 @@ void WebRtcLogUploader::LoggingStoppedDo DCHECK(log_buffer.get()); DCHECK(!log_paths.directory.empty()); diff --git a/patches/core/ungoogled-chromium/disable-webstore-urls.patch b/patches/core/ungoogled-chromium/disable-webstore-urls.patch index 14ca3d85..060db058 100644 --- a/patches/core/ungoogled-chromium/disable-webstore-urls.patch +++ b/patches/core/ungoogled-chromium/disable-webstore-urls.patch @@ -76,7 +76,7 @@ } // namespace extensions --- a/extensions/browser/updater/extension_downloader.cc +++ b/extensions/browser/updater/extension_downloader.cc -@@ -93,27 +93,18 @@ const char kNotFromWebstoreInstallSource +@@ -92,27 +92,18 @@ const char kNotFromWebstoreInstallSource const char kDefaultInstallSource[] = ""; const char kReinstallInstallSource[] = "reinstall"; @@ -106,7 +106,7 @@ bool ShouldRetryRequest(const network::SimpleURLLoader* loader) { DCHECK(loader); -@@ -372,10 +363,6 @@ void ExtensionDownloader::DoStartAllPend +@@ -377,10 +368,6 @@ void ExtensionDownloader::DoStartAllPend } pending_tasks_.clear(); @@ -117,7 +117,7 @@ } void ExtensionDownloader::SetIdentityManager( -@@ -396,9 +383,7 @@ void ExtensionDownloader::SetBackoffPoli +@@ -401,9 +388,7 @@ void ExtensionDownloader::SetBackoffPoli void ExtensionDownloader::UpdateURLStats(const GURL& update_url, Manifest::Type extension_type) { @@ -128,7 +128,7 @@ url_stats_.no_url_count++; } else { url_stats_.other_url_count++; -@@ -436,11 +421,6 @@ bool ExtensionDownloader::AddExtensionDa +@@ -440,11 +425,6 @@ bool ExtensionDownloader::AddExtensionDa return false; } @@ -140,7 +140,7 @@ // Skip extensions with empty IDs. if (task.id.empty()) { DLOG(WARNING) << "Found extension with empty ID"; -@@ -452,7 +432,7 @@ bool ExtensionDownloader::AddExtensionDa +@@ -455,7 +435,7 @@ bool ExtensionDownloader::AddExtensionDa UpdateURLStats(task.update_url, task.type); if (task.update_url.is_empty()) { // Fill in default update URL. @@ -149,7 +149,7 @@ } DCHECK(!task.update_url.is_empty()); -@@ -862,20 +842,6 @@ void ExtensionDownloader::HandleManifest +@@ -865,20 +845,6 @@ void ExtensionDownloader::HandleManifest update->info); } @@ -170,7 +170,7 @@ NotifyExtensionsDownloadStageChanged( no_updates, ExtensionDownloaderDelegate::Stage::FINISHED); NotifyExtensionsDownloadFailed( -@@ -1434,11 +1400,7 @@ bool ExtensionDownloader::IterateFetchCr +@@ -1437,11 +1403,7 @@ bool ExtensionDownloader::IterateFetchCr // fetch. switch (fetch->credentials) { case ExtensionFetch::CREDENTIALS_NONE: diff --git a/patches/core/ungoogled-chromium/doh-changes.patch b/patches/core/ungoogled-chromium/doh-changes.patch index 19ce2922..97849071 100644 --- a/patches/core/ungoogled-chromium/doh-changes.patch +++ b/patches/core/ungoogled-chromium/doh-changes.patch @@ -1,6 +1,6 @@ --- a/chrome/common/chrome_features.cc +++ b/chrome/common/chrome_features.cc -@@ -331,12 +331,7 @@ const base::Feature kChromeAppsDeprecati +@@ -332,12 +332,7 @@ const base::Feature kKeepForceInstalledP // Enable DNS over HTTPS (DoH). const base::Feature kDnsOverHttps { "DnsOverHttps", 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 6975f200..da8bcc89 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/test/chromedriver/BUILD.gn +++ b/chrome/test/chromedriver/BUILD.gn -@@ -314,11 +314,7 @@ source_set("lib") { +@@ -335,11 +335,7 @@ source_set("lib") { } } @@ -15,7 +15,7 @@ executable("$chromedriver_output") { testonly = true -@@ -340,16 +336,6 @@ executable("$chromedriver_output") { +@@ -361,16 +357,6 @@ executable("$chromedriver_output") { } } diff --git a/patches/core/ungoogled-chromium/fix-building-without-safebrowsing.patch b/patches/core/ungoogled-chromium/fix-building-without-safebrowsing.patch index 64bc677b..d4bfc54a 100644 --- a/patches/core/ungoogled-chromium/fix-building-without-safebrowsing.patch +++ b/patches/core/ungoogled-chromium/fix-building-without-safebrowsing.patch @@ -2,7 +2,16 @@ --- a/chrome/browser/BUILD.gn +++ b/chrome/browser/BUILD.gn -@@ -1949,7 +1949,6 @@ static_library("browser") { +@@ -615,8 +615,6 @@ static_library("browser") { + "internal_auth.h", + "interstitials/chrome_settings_page_helper.cc", + "interstitials/chrome_settings_page_helper.h", +- "interstitials/enterprise_util.cc", +- "interstitials/enterprise_util.h", + "invalidation/profile_invalidation_provider_factory.cc", + "invalidation/profile_invalidation_provider_factory.h", + "language/language_model_manager_factory.cc", +@@ -1960,7 +1958,6 @@ static_library("browser") { "//chrome/browser/net:probe_message_proto", "//chrome/browser/new_tab_page/modules/drive:mojo_bindings", "//chrome/browser/new_tab_page/modules/photos:mojo_bindings", @@ -10,17 +19,18 @@ "//chrome/browser/new_tab_page/modules/task_module:mojo_bindings", "//chrome/browser/notifications", "//chrome/browser/notifications/scheduler:factory", -@@ -3746,9 +3745,6 @@ static_library("browser") { +@@ -3774,10 +3771,6 @@ static_library("browser") { "download/offline_item_model_manager_factory.h", "enterprise/connectors/analysis/analysis_service_settings.cc", "enterprise/connectors/analysis/analysis_service_settings.h", - "enterprise/connectors/analysis/content_analysis_delegate.cc", - "enterprise/connectors/analysis/content_analysis_delegate.h", +- "enterprise/connectors/analysis/content_analysis_delegate_base.cc", - "enterprise/connectors/analysis/content_analysis_delegate_base.h", "enterprise/connectors/analysis/content_analysis_dialog.cc", "enterprise/connectors/analysis/content_analysis_dialog.h", "enterprise/connectors/analysis/content_analysis_downloads_delegate.cc", -@@ -3995,10 +3991,6 @@ static_library("browser") { +@@ -4024,10 +4017,6 @@ static_library("browser") { "new_tab_page/modules/photos/photos_service.h", "new_tab_page/modules/photos/photos_service_factory.cc", "new_tab_page/modules/photos/photos_service_factory.h", @@ -31,7 +41,7 @@ "new_tab_page/modules/task_module/task_module_handler.cc", "new_tab_page/modules/task_module/task_module_handler.h", "new_tab_page/modules/task_module/task_module_service.cc", -@@ -7325,9 +7317,14 @@ static_library("browser") { +@@ -7380,9 +7369,14 @@ static_library("browser") { "//components/safe_browsing/content/browser:safe_browsing_blocking_page", "//components/safe_browsing/content/browser/download:download_stats", "//components/safe_browsing/content/common:file_type_policies", @@ -63,7 +73,7 @@ auto delegate = std::make_unique(profile); --- a/chrome/browser/chrome_content_browser_client.cc +++ b/chrome/browser/chrome_content_browser_client.cc -@@ -4311,11 +4311,13 @@ ChromeContentBrowserClient::CreateThrott +@@ -4291,11 +4291,13 @@ ChromeContentBrowserClient::CreateThrott &throttles); #endif @@ -77,7 +87,7 @@ // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch // of lacros-chrome is complete. -@@ -5702,26 +5704,7 @@ ChromeContentBrowserClient::GetSafeBrows +@@ -5692,26 +5694,7 @@ ChromeContentBrowserClient::GetSafeBrows const std::vector& allowlist_domains) { DCHECK_CURRENTLY_ON(BrowserThread::IO); @@ -105,7 +115,7 @@ } safe_browsing::RealTimeUrlLookupServiceBase* -@@ -5742,11 +5725,6 @@ ChromeContentBrowserClient::GetUrlLookup +@@ -5732,11 +5715,6 @@ ChromeContentBrowserClient::GetUrlLookup GetForProfile(profile); } #endif @@ -119,7 +129,7 @@ --- a/chrome/browser/chrome_content_browser_client_receiver_bindings.cc +++ b/chrome/browser/chrome_content_browser_client_receiver_bindings.cc -@@ -143,45 +143,6 @@ void MaybeCreateSafeBrowsingForRenderer( +@@ -143,34 +143,6 @@ void MaybeCreateSafeBrowsingForRenderer( const std::vector& allowlist_domains)> get_checker_delegate, mojo::PendingReceiver receiver) { @@ -137,17 +147,6 @@ - std::vector allowlist_domains = - safe_browsing::GetURLAllowlistByPolicy(pref_service); - -- // Log the size of the domains to make sure copying them is -- // not too expensive. -- if (allowlist_domains.size() > 0) { -- int total_size = 0; -- for (const auto& domains : allowlist_domains) { -- total_size += domains.size(); -- } -- base::UmaHistogramCounts10000( -- "SafeBrowsing.Policy.AllowlistDomainsTotalSize", total_size); -- } -- - bool safe_browsing_enabled = - safe_browsing::IsSafeBrowsingEnabled(*pref_service); - content::GetIOThreadTaskRunner({})->PostTask( @@ -167,7 +166,7 @@ // BadgeManager is not used for Android. --- a/chrome/browser/component_updater/chrome_client_side_phishing_component_installer.cc +++ b/chrome/browser/component_updater/chrome_client_side_phishing_component_installer.cc -@@ -30,20 +30,6 @@ namespace { +@@ -29,20 +29,6 @@ namespace { void LoadFromDisk(const base::FilePath& pb_path, const base::FilePath& visual_tflite_model_path) { @@ -188,7 +187,7 @@ } void PopulateModelFromFiles(const base::FilePath& install_dir) { -@@ -57,9 +43,6 @@ void PopulateModelFromFiles(const base:: +@@ -56,9 +42,6 @@ void PopulateModelFromFiles(const base:: update_client::InstallerAttributes GetInstallerAttributes() { update_client::InstallerAttributes attributes; @@ -208,30 +207,6 @@ #include "third_party/blink/public/common/input/web_gesture_event.h" #include "third_party/blink/public/common/input/web_input_event.h" #include "third_party/blink/public/common/renderer_preferences/renderer_preferences.h" ---- a/chrome/browser/download/bubble/download_bubble_prefs.cc -+++ b/chrome/browser/download/bubble/download_bubble_prefs.cc -@@ -18,21 +18,6 @@ bool IsDownloadBubbleEnabled(Profile* pr - return false; - } - -- // TODO(crbug.com/1307021): Enable download bubble for enhanced protection -- // users, advanced protection users and enterprise connector users once it -- // supports deep scanning. -- if (safe_browsing::IsEnhancedProtectionEnabled(*profile->GetPrefs())) { -- return false; -- } -- -- auto* advanced_protection_manager = -- safe_browsing::AdvancedProtectionStatusManagerFactory::GetForProfile( -- profile); -- if (advanced_protection_manager && -- advanced_protection_manager->IsUnderAdvancedProtection()) { -- return false; -- } -- - auto* connector_service = - enterprise_connectors::ConnectorsServiceFactory::GetForBrowserContext( - profile); --- a/chrome/browser/download/chrome_download_manager_delegate.cc +++ b/chrome/browser/download/chrome_download_manager_delegate.cc @@ -130,7 +130,6 @@ using content::DownloadManager; @@ -242,7 +217,7 @@ using safe_browsing::DownloadProtectionService; using ConnectionType = net::NetworkChangeNotifier::ConnectionType; -@@ -1526,8 +1525,6 @@ void ChromeDownloadManagerDelegate::OnDo +@@ -1519,8 +1518,6 @@ void ChromeDownloadManagerDelegate::OnDo if (item->GetOriginalMimeType() == "application/x-x509-user-cert") DownloadItemModel(item).SetShouldPreferOpeningInBrowser(true); #endif @@ -251,7 +226,7 @@ } if (ShouldBlockFile(target_info->danger_type, item)) { MaybeReportDangerousDownloadBlocked( -@@ -1679,7 +1676,6 @@ void ChromeDownloadManagerDelegate::Mayb +@@ -1655,7 +1652,6 @@ void ChromeDownloadManagerDelegate::Mayb service->MaybeSendDangerousDownloadOpenedReport(download, show_download_in_folder); } @@ -259,7 +234,7 @@ if (!download->GetAutoOpened()) { download::DownloadContent download_content = download::DownloadContentFromMimeType(download->GetMimeType(), false); -@@ -1687,6 +1683,7 @@ void ChromeDownloadManagerDelegate::Mayb +@@ -1663,6 +1659,7 @@ void ChromeDownloadManagerDelegate::Mayb download->GetDangerType(), download_content, base::Time::Now(), download->GetEndTime(), show_download_in_folder); } @@ -267,7 +242,7 @@ } void ChromeDownloadManagerDelegate::CheckDownloadAllowed( -@@ -1756,8 +1753,7 @@ void ChromeDownloadManagerDelegate::Chec +@@ -1732,8 +1729,7 @@ void ChromeDownloadManagerDelegate::Chec DCHECK(download_item); DCHECK(download_item->IsSavePackageDownload()); @@ -300,7 +275,7 @@ void RecordOpenedDangerousConfirmDialog( --- a/chrome/browser/download/download_target_determiner.cc +++ b/chrome/browser/download/download_target_determiner.cc -@@ -878,12 +878,14 @@ void DownloadTargetDeterminer::CheckVisi +@@ -877,12 +877,14 @@ void DownloadTargetDeterminer::CheckVisi bool visited_referrer_before) { DCHECK_CURRENTLY_ON(BrowserThread::UI); DCHECK_EQ(STATE_DETERMINE_INTERMEDIATE_PATH, next_state_); @@ -315,7 +290,7 @@ danger_level_ = GetDangerLevel( visited_referrer_before ? VISITED_REFERRER : NO_VISITS_TO_REFERRER); if (danger_level_ != DownloadFileType::NOT_DANGEROUS && -@@ -1123,6 +1125,7 @@ DownloadFileType::DangerLevel DownloadTa +@@ -1122,6 +1124,7 @@ DownloadFileType::DangerLevel DownloadTa absl::optional DownloadTargetDeterminer::GetLastDownloadBypassTimestamp() const { @@ -323,7 +298,7 @@ safe_browsing::SafeBrowsingMetricsCollector* metrics_collector = safe_browsing::SafeBrowsingMetricsCollectorFactory::GetForProfile( GetProfile()); -@@ -1131,6 +1134,9 @@ DownloadTargetDeterminer::GetLastDownloa +@@ -1130,6 +1133,9 @@ DownloadTargetDeterminer::GetLastDownloa safe_browsing::SafeBrowsingMetricsCollector:: EventType::DANGEROUS_DOWNLOAD_BYPASS) : absl::nullopt; @@ -408,6 +383,26 @@ if (cached_device_model_ && cached_device_manufacturer_) { UpdateFromCache(signals); LogSignalsCollectionLatency(kLatencyHistogramWithCacheVariant, start_time); +--- a/chrome/browser/enterprise/connectors/reporting/reporting_service_settings.cc ++++ b/chrome/browser/enterprise/connectors/reporting/reporting_service_settings.cc +@@ -63,17 +63,6 @@ ReportingServiceSettings::ReportingServi + else + DVLOG(1) << "Enabled event name list contains a non string value!"; + } +- } else { +- // When the list of enabled event names is not set, we assume all events are +- // enabled. This is to support the feature of selecting the "All always on" +- // option in the policy UI, which means to always enable all events, even +- // when new events may be added in the future. And this is also to support +- // existing customer policies that were created before we introduced the +- // concept of enabling/disabling events. +- for (auto* event_name : +- extensions::SafeBrowsingPrivateEventRouter::kAllEvents) { +- enabled_event_names_.insert(event_name); +- } + } + + const base::Value* enabled_opt_in_events_value = --- a/chrome/browser/enterprise/signals/context_info_fetcher.cc +++ b/chrome/browser/enterprise/signals/context_info_fetcher.cc @@ -204,7 +204,6 @@ void ContextInfoFetcher::Fetch(ContextIn @@ -516,7 +511,18 @@ } // namespace utils --- a/chrome/browser/extensions/BUILD.gn +++ b/chrome/browser/extensions/BUILD.gn -@@ -636,8 +636,6 @@ static_library("extensions") { +@@ -300,10 +300,6 @@ static_library("extensions") { + "api/runtime/chrome_runtime_api_delegate.h", + "api/safe_browsing_private/safe_browsing_private_api.cc", + "api/safe_browsing_private/safe_browsing_private_api.h", +- "api/safe_browsing_private/safe_browsing_private_event_router.cc", +- "api/safe_browsing_private/safe_browsing_private_event_router.h", +- "api/safe_browsing_private/safe_browsing_private_event_router_factory.cc", +- "api/safe_browsing_private/safe_browsing_private_event_router_factory.h", + "api/safe_browsing_private/safe_browsing_util.cc", + "api/safe_browsing_private/safe_browsing_util.h", + "api/scripting/scripting_api.cc", +@@ -638,8 +634,6 @@ static_library("extensions") { "menu_manager_factory.h", "navigation_observer.cc", "navigation_observer.h", @@ -545,183 +551,19 @@ info.browser_version = std::move(signals.browser_version); info.built_in_dns_client_enabled = signals.built_in_dns_client_enabled; ---- 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 -@@ -333,6 +333,7 @@ void SafeBrowsingPrivateEventRouter::OnP - event_router_->BroadcastEvent(std::move(extension_event)); - } - -+#if defined(FULL_SAFE_BROWSING) - absl::optional settings = - GetReportingSettings(); - if (!settings.has_value() || -@@ -404,6 +405,7 @@ void SafeBrowsingPrivateEventRouter::OnD - - ReportRealtimeEvent(kKeyDangerousDownloadEvent, std::move(settings.value()), - std::move(event)); -+#endif // FULL_SAFE_BROWSING - } - - void SafeBrowsingPrivateEventRouter::OnSecurityInterstitialShown( -@@ -431,6 +433,7 @@ void SafeBrowsingPrivateEventRouter::OnS - event_router_->BroadcastEvent(std::move(extension_event)); - } - -+#if defined(FULL_SAFE_BROWSING) - absl::optional settings = - GetReportingSettings(); - if (!settings.has_value() || -@@ -453,6 +456,7 @@ void SafeBrowsingPrivateEventRouter::OnS - - ReportRealtimeEvent(kKeyInterstitialEvent, std::move(settings.value()), - std::move(event)); -+#endif // FULL_SAFE_BROWSING - } - - void SafeBrowsingPrivateEventRouter::OnSecurityInterstitialProceeded( -@@ -480,6 +484,7 @@ void SafeBrowsingPrivateEventRouter::OnS - event_router_->BroadcastEvent(std::move(extension_event)); - } - -+#if defined(FULL_SAFE_BROWSING) - absl::optional settings = - GetReportingSettings(); - if (!settings.has_value() || -@@ -498,6 +503,7 @@ void SafeBrowsingPrivateEventRouter::OnS - - ReportRealtimeEvent(kKeyInterstitialEvent, std::move(settings.value()), - std::move(event)); -+#endif // FULL_SAFE_BROWSING - } - - void SafeBrowsingPrivateEventRouter::OnAnalysisConnectorResult( -@@ -511,6 +517,7 @@ void SafeBrowsingPrivateEventRouter::OnA - const enterprise_connectors::ContentAnalysisResponse::Result& result, - const int64_t content_size, - safe_browsing::EventResult event_result) { -+#if defined(FULL_SAFE_BROWSING) - if (result.tag() == "malware") { - DCHECK_EQ(1, result.triggered_rules().size()); - OnDangerousDeepScanningResult( -@@ -522,6 +529,7 @@ void SafeBrowsingPrivateEventRouter::OnA - OnSensitiveDataEvent(url, file_name, download_digest_sha256, mime_type, - trigger, scan_id, result, content_size, event_result); - } -+#endif // FULL_SAFE_BROWSING - } - - void SafeBrowsingPrivateEventRouter::OnDangerousDeepScanningResult( -@@ -537,6 +545,7 @@ void SafeBrowsingPrivateEventRouter::OnD - const std::string& malware_category, - const std::string& evidence_locker_filepath, - const std::string& scan_id) { -+#if defined(FULL_SAFE_BROWSING) - absl::optional settings = - GetReportingSettings(); - if (!settings.has_value() || -@@ -577,6 +586,7 @@ void SafeBrowsingPrivateEventRouter::OnD - - ReportRealtimeEvent(kKeyDangerousDownloadEvent, std::move(settings.value()), - std::move(event)); -+#endif // FULL_SAFE_BROWSING - } - - void SafeBrowsingPrivateEventRouter::OnSensitiveDataEvent( -@@ -589,6 +599,7 @@ void SafeBrowsingPrivateEventRouter::OnS - const enterprise_connectors::ContentAnalysisResponse::Result& result, - const int64_t content_size, - safe_browsing::EventResult event_result) { -+#if defined(FULL_SAFE_BROWSING) - absl::optional settings = - GetReportingSettings(); - if (!settings.has_value() || -@@ -620,6 +631,7 @@ void SafeBrowsingPrivateEventRouter::OnS - - ReportRealtimeEvent(kKeySensitiveDataEvent, std::move(settings.value()), - std::move(event)); -+#endif // FULL_SAFE_BROWSING - } - - void SafeBrowsingPrivateEventRouter::OnAnalysisConnectorWarningBypassed( -@@ -633,6 +645,7 @@ void SafeBrowsingPrivateEventRouter::OnA - const enterprise_connectors::ContentAnalysisResponse::Result& result, - const int64_t content_size, - absl::optional user_justification) { -+#if defined(FULL_SAFE_BROWSING) - absl::optional settings = - GetReportingSettings(); - if (!settings.has_value() || -@@ -667,6 +680,7 @@ void SafeBrowsingPrivateEventRouter::OnA - - ReportRealtimeEvent(kKeySensitiveDataEvent, std::move(settings.value()), - std::move(event)); -+#endif // FULL_SAFE_BROWSING - } - - void SafeBrowsingPrivateEventRouter::OnUnscannedFileEvent( -@@ -679,6 +693,7 @@ void SafeBrowsingPrivateEventRouter::OnU - const std::string& reason, - const int64_t content_size, - safe_browsing::EventResult event_result) { -+#if defined(FULL_SAFE_BROWSING) - absl::optional settings = - GetReportingSettings(); - if (!settings.has_value() || -@@ -705,6 +720,7 @@ void SafeBrowsingPrivateEventRouter::OnU - - ReportRealtimeEvent(kKeyUnscannedFileEvent, std::move(settings.value()), - std::move(event)); -+#endif // FULL_SAFE_BROWSING - } - - void SafeBrowsingPrivateEventRouter::OnDangerousDownloadEvent( -@@ -730,6 +746,7 @@ void SafeBrowsingPrivateEventRouter::OnD - const std::string& scan_id, - const int64_t content_size, - safe_browsing::EventResult event_result) { -+#if defined(FULL_SAFE_BROWSING) - absl::optional settings = - GetReportingSettings(); - if (!settings.has_value() || -@@ -761,6 +778,7 @@ void SafeBrowsingPrivateEventRouter::OnD - - ReportRealtimeEvent(kKeyDangerousDownloadEvent, std::move(settings.value()), - std::move(event)); -+#endif - } - - void SafeBrowsingPrivateEventRouter::OnDangerousDownloadWarningBypassed( -@@ -784,6 +802,7 @@ void SafeBrowsingPrivateEventRouter::OnD - const std::string& mime_type, - const std::string& scan_id, - const int64_t content_size) { -+#if defined(FULL_SAFE_BROWSING) - absl::optional settings = - GetReportingSettings(); - if (!settings.has_value() || -@@ -815,6 +834,7 @@ void SafeBrowsingPrivateEventRouter::OnD - - ReportRealtimeEvent(kKeyDangerousDownloadEvent, std::move(settings.value()), - std::move(event)); -+#endif // FULL_SAFE_BROWSING - } - - void SafeBrowsingPrivateEventRouter::OnLoginEvent( -@@ -1162,7 +1182,11 @@ void SafeBrowsingPrivateEventRouter::Rep - } - - std::string SafeBrowsingPrivateEventRouter::GetProfileUserName() const { -+#if defined(FULL_SAFE_BROWSING) - return safe_browsing::GetProfileEmail(identity_manager_); -+#else -+ return ""; -+#endif - } - - #if BUILDFLAG(IS_CHROMEOS_ASH) +--- a/chrome/browser/extensions/browser_context_keyed_service_factories.cc ++++ b/chrome/browser/extensions/browser_context_keyed_service_factories.cc +@@ -125,7 +125,6 @@ void EnsureBrowserContextKeyedServiceFac + #endif + extensions::PreferenceAPI::GetFactoryInstance(); + extensions::ProcessesAPI::GetFactoryInstance(); +- extensions::SafeBrowsingPrivateEventRouterFactory::GetInstance(); + extensions::SessionsAPI::GetFactoryInstance(); + #if BUILDFLAG(IS_CHROMEOS) + extensions::SessionStateChangedEventDispatcher::GetFactoryInstance(); --- a/chrome/browser/extensions/chrome_extensions_browser_client.cc +++ b/chrome/browser/extensions/chrome_extensions_browser_client.cc -@@ -610,51 +610,22 @@ void ChromeExtensionsBrowserClient::Noti +@@ -612,51 +612,22 @@ void ChromeExtensionsBrowserClient::Noti content::BrowserContext* context, const ExtensionId& extension_id, const std::string& code) const { @@ -777,7 +619,7 @@ // static --- a/chrome/browser/extensions/extension_service.cc +++ b/chrome/browser/extensions/extension_service.cc -@@ -52,7 +52,6 @@ +@@ -53,7 +53,6 @@ #include "chrome/browser/extensions/forced_extensions/install_stage_tracker.h" #include "chrome/browser/extensions/install_verifier.h" #include "chrome/browser/extensions/installed_loader.h" @@ -785,7 +627,7 @@ #include "chrome/browser/extensions/pending_extension_manager.h" #include "chrome/browser/extensions/permissions_updater.h" #include "chrome/browser/extensions/shared_module_service.h" -@@ -206,7 +205,6 @@ void ExtensionService::BlocklistExtensio +@@ -207,7 +206,6 @@ void ExtensionService::BlocklistExtensio blocklist_prefs::SetSafeBrowsingExtensionBlocklistState( extension_id, BitMapBlocklistState::BLOCKLISTED_MALWARE, extension_prefs_); @@ -793,7 +635,7 @@ } bool ExtensionService::OnExternalExtensionUpdateUrlFound( -@@ -369,7 +367,6 @@ ExtensionService::ExtensionService(Profi +@@ -370,7 +368,6 @@ ExtensionService::ExtensionService(Profi safe_browsing_verdict_handler_(extension_prefs, ExtensionRegistry::Get(profile), this), @@ -801,7 +643,7 @@ registry_(ExtensionRegistry::Get(profile)), pending_extension_manager_(profile), install_directory_(install_directory), -@@ -869,100 +866,6 @@ bool ExtensionService::IsExtensionEnable +@@ -870,100 +867,6 @@ bool ExtensionService::IsExtensionEnable return extension_registrar_.IsExtensionEnabled(extension_id); } @@ -964,7 +806,7 @@ --- a/chrome/browser/extensions/extension_system_impl.cc +++ b/chrome/browser/extensions/extension_system_impl.cc -@@ -464,8 +464,6 @@ void ExtensionSystemImpl::InstallUpdate( +@@ -465,8 +465,6 @@ void ExtensionSystemImpl::InstallUpdate( void ExtensionSystemImpl::PerformActionBasedOnOmahaAttributes( const std::string& extension_id, const base::Value& attributes) { @@ -1102,7 +944,7 @@ std::string GenerateLastPickedDirectoryKey(const std::string& id) { return id.empty() ? kDefaultLastPickedDirectoryKey : base::StrCat({kCustomLastPickedDirectoryKey, "-", id}); -@@ -1134,28 +1055,6 @@ void ChromeFileSystemAccessPermissionCon +@@ -1137,28 +1058,6 @@ void ChromeFileSystemAccessPermissionCon std::move(callback))); } @@ -1172,7 +1014,7 @@ // Do not allow picker UI to be shown on a page that isn't in the foreground --- a/chrome/browser/notifications/notification_display_service_impl.cc +++ b/chrome/browser/notifications/notification_display_service_impl.cc -@@ -89,13 +89,6 @@ NotificationDisplayServiceImpl::Notifica +@@ -88,13 +88,6 @@ NotificationDisplayServiceImpl::Notifica profile_)); #endif @@ -1196,7 +1038,7 @@ #include "chrome/browser/safe_browsing/user_interaction_observer.h" #include "chrome/browser/signin/identity_manager_factory.h" #include "chrome/browser/sync/sync_service_factory.h" -@@ -112,11 +111,11 @@ +@@ -114,11 +113,11 @@ #if BUILDFLAG(FULL_SAFE_BROWSING) #include "chrome/browser/safe_browsing/advanced_protection_status_manager.h" #include "chrome/browser/safe_browsing/advanced_protection_status_manager_factory.h" @@ -1209,7 +1051,7 @@ #if BUILDFLAG(IS_ANDROID) #include "chrome/browser/android/tab_android.h" -@@ -809,6 +808,7 @@ autofill::LanguageCode ChromePasswordMan +@@ -850,6 +849,7 @@ autofill::LanguageCode ChromePasswordMan return autofill::LanguageCode(); } @@ -1217,7 +1059,7 @@ safe_browsing::PasswordProtectionService* ChromePasswordManagerClient::GetPasswordProtectionService() const { return safe_browsing::ChromePasswordProtectionService:: -@@ -844,13 +844,9 @@ void ChromePasswordManagerClient::CheckP +@@ -885,13 +885,9 @@ void ChromePasswordManagerClient::CheckP web_contents(), web_contents()->GetLastCommittedURL(), username, password_type, matching_reused_credentials, password_field_exists); } @@ -1232,7 +1074,44 @@ } #if !BUILDFLAG(IS_ANDROID) -@@ -1357,9 +1353,11 @@ void ChromePasswordManagerClient::OnPast +@@ -900,36 +896,10 @@ void ChromePasswordManagerClient::MaybeR + bool is_federated, + const url::Origin& federated_origin, + const std::u16string& login_user_name) const { +- if (!base::FeatureList::IsEnabled(policy::features::kLoginEventReporting)) +- return; +- +- extensions::SafeBrowsingPrivateEventRouter* router = +- extensions::SafeBrowsingPrivateEventRouterFactory::GetForProfile( +- profile_); +- if (!router) +- return; +- +- // The router is responsible for checking if the reporting of this event type +- // is enabled by the admin. +- router->OnLoginEvent(url, is_federated, federated_origin, login_user_name); + } + + void ChromePasswordManagerClient::MaybeReportEnterprisePasswordBreachEvent( + const std::vector>& identities) const { +- if (!base::FeatureList::IsEnabled( +- policy::features::kPasswordBreachEventReporting)) { +- return; +- } +- +- extensions::SafeBrowsingPrivateEventRouter* router = +- extensions::SafeBrowsingPrivateEventRouterFactory::GetForProfile( +- profile_); +- if (!router) +- return; +- +- // The router is responsible for checking if the reporting of this event type +- // is enabled by the admin. +- router->OnPasswordBreach(kPasswordBreachEntryTrigger, identities); + } + #endif + +@@ -1398,9 +1368,11 @@ void ChromePasswordManagerClient::OnPast } was_on_paste_called_ = true; @@ -1245,7 +1124,7 @@ void ChromePasswordManagerClient::RenderFrameCreated( content::RenderFrameHost* render_frame_host) { -@@ -1394,7 +1392,9 @@ void ChromePasswordManagerClient::OnInpu +@@ -1435,7 +1407,9 @@ void ChromePasswordManagerClient::OnInpu if (key_event.windows_key_code == (ui::VKEY_V & 0x1f)) { OnPaste(); } else { @@ -1255,7 +1134,7 @@ } #endif // BUILDFLAG(IS_ANDROID) } -@@ -1433,6 +1433,7 @@ bool ChromePasswordManagerClient::IsPass +@@ -1474,6 +1448,7 @@ bool ChromePasswordManagerClient::IsPass is_enabled = false; } @@ -1263,7 +1142,7 @@ // SafeBrowsing Delayed Warnings experiment can delay some SafeBrowsing // warnings until user interaction. If the current page has a delayed warning, // it'll have a user interaction observer attached. Disable password -@@ -1443,6 +1444,7 @@ bool ChromePasswordManagerClient::IsPass +@@ -1484,6 +1459,7 @@ bool ChromePasswordManagerClient::IsPass observer->OnPasswordSaveOrAutofillDenied(); is_enabled = false; } @@ -1273,7 +1152,7 @@ password_manager::BrowserSavePasswordProgressLogger logger( --- a/chrome/browser/password_manager/chrome_password_manager_client.h +++ b/chrome/browser/password_manager/chrome_password_manager_client.h -@@ -207,13 +207,14 @@ class ChromePasswordManagerClient +@@ -216,13 +216,14 @@ class ChromePasswordManagerClient void AnnotateNavigationEntry(bool has_password_field) override; autofill::LanguageCode GetPageLanguage() const override; @@ -1289,7 +1168,7 @@ void CheckProtectedPasswordEntry( password_manager::metrics_util::PasswordType reused_password_type, -@@ -221,6 +222,7 @@ class ChromePasswordManagerClient +@@ -230,6 +231,7 @@ class ChromePasswordManagerClient const std::vector& matching_reused_credentials, bool password_field_exists) override; @@ -1317,7 +1196,7 @@ void AbusiveOriginPermissionRevocationRequest::OnSafeBrowsingVerdictReceived( --- a/chrome/browser/permissions/contextual_notification_permission_ui_selector.cc +++ b/chrome/browser/permissions/contextual_notification_permission_ui_selector.cc -@@ -17,7 +17,6 @@ +@@ -16,7 +16,6 @@ #include "chrome/browser/browser_process.h" #include "chrome/browser/permissions/quiet_notification_permission_ui_config.h" #include "chrome/browser/permissions/quiet_notification_permission_ui_state.h" @@ -1325,7 +1204,7 @@ #include "chrome/common/chrome_features.h" #include "components/permissions/permission_request.h" #include "components/permissions/request_type.h" -@@ -151,9 +150,6 @@ void ContextualNotificationPermissionUiS +@@ -150,9 +149,6 @@ void ContextualNotificationPermissionUiS } void ContextualNotificationPermissionUiSelector::Cancel() { @@ -1335,7 +1214,7 @@ } bool ContextualNotificationPermissionUiSelector::IsPermissionRequestSupported( -@@ -179,24 +175,14 @@ void ContextualNotificationPermissionUiS +@@ -178,24 +174,14 @@ void ContextualNotificationPermissionUiS absl::optional decision = GetDecisionBasedOnSiteReputation(reputation); @@ -1367,7 +1246,7 @@ void ContextualNotificationPermissionUiSelector::OnSafeBrowsingVerdictReceived( --- a/chrome/browser/permissions/prediction_based_permission_ui_selector.cc +++ b/chrome/browser/permissions/prediction_based_permission_ui_selector.cc -@@ -316,47 +316,5 @@ bool PredictionBasedPermissionUiSelector +@@ -322,47 +322,5 @@ bool PredictionBasedPermissionUiSelector PredictionSource PredictionBasedPermissionUiSelector::GetPredictionTypeToUse( permissions::RequestType request_type) { @@ -1417,7 +1296,7 @@ } --- a/chrome/browser/policy/configuration_policy_handler_list_factory.cc +++ b/chrome/browser/policy/configuration_policy_handler_list_factory.cc -@@ -91,6 +91,7 @@ +@@ -92,6 +92,7 @@ #include "components/policy/core/common/schema.h" #include "components/policy/policy_constants.h" #include "components/proxy_config/proxy_policy_handler.h" @@ -1425,18 +1304,32 @@ #include "components/safe_browsing/content/common/file_type_policies_prefs.h" #include "components/safe_browsing/core/common/safe_browsing_policy_handler.h" #include "components/safe_browsing/core/common/safe_browsing_prefs.h" -@@ -2295,7 +2296,7 @@ std::unique_ptrAddHandler( + std::make_unique( + chrome_schema)); +- handlers->AddHandler( +- std::make_unique()); + handlers->AddHandler(std::make_unique()); + handlers->AddHandler( + std::make_unique(key::kURLBlocklist)); +@@ -1790,13 +1789,6 @@ std::unique_ptrAddHandler(std::make_unique( +- key::kExemptDomainFileTypePairsFromFileTypeDownloadWarnings, +- safe_browsing::file_type::prefs:: +- kExemptDomainFileTypePairsFromFileTypeDownloadWarnings, +- chrome_schema, SCHEMA_ALLOW_UNKNOWN, +- SimpleSchemaValidatingPolicyHandler::RECOMMENDED_PROHIBITED, +- SimpleSchemaValidatingPolicyHandler::MANDATORY_ALLOWED)); + handlers->AddHandler( + std::make_unique(chrome_schema)); --#if !BUILDFLAG(IS_ANDROID) -+#if !BUILDFLAG(IS_ANDROID) && BUILDFLAG(FULL_SAFE_BROWSING) - handlers->AddHandler(std::make_unique( - key::kExemptDomainFileTypePairsFromFileTypeDownloadWarnings, - safe_browsing::file_type::prefs:: --- a/chrome/browser/prefs/browser_prefs.cc +++ b/chrome/browser/prefs/browser_prefs.cc -@@ -245,7 +245,6 @@ +@@ -248,7 +248,6 @@ #include "chrome/browser/nearby_sharing/common/nearby_share_prefs.h" #include "chrome/browser/new_tab_page/modules/drive/drive_service.h" #include "chrome/browser/new_tab_page/modules/photos/photos_service.h" @@ -1444,7 +1337,7 @@ #include "chrome/browser/new_tab_page/modules/task_module/task_module_service.h" #include "chrome/browser/new_tab_page/promos/promo_service.h" #include "chrome/browser/search/background/ntp_custom_background_service.h" -@@ -1351,7 +1350,6 @@ void RegisterProfilePrefs(user_prefs::Pr +@@ -1386,7 +1385,6 @@ void RegisterProfilePrefs(user_prefs::Pr NewTabPageHandler::RegisterProfilePrefs(registry); NewTabPageUI::RegisterProfilePrefs(registry); NewTabUI::RegisterProfilePrefs(registry); @@ -1454,7 +1347,7 @@ PinnedTabCodec::RegisterProfilePrefs(registry); --- a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc +++ b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc -@@ -527,7 +527,6 @@ void ChromeBrowserMainExtraPartsProfiles +@@ -536,7 +536,6 @@ void ChromeBrowserMainExtraPartsProfiles SystemExtensionsProviderFactory::GetInstance(); #endif TabRestoreServiceFactory::GetInstance(); @@ -1605,6 +1498,17 @@ } content::BrowserContext* SCTReportingServiceFactory::GetBrowserContextToUse( +--- a/chrome/browser/ssl/ssl_error_controller_client.cc ++++ b/chrome/browser/ssl/ssl_error_controller_client.cc +@@ -91,8 +91,6 @@ void SSLErrorControllerClient::GoBack() + } + + void SSLErrorControllerClient::Proceed() { +- MaybeTriggerSecurityInterstitialProceededEvent(web_contents_, request_url_, +- "SSL_ERROR", cert_error_); + #if BUILDFLAG(ENABLE_EXTENSIONS) + // Hosted Apps should not be allowed to run if there is a problem with their + // certificate. So, when users click proceed on an interstitial, move the tab --- a/chrome/browser/subresource_filter/chrome_content_subresource_filter_web_contents_helper_factory.cc +++ b/chrome/browser/subresource_filter/chrome_content_subresource_filter_web_contents_helper_factory.cc @@ -6,7 +6,6 @@ @@ -1629,7 +1533,7 @@ } // namespace --- a/chrome/browser/ui/BUILD.gn +++ b/chrome/browser/ui/BUILD.gn -@@ -536,7 +536,6 @@ static_library("ui") { +@@ -546,7 +546,6 @@ static_library("ui") { "//components/renderer_context_menu", "//components/resources", "//components/safe_browsing/content/browser", @@ -1637,7 +1541,7 @@ "//components/safe_browsing/content/browser/password_protection", "//components/safe_browsing/content/browser/web_ui", "//components/safe_browsing/core/browser/db:database_manager", -@@ -4620,8 +4619,6 @@ static_library("ui") { +@@ -4667,8 +4666,6 @@ static_library("ui") { "views/safe_browsing/password_reuse_modal_warning_dialog.h", "views/safe_browsing/prompt_for_scanning_modal_dialog.cc", "views/safe_browsing/prompt_for_scanning_modal_dialog.h", @@ -1674,8 +1578,8 @@ void JavaScriptTabModalDialogManagerDelegateDesktop::DidCloseDialog() { --- a/chrome/browser/ui/tab_contents/chrome_web_contents_view_handle_drop.cc +++ b/chrome/browser/ui/tab_contents/chrome_web_contents_view_handle_drop.cc -@@ -11,7 +11,10 @@ - #include "base/task/post_task.h" +@@ -10,7 +10,10 @@ + #include "base/strings/utf_string_conversions.h" #include "base/task/task_runner_util.h" #include "base/task/thread_pool.h" +#include "components/safe_browsing/buildflags.h" @@ -1685,7 +1589,7 @@ #include "chrome/browser/profiles/profile.h" #include "chrome/browser/safe_browsing/cloud_content_scanning/deep_scanning_utils.h" #include "content/public/browser/web_contents.h" -@@ -22,6 +25,7 @@ +@@ -21,6 +24,7 @@ namespace { @@ -1693,7 +1597,7 @@ void CompletionCallback( content::WebContentsViewDelegate::DropCompletionCallback callback, const enterprise_connectors::ContentAnalysisDelegate::Data& data, -@@ -63,6 +67,7 @@ enterprise_connectors::ContentAnalysisDe +@@ -62,6 +66,7 @@ enterprise_connectors::ContentAnalysisDe } return data; } @@ -1701,7 +1605,7 @@ // Helper class to handle WebContents being destroyed while files are opened in // the threadpool. This class deletes itself either when it's no longer needed -@@ -76,6 +81,7 @@ class HandleDropScanData : public conten +@@ -75,6 +80,7 @@ class HandleDropScanData : public conten : content::WebContentsObserver(web_contents), callback_(std::move(callback)) {} @@ -1709,7 +1613,7 @@ void ScanData( enterprise_connectors::ContentAnalysisDelegate::Data analysis_data) { DCHECK(web_contents()); -@@ -87,6 +93,7 @@ class HandleDropScanData : public conten +@@ -86,6 +92,7 @@ class HandleDropScanData : public conten delete this; } @@ -1717,7 +1621,7 @@ void WebContentsDestroyed() override { delete this; } -@@ -106,13 +113,16 @@ void HandleOnPerformDrop( +@@ -105,13 +112,16 @@ void HandleOnPerformDrop( content::WebContents* web_contents, const content::DropData& drop_data, content::WebContentsViewDelegate::DropCompletionCallback callback) { @@ -1734,7 +1638,7 @@ if (!enterprise_connectors::ContentAnalysisDelegate::IsEnabled( profile, web_contents->GetLastCommittedURL(), &data, connector)) { std::move(callback).Run( -@@ -152,4 +162,8 @@ void HandleOnPerformDrop( +@@ -151,4 +161,8 @@ void HandleOnPerformDrop( std::move(callback).Run( content::WebContentsViewDelegate::DropCompletionResult::kContinue); } @@ -1772,7 +1676,7 @@ open_button_->SetEnabled((mode_ == download::DownloadItemMode::kNormal) || prompt_to_scan || allow_open_during_deep_scan); -@@ -1418,7 +1420,9 @@ void DownloadItemView::ShowContextMenuIm +@@ -1421,7 +1423,9 @@ void DownloadItemView::ShowContextMenuIm } void DownloadItemView::OpenDownloadDuringAsyncScanning() { @@ -1794,7 +1698,7 @@ --- a/chrome/browser/ui/webui/management/management_ui_handler.cc +++ b/chrome/browser/ui/webui/management/management_ui_handler.cc -@@ -848,12 +848,6 @@ base::Value ManagementUIHandler::GetThre +@@ -843,12 +843,6 @@ base::Value ManagementUIHandler::GetThre &info); } @@ -1851,7 +1755,7 @@ std::move(callback), --- a/chrome/test/BUILD.gn +++ b/chrome/test/BUILD.gn -@@ -1302,7 +1302,6 @@ if (!is_android) { +@@ -1314,7 +1314,6 @@ if (!is_android) { "//components/resources", "//components/safe_browsing:buildflags", "//components/safe_browsing/content/browser", @@ -1859,7 +1763,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", -@@ -5687,7 +5686,6 @@ test("unit_tests") { +@@ -5819,7 +5818,6 @@ test("unit_tests") { "//components/resources", "//components/safe_browsing:buildflags", "//components/safe_browsing/content/browser", @@ -1869,7 +1773,7 @@ "//components/safe_browsing/content/browser/web_ui", --- a/components/password_manager/content/browser/content_password_manager_driver.cc +++ b/components/password_manager/content/browser/content_password_manager_driver.cc -@@ -409,7 +409,7 @@ void ContentPasswordManagerDriver::Check +@@ -415,7 +415,7 @@ void ContentPasswordManagerDriver::Check if (!password_manager::bad_message::CheckFrameNotPrerendering( render_frame_host_)) return; @@ -1880,7 +1784,7 @@ } --- a/components/password_manager/core/browser/password_manager_client.h +++ b/components/password_manager/core/browser/password_manager_client.h -@@ -346,11 +346,14 @@ class PasswordManagerClient { +@@ -374,11 +374,14 @@ class PasswordManagerClient { // Returns the current best guess as to the page's display language. virtual autofill::LanguageCode GetPageLanguage() const; @@ -1896,7 +1800,7 @@ // Checks the safe browsing reputation of the webpage when the // user focuses on a username/password field. This is used for reporting // only, and won't trigger a warning. -@@ -358,6 +361,7 @@ class PasswordManagerClient { +@@ -386,6 +389,7 @@ class PasswordManagerClient { const GURL& frame_url) = 0; #endif @@ -1904,7 +1808,7 @@ // Checks the safe browsing reputation of the webpage where password reuse // happens. This is called by the PasswordReuseDetectionManager when a // protected password is typed on the wrong domain. This may trigger a -@@ -370,6 +374,7 @@ class PasswordManagerClient { +@@ -398,6 +402,7 @@ class PasswordManagerClient { const std::string& username, const std::vector& matching_reused_credentials, bool password_field_exists) = 0; @@ -1964,9 +1868,28 @@ ] public_deps = [ "//google_apis:google_apis" ] +--- a/components/safe_browsing/core/browser/verdict_cache_manager.cc ++++ b/components/safe_browsing/core/browser/verdict_cache_manager.cc +@@ -402,16 +402,6 @@ VerdictCacheManager::VerdictCacheManager + // pref_service can be null in tests. + if (pref_service) { + pref_change_registrar_.Init(pref_service); +- pref_change_registrar_.Add( +- prefs::kSafeBrowsingEnhanced, +- base::BindRepeating(&VerdictCacheManager::CleanUpAllPageLoadTokens, +- weak_factory_.GetWeakPtr(), +- ClearReason::kSafeBrowsingStateChanged)); +- pref_change_registrar_.Add( +- prefs::kSafeBrowsingEnabled, +- base::BindRepeating(&VerdictCacheManager::CleanUpAllPageLoadTokens, +- weak_factory_.GetWeakPtr(), +- ClearReason::kSafeBrowsingStateChanged)); + } + // sync_observer_ can be null in some embedders that don't support sync. + if (sync_observer_) { --- a/content/browser/file_system_access/safe_move_helper.cc +++ b/content/browser/file_system_access/safe_move_helper.cc -@@ -152,14 +152,8 @@ void SafeMoveHelper::Start(SafeMoveHelpe +@@ -154,14 +154,8 @@ void SafeMoveHelper::Start(SafeMoveHelpe return; } @@ -1981,7 +1904,7 @@ } void SafeMoveHelper::ComputeHashForSourceFile(HashCallback callback) { -@@ -179,44 +173,6 @@ void SafeMoveHelper::ComputeHashForSourc +@@ -181,44 +175,6 @@ void SafeMoveHelper::ComputeHashForSourc std::move(wrapped_callback), source_url())); } @@ -2069,6 +1992,17 @@ } UpdateService::UpdateService( +--- a/printing/buildflags/buildflags.gni ++++ b/printing/buildflags/buildflags.gni +@@ -37,7 +37,7 @@ declare_args() { + # Enable snapshotting a page when printing for its content to be analyzed for + # sensitive content by enterprise users. + enable_print_content_analysis = +- is_chromeos_ash || is_chromeos_lacros || is_win || is_linux || is_mac ++ false + } + + declare_args() { --- a/weblayer/BUILD.gn +++ b/weblayer/BUILD.gn @@ -462,7 +462,6 @@ source_set("weblayer_lib_base") { diff --git a/patches/core/ungoogled-chromium/remove-unused-preferences-fields.patch b/patches/core/ungoogled-chromium/remove-unused-preferences-fields.patch index 760454e0..d6d7e416 100644 --- a/patches/core/ungoogled-chromium/remove-unused-preferences-fields.patch +++ b/patches/core/ungoogled-chromium/remove-unused-preferences-fields.patch @@ -4,7 +4,7 @@ --- a/android_webview/browser/aw_browser_context.cc +++ b/android_webview/browser/aw_browser_context.cc -@@ -49,7 +49,6 @@ +@@ -48,7 +48,6 @@ #include "components/prefs/pref_service_factory.h" #include "components/prefs/segregated_pref_store.h" #include "components/profile_metrics/browser_profile_type.h" @@ -12,7 +12,7 @@ #include "components/url_formatter/url_fixer.h" #include "components/user_prefs/user_prefs.h" #include "components/variations/variations_client.h" -@@ -520,8 +519,6 @@ void AwBrowserContext::RebuildTable( +@@ -519,8 +518,6 @@ void AwBrowserContext::RebuildTable( } void AwBrowserContext::SetExtendedReportingAllowed(bool allowed) { @@ -23,7 +23,7 @@ // TODO(amalova): Make sure NetworkContextParams is configured correctly when --- a/chrome/app/settings_strings.grdp +++ b/chrome/app/settings_strings.grdp -@@ -1830,69 +1830,9 @@ +@@ -1842,69 +1842,9 @@ Preloads pages that Chrome thinks you might visit. To do this, Chrome may use cookies, if you allow cookies, and may encrypt and send pages through Google to hide your identity from sites. @@ -224,7 +224,7 @@ user_manager::KnownUser known_user(g_browser_process->local_state()); --- a/chrome/browser/chrome_content_browser_client.cc +++ b/chrome/browser/chrome_content_browser_client.cc -@@ -235,7 +235,6 @@ +@@ -236,7 +236,6 @@ #include "components/safe_browsing/core/browser/realtime/url_lookup_service.h" #include "components/safe_browsing/core/browser/url_checker_delegate.h" #include "components/safe_browsing/core/common/features.h" @@ -234,9 +234,9 @@ #include "components/security_interstitials/content/ssl_cert_reporter.h" --- a/chrome/browser/download/bubble/download_bubble_prefs.cc +++ b/chrome/browser/download/bubble/download_bubble_prefs.cc -@@ -9,7 +9,6 @@ - #include "chrome/browser/safe_browsing/advanced_protection_status_manager.h" - #include "chrome/browser/safe_browsing/advanced_protection_status_manager_factory.h" +@@ -11,7 +11,6 @@ + #include "chrome/common/pref_names.h" + #include "components/prefs/pref_service.h" #include "components/safe_browsing/core/common/features.h" -#include "components/safe_browsing/core/common/safe_browsing_prefs.h" @@ -244,7 +244,7 @@ --- a/chrome/browser/download/download_browsertest.cc +++ b/chrome/browser/download/download_browsertest.cc -@@ -102,7 +102,6 @@ +@@ -101,7 +101,6 @@ #include "components/safe_browsing/content/browser/safe_browsing_service_interface.h" #include "components/safe_browsing/content/common/proto/download_file_types.pb.h" #include "components/safe_browsing/core/common/proto/csd.pb.h" @@ -254,7 +254,7 @@ #include "components/services/quarantine/test_support.h" --- a/chrome/browser/download/download_item_model.cc +++ b/chrome/browser/download/download_item_model.cc -@@ -808,6 +808,7 @@ void DownloadItemModel::ExecuteCommand(D +@@ -830,6 +830,7 @@ void DownloadItemModel::ExecuteCommand(D DownloadUIModel::ExecuteCommand(download_commands, command); break; case DownloadCommands::DEEP_SCAN: @@ -262,7 +262,7 @@ safe_browsing::SafeBrowsingService* sb_service = g_browser_process->safe_browsing_service(); if (!sb_service) -@@ -833,6 +834,7 @@ void DownloadItemModel::ExecuteCommand(D +@@ -855,6 +856,7 @@ void DownloadItemModel::ExecuteCommand(D safe_browsing::DeepScanningRequest::DeepScanTrigger:: TRIGGER_APP_PROMPT, safe_browsing::DownloadCheckResult::UNKNOWN, std::move(settings)); @@ -581,7 +581,7 @@ 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 -@@ -37,7 +37,6 @@ +@@ -39,7 +39,6 @@ #include "components/policy/core/common/cloud/user_cloud_policy_manager.h" #include "components/prefs/pref_service.h" #include "components/safe_browsing/content/browser/web_ui/safe_browsing_ui.h" @@ -716,7 +716,7 @@ int InstalledLoader::GetCreationFlags(const ExtensionInfo* info) { --- a/chrome/browser/net/profile_network_context_service.cc +++ b/chrome/browser/net/profile_network_context_service.cc -@@ -47,7 +47,6 @@ +@@ -46,7 +46,6 @@ #include "components/pref_registry/pref_registry_syncable.h" #include "components/prefs/pref_registry_simple.h" #include "components/prefs/pref_service.h" @@ -724,7 +724,7 @@ #include "content/public/browser/browser_context.h" #include "content/public/browser/browser_thread.h" #include "content/public/browser/network_service_instance.h" -@@ -807,15 +806,8 @@ void ProfileNetworkContextService::Confi +@@ -806,15 +805,8 @@ void ProfileNetworkContextService::Confi network_context_params->enable_certificate_reporting = true; network_context_params->enable_expect_ct_reporting = true; @@ -752,7 +752,7 @@ #include "net/cert/trial_comparison_cert_verifier.h" --- a/chrome/browser/net/trial_comparison_cert_verifier_controller.cc +++ b/chrome/browser/net/trial_comparison_cert_verifier_controller.cc -@@ -19,7 +19,6 @@ +@@ -18,7 +18,6 @@ #include "chrome/browser/safe_browsing/certificate_reporting_service.h" #include "chrome/browser/safe_browsing/certificate_reporting_service_factory.h" #include "chrome/common/channel_info.h" @@ -760,7 +760,7 @@ #include "components/security_interstitials/content/certificate_error_report.h" #include "content/public/browser/browser_task_traits.h" #include "content/public/browser/browser_thread.h" -@@ -42,12 +41,6 @@ TrialComparisonCertVerifierController::T +@@ -41,12 +40,6 @@ TrialComparisonCertVerifierController::T // enabled. return; } @@ -773,7 +773,7 @@ } TrialComparisonCertVerifierController:: -@@ -101,9 +94,7 @@ bool TrialComparisonCertVerifierControll +@@ -100,9 +93,7 @@ bool TrialComparisonCertVerifierControll if (!MaybeAllowedForProfile(profile_)) return false; @@ -804,7 +804,7 @@ cert_verifier::mojom::TrialComparisonCertVerifierReportClient> --- a/chrome/browser/net/trial_comparison_cert_verifier_controller_unittest.cc +++ b/chrome/browser/net/trial_comparison_cert_verifier_controller_unittest.cc -@@ -21,7 +21,6 @@ +@@ -20,7 +20,6 @@ #include "chrome/test/base/testing_browser_process.h" #include "chrome/test/base/testing_profile.h" #include "chrome/test/base/testing_profile_manager.h" @@ -914,7 +914,7 @@ } --- a/chrome/browser/policy/configuration_policy_handler_list_factory.cc +++ b/chrome/browser/policy/configuration_policy_handler_list_factory.cc -@@ -93,12 +93,9 @@ +@@ -94,12 +94,9 @@ #include "components/proxy_config/proxy_policy_handler.h" #include "components/safe_browsing/buildflags.h" #include "components/safe_browsing/content/common/file_type_policies_prefs.h" @@ -927,39 +927,76 @@ #include "components/spellcheck/spellcheck_buildflags.h" #include "components/sync/base/pref_names.h" #include "components/sync/driver/sync_policy_handler.h" -@@ -224,15 +221,6 @@ const PolicyToPreferenceMapEntry kSimple - { key::kQuicAllowed, - prefs::kQuicAllowed, +@@ -207,9 +204,6 @@ const PolicyToPreferenceMapEntry kSimple + { key::kDefaultPopupsSetting, + prefs::kManagedDefaultPopupsSetting, + base::Value::Type::INTEGER }, +- { key::kDisableSafeBrowsingProceedAnyway, +- prefs::kSafeBrowsingProceedAnywayDisabled, +- base::Value::Type::BOOLEAN }, + { key::kEditBookmarksEnabled, + bookmarks::prefs::kEditBookmarksEnabled, base::Value::Type::BOOLEAN }, +@@ -230,9 +224,6 @@ const PolicyToPreferenceMapEntry kSimple + prefs::kPrintingEnabled, + base::Value::Type::BOOLEAN }, + #endif // BUILDFLAG(ENABLE_PRINTING) - { key::kSafeBrowsingEnabled, - prefs::kSafeBrowsingEnabled, - base::Value::Type::BOOLEAN }, + { key::kSavingBrowserHistoryDisabled, + prefs::kSavingBrowserHistoryDisabled, + base::Value::Type::BOOLEAN }, +@@ -291,9 +282,6 @@ const PolicyToPreferenceMapEntry kSimple + { key::kAdsSettingForIntrusiveAdsSites, + prefs::kManagedDefaultAdsSetting, + base::Value::Type::INTEGER }, +- { key::kAdvancedProtectionAllowed, +- prefs::kAdvancedProtectionAllowed, +- base::Value::Type::BOOLEAN }, + { key::kAllowCrossOriginAuthPrompt, + prefs::kAllowCrossOriginAuthPrompt, + base::Value::Type::BOOLEAN }, +@@ -482,15 +470,6 @@ const PolicyToPreferenceMapEntry kSimple + { key::kPasswordDismissCompromisedAlertEnabled, + password_manager::prefs::kPasswordDismissCompromisedAlertEnabled, + base::Value::Type::BOOLEAN }, +- { key::kPasswordProtectionChangePasswordURL, +- prefs::kPasswordProtectionChangePasswordURL, +- base::Value::Type::STRING }, +- { key::kPasswordProtectionLoginURLs, +- prefs::kPasswordProtectionLoginURLs, +- base::Value::Type::LIST }, +- { key::kPasswordProtectionWarningTrigger, +- prefs::kPasswordProtectionWarningTrigger, +- base::Value::Type::INTEGER }, + { key::kPolicyRefreshRate, + policy_prefs::kUserPolicyRefreshRate, + base::Value::Type::INTEGER }, +@@ -526,9 +505,6 @@ const PolicyToPreferenceMapEntry kSimple + { key::kRestoreOnStartupURLs, + prefs::kURLsToRestoreOnStartup, + base::Value::Type::LIST }, +- { key::kSafeBrowsingAllowlistDomains, +- prefs::kSafeBrowsingAllowlistDomains, +- base::Value::Type::LIST }, + { key::kSafeSitesFilterBehavior, + policy_prefs::kSafeSitesFilterBehavior, + base::Value::Type::INTEGER }, +@@ -653,12 +629,6 @@ const PolicyToPreferenceMapEntry kSimple + { key::kAdditionalDnsQueryTypesEnabled, + prefs::kAdditionalDnsQueryTypesEnabled, + base::Value::Type::BOOLEAN }, - { key::kSafeBrowsingForTrustedSourcesEnabled, - prefs::kSafeBrowsingForTrustedSourcesEnabled, - base::Value::Type::BOOLEAN }, - { key::kSafeBrowsingExtendedReportingEnabled, - prefs::kSafeBrowsingScoutReportingEnabled, - base::Value::Type::BOOLEAN }, - { key::kUrlKeyedAnonymizedDataCollectionEnabled, - unified_consent::prefs::kUrlKeyedAnonymizedDataCollectionEnabled, + { key::kForceGoogleSafeSearch, + prefs::kForceGoogleSafeSearch, base::Value::Type::BOOLEAN }, -@@ -380,15 +368,6 @@ const PolicyToPreferenceMapEntry kSimple - { key::kGloballyScopeHTTPAuthCacheEnabled, - prefs::kGloballyScopeHTTPAuthCacheEnabled, - base::Value::Type::BOOLEAN }, -- { key::kPasswordProtectionWarningTrigger, -- prefs::kPasswordProtectionWarningTrigger, -- base::Value::Type::INTEGER }, -- { key::kPasswordProtectionLoginURLs, -- prefs::kPasswordProtectionLoginURLs, -- base::Value::Type::LIST }, -- { key::kPasswordProtectionChangePasswordURL, -- prefs::kPasswordProtectionChangePasswordURL, -- base::Value::Type::STRING }, - { key::kSafeSitesFilterBehavior, - policy_prefs::kSafeSitesFilterBehavior, - base::Value::Type::INTEGER }, -@@ -497,18 +476,12 @@ const PolicyToPreferenceMapEntry kSimple +@@ -816,9 +786,6 @@ const PolicyToPreferenceMapEntry kSimple { key::kMaxConnectionsPerProxy, prefs::kMaxConnectionsPerProxy, base::Value::Type::INTEGER }, @@ -969,45 +1006,10 @@ { key::kDefaultWebBluetoothGuardSetting, prefs::kManagedDefaultWebBluetoothGuardSetting, base::Value::Type::INTEGER }, - { key::kDefaultMediaStreamSetting, - prefs::kManagedDefaultMediaStreamSetting, - base::Value::Type::INTEGER }, -- { key::kDisableSafeBrowsingProceedAnyway, -- prefs::kSafeBrowsingProceedAnywayDisabled, -- base::Value::Type::BOOLEAN }, - { key::kCECPQ2Enabled, - prefs::kCECPQ2Enabled, - base::Value::Type::BOOLEAN }, -@@ -720,9 +693,6 @@ const PolicyToPreferenceMapEntry kSimple - { key::kIntranetRedirectBehavior, - omnibox::kIntranetRedirectBehavior, - base::Value::Type::INTEGER }, -- { key::kAdvancedProtectionAllowed, -- prefs::kAdvancedProtectionAllowed, -- base::Value::Type::BOOLEAN }, - { key::kAccessibilityImageLabelsEnabled, - prefs::kAccessibilityImageLabelsEnabled, - base::Value::Type::BOOLEAN }, -@@ -1762,15 +1732,10 @@ std::unique_ptrAddHandler(std::make_unique()); - handlers->AddHandler(std::make_unique()); - handlers->AddHandler(std::make_unique()); -- handlers->AddHandler( -- std::make_unique()); - handlers->AddHandler(std::make_unique( - key::kWindowOcclusionEnabled, - policy::policy_prefs::kNativeWindowOcclusionEnabled, - base::Value::Type::BOOLEAN)); -- handlers->AddHandler(std::make_unique( -- key::kSafeBrowsingAllowlistDomains, prefs::kSafeBrowsingAllowlistDomains, -- base::Value::Type::LIST)); - handlers->AddHandler(std::make_unique()); - handlers->AddHandler(std::make_unique()); +@@ -1782,12 +1749,6 @@ std::unique_ptrAddHandler( - std::make_unique< - enterprise_connectors::EnterpriseConnectorsPolicyHandler>( @@ -1015,9 +1017,9 @@ - prefs::kSafeBrowsingEnterpriseRealTimeUrlCheckMode, - prefs::kSafeBrowsingEnterpriseRealTimeUrlCheckScope, chrome_schema)); - handlers->AddHandler(std::make_unique( - key::kClearBrowsingDataOnExitList, -@@ -1921,17 +1880,6 @@ std::unique_ptrAddHandler( + std::make_unique(chrome_schema)); +@@ -1959,17 +1920,6 @@ std::unique_ptr( key::kForceBrowserSignin, prefs::kForceBrowserSignin, base::Value::Type::BOOLEAN)); @@ -1037,7 +1039,7 @@ std::make_unique(chrome_schema))); --- a/chrome/browser/prefs/browser_prefs.cc +++ b/chrome/browser/prefs/browser_prefs.cc -@@ -132,7 +132,6 @@ +@@ -134,7 +134,6 @@ #include "components/privacy_sandbox/privacy_sandbox_prefs.h" #include "components/proxy_config/pref_proxy_config_tracker_impl.h" #include "components/safe_browsing/content/common/file_type_policies_prefs.h" @@ -1045,7 +1047,7 @@ #include "components/search_engines/template_url_prepopulate_data.h" #include "components/security_interstitials/content/insecure_form_blocking_page.h" #include "components/security_interstitials/content/stateful_ssl_host_state_delegate.h" -@@ -987,7 +986,6 @@ void RegisterLocalState(PrefRegistrySimp +@@ -1014,7 +1013,6 @@ void RegisterLocalState(PrefRegistrySimp ProfileNetworkContextService::RegisterLocalStatePrefs(registry); profiles::RegisterPrefs(registry); RegisterScreenshotPrefs(registry); @@ -1053,7 +1055,7 @@ secure_origin_allowlist::RegisterPrefs(registry); #if !BUILDFLAG(IS_ANDROID) SerialPolicyAllowedPorts::RegisterPrefs(registry); -@@ -1240,8 +1238,6 @@ void RegisterProfilePrefs(user_prefs::Pr +@@ -1275,8 +1273,6 @@ void RegisterProfilePrefs(user_prefs::Pr PushMessagingAppIdentifier::RegisterProfilePrefs(registry); QuietNotificationPermissionUiState::RegisterProfilePrefs(registry); RegisterBrowserUserPrefs(registry); @@ -1221,7 +1223,7 @@ ProfileAttributesEntry* entry = InitEntryWithKey(key, params.is_omitted); --- a/chrome/browser/profiles/profile_impl.cc +++ b/chrome/browser/profiles/profile_impl.cc -@@ -150,7 +150,6 @@ +@@ -149,7 +149,6 @@ #include "components/prefs/scoped_user_pref_update.h" #include "components/profile_metrics/browser_profile_type.h" #include "components/security_interstitials/content/stateful_ssl_host_state_delegate.h" @@ -1231,7 +1233,7 @@ #include "components/spellcheck/spellcheck_buildflags.h" --- a/chrome/browser/profiles/profile_manager.cc +++ b/chrome/browser/profiles/profile_manager.cc -@@ -91,7 +91,6 @@ +@@ -93,7 +93,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" @@ -1239,7 +1241,7 @@ #include "components/signin/public/identity_manager/identity_manager.h" #include "components/signin/public/identity_manager/primary_account_mutator.h" #include "components/sync/base/stop_source.h" -@@ -2217,8 +2216,7 @@ void ProfileManager::AddProfileToStorage +@@ -2228,8 +2227,7 @@ void ProfileManager::AddProfileToStorage entry->SetAuthInfo(account_info.gaia, username, is_consented_primary_account); @@ -1249,7 +1251,7 @@ #if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CHROMEOS_ASH) // Sign out if force-sign-in policy is enabled and profile is not signed -@@ -2273,14 +2271,13 @@ void ProfileManager::AddProfileToStorage +@@ -2284,14 +2282,13 @@ void ProfileManager::AddProfileToStorage init_params.is_ephemeral = IsEphemeral(profile); init_params.is_signed_in_with_credential_provider = @@ -1302,7 +1304,7 @@ --- a/chrome/browser/resources/settings/privacy_page/privacy_page.html +++ b/chrome/browser/resources/settings/privacy_page/privacy_page.html -@@ -560,7 +560,7 @@ +@@ -565,7 +565,7 @@ @@ -1313,7 +1315,7 @@ --- a/chrome/browser/resources/settings/privacy_page/security_page.ts +++ b/chrome/browser/resources/settings/privacy_page/security_page.ts -@@ -196,15 +196,6 @@ export class SettingsSecurityPageElement +@@ -200,17 +200,6 @@ export class SettingsSecurityPageElement override ready() { super.ready(); - -- // Expand initial pref value manually because automatic -- // expanding is disabled. -- const prefValue = this.getPref('generated.safe_browsing').value; -- if (prefValue === SafeBrowsingSetting.ENHANCED) { -- this.$.safeBrowsingEnhanced.expanded = true; -- } else if (prefValue === SafeBrowsingSetting.STANDARD) { -- this.$.safeBrowsingStandard.expanded = true; -- } +- CrSettingsPrefs.initialized.then(() => { +- // Expand initial pref value manually because automatic +- // expanding is disabled. +- const prefValue = this.getPref('generated.safe_browsing').value; +- if (prefValue === SafeBrowsingSetting.ENHANCED) { +- this.$.safeBrowsingEnhanced.expanded = true; +- } else if (prefValue === SafeBrowsingSetting.STANDARD) { +- this.$.safeBrowsingStandard.expanded = true; +- } +- }); } /** -@@ -253,8 +244,7 @@ export class SettingsSecurityPageElement +@@ -259,8 +248,7 @@ export class SettingsSecurityPageElement } private getDisabledExtendedSafeBrowsing_(): boolean { @@ -1563,7 +1567,7 @@ #include "services/network/public/cpp/shared_url_loader_factory.h" --- a/chrome/browser/safe_browsing/certificate_reporting_service_browsertest.cc +++ b/chrome/browser/safe_browsing/certificate_reporting_service_browsertest.cc -@@ -26,7 +26,6 @@ +@@ -25,7 +25,6 @@ #include "chrome/test/base/in_process_browser_test.h" #include "chrome/test/base/ui_test_utils.h" #include "components/prefs/pref_service.h" @@ -1611,7 +1615,7 @@ #include "components/safe_browsing/core/common/safebrowsing_constants.h" #include "components/safe_browsing/core/common/utils.h" #include "components/security_interstitials/content/unsafe_resource_util.h" -@@ -1223,14 +1222,6 @@ bool ChromePasswordProtectionService::Ha +@@ -1212,14 +1211,6 @@ bool ChromePasswordProtectionService::Ha } void ChromePasswordProtectionService::OnWarningTriggerChanged() { @@ -1626,7 +1630,7 @@ // Clears captured enterprise password hashes or GSuite sync password hashes. password_manager::PasswordReuseManager* reuse_manager = GetPasswordReuseManager(); -@@ -1389,7 +1380,7 @@ PrefService* ChromePasswordProtectionSer +@@ -1378,7 +1369,7 @@ PrefService* ChromePasswordProtectionSer } bool ChromePasswordProtectionService::IsSafeBrowsingEnabled() { @@ -1635,7 +1639,7 @@ } bool ChromePasswordProtectionService::IsExtendedReporting() { -@@ -1409,44 +1400,7 @@ bool ChromePasswordProtectionService::Is +@@ -1398,44 +1389,7 @@ bool ChromePasswordProtectionService::Is bool ChromePasswordProtectionService::IsPingingEnabled( LoginReputationClientRequest::TriggerType trigger_type, ReusedPasswordAccountType password_type) { @@ -1681,7 +1685,7 @@ } RequestOutcome ChromePasswordProtectionService::GetPingNotSentReason( -@@ -1672,22 +1626,6 @@ MaybeCreateCommitDeferringCondition( +@@ -1664,22 +1618,6 @@ MaybeCreateCommitDeferringCondition( : nullptr; } @@ -1744,7 +1748,7 @@ #include "components/sync/driver/sync_service.h" --- a/chrome/browser/safe_browsing/cloud_content_scanning/binary_upload_service.cc +++ b/chrome/browser/safe_browsing/cloud_content_scanning/binary_upload_service.cc -@@ -34,7 +34,6 @@ +@@ -36,7 +36,6 @@ #include "components/prefs/pref_service.h" #include "components/safe_browsing/content/browser/web_ui/safe_browsing_ui.h" #include "components/safe_browsing/core/common/features.h" @@ -1933,7 +1937,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" @@ -2128,7 +2132,7 @@ RecordApkDownloadTelemetryOutcome( --- a/chrome/browser/safe_browsing/telemetry/android/android_telemetry_service_unittest.cc +++ b/chrome/browser/safe_browsing/telemetry/android/android_telemetry_service_unittest.cc -@@ -20,7 +20,6 @@ +@@ -19,7 +19,6 @@ #include "components/download/public/common/mock_download_item.h" #include "components/prefs/pref_service.h" #include "components/safe_browsing/core/common/features.h" @@ -2278,7 +2282,7 @@ } --- a/chrome/browser/signin/mirror_browsertest.cc +++ b/chrome/browser/signin/mirror_browsertest.cc -@@ -31,7 +31,6 @@ +@@ -30,7 +30,6 @@ #include "components/prefs/pref_service.h" #include "components/signin/core/browser/dice_header_helper.h" #include "components/signin/core/browser/signin_header_helper.h" @@ -2286,6 +2290,74 @@ #include "content/public/common/content_client.h" #include "content/public/test/browser_test.h" #include "google_apis/gaia/gaia_urls.h" +--- a/chrome/browser/signin/primary_account_policy_manager.cc ++++ b/chrome/browser/signin/primary_account_policy_manager.cc +@@ -14,7 +14,6 @@ + #include "chrome/grit/generated_resources.h" + #include "components/prefs/pref_service.h" + #include "components/signin/public/base/signin_metrics.h" +-#include "components/signin/public/base/signin_pref_names.h" + #include "components/signin/public/identity_manager/account_info.h" + #include "components/signin/public/identity_manager/identity_manager.h" + #include "components/signin/public/identity_manager/identity_utils.h" +@@ -178,23 +177,11 @@ void PrimaryAccountPolicyManager::Initia + EnsurePrimaryAccountAllowedForProfile( + profile_, signin_metrics::SIGNIN_NOT_ALLOWED_ON_PROFILE_INIT); + +- signin_allowed_.Init( +- prefs::kSigninAllowed, profile_->GetPrefs(), +- base::BindRepeating( +- &PrimaryAccountPolicyManager::OnSigninAllowedPrefChanged, +- weak_pointer_factory_.GetWeakPtr())); +- + local_state_pref_registrar_.Init(g_browser_process->local_state()); +- local_state_pref_registrar_.Add( +- prefs::kGoogleServicesUsernamePattern, +- base::BindRepeating( +- &PrimaryAccountPolicyManager::OnGoogleServicesUsernamePatternChanged, +- weak_pointer_factory_.GetWeakPtr())); + } + + void PrimaryAccountPolicyManager::Shutdown() { + local_state_pref_registrar_.RemoveAll(); +- signin_allowed_.Destroy(); + } + + void PrimaryAccountPolicyManager::OnGoogleServicesUsernamePatternChanged() { +@@ -219,11 +206,6 @@ void PrimaryAccountPolicyManager::Ensure + + CoreAccountInfo primary_account = + identity_manager->GetPrimaryAccountInfo(signin::ConsentLevel::kSync); +- if (profile->GetPrefs()->GetBoolean(prefs::kSigninAllowed) && +- signin::IsUsernameAllowedByPatternFromPrefs( +- g_browser_process->local_state(), primary_account.email)) { +- return; +- } + + #if BUILDFLAG(IS_CHROMEOS_LACROS) + // Disabling signin in chrome and 'RestrictSigninToPattern' policy +--- a/chrome/browser/signin/primary_account_policy_manager.h ++++ b/chrome/browser/signin/primary_account_policy_manager.h +@@ -61,9 +61,6 @@ class PrimaryAccountPolicyManager : publ + + raw_ptr profile_; + +- // Helper object to listen for changes to the signin allowed preference. +- BooleanPrefMember signin_allowed_; +- + // Helper object to listen for changes to signin preferences stored in non- + // profile-specific local prefs (like kGoogleServicesUsernamePattern). + PrefChangeRegistrar local_state_pref_registrar_; +--- a/chrome/browser/signin/primary_account_policy_manager_unittest.cc ++++ b/chrome/browser/signin/primary_account_policy_manager_unittest.cc +@@ -14,7 +14,6 @@ + #include "chrome/test/base/testing_browser_process.h" + #include "chrome/test/base/testing_profile.h" + #include "chrome/test/base/testing_profile_manager.h" +-#include "components/signin/public/base/signin_pref_names.h" + #include "components/signin/public/identity_manager/identity_test_environment.h" + #include "content/public/test/browser_task_environment.h" + #include "testing/gtest/include/gtest/gtest.h" --- a/chrome/browser/signin/signin_manager.cc +++ b/chrome/browser/signin/signin_manager.cc @@ -6,7 +6,6 @@ @@ -2296,19 +2368,19 @@ #include "components/signin/public/identity_manager/accounts_in_cookie_jar_info.h" #include "components/signin/public/identity_manager/identity_manager.h" #include "components/signin/public/identity_manager/primary_account_mutator.h" -@@ -18,11 +17,6 @@ - SigninManager::SigninManager(PrefService* prefs, - signin::IdentityManager* identity_manager) +@@ -21,11 +20,6 @@ SigninManager::SigninManager(PrefService + signin::IdentityManager* identity_manager, + SigninClient* client) : prefs_(prefs), identity_manager_(identity_manager) { - signin_allowed_.Init( - prefs::kSigninAllowed, prefs_, - base::BindRepeating(&SigninManager::OnSigninAllowedPrefChanged, - base::Unretained(this))); - - UpdateUnconsentedPrimaryAccount(); - identity_manager_observation_.Observe(identity_manager_); - } -@@ -101,16 +95,6 @@ CoreAccountInfo SigninManager::ComputeUn + #if BUILDFLAG(IS_CHROMEOS_LACROS) + is_main_profile_ = client->GetInitialPrimaryAccount().has_value(); + #endif +@@ -128,16 +122,6 @@ CoreAccountInfo SigninManager::ComputeUn signin::ConsentLevel::kSync); } @@ -2354,25 +2426,6 @@ #include "components/signin/public/identity_manager/account_info.h" #include "components/signin/public/identity_manager/accounts_in_cookie_jar_info.h" #include "components/signin/public/identity_manager/identity_manager.h" ---- a/chrome/browser/signin/signin_util.cc -+++ b/chrome/browser/signin/signin_util.cc -@@ -31,7 +31,6 @@ - #include "components/google/core/common/google_util.h" - #include "components/prefs/pref_service.h" - #include "components/signin/public/base/signin_metrics.h" --#include "components/signin/public/base/signin_pref_names.h" - #include "components/signin/public/identity_manager/identity_manager.h" - #include "components/signin/public/identity_manager/identity_utils.h" - #include "components/signin/public/identity_manager/primary_account_mutator.h" -@@ -299,7 +298,7 @@ void EnsurePrimaryAccountAllowedForProfi - - CoreAccountInfo primary_account = - identity_manager->GetPrimaryAccountInfo(signin::ConsentLevel::kSync); -- if (profile->GetPrefs()->GetBoolean(prefs::kSigninAllowed) && -+ if (false && - signin::IsUsernameAllowedByPatternFromPrefs( - g_browser_process->local_state(), primary_account.email)) { - return; --- a/chrome/browser/signin/signin_util_win.cc +++ b/chrome/browser/signin/signin_util_win.cc @@ -34,7 +34,6 @@ @@ -2416,7 +2469,7 @@ } // namespace signin_util --- a/chrome/browser/signin/signin_util_win_browsertest.cc +++ b/chrome/browser/signin/signin_util_win_browsertest.cc -@@ -30,7 +30,6 @@ +@@ -31,7 +31,6 @@ #include "chrome/test/base/in_process_browser_test.h" #include "chrome/test/base/testing_browser_process.h" #include "components/prefs/pref_service.h" @@ -2475,7 +2528,7 @@ #include "components/security_interstitials/content/cert_report_helper.h" --- a/chrome/browser/ssl/ssl_error_controller_client.cc +++ b/chrome/browser/ssl/ssl_error_controller_client.cc -@@ -23,7 +23,6 @@ +@@ -22,7 +22,6 @@ #include "chrome/browser/ssl/stateful_ssl_host_state_delegate_factory.h" #include "chrome/common/pref_names.h" #include "chrome/common/url_constants.h" @@ -2524,7 +2577,7 @@ #include "components/sync/driver/sync_service.h" --- a/chrome/browser/ui/browser_command_controller.cc +++ b/chrome/browser/ui/browser_command_controller.cc -@@ -56,7 +56,6 @@ +@@ -57,7 +57,6 @@ #include "components/prefs/pref_service.h" #include "components/sessions/core/tab_restore_service.h" #include "components/signin/public/base/signin_buildflags.h" @@ -2532,7 +2585,7 @@ #include "content/public/browser/native_web_keyboard_event.h" #include "content/public/browser/navigation_controller.h" #include "content/public/browser/navigation_entry.h" -@@ -210,10 +209,6 @@ BrowserCommandController::BrowserCommand +@@ -214,10 +213,6 @@ BrowserCommandController::BrowserCommand &BrowserCommandController::UpdateCommandsForFullscreenMode, base::Unretained(this))); #endif @@ -2543,7 +2596,7 @@ InitCommandState(); -@@ -1568,7 +1563,7 @@ void BrowserCommandController::UpdateSho +@@ -1611,7 +1606,7 @@ void BrowserCommandController::UpdateSho return; command_updater_.UpdateCommandEnabled( @@ -2582,7 +2635,7 @@ #include "components/signin/public/identity_manager/identity_manager.h" #endif -@@ -516,13 +515,7 @@ void ShowBrowserSignin(Browser* browser, +@@ -524,13 +523,7 @@ void ShowBrowserSignin(Browser* browser, void ShowBrowserSigninOrSettings(Browser* browser, signin_metrics::AccessPoint access_point) { @@ -2653,14 +2706,14 @@ #include "components/signin/public/identity_manager/primary_account_mutator.h" #include "components/strings/grit/components_strings.h" #include "components/vector_icons/vector_icons.h" -@@ -509,7 +508,6 @@ void ProfileMenuView::BuildAutofillButto +@@ -508,7 +507,6 @@ void ProfileMenuView::BuildAutofillButto void ProfileMenuView::BuildSyncInfo() { Profile* profile = browser()->profile(); - if (!profile->GetPrefs()->GetBoolean(prefs::kSigninAllowed)) return; - signin::IdentityManager* identity_manager = + if (!SyncServiceFactory::IsSyncAllowed(profile)) { --- a/chrome/browser/ui/views/profiles/profile_menu_view_browsertest.cc +++ b/chrome/browser/ui/views/profiles/profile_menu_view_browsertest.cc @@ -60,7 +60,6 @@ @@ -2716,7 +2769,7 @@ --- a/chrome/browser/ui/views/safe_browsing/password_reuse_modal_warning_dialog.h +++ b/chrome/browser/ui/views/safe_browsing/password_reuse_modal_warning_dialog.h -@@ -61,7 +61,6 @@ class PasswordReuseModalWarningDialog +@@ -62,7 +62,6 @@ class PasswordReuseModalWarningDialog private: OnWarningDone done_callback_; @@ -2789,7 +2842,7 @@ --- a/chrome/browser/ui/webui/management/management_ui_handler.cc +++ b/chrome/browser/ui/webui/management/management_ui_handler.cc -@@ -29,7 +29,6 @@ +@@ -30,7 +30,6 @@ #include "chrome/browser/profiles/profile.h" #include "chrome/browser/ui/managed_ui.h" #include "chrome/common/pref_names.h" @@ -2831,7 +2884,7 @@ #endif // CHROME_BROWSER_UI_WEBUI_PROFILE_INFO_WATCHER_H_ --- a/chrome/browser/ui/webui/reset_password/reset_password_ui.cc +++ b/chrome/browser/ui/webui/reset_password/reset_password_ui.cc -@@ -18,7 +18,6 @@ +@@ -20,7 +20,6 @@ #include "components/safe_browsing/content/browser/password_protection/password_protection_service.h" #include "components/safe_browsing/core/browser/password_protection/metrics_util.h" #include "components/safe_browsing/core/common/proto/csd.pb.h" @@ -2849,7 +2902,7 @@ #include "components/signin/public/identity_manager/accounts_mutator.h" #include "components/signin/public/identity_manager/identity_manager.h" #include "components/signin/public/identity_manager/primary_account_mutator.h" -@@ -299,10 +298,6 @@ void PeopleHandler::RegisterMessages() { +@@ -301,10 +300,6 @@ void PeopleHandler::RegisterMessages() { void PeopleHandler::OnJavascriptAllowed() { PrefService* prefs = profile_->GetPrefs(); profile_pref_registrar_.Init(prefs); @@ -2872,7 +2925,7 @@ #include "content/public/browser/browser_context.h" --- a/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc +++ b/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc -@@ -67,7 +67,6 @@ +@@ -66,7 +66,6 @@ #include "components/password_manager/core/common/password_manager_features.h" #include "components/prefs/pref_service.h" #include "components/privacy_sandbox/privacy_sandbox_features.h" @@ -2880,7 +2933,7 @@ #include "components/signin/public/base/signin_buildflags.h" #include "components/strings/grit/components_chromium_strings.h" #include "components/strings/grit/components_strings.h" -@@ -1443,44 +1442,6 @@ void AddPrivacyStrings(content::WebUIDat +@@ -1473,44 +1472,6 @@ void AddPrivacyStrings(content::WebUIDat {"clearBrowsingData", IDS_SETTINGS_CLEAR_BROWSING_DATA}, {"clearBrowsingDataDescription", IDS_SETTINGS_CLEAR_DATA_DESCRIPTION}, {"titleAndCount", IDS_SETTINGS_TITLE_AND_COUNT}, @@ -2925,7 +2978,7 @@ {"safeBrowsingSectionLabel", IDS_SETTINGS_SAFEBROWSING_SECTION_LABEL}, {"syncAndGoogleServicesPrivacyDescription", IDS_SETTINGS_SYNC_AND_GOOGLE_SERVICES_PRIVACY_DESC_UNIFIED_CONSENT}, -@@ -2830,11 +2791,6 @@ void AddSiteSettingsStrings(content::Web +@@ -2811,11 +2772,6 @@ void AddSiteSettingsStrings(content::Web html_source->AddLocalizedStrings(kSensorsLocalizedStrings); html_source->AddBoolean( @@ -2944,10 +2997,10 @@ #include "components/prefs/pref_service.h" #include "components/safe_browsing/core/common/features.h" -#include "components/signin/public/base/signin_pref_names.h" + #include "components/signin/public/base/signin_switches.h" #include "content/public/browser/url_data_source.h" #include "content/public/browser/web_contents.h" - #include "content/public/browser/web_ui.h" -@@ -255,9 +254,7 @@ SettingsUI::SettingsUI(content::WebUI* w +@@ -258,9 +257,7 @@ SettingsUI::SettingsUI(content::WebUI* w std::make_unique()); #endif // BUILDFLAG(IS_WIN) && BUILDFLAG(GOOGLE_CHROME_BRANDING) @@ -2989,7 +3042,7 @@ #include "components/signin/public/identity_manager/accounts_mutator.h" --- a/chrome/browser/ui/webui/signin/signin_error_ui.cc +++ b/chrome/browser/ui/webui/signin/signin_error_ui.cc -@@ -23,7 +23,6 @@ +@@ -27,7 +27,6 @@ #include "chrome/grit/generated_resources.h" #include "chrome/grit/signin_resources.h" #include "components/prefs/pref_service.h" @@ -2997,7 +3050,7 @@ #include "components/strings/grit/components_strings.h" #include "content/public/browser/web_ui.h" #include "content/public/browser/web_ui_data_source.h" -@@ -115,9 +114,7 @@ void SigninErrorUI::Initialize(Browser* +@@ -119,9 +118,7 @@ void SigninErrorUI::Initialize(Browser* if (is_profile_blocked) { source->AddLocalizedString("profileBlockedMessage", IDS_OLD_PROFILES_DISABLED_MESSAGE); @@ -3039,7 +3092,7 @@ } --- a/chrome/browser/ui/webui/signin/turn_sync_on_helper.cc +++ b/chrome/browser/ui/webui/signin/turn_sync_on_helper.cc -@@ -45,7 +45,6 @@ +@@ -47,7 +47,6 @@ #include "components/policy/core/common/management/management_service.h" #include "components/prefs/pref_service.h" #include "components/signin/public/base/signin_metrics.h" @@ -3047,7 +3100,7 @@ #include "components/signin/public/identity_manager/accounts_mutator.h" #include "components/signin/public/identity_manager/identity_manager.h" #include "components/signin/public/identity_manager/primary_account_mutator.h" -@@ -220,8 +219,7 @@ TurnSyncOnHelper::TurnSyncOnHelper( +@@ -226,8 +225,7 @@ TurnSyncOnHelper::TurnSyncOnHelper( // last authenticated account of the current profile, then Chrome will show a // confirmation dialog before starting sync. // TODO(skym): Warn for high risk upgrade scenario (https://crbug.com/572754). @@ -3059,14 +3112,14 @@ base::BindOnce(&TurnSyncOnHelper::OnMergeAccountConfirmation, --- a/chrome/browser/ui/webui/signin/turn_sync_on_helper_unittest.cc +++ b/chrome/browser/ui/webui/signin/turn_sync_on_helper_unittest.cc -@@ -41,7 +41,6 @@ - #include "components/prefs/pref_service.h" +@@ -46,7 +46,6 @@ #include "components/signin/public/base/account_consistency_method.h" + #include "components/signin/public/base/consent_level.h" #include "components/signin/public/base/signin_metrics.h" -#include "components/signin/public/base/signin_pref_names.h" + #include "components/signin/public/base/signin_switches.h" #include "components/signin/public/identity_manager/identity_manager.h" #include "components/signin/public/identity_manager/identity_test_environment.h" - #include "components/signin/public/identity_manager/primary_account_mutator.h" --- a/chrome/browser/ui/webui/welcome/welcome_ui.cc +++ b/chrome/browser/ui/webui/welcome/welcome_ui.cc @@ -24,7 +24,6 @@ @@ -3170,9 +3223,9 @@ #include "components/prefs/pref_service.h" #include "components/signin/public/base/signin_buildflags.h" -#include "components/signin/public/base/signin_pref_names.h" + #include "components/sync/base/user_selectable_type.h" #include "components/sync/driver/sync_service.h" #include "components/sync/driver/sync_user_settings.h" - --- a/components/password_manager/core/browser/password_reuse_detector.cc +++ b/components/password_manager/core/browser/password_reuse_detector.cc @@ -15,7 +15,6 @@ @@ -3227,7 +3280,7 @@ void PasswordReuseManagerImpl::OnGetPasswordStoreResults( --- a/components/password_manager/core/browser/password_store.cc +++ b/components/password_manager/core/browser/password_store.cc -@@ -41,7 +41,6 @@ +@@ -40,7 +40,6 @@ #include "components/password_manager/core/common/password_manager_features.h" #include "components/password_manager/core/common/password_manager_pref_names.h" #include "components/prefs/pref_service.h" @@ -3306,8 +3359,8 @@ -#include "components/safe_browsing/core/common/safe_browsing_prefs.h" #include "components/safe_browsing/core/common/utils.h" #include "components/sessions/content/session_tab_helper.h" - #include "content/public/browser/global_routing_id.h" -@@ -338,7 +337,7 @@ GURL SafeBrowsingNavigationObserverManag + #include "content/public/browser/browser_context.h" +@@ -339,7 +338,7 @@ GURL SafeBrowsingNavigationObserverManag bool SafeBrowsingNavigationObserverManager::IsEnabledAndReady( PrefService* prefs, bool has_safe_browsing_service) { @@ -3328,7 +3381,7 @@ #include "content/public/test/test_renderer_host.h" --- a/components/safe_browsing/content/browser/triggers/trigger_manager.cc +++ b/components/safe_browsing/content/browser/triggers/trigger_manager.cc -@@ -12,7 +12,6 @@ +@@ -13,7 +13,6 @@ #include "components/safe_browsing/content/browser/base_ui_manager.h" #include "components/safe_browsing/content/browser/threat_details.h" #include "components/safe_browsing/core/common/features.h" @@ -3336,7 +3389,7 @@ #include "components/security_interstitials/core/unsafe_resource.h" #include "content/public/browser/browser_context.h" #include "content/public/browser/browser_thread.h" -@@ -85,16 +84,16 @@ SBErrorOptions TriggerManager::GetSBErro +@@ -86,16 +85,16 @@ SBErrorOptions TriggerManager::GetSBErro const PrefService& pref_service, content::WebContents* web_contents) { return SBErrorOptions(/*is_main_frame_load_blocked=*/false, @@ -3440,7 +3493,7 @@ #include "content/public/browser/global_routing_id.h" #include "services/network/public/mojom/cookie_manager.mojom.h" #if BUILDFLAG(FULL_SAFE_BROWSING) -@@ -2043,18 +2042,13 @@ void SafeBrowsingUIHandler::GetPrefs(con +@@ -2050,18 +2049,13 @@ void SafeBrowsingUIHandler::GetPrefs(con AllowJavascript(); DCHECK(!args.empty()); std::string callback_id = args[0].GetString(); @@ -3518,7 +3571,7 @@ list_infos_(GetListInfos()), task_runner_(task_runner_for_tests ? task_runner_for_tests -@@ -1119,8 +1116,7 @@ void V4LocalDatabaseManager::SetupUpdate +@@ -1123,8 +1120,7 @@ void V4LocalDatabaseManager::SetupUpdate weak_factory_.GetWeakPtr()); v4_update_protocol_manager_ = V4UpdateProtocolManager::Create( @@ -3530,7 +3583,7 @@ void V4LocalDatabaseManager::UpdateRequestCompleted( --- a/components/safe_browsing/core/browser/db/v4_local_database_manager.h +++ b/components/safe_browsing/core/browser/db/v4_local_database_manager.h -@@ -38,8 +38,7 @@ class V4LocalDatabaseManager : public Sa +@@ -39,8 +39,7 @@ class V4LocalDatabaseManager : public Sa static scoped_refptr Create( const base::FilePath& base_path, scoped_refptr ui_task_runner, @@ -3540,7 +3593,7 @@ V4LocalDatabaseManager(const V4LocalDatabaseManager&) = delete; V4LocalDatabaseManager& operator=(const V4LocalDatabaseManager&) = delete; -@@ -108,7 +107,6 @@ class V4LocalDatabaseManager : public Sa +@@ -109,7 +108,6 @@ class V4LocalDatabaseManager : public Sa // Must be initialized by calling StartOnIOThread() before using. V4LocalDatabaseManager( const base::FilePath& base_path, @@ -3548,7 +3601,7 @@ scoped_refptr ui_task_runner, scoped_refptr io_task_runner, scoped_refptr task_runner_for_tests); -@@ -367,10 +365,6 @@ class V4LocalDatabaseManager : public Sa +@@ -369,10 +367,6 @@ class V4LocalDatabaseManager : public Sa // ready to process next update. DatabaseUpdatedCallback db_updated_callback_; @@ -3561,7 +3614,7 @@ // information in the full hash request. --- a/components/safe_browsing/core/browser/db/v4_protocol_manager_util.cc +++ b/components/safe_browsing/core/browser/db/v4_protocol_manager_util.cc -@@ -88,7 +88,6 @@ void SetSbV4UrlPrefixForTesting(const ch +@@ -89,7 +89,6 @@ void SetSbV4UrlPrefixForTesting(const ch std::string GetReportUrl(const V4ProtocolConfig& config, const std::string& method, @@ -3569,7 +3622,7 @@ const bool is_enhanced_protection) { std::string url = base::StringPrintf( "%s/%s?client=%s&appver=%s&pver=4.0", kSbReportsURLPrefix, method.c_str(), -@@ -98,8 +97,6 @@ std::string GetReportUrl(const V4Protoco +@@ -99,8 +98,6 @@ std::string GetReportUrl(const V4Protoco base::StringAppendF(&url, "&key=%s", net::EscapeQueryParamValue(api_key, true).c_str()); } @@ -3812,7 +3865,7 @@ // static --- a/components/safe_browsing/core/browser/realtime/url_lookup_service.cc +++ b/components/safe_browsing/core/browser/realtime/url_lookup_service.cc -@@ -20,7 +20,6 @@ +@@ -19,7 +19,6 @@ #include "components/safe_browsing/core/browser/referrer_chain_provider.h" #include "components/safe_browsing/core/browser/safe_browsing_token_fetcher.h" #include "components/safe_browsing/core/common/features.h" @@ -3820,7 +3873,7 @@ #include "components/unified_consent/pref_names.h" #include "net/base/ip_address.h" #include "net/base/load_flags.h" -@@ -63,10 +62,6 @@ RealTimeUrlLookupService::RealTimeUrlLoo +@@ -62,10 +61,6 @@ RealTimeUrlLookupService::RealTimeUrlLoo variations_(variations_service) { pref_change_registrar_.Init(pref_service_); pref_change_registrar_.Add( @@ -3831,7 +3884,7 @@ unified_consent::prefs::kUrlKeyedAnonymizedDataCollectionEnabled, base::BindRepeating(&RealTimeUrlLookupService::OnPrefChanged, base::Unretained(this))); -@@ -140,7 +135,7 @@ bool RealTimeUrlLookupService::CanSendPa +@@ -139,7 +134,7 @@ bool RealTimeUrlLookupService::CanSendPa } bool RealTimeUrlLookupService::CanCheckSubresourceURL() const { @@ -3840,7 +3893,7 @@ } bool RealTimeUrlLookupService::CanCheckSafeBrowsingDb() const { -@@ -150,11 +145,7 @@ bool RealTimeUrlLookupService::CanCheckS +@@ -149,11 +144,7 @@ bool RealTimeUrlLookupService::CanCheckS } bool RealTimeUrlLookupService::CanSendRTSampleRequest() const { @@ -4538,7 +4591,7 @@ stable_age = std::max(now - last_changed, base::TimeDelta()); --- a/components/signin/core/browser/account_investigator_unittest.cc +++ b/components/signin/core/browser/account_investigator_unittest.cc -@@ -12,7 +12,6 @@ +@@ -13,7 +13,6 @@ #include "build/build_config.h" #include "components/prefs/pref_registry_simple.h" #include "components/signin/public/base/signin_metrics.h" @@ -4626,7 +4679,7 @@ #include "testing/gtest/include/gtest/gtest.h" --- a/components/signin/internal/identity_manager/account_tracker_service.cc +++ b/components/signin/internal/identity_manager/account_tracker_service.cc -@@ -32,7 +32,6 @@ +@@ -31,7 +31,6 @@ #include "components/prefs/scoped_user_pref_update.h" #include "components/signin/internal/identity_manager/account_capabilities_constants.h" #include "components/signin/internal/identity_manager/account_info_util.h" @@ -4634,7 +4687,7 @@ #include "components/signin/public/base/signin_switches.h" #include "components/signin/public/identity_manager/account_capabilities.h" #include "components/signin/public/identity_manager/tribool.h" -@@ -179,9 +178,6 @@ AccountTrackerService::~AccountTrackerSe +@@ -178,9 +177,6 @@ AccountTrackerService::~AccountTrackerSe // static void AccountTrackerService::RegisterPrefs(PrefRegistrySimple* registry) { @@ -4644,7 +4697,7 @@ } void AccountTrackerService::Initialize(PrefService* pref_service, -@@ -482,14 +478,12 @@ AccountTrackerService::ComputeNewMigrati +@@ -481,14 +477,12 @@ AccountTrackerService::ComputeNewMigrati void AccountTrackerService::SetMigrationState(AccountIdMigrationState state) { DCHECK(state != MIGRATION_DONE || AreAllAccountsMigrated()); @@ -4660,7 +4713,7 @@ } base::FilePath AccountTrackerService::GetImagePathFor( -@@ -546,27 +540,6 @@ void AccountTrackerService::OnAccountIma +@@ -545,27 +539,6 @@ void AccountTrackerService::OnAccountIma const CoreAccountId& account_id, const std::string& image_url_with_size, bool success) { @@ -4688,7 +4741,7 @@ } void AccountTrackerService::RemoveAccountImageFromDisk( -@@ -578,181 +551,16 @@ void AccountTrackerService::RemoveAccoun +@@ -577,181 +550,16 @@ void AccountTrackerService::RemoveAccoun } void AccountTrackerService::LoadFromPrefs() { @@ -5016,7 +5069,7 @@ #include "components/signin/public/webdata/token_web_data.h" --- a/components/signin/internal/identity_manager/primary_account_manager.cc +++ b/components/signin/internal/identity_manager/primary_account_manager.cc -@@ -23,7 +23,6 @@ +@@ -22,7 +22,6 @@ #include "components/signin/public/base/account_consistency_method.h" #include "components/signin/public/base/signin_client.h" #include "components/signin/public/base/signin_metrics.h" @@ -5024,7 +5077,7 @@ #include "components/signin/public/base/signin_switches.h" using signin::PrimaryAccountChangeEvent; -@@ -48,22 +47,10 @@ PrimaryAccountManager::~PrimaryAccountMa +@@ -44,22 +43,10 @@ PrimaryAccountManager::~PrimaryAccountMa // static void PrimaryAccountManager::RegisterProfilePrefs(PrefRegistrySimple* registry) { @@ -5047,7 +5100,7 @@ } void PrimaryAccountManager::Initialize(PrefService* local_state) { -@@ -71,25 +58,7 @@ void PrimaryAccountManager::Initialize(P +@@ -67,25 +54,7 @@ void PrimaryAccountManager::Initialize(P DCHECK(!IsInitialized()); initialized_ = true; @@ -5074,7 +5127,7 @@ if (!pref_account_id.empty()) { if (account_tracker_service_->GetMigrationState() == -@@ -99,14 +68,11 @@ void PrimaryAccountManager::Initialize(P +@@ -95,14 +64,11 @@ void PrimaryAccountManager::Initialize(P // |account_info.gaia| could be empty if |account_id| is already gaia id. if (!account_info.gaia.empty()) { pref_account_id = account_info.gaia; @@ -5090,7 +5143,7 @@ CoreAccountId account_id = CoreAccountId::FromString(pref_account_id); CoreAccountInfo account_info = account_tracker_service_->GetAccountInfo(account_id); -@@ -183,8 +149,7 @@ void PrimaryAccountManager::SetSyncPrima +@@ -176,8 +142,7 @@ void PrimaryAccountManager::SetSyncPrima #if DCHECK_IS_ON() { @@ -5100,7 +5153,7 @@ bool consented_to_sync = client_->GetPrefs()->GetBoolean(prefs::kGoogleServicesConsentedToSync); -@@ -200,10 +165,6 @@ void PrimaryAccountManager::SetSyncPrima +@@ -193,10 +158,6 @@ void PrimaryAccountManager::SetSyncPrima // Go ahead and update the last signed in account info here as well. Once a // user is signed in the corresponding preferences should match. Doing it here // as opposed to on signin allows us to catch the upgrade scenario. @@ -5111,7 +5164,7 @@ // Commit primary sync account info immediately so that it does not get lost // if Chrome crashes before the next commit interval. -@@ -217,20 +178,11 @@ void PrimaryAccountManager::SetPrimaryAc +@@ -210,20 +171,11 @@ void PrimaryAccountManager::SetPrimaryAc PrefService* prefs = client_->GetPrefs(); const std::string& account_id = primary_account_info_.account_id.ToString(); @@ -5135,9 +5188,9 @@ return false; --- a/components/signin/internal/identity_manager/primary_account_manager_unittest.cc +++ b/components/signin/internal/identity_manager/primary_account_manager_unittest.cc -@@ -26,7 +26,6 @@ +@@ -25,7 +25,6 @@ + #include "components/signin/internal/identity_manager/fake_account_capabilities_fetcher_factory.h" #include "components/signin/internal/identity_manager/fake_profile_oauth2_token_service_delegate.h" - #include "components/signin/internal/identity_manager/primary_account_policy_manager.h" #include "components/signin/internal/identity_manager/profile_oauth2_token_service.h" -#include "components/signin/public/base/signin_pref_names.h" #include "components/signin/public/base/signin_switches.h" @@ -5145,15 +5198,15 @@ #include "components/sync_preferences/testing_pref_service_syncable.h" --- a/components/signin/internal/identity_manager/primary_account_mutator_impl.cc +++ b/components/signin/internal/identity_manager/primary_account_mutator_impl.cc -@@ -14,7 +14,6 @@ +@@ -15,7 +15,6 @@ #include "components/signin/internal/identity_manager/profile_oauth2_token_service.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_switches.h" #include "google_apis/gaia/core_account_id.h" - namespace signin { -@@ -58,7 +57,7 @@ PrimaryAccountMutatorImpl::SetPrimaryAcc +@@ -60,7 +59,7 @@ PrimaryAccountMutatorImpl::SetPrimaryAcc DCHECK(!account_info.gaia.empty()); #if !BUILDFLAG(IS_CHROMEOS_ASH) @@ -5162,57 +5215,6 @@ #if BUILDFLAG(IS_CHROMEOS_LACROS) // Check that `prefs::kSigninAllowed` has not been set to false in a context // where Lacros wants to set a Primary Account. Lacros doesn't offer account ---- a/components/signin/internal/identity_manager/primary_account_policy_manager_impl.cc -+++ b/components/signin/internal/identity_manager/primary_account_policy_manager_impl.cc -@@ -10,7 +10,6 @@ - #include "components/signin/internal/identity_manager/primary_account_manager.h" - #include "components/signin/public/base/signin_client.h" - #include "components/signin/public/base/signin_metrics.h" --#include "components/signin/public/base/signin_pref_names.h" - #include "components/signin/public/identity_manager/account_info.h" - #include "components/signin/public/identity_manager/identity_utils.h" - -@@ -28,18 +27,7 @@ void PrimaryAccountPolicyManagerImpl::In - // local_state can be null during unit tests. - if (local_state) { - local_state_pref_registrar_.Init(local_state); -- local_state_pref_registrar_.Add( -- prefs::kGoogleServicesUsernamePattern, -- base::BindRepeating(&PrimaryAccountPolicyManagerImpl:: -- OnGoogleServicesUsernamePatternChanged, -- weak_pointer_factory_.GetWeakPtr(), -- primary_account_manager)); - } -- signin_allowed_.Init( -- prefs::kSigninAllowed, client_->GetPrefs(), -- base::BindRepeating( -- &PrimaryAccountPolicyManagerImpl::OnSigninAllowedPrefChanged, -- base::Unretained(this), primary_account_manager)); - - CoreAccountInfo account_info = primary_account_manager->GetPrimaryAccountInfo( - signin::ConsentLevel::kSync); ---- a/components/signin/internal/identity_manager/primary_account_policy_manager_impl.h -+++ b/components/signin/internal/identity_manager/primary_account_policy_manager_impl.h -@@ -56,9 +56,6 @@ class PrimaryAccountPolicyManagerImpl : - // profile-specific local prefs (like kGoogleServicesUsernamePattern). - PrefChangeRegistrar local_state_pref_registrar_; - -- // Helper object to listen for changes to the signin allowed preference. -- BooleanPrefMember signin_allowed_; -- - base::WeakPtrFactory weak_pointer_factory_{ - this}; - }; ---- a/components/signin/internal/identity_manager/primary_account_policy_manager_impl_unittest.cc -+++ b/components/signin/internal/identity_manager/primary_account_policy_manager_impl_unittest.cc -@@ -15,7 +15,6 @@ - #include "components/signin/internal/identity_manager/primary_account_policy_manager_impl.h" - #include "components/signin/internal/identity_manager/profile_oauth2_token_service.h" - #include "components/signin/public/base/account_consistency_method.h" --#include "components/signin/public/base/signin_pref_names.h" - #include "components/signin/public/base/test_signin_client.h" - #include "components/sync_preferences/testing_pref_service_syncable.h" - #include "testing/gtest/include/gtest/gtest.h" --- a/components/signin/internal/identity_manager/profile_oauth2_token_service.cc +++ b/components/signin/internal/identity_manager/profile_oauth2_token_service.cc @@ -12,7 +12,6 @@ @@ -5244,7 +5246,7 @@ #include "components/sync_preferences/testing_pref_service_syncable.h" --- a/components/signin/public/base/BUILD.gn +++ b/components/signin/public/base/BUILD.gn -@@ -35,8 +35,6 @@ static_library("base") { +@@ -34,8 +34,6 @@ static_library("base") { "signin_client.h", "signin_metrics.cc", "signin_metrics.h", @@ -5387,12 +5389,12 @@ #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_switches.h" #include "components/signin/public/identity_manager/identity_test_environment.h" #include "components/signin/public/identity_manager/identity_test_utils.h" - #include "components/sync_preferences/testing_pref_service_syncable.h" --- a/tools/metrics/histograms/enums.xml +++ b/tools/metrics/histograms/enums.xml -@@ -89670,7 +89670,6 @@ Full version information for the fingerp +@@ -90465,7 +90465,6 @@ Full version information for the fingerp @@ -5400,7 +5402,7 @@ -@@ -89685,10 +89684,7 @@ Full version information for the fingerp +@@ -90480,10 +90479,7 @@ Full version information for the fingerp diff --git a/patches/core/ungoogled-chromium/toggle-translation-via-switch.patch b/patches/core/ungoogled-chromium/toggle-translation-via-switch.patch index 7e1f5616..86640b5a 100644 --- a/patches/core/ungoogled-chromium/toggle-translation-via-switch.patch +++ b/patches/core/ungoogled-chromium/toggle-translation-via-switch.patch @@ -9,7 +9,7 @@ #include "components/translate/core/browser/translate_download_manager.h" #include "components/translate/core/browser/translate_manager.h" #include "components/translate/core/browser/translate_prefs.h" -@@ -1673,6 +1674,8 @@ void RenderViewContextMenu::AppendPageIt +@@ -1727,6 +1728,8 @@ void RenderViewContextMenu::AppendPageIt menu_model_.AddSeparator(ui::NORMAL_SEPARATOR); } @@ -18,7 +18,7 @@ ChromeTranslateClient* chrome_translate_client = ChromeTranslateClient::FromWebContents(embedder_web_contents_); const bool canTranslate = -@@ -1694,6 +1697,7 @@ void RenderViewContextMenu::AppendPageIt +@@ -1748,6 +1751,7 @@ void RenderViewContextMenu::AppendPageIt IDC_CONTENT_CONTEXT_TRANSLATE, l10n_util::GetStringFUTF16(IDS_CONTENT_CONTEXT_TRANSLATE, language)); } 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 b06bee8d..a3dd0cd8 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 -@@ -2379,6 +2379,7 @@ static_library("browser") { +@@ -2390,6 +2390,7 @@ static_library("browser") { "//third_party/libyuv", "//third_party/metrics_proto", "//third_party/re2", @@ -19,7 +19,7 @@ "//third_party/widevine/cdm:headers", --- a/chrome/browser/about_flags.cc +++ b/chrome/browser/about_flags.cc -@@ -149,6 +149,7 @@ +@@ -146,6 +146,7 @@ #include "components/translate/core/browser/translate_ranker_impl.h" #include "components/translate/core/common/translate_util.h" #include "components/ui_devtools/switches.h" @@ -44,7 +44,7 @@ #endif // CHROME_BROWSER_BROMITE_FLAG_ENTRIES_H_ --- a/content/browser/BUILD.gn +++ b/content/browser/BUILD.gn -@@ -228,6 +228,7 @@ source_set("browser") { +@@ -230,6 +230,7 @@ source_set("browser") { "//third_party/libyuv", "//third_party/re2", "//third_party/sqlite", @@ -54,7 +54,7 @@ "//third_party/zlib", --- a/content/browser/renderer_host/render_process_host_impl.cc +++ b/content/browser/renderer_host/render_process_host_impl.cc -@@ -75,6 +75,7 @@ +@@ -76,6 +76,7 @@ #include "components/services/storage/public/mojom/cache_storage_control.mojom.h" #include "components/services/storage/public/mojom/indexed_db_control.mojom.h" #include "components/tracing/common/tracing_switches.h" @@ -62,7 +62,7 @@ #include "components/viz/common/switches.h" #include "components/viz/host/gpu_client.h" #include "content/browser/bad_message.h" -@@ -3292,6 +3293,8 @@ void RenderProcessHostImpl::PropagateBro +@@ -3287,6 +3288,8 @@ void RenderProcessHostImpl::PropagateBro switches::kEnableWebGLDraftExtensions, switches::kEnableWebGLImageChromium, switches::kFileUrlPathAlias, @@ -83,7 +83,7 @@ "//ui/events/blink", --- a/content/child/runtime_features.cc +++ b/content/child/runtime_features.cc -@@ -32,6 +32,7 @@ +@@ -33,6 +33,7 @@ #include "third_party/blink/public/common/loader/referrer_utils.h" #include "third_party/blink/public/common/switches.h" #include "third_party/blink/public/platform/web_runtime_features.h" @@ -91,7 +91,7 @@ #include "ui/accessibility/accessibility_features.h" #include "ui/base/ui_base_features.h" #include "ui/events/blink/blink_features.h" -@@ -486,6 +487,10 @@ void SetRuntimeFeaturesFromCommandLine(c +@@ -481,6 +482,10 @@ void SetRuntimeFeaturesFromCommandLine(c {wrf::ForceOverlayFullscreenVideo, switches::kForceOverlayFullscreenVideo, true}, {wrf::EnableDirectSockets, switches::kRestrictedApiOrigins, false}, @@ -104,7 +104,7 @@ if (command_line.HasSwitch(mapping.switch_name)) --- a/third_party/blink/public/platform/web_runtime_features.h +++ b/third_party/blink/public/platform/web_runtime_features.h -@@ -215,6 +215,8 @@ class WebRuntimeFeatures { +@@ -216,6 +216,8 @@ class WebRuntimeFeatures { BLINK_PLATFORM_EXPORT static void EnableMediaControlsExpandGesture(bool); BLINK_PLATFORM_EXPORT static void EnableGetDisplayMedia(bool); BLINK_PLATFORM_EXPORT static void EnableAllowSyncXHRInPageDismissal(bool); @@ -115,15 +115,15 @@ BLINK_PLATFORM_EXPORT static void EnableSubresourceWebBundles(bool); --- a/third_party/blink/renderer/core/dom/document.cc +++ b/third_party/blink/renderer/core/dom/document.cc -@@ -42,6 +42,7 @@ - #include "base/containers/contains.h" +@@ -43,6 +43,7 @@ #include "base/debug/dump_without_crashing.h" #include "base/metrics/histogram_functions.h" + #include "base/notreached.h" +#include "base/rand_util.h" #include "base/time/time.h" #include "cc/input/overscroll_behavior.h" #include "cc/input/scroll_snap_data.h" -@@ -875,6 +876,14 @@ Range* Document::CreateRangeAdjustedToTr +@@ -885,6 +886,14 @@ Range* Document::CreateRangeAdjustedToTr Position::BeforeNode(*shadow_host)); } @@ -138,7 +138,7 @@ SelectorQueryCache& Document::GetSelectorQueryCache() { if (!selector_query_cache_) selector_query_cache_ = std::make_unique(); -@@ -2175,6 +2184,15 @@ void Document::UpdateStyleAndLayoutTreeF +@@ -2167,6 +2176,15 @@ void Document::UpdateStyleAndLayoutTreeF #if DCHECK_IS_ON() AssertLayoutTreeUpdated(*this, true /* allow_dirty_container_subtrees */); #endif @@ -156,7 +156,7 @@ void Document::InvalidateStyleAndLayoutForFontUpdates() { --- a/third_party/blink/renderer/core/dom/document.h +++ b/third_party/blink/renderer/core/dom/document.h -@@ -482,6 +482,10 @@ class CORE_EXPORT Document : public Cont +@@ -496,6 +496,10 @@ class CORE_EXPORT Document : public Cont has_xml_declaration_ = has_xml_declaration ? 1 : 0; } @@ -167,7 +167,7 @@ AtomicString visibilityState() const; bool IsPageVisible() const; bool hidden() const; -@@ -2193,6 +2197,9 @@ class CORE_EXPORT Document : public Cont +@@ -2229,6 +2233,9 @@ class CORE_EXPORT Document : public Cont base::ElapsedTimer start_time_; @@ -179,7 +179,7 @@ HeapVector> current_script_stack_; --- a/third_party/blink/renderer/core/dom/element.cc +++ b/third_party/blink/renderer/core/dom/element.cc -@@ -2083,6 +2083,11 @@ DOMRectList* Element::getClientRects() { +@@ -2073,6 +2073,11 @@ DOMRectList* Element::getClientRects() { DCHECK(element_layout_object); GetDocument().AdjustQuadsForScrollAndAbsoluteZoom(quads, *element_layout_object); @@ -191,7 +191,7 @@ return MakeGarbageCollected(quads); } -@@ -2100,6 +2105,9 @@ gfx::RectF Element::GetBoundingClientRec +@@ -2090,6 +2095,9 @@ gfx::RectF Element::GetBoundingClientRec DCHECK(element_layout_object); GetDocument().AdjustRectForScrollAndAbsoluteZoom(result, *element_layout_object); @@ -266,7 +266,7 @@ const TextDirection&, --- a/third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d.cc +++ b/third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d.cc -@@ -916,9 +916,15 @@ TextMetrics* CanvasRenderingContext2D::m +@@ -917,9 +917,15 @@ TextMetrics* CanvasRenderingContext2D::m TextDirection direction = ToTextDirection(GetState().GetDirection(), canvas()); @@ -285,7 +285,7 @@ void CanvasRenderingContext2D::fillFormattedText( --- a/third_party/blink/renderer/platform/BUILD.gn +++ b/third_party/blink/renderer/platform/BUILD.gn -@@ -1633,6 +1633,7 @@ component("platform") { +@@ -1638,6 +1638,7 @@ component("platform") { "//components/paint_preview/common", "//components/power_scheduler", "//components/search_engines:search_engine_utils", @@ -295,8 +295,8 @@ "//components/webrtc:net_address_utils", --- a/third_party/blink/renderer/platform/exported/web_runtime_features.cc +++ b/third_party/blink/renderer/platform/exported/web_runtime_features.cc -@@ -667,4 +667,12 @@ void WebRuntimeFeatures::EnableCLSScroll - RuntimeEnabledFeatures::SetCLSScrollAnchoringEnabled(enable); +@@ -677,4 +677,12 @@ void WebRuntimeFeatures::EnableWebAuthen + enable); } +void WebRuntimeFeatures::EnableFingerprintingClientRectsNoise(bool enable) { @@ -310,7 +310,7 @@ } // namespace blink --- a/third_party/blink/renderer/platform/runtime_enabled_features.json5 +++ b/third_party/blink/renderer/platform/runtime_enabled_features.json5 -@@ -1146,6 +1146,12 @@ +@@ -1137,6 +1137,12 @@ name: "Focusgroup", }, { diff --git a/patches/extra/bromite/flag-fingerprinting-canvas-image-data-noise.patch b/patches/extra/bromite/flag-fingerprinting-canvas-image-data-noise.patch index d6295b65..23ce1656 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 -@@ -3295,6 +3295,7 @@ void RenderProcessHostImpl::PropagateBro +@@ -3290,6 +3290,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 -@@ -491,6 +491,8 @@ void SetRuntimeFeaturesFromCommandLine(c +@@ -486,6 +486,8 @@ void SetRuntimeFeaturesFromCommandLine(c switches::kFingerprintingClientRectsNoise, true}, {wrf::EnableFingerprintingCanvasMeasureTextNoise, switches::kFingerprintingCanvasMeasureTextNoise, true}, @@ -55,7 +55,7 @@ approach to change color components. if (command_line.HasSwitch(mapping.switch_name)) --- a/third_party/blink/public/platform/web_runtime_features.h +++ b/third_party/blink/public/platform/web_runtime_features.h -@@ -217,6 +217,7 @@ class WebRuntimeFeatures { +@@ -218,6 +218,7 @@ class WebRuntimeFeatures { BLINK_PLATFORM_EXPORT static void EnableAllowSyncXHRInPageDismissal(bool); BLINK_PLATFORM_EXPORT static void EnableFingerprintingClientRectsNoise(bool); BLINK_PLATFORM_EXPORT static void EnableFingerprintingCanvasMeasureTextNoise(bool); @@ -73,7 +73,7 @@ approach to change color components. #include "third_party/blink/renderer/platform/graphics/stroke_data.h" #include "third_party/blink/renderer/platform/graphics/video_frame_image_util.h" #include "third_party/blink/renderer/platform/heap/garbage_collected.h" -@@ -2047,6 +2048,9 @@ ImageData* BaseRenderingContext2D::getIm +@@ -2046,6 +2047,9 @@ ImageData* BaseRenderingContext2D::getIm snapshot->PaintImageForCurrentFrame().GetSkImageInfo().bounds(); DCHECK(!bounds.intersect(SkIRect::MakeXYWH(sx, sy, sw, sh))); } @@ -85,7 +85,7 @@ approach to change color components. return image_data; --- a/third_party/blink/renderer/platform/BUILD.gn +++ b/third_party/blink/renderer/platform/BUILD.gn -@@ -1591,7 +1591,9 @@ component("platform") { +@@ -1596,7 +1596,9 @@ component("platform") { "//third_party/blink/renderer:non_test_config", ] @@ -98,7 +98,7 @@ approach to change color components. "//third_party/blink/renderer/platform/blob", --- a/third_party/blink/renderer/platform/exported/web_runtime_features.cc +++ b/third_party/blink/renderer/platform/exported/web_runtime_features.cc -@@ -675,4 +675,8 @@ void WebRuntimeFeatures::EnableFingerpri +@@ -685,4 +685,8 @@ void WebRuntimeFeatures::EnableFingerpri RuntimeEnabledFeatures::SetFingerprintingCanvasMeasureTextNoiseEnabled(enable); } @@ -154,7 +154,7 @@ approach to change color components. #include "ui/gfx/geometry/skia_conversions.h" #include "v8/include/v8.h" -@@ -79,4 +83,154 @@ void StaticBitmapImage::DrawHelper(cc::P +@@ -113,4 +117,154 @@ void StaticBitmapImage::DrawHelper(cc::P WebCoreClampingModeToSkiaRectConstraint(draw_options.clamping_mode)); } @@ -311,7 +311,7 @@ approach to change color components. } // namespace blink --- a/third_party/blink/renderer/platform/graphics/static_bitmap_image.h +++ b/third_party/blink/renderer/platform/graphics/static_bitmap_image.h -@@ -36,6 +36,8 @@ class PLATFORM_EXPORT StaticBitmapImage +@@ -37,6 +37,8 @@ class PLATFORM_EXPORT StaticBitmapImage StaticBitmapImage(ImageOrientation orientation) : orientation_(orientation) {} @@ -322,7 +322,7 @@ approach to change color components. // Methods overridden by all sub-classes --- a/third_party/blink/renderer/platform/runtime_enabled_features.json5 +++ b/third_party/blink/renderer/platform/runtime_enabled_features.json5 -@@ -1152,6 +1152,9 @@ +@@ -1143,6 +1143,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 8c431bed..dbc86efe 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 -@@ -2129,6 +2129,7 @@ static_library("browser") { +@@ -2138,6 +2138,7 @@ static_library("browser") { "//components/net_log", "//components/network_hints/common:mojo_bindings", "//components/network_session_configurator/browser", @@ -49,7 +49,7 @@ with limited CPU/memory resources and it is disabled by default. #endif // CHROME_BROWSER_BROMITE_FLAG_ENTRIES_H_ --- a/chrome/browser/browser_process_impl.cc +++ b/chrome/browser/browser_process_impl.cc -@@ -19,10 +19,12 @@ +@@ -20,10 +20,12 @@ #include "base/debug/leak_annotations.h" #include "base/files/file_path.h" #include "base/location.h" @@ -62,7 +62,7 @@ with limited CPU/memory resources and it is disabled by default. #include "base/synchronization/waitable_event.h" #include "base/task/single_thread_task_runner.h" #include "base/task/task_traits.h" -@@ -100,6 +102,7 @@ +@@ -103,6 +105,7 @@ #include "components/metrics/metrics_service.h" #include "components/metrics_services_manager/metrics_services_manager.h" #include "components/metrics_services_manager/metrics_services_manager_client.h" @@ -70,7 +70,7 @@ with limited CPU/memory resources and it is disabled by default. #include "components/network_time/network_time_tracker.h" #include "components/permissions/permissions_client.h" #include "components/policy/core/common/policy_service.h" -@@ -132,6 +135,7 @@ +@@ -135,6 +138,7 @@ #include "media/media_buildflags.h" #include "mojo/public/cpp/bindings/pending_receiver.h" #include "net/log/net_log.h" @@ -78,7 +78,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" -@@ -341,6 +345,18 @@ void BrowserProcessImpl::Init() { +@@ -344,6 +348,18 @@ void BrowserProcessImpl::Init() { pref_change_registrar_.Add(metrics::prefs::kMetricsReportingEnabled, base::BindRepeating(&ApplyMetricsReportingPolicy)); @@ -99,7 +99,7 @@ with limited CPU/memory resources and it is disabled by default. --- a/chrome/browser/flag_descriptions.cc +++ b/chrome/browser/flag_descriptions.cc -@@ -1656,6 +1656,10 @@ const char kUnthrottledNestedTimeoutDesc +@@ -1595,6 +1595,10 @@ const char kUnthrottledNestedTimeoutDesc "websites abusing the API will still eventually have their setTimeouts " "clamped."; @@ -112,7 +112,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 -@@ -939,6 +939,9 @@ extern const char kLogJsConsoleMessagesD +@@ -900,6 +900,9 @@ extern const char kLogJsConsoleMessagesD extern const char kUnthrottledNestedTimeoutName[]; extern const char kUnthrottledNestedTimeoutDescription[]; diff --git a/patches/extra/debian/disable/welcome-page.patch b/patches/extra/debian/disable/welcome-page.patch index 9c3d37e7..9d5cd5a5 100644 --- a/patches/extra/debian/disable/welcome-page.patch +++ b/patches/extra/debian/disable/welcome-page.patch @@ -4,7 +4,7 @@ bug-debian: http://bugs.debian.org/857767 --- a/chrome/browser/profiles/profile_manager.cc +++ b/chrome/browser/profiles/profile_manager.cc -@@ -1397,7 +1397,7 @@ void ProfileManager::InitProfileUserPref +@@ -1399,7 +1399,7 @@ void ProfileManager::InitProfileUserPref profile->GetPrefs()->SetString(prefs::kSupervisedUserId, supervised_user_id); } diff --git a/patches/extra/inox-patchset/0006-modify-default-prefs.patch b/patches/extra/inox-patchset/0006-modify-default-prefs.patch index f248d6c3..9d905759 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 -@@ -1286,7 +1286,7 @@ void ChromeContentBrowserClient::Registe +@@ -1292,7 +1292,7 @@ void ChromeContentBrowserClient::Registe void ChromeContentBrowserClient::RegisterProfilePrefs( user_prefs::PrefRegistrySyncable* registry) { registry->RegisterBooleanPref(prefs::kDisable3DAPIs, false); @@ -23,7 +23,7 @@ // used for mapping the command-line flags). --- a/chrome/browser/net/profile_network_context_service.cc +++ b/chrome/browser/net/profile_network_context_service.cc -@@ -339,7 +339,7 @@ void ProfileNetworkContextService::Updat +@@ -338,7 +338,7 @@ void ProfileNetworkContextService::Updat void ProfileNetworkContextService::RegisterProfilePrefs( user_prefs::PrefRegistrySyncable* registry) { registry->RegisterBooleanPref( @@ -45,7 +45,7 @@ // Enum representing possible values of the Preload Pages opt-in state. Since --- a/chrome/browser/profiles/profile.cc +++ b/chrome/browser/profiles/profile.cc -@@ -276,7 +276,7 @@ const char Profile::kProfileKey[] = "__P +@@ -278,7 +278,7 @@ const char Profile::kProfileKey[] = "__P void Profile::RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { registry->RegisterBooleanPref( prefs::kSearchSuggestEnabled, @@ -118,29 +118,18 @@ prefs::kAutofillProfileValidity, "", --- a/components/bookmarks/browser/bookmark_utils.cc +++ b/components/bookmarks/browser/bookmark_utils.cc -@@ -438,7 +438,7 @@ bool DoesBookmarkContainWords(const std: +@@ -436,7 +436,7 @@ bool DoesBookmarkContainWords(const std: + void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { registry->RegisterBooleanPref( - prefs::kShowBookmarkBar, -- false, -+ true, +- prefs::kShowBookmarkBar, false, ++ prefs::kShowBookmarkBar, true, user_prefs::PrefRegistrySyncable::SYNCABLE_PREF); registry->RegisterBooleanPref(prefs::kEditBookmarksEnabled, true); registry->RegisterBooleanPref( ---- a/components/bookmarks/browser/features.cc -+++ b/components/bookmarks/browser/features.cc -@@ -10,7 +10,7 @@ namespace features { - // Changes the apps shortcut on the bookmarks bar to default to off. - // https://crbug.com/1236793 - const base::Feature kAppsShortcutDefaultOff{"AppsShortcutDefaultOff", -- base::FEATURE_DISABLED_BY_DEFAULT}; -+ base::FEATURE_ENABLED_BY_DEFAULT}; - - } // namespace features - } // namespace bookmarks --- a/components/content_settings/core/browser/cookie_settings.cc +++ b/components/content_settings/core/browser/cookie_settings.cc -@@ -63,7 +63,7 @@ void CookieSettings::RegisterProfilePref +@@ -64,7 +64,7 @@ void CookieSettings::RegisterProfilePref user_prefs::PrefRegistrySyncable* registry) { registry->RegisterIntegerPref( prefs::kCookieControlsMode, @@ -151,7 +140,7 @@ --- a/components/password_manager/core/browser/password_manager.cc +++ b/components/password_manager/core/browser/password_manager.cc -@@ -204,10 +204,10 @@ bool HasMutedCredentials(base::spanRegisterBooleanPref( 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 2f3b4f7e..13570640 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 -@@ -1617,8 +1617,6 @@ int ChromeBrowserMainParts::PreMainMessa +@@ -1620,8 +1620,6 @@ int ChromeBrowserMainParts::PreMainMessa // and preferences have been registered since some of the import code depends // on preferences. if (first_run::IsChromeFirstRun()) { diff --git a/patches/extra/iridium-browser/prefs-always-prompt-for-download-directory-by-defaul.patch b/patches/extra/iridium-browser/prefs-always-prompt-for-download-directory-by-defaul.patch index b1aa9875..204d9c0c 100644 --- a/patches/extra/iridium-browser/prefs-always-prompt-for-download-directory-by-defaul.patch +++ b/patches/extra/iridium-browser/prefs-always-prompt-for-download-directory-by-defaul.patch @@ -29,7 +29,7 @@ TLDR: Do not let files sneak onto the disk too easily. --- a/chrome/browser/download/download_prefs.cc +++ b/chrome/browser/download/download_prefs.cc -@@ -262,7 +262,7 @@ void DownloadPrefs::RegisterProfilePrefs +@@ -263,7 +263,7 @@ void DownloadPrefs::RegisterProfilePrefs user_prefs::PrefRegistrySyncable* registry) { registry->RegisterBooleanPref( prefs::kPromptForDownload, diff --git a/patches/extra/iridium-browser/updater-disable-auto-update.patch b/patches/extra/iridium-browser/updater-disable-auto-update.patch index 1394a10b..3283795a 100644 --- a/patches/extra/iridium-browser/updater-disable-auto-update.patch +++ b/patches/extra/iridium-browser/updater-disable-auto-update.patch @@ -16,7 +16,7 @@ the case anyway, since we are based off Chromium, not Chrome. --- a/chrome/browser/app_controller_mac.mm +++ b/chrome/browser/app_controller_mac.mm -@@ -866,7 +866,7 @@ static base::mac::ScopedObjCClassSwizzle +@@ -867,7 +867,7 @@ static base::mac::ScopedObjCClassSwizzle CFStringRef checkInterval = CFSTR("checkInterval"); CFPropertyListRef plist = CFPreferencesCopyAppValue(checkInterval, app); if (!plist) { 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 e9fca03f..d6aba47c 100644 --- a/patches/extra/ungoogled-chromium/add-flag-for-close-confirmation.patch +++ b/patches/extra/ungoogled-chromium/add-flag-for-close-confirmation.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/ui/browser.cc +++ b/chrome/browser/ui/browser.cc -@@ -139,6 +139,8 @@ +@@ -138,6 +138,8 @@ #include "chrome/browser/ui/tabs/tab_strip_model.h" #include "chrome/browser/ui/tabs/tab_utils.h" #include "chrome/browser/ui/ui_features.h" @@ -9,7 +9,7 @@ #include "chrome/browser/ui/web_applications/app_browser_controller.h" #include "chrome/browser/ui/web_applications/web_app_launch_utils.h" #include "chrome/browser/ui/webui/signin/login_ui_service.h" -@@ -468,6 +470,7 @@ Browser::Browser(const CreateParams& par +@@ -469,6 +471,7 @@ Browser::Browser(const CreateParams& par omit_from_session_restore_(params.omit_from_session_restore), should_trigger_session_restore_(params.should_trigger_session_restore), cancel_download_confirmation_state_(NOT_PROMPTED), @@ -17,7 +17,7 @@ override_bounds_(params.initial_bounds), initial_show_state_(params.initial_show_state), initial_workspace_(params.initial_workspace), -@@ -835,7 +838,7 @@ Browser::WarnBeforeClosingResult Browser +@@ -836,7 +839,7 @@ Browser::WarnBeforeClosingResult Browser // If the browser can close right away (there are no pending downloads we need // to prompt about) then there's no need to warn. In the future, we might need // to check other conditions as well. @@ -26,7 +26,7 @@ return WarnBeforeClosingResult::kOkToClose; DCHECK(!warn_before_closing_callback_) -@@ -865,6 +868,7 @@ bool Browser::TryToCloseWindow( +@@ -866,6 +869,7 @@ bool Browser::TryToCloseWindow( void Browser::ResetTryToCloseWindow() { cancel_download_confirmation_state_ = NOT_PROMPTED; @@ -34,7 +34,7 @@ unload_controller_.ResetTryToCloseWindow(); } -@@ -2701,6 +2705,62 @@ bool Browser::CanCloseWithInProgressDown +@@ -2725,6 +2729,62 @@ bool Browser::CanCloseWithInProgressDown return false; } @@ -97,7 +97,7 @@ void Browser::InProgressDownloadResponse(bool cancel_downloads) { if (cancel_downloads) { cancel_download_confirmation_state_ = RESPONSE_RECEIVED; -@@ -2719,6 +2779,22 @@ void Browser::InProgressDownloadResponse +@@ -2743,6 +2803,22 @@ void Browser::InProgressDownloadResponse std::move(warn_before_closing_callback_) .Run(WarnBeforeClosingResult::kDoNotClose); diff --git a/patches/extra/ungoogled-chromium/add-flag-for-custom-ntp.patch b/patches/extra/ungoogled-chromium/add-flag-for-custom-ntp.patch index 1c80c0d6..3d97f392 100644 --- a/patches/extra/ungoogled-chromium/add-flag-for-custom-ntp.patch +++ b/patches/extra/ungoogled-chromium/add-flag-for-custom-ntp.patch @@ -1,7 +1,7 @@ --- a/chrome/browser/chrome_content_browser_client.cc +++ b/chrome/browser/chrome_content_browser_client.cc -@@ -774,6 +774,9 @@ bool HandleNewTabPageLocationOverride( - Profile* profile = Profile::FromBrowserContext(browser_context); +@@ -780,6 +780,9 @@ bool HandleNewTabPageLocationOverride( + std::string ntp_location = profile->GetPrefs()->GetString(prefs::kNewTabPageLocationOverride); + if (base::CommandLine::ForCurrentProcess()->HasSwitch("custom-ntp")) @@ -23,7 +23,7 @@ #endif // CHROME_BROWSER_UNGOOGLED_FLAG_ENTRIES_H_ --- a/components/flags_ui/flags_state.cc +++ b/components/flags_ui/flags_state.cc -@@ -207,6 +207,7 @@ std::string GetCombinedOriginListValue(c +@@ -208,6 +208,7 @@ std::string GetCombinedOriginListValue(c command_line.GetSwitchValueASCII(command_line_switch); const std::string new_value = flags_storage.GetOriginListFlag(internal_entry_name); @@ -31,7 +31,7 @@ return CombineAndSanitizeOriginLists(existing_value, new_value); } -@@ -395,6 +396,7 @@ void FlagsState::SetOriginListFlag(const +@@ -396,6 +397,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-qr-generator.patch b/patches/extra/ungoogled-chromium/add-flag-for-qr-generator.patch index db861eda..58b3a9d2 100644 --- a/patches/extra/ungoogled-chromium/add-flag-for-qr-generator.patch +++ b/patches/extra/ungoogled-chromium/add-flag-for-qr-generator.patch @@ -27,8 +27,8 @@ return true; --- a/chrome/browser/ui/views/location_bar/location_bar_view.cc +++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc -@@ -305,7 +305,8 @@ void LocationBarView::Init() { - // the left most icon. +@@ -311,7 +311,8 @@ void LocationBarView::Init() { + #endif // BUILDFLAG(ENABLE_SIDE_SEARCH) params.types_enabled.push_back(PageActionIconType::kSendTabToSelf); params.types_enabled.push_back(PageActionIconType::kClickToCall); - params.types_enabled.push_back(PageActionIconType::kQRCodeGenerator); 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 817e0ef2..e99820b2 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 @@ -13,7 +13,7 @@ #endif // CHROME_BROWSER_UNGOOGLED_FLAG_ENTRIES_H_ --- a/chrome/renderer/chrome_render_frame_observer.cc +++ b/chrome/renderer/chrome_render_frame_observer.cc -@@ -139,9 +139,10 @@ ChromeRenderFrameObserver::ChromeRenderF +@@ -187,9 +187,10 @@ ChromeRenderFrameObserver::ChromeRenderF if (!render_frame->IsMainFrame()) return; @@ -25,7 +25,7 @@ if (!command_line.HasSwitch(switches::kDisableClientSidePhishingDetection)) SetClientSidePhishingDetection(); #endif -@@ -200,14 +201,16 @@ void ChromeRenderFrameObserver::DidFinis +@@ -248,14 +249,16 @@ void ChromeRenderFrameObserver::DidFinis if (frame->Parent()) return; @@ -123,7 +123,7 @@ return true; --- a/components/search_engines/template_url_service.h +++ b/components/search_engines/template_url_service.h -@@ -715,6 +715,8 @@ class TemplateURLService : public WebDat +@@ -716,6 +716,8 @@ class TemplateURLService : public WebDat // ---------- Browser state related members --------------------------------- raw_ptr prefs_ = nullptr; diff --git a/patches/extra/ungoogled-chromium/add-flag-for-tab-hover-cards.patch b/patches/extra/ungoogled-chromium/add-flag-for-tab-hover-cards.patch index 73935b17..39555a14 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 @@ -8,7 +8,7 @@ #include "base/debug/alias.h" #include "base/i18n/rtl.h" #include "base/memory/raw_ptr.h" -@@ -641,6 +642,8 @@ void Tab::OnGestureEvent(ui::GestureEven +@@ -643,6 +644,8 @@ void Tab::OnGestureEvent(ui::GestureEven } std::u16string Tab::GetTooltipText(const gfx::Point& p) const { @@ -27,7 +27,7 @@ #include "base/compiler_specific.h" #include "base/containers/adapters.h" #include "base/containers/contains.h" -@@ -1522,6 +1523,8 @@ void TabStrip::OnMouseEventInTab(views:: +@@ -1461,6 +1462,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 130557f1..8fafaf23 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 -@@ -1167,7 +1167,8 @@ void BrowserCommandController::InitComma +@@ -1208,7 +1208,8 @@ void BrowserCommandController::InitComma command_updater_.UpdateCommandEnabled(IDC_WINDOW_CLOSE_OTHER_TABS, normal_window); 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 9a71de42..78b5ab90 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/flat_map.h" #include "base/cxx17_backports.h" #include "base/memory/raw_ptr.h" -@@ -1902,6 +1903,10 @@ bool TabStripModel::CloseTabs(base::span +@@ -1910,6 +1911,10 @@ bool TabStripModel::CloseTabs(base::span if (items.empty()) return true; diff --git a/patches/extra/ungoogled-chromium/add-flag-to-configure-extension-downloading.patch b/patches/extra/ungoogled-chromium/add-flag-to-configure-extension-downloading.patch index fd4f02e2..231542b1 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-configure-extension-downloading.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-configure-extension-downloading.patch @@ -50,7 +50,7 @@ bool IsExtensionDownload(const download::DownloadItem& download_item); --- a/chrome/browser/download/download_target_determiner.cc +++ b/chrome/browser/download/download_target_determiner.cc -@@ -1071,10 +1071,12 @@ DownloadConfirmationReason DownloadTarge +@@ -1070,10 +1070,12 @@ DownloadConfirmationReason DownloadTarge return DownloadConfirmationReason::SAVE_AS; #if BUILDFLAG(ENABLE_EXTENSIONS) 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 f28c8f96..9271f555 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_view_impl.cc +++ b/content/renderer/render_view_impl.cc -@@ -74,6 +74,9 @@ WindowOpenDisposition RenderViewImpl::Na +@@ -75,6 +75,9 @@ WindowOpenDisposition RenderViewImpl::Na 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 5bbab11f..a07ec403 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-disable-local-history-expiration.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-disable-local-history-expiration.patch @@ -21,7 +21,7 @@ #include "base/callback_helpers.h" #include "base/compiler_specific.h" #include "base/containers/flat_set.h" -@@ -978,7 +979,8 @@ void HistoryBackend::InitImpl( +@@ -979,7 +980,8 @@ void HistoryBackend::InitImpl( db_->GetStartDate(&first_recorded_time_); // Start expiring old stuff. 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 eaabc87d..2fed6e9e 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 -@@ -978,7 +978,11 @@ void Tab::UpdateIconVisibility() { +@@ -991,7 +991,11 @@ void Tab::UpdateIconVisibility() { if (IsActive()) { // Close button is shown on active tabs regardless of the size. showing_close_button_ = true; @@ -12,7 +12,7 @@ showing_alert_indicator_ = has_alert_icon && alert_icon_width <= available_width; -@@ -999,6 +1003,8 @@ void Tab::UpdateIconVisibility() { +@@ -1012,6 +1016,8 @@ void Tab::UpdateIconVisibility() { available_width -= favicon_width; showing_close_button_ = large_enough_for_close_button; diff --git a/patches/extra/ungoogled-chromium/add-flag-to-scroll-tabs.patch b/patches/extra/ungoogled-chromium/add-flag-to-scroll-tabs.patch index 6a6bfcd1..1dbdbb84 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-scroll-tabs.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-scroll-tabs.patch @@ -6,9 +6,9 @@ #include "base/callback_helpers.h" +#include "base/command_line.h" #include "base/metrics/user_metrics.h" - #include "base/task/post_task.h" #include "base/task/thread_pool.h" -@@ -110,6 +111,18 @@ DragOperation GetDropEffect(const ui::Dr + #include "chrome/browser/autocomplete/autocomplete_classifier_factory.h" +@@ -108,6 +109,18 @@ DragOperation GetDropEffect(const ui::Dr return DragOperation::kMove; } @@ -27,7 +27,7 @@ } // namespace BrowserRootView::DropInfo::DropInfo() = default; -@@ -121,7 +134,9 @@ BrowserRootView::DropInfo::~DropInfo() { +@@ -119,7 +132,9 @@ BrowserRootView::DropInfo::~DropInfo() { BrowserRootView::BrowserRootView(BrowserView* browser_view, views::Widget* widget) @@ -38,7 +38,7 @@ BrowserRootView::~BrowserRootView() { // It's possible to destroy the browser while a drop is active. In this case, -@@ -243,7 +258,7 @@ bool BrowserRootView::OnMouseWheel(const +@@ -241,7 +256,7 @@ bool BrowserRootView::OnMouseWheel(const // Scroll-event-changes-tab is incompatible with scrolling tabstrip, so // disable it if the latter feature is enabled. @@ -49,7 +49,7 @@ // tabstrip, or the empty space beside the tabstrip. --- a/chrome/browser/ui/views/frame/browser_root_view.h +++ b/chrome/browser/ui/views/frame/browser_root_view.h -@@ -142,6 +142,8 @@ class BrowserRootView : public views::in +@@ -143,6 +143,8 @@ class BrowserRootView : public views::in int scroll_remainder_x_ = 0; int scroll_remainder_y_ = 0; 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 d36f1b1e..406abe40 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 -@@ -285,14 +285,30 @@ void ToolbarView::Init() { +@@ -284,14 +284,30 @@ void ToolbarView::Init() { std::unique_ptr toolbar_account_icon_container; diff --git a/patches/extra/ungoogled-chromium/add-ipv6-probing-option.patch b/patches/extra/ungoogled-chromium/add-ipv6-probing-option.patch index 1ca7a162..947d7857 100644 --- a/patches/extra/ungoogled-chromium/add-ipv6-probing-option.patch +++ b/patches/extra/ungoogled-chromium/add-ipv6-probing-option.patch @@ -13,9 +13,9 @@ #endif // CHROME_BROWSER_UNGOOGLED_FLAG_ENTRIES_H_ --- a/net/base/features.cc +++ b/net/base/features.cc -@@ -266,5 +266,7 @@ const base::Feature kRecordRadioWakeupTr - const base::Feature kSandboxHttpCache("SandboxHttpCache", - base::FEATURE_DISABLED_BY_DEFAULT); +@@ -293,5 +293,7 @@ const base::Feature kClampCookieExpiryTo + "ClampCookieExpiryTo400Days", + base::FEATURE_DISABLED_BY_DEFAULT); +const base::Feature kSetIpv6ProbeFalse{"SetIpv6ProbeFalse", base::FEATURE_DISABLED_BY_DEFAULT}; + @@ -23,9 +23,9 @@ } // namespace net --- a/net/base/features.h +++ b/net/base/features.h -@@ -401,6 +401,8 @@ NET_EXPORT extern const base::Feature kR - // the network process to be sandboxed. - NET_EXPORT extern const base::Feature kSandboxHttpCache; +@@ -430,6 +430,8 @@ NET_EXPORT extern const base::Feature kS + // future. + NET_EXPORT extern const base::Feature kClampCookieExpiryTo400Days; +NET_EXPORT extern const base::Feature kSetIpv6ProbeFalse; + @@ -34,7 +34,7 @@ --- a/net/dns/host_resolver_manager.cc +++ b/net/dns/host_resolver_manager.cc -@@ -152,11 +152,6 @@ const unsigned kMinimumTTLSeconds = kCac +@@ -153,11 +153,6 @@ const unsigned kMinimumTTLSeconds = kCac // cached. const int kIPv6ProbePeriodMs = 1000; @@ -46,7 +46,7 @@ enum DnsResolveStatus { RESOLVE_STATUS_DNS_SUCCESS = 0, RESOLVE_STATUS_PROC_SUCCESS, -@@ -3938,7 +3933,7 @@ bool HostResolverManager::IsIPv6Reachabl +@@ -4130,7 +4125,7 @@ bool HostResolverManager::IsIPv6Reachabl (tick_clock_->NowTicks() - last_ipv6_probe_time_).InMilliseconds() > kIPv6ProbePeriodMs) { SetLastIPv6ProbeResult( diff --git a/patches/extra/ungoogled-chromium/add-suggestions-url-field.patch b/patches/extra/ungoogled-chromium/add-suggestions-url-field.patch index 7e3eda29..64785c22 100644 --- a/patches/extra/ungoogled-chromium/add-suggestions-url-field.patch +++ b/patches/extra/ungoogled-chromium/add-suggestions-url-field.patch @@ -352,7 +352,7 @@ dict.Set("urlLocked", template_url->prepopulate_id() > 0); GURL icon_url = template_url->favicon_url(); if (icon_url.is_valid()) -@@ -326,12 +329,14 @@ void SearchEnginesHandler::HandleSearchE +@@ -317,12 +320,14 @@ void SearchEnginesHandler::HandleSearchE void SearchEnginesHandler::OnEditedKeyword(TemplateURL* template_url, const std::u16string& title, const std::u16string& keyword, @@ -370,7 +370,7 @@ edit_controller_.reset(); } -@@ -359,6 +364,8 @@ bool SearchEnginesHandler::CheckFieldVal +@@ -350,6 +355,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); @@ -379,7 +379,7 @@ else NOTREACHED(); -@@ -380,14 +387,17 @@ void SearchEnginesHandler::HandleSearchE +@@ -373,14 +380,17 @@ void SearchEnginesHandler::HandleSearchE const std::string& search_engine = args[0].GetString(); const std::string& keyword = args[1].GetString(); const std::string& query_url = args[2].GetString(); @@ -444,7 +444,7 @@ } --- a/components/search_engines/template_url_service.h +++ b/components/search_engines/template_url_service.h -@@ -253,7 +253,8 @@ class TemplateURLService : public WebDat +@@ -254,7 +254,8 @@ class TemplateURLService : public WebDat void ResetTemplateURL(TemplateURL* url, const std::u16string& title, const std::u16string& keyword, diff --git a/patches/extra/ungoogled-chromium/add-ungoogled-flag-headers.patch b/patches/extra/ungoogled-chromium/add-ungoogled-flag-headers.patch index 9f0f1ecb..9234cd84 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 -@@ -2967,7 +2967,13 @@ constexpr FeatureEntry::FeatureVariation +@@ -3109,7 +3109,13 @@ const FeatureEntry::FeatureVariation kDe // calculate and verify checksum. // // When adding a new choice, add it to the end of the list. diff --git a/patches/extra/ungoogled-chromium/disable-download-quarantine.patch b/patches/extra/ungoogled-chromium/disable-download-quarantine.patch index 356cceda..88caa9d8 100644 --- a/patches/extra/ungoogled-chromium/disable-download-quarantine.patch +++ b/patches/extra/ungoogled-chromium/disable-download-quarantine.patch @@ -150,7 +150,7 @@ } // namespace download --- a/content/browser/BUILD.gn +++ b/content/browser/BUILD.gn -@@ -83,7 +83,6 @@ source_set("browser") { +@@ -85,7 +85,6 @@ source_set("browser") { "//components/permissions:permissions_common", "//components/power_scheduler", "//components/services/filesystem:lib", @@ -168,7 +168,7 @@ #include "content/browser/file_system_access/file_system_access_error.h" #include "content/public/browser/content_browser_client.h" #include "content/public/browser/global_routing_id.h" -@@ -195,20 +194,8 @@ void SafeMoveHelper::DidAfterWriteCheck( +@@ -197,20 +196,8 @@ void SafeMoveHelper::DidAfterWriteCheck( // not exist anymore. In case of error, the source file URL will point to a // valid filesystem location. base::OnceCallback result_callback; @@ -189,7 +189,7 @@ manager_->DoFileSystemOperation( FROM_HERE, &storage::FileSystemOperationRunner::Move, std::move(result_callback), source_url(), dest_url(), options_, -@@ -224,7 +211,6 @@ void SafeMoveHelper::DidFileSkipQuaranti +@@ -226,7 +213,6 @@ void SafeMoveHelper::DidFileSkipQuaranti void SafeMoveHelper::DidFileDoQuarantine( const storage::FileSystemURL& target_url, const GURL& referrer_url, @@ -197,7 +197,7 @@ base::File::Error result) { DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_); -@@ -255,37 +241,9 @@ void SafeMoveHelper::DidFileDoQuarantine +@@ -257,37 +243,9 @@ void SafeMoveHelper::DidFileDoQuarantine referrer_url.is_valid() && referrer_url.SchemeIsHTTPOrHTTPS() ? referrer_url : GURL(); @@ -250,7 +250,7 @@ void ComputeHashForSourceFile(HashCallback callback); --- a/content/browser/renderer_host/pepper/pepper_file_io_host.cc +++ b/content/browser/renderer_host/pepper/pepper_file_io_host.cc -@@ -456,7 +456,7 @@ void PepperFileIOHost::OnLocalFileOpened +@@ -455,7 +455,7 @@ void PepperFileIOHost::OnLocalFileOpened ppapi::host::ReplyMessageContext reply_context, const base::FilePath& path, base::File::Error error_code) { @@ -259,7 +259,7 @@ // Quarantining a file before its contents are available is only supported on // Windows and Linux. if (!FileOpenForWrite(open_flags_) || error_code != base::File::FILE_OK) { -@@ -490,7 +490,7 @@ void PepperFileIOHost::OnLocalFileOpened +@@ -489,7 +489,7 @@ void PepperFileIOHost::OnLocalFileOpened #endif } diff --git a/patches/extra/ungoogled-chromium/disable-remote-optimization-guide.patch b/patches/extra/ungoogled-chromium/disable-remote-optimization-guide.patch index 7343318e..39a3cd67 100644 --- a/patches/extra/ungoogled-chromium/disable-remote-optimization-guide.patch +++ b/patches/extra/ungoogled-chromium/disable-remote-optimization-guide.patch @@ -1,6 +1,6 @@ --- a/components/optimization_guide/core/optimization_guide_features.cc +++ b/components/optimization_guide/core/optimization_guide_features.cc -@@ -73,7 +73,7 @@ const base::Feature kOptimizationHintsFi +@@ -88,7 +88,7 @@ const base::Feature kOptimizationHintsFi // Enables fetching from a remote Optimization Guide Service. const base::Feature kRemoteOptimizationGuideFetching{ diff --git a/patches/extra/ungoogled-chromium/disable-webgl-renderer-info.patch b/patches/extra/ungoogled-chromium/disable-webgl-renderer-info.patch index dfe07dc7..c5552337 100644 --- a/patches/extra/ungoogled-chromium/disable-webgl-renderer-info.patch +++ b/patches/extra/ungoogled-chromium/disable-webgl-renderer-info.patch @@ -3,7 +3,7 @@ --- a/third_party/blink/renderer/modules/webgl/webgl_rendering_context_base.cc +++ b/third_party/blink/renderer/modules/webgl/webgl_rendering_context_base.cc -@@ -3629,8 +3629,7 @@ ScriptValue WebGLRenderingContextBase::g +@@ -3693,8 +3693,7 @@ ScriptValue WebGLRenderingContextBase::g pname, IdentifiabilityBenignStringToken( String(ContextGL()->GetString(GL_RENDERER)))); } @@ -13,7 +13,7 @@ } SynthesizeGLError( GL_INVALID_ENUM, "getParameter", -@@ -3644,8 +3643,7 @@ ScriptValue WebGLRenderingContextBase::g +@@ -3708,8 +3707,7 @@ ScriptValue WebGLRenderingContextBase::g pname, IdentifiabilityBenignStringToken( String(ContextGL()->GetString(GL_VENDOR)))); } diff --git a/patches/extra/ungoogled-chromium/enable-default-prefetch-privacy-changes.patch b/patches/extra/ungoogled-chromium/enable-default-prefetch-privacy-changes.patch index 264c34b4..6a6418ec 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 -@@ -491,7 +491,7 @@ const base::Feature kComputePressure{"Co +@@ -485,7 +485,7 @@ const base::Feature kComputePressure{"Co // Prefetch request properties are updated to be privacy-preserving. See // crbug.com/988956. const base::Feature kPrefetchPrivacyChanges{"PrefetchPrivacyChanges", diff --git a/patches/extra/ungoogled-chromium/enable-page-saving-on-more-pages.patch b/patches/extra/ungoogled-chromium/enable-page-saving-on-more-pages.patch index 503a9636..718f9e00 100644 --- a/patches/extra/ungoogled-chromium/enable-page-saving-on-more-pages.patch +++ b/patches/extra/ungoogled-chromium/enable-page-saving-on-more-pages.patch @@ -14,7 +14,7 @@ } return content_restrictions; } -@@ -1376,8 +1371,7 @@ bool CanSavePage(const Browser* browser) +@@ -1355,8 +1350,7 @@ bool CanSavePage(const Browser* browser) DownloadPrefs::DownloadRestriction::ALL_FILES) { return false; } @@ -37,7 +37,7 @@ OfflinePageModel::OfflinePageModel() = default; --- a/content/common/url_schemes.cc +++ b/content/common/url_schemes.cc -@@ -23,13 +23,22 @@ namespace { +@@ -24,13 +24,22 @@ namespace { bool g_registered_url_schemes = false; const char* const kDefaultSavableSchemes[] = { @@ -63,7 +63,7 @@ // These lists are lazily initialized below and are leaked on shutdown to --- a/content/public/common/url_utils.cc +++ b/content/public/common/url_utils.cc -@@ -27,11 +27,7 @@ bool HasWebUIScheme(const GURL& url) { +@@ -32,11 +32,7 @@ bool HasWebUIOrigin(const url::Origin& o } bool IsSavableURL(const GURL& url) { diff --git a/patches/extra/ungoogled-chromium/enable-paste-and-go-new-tab-button.patch b/patches/extra/ungoogled-chromium/enable-paste-and-go-new-tab-button.patch index 9f6f83e3..0c31074b 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 @@ -13,7 +13,7 @@ AddChildView(std::make_unique()); --- a/chrome/browser/ui/views/tabs/tab_strip.cc +++ b/chrome/browser/ui/views/tabs/tab_strip.cc -@@ -1847,8 +1847,6 @@ void TabStrip::NewTabButtonPressed(const +@@ -1733,8 +1733,6 @@ void TabStrip::NewTabButtonPressed(const const ui::MouseEvent& mouse = static_cast(event); if (mouse.IsOnlyMiddleMouseButton()) { @@ -22,7 +22,7 @@ ui::Clipboard* clipboard = ui::Clipboard::GetForCurrentThread(); CHECK(clipboard); std::u16string clipboard_text; -@@ -1856,7 +1854,6 @@ void TabStrip::NewTabButtonPressed(const +@@ -1742,7 +1740,6 @@ void TabStrip::NewTabButtonPressed(const /* data_dst = */ nullptr, &clipboard_text); if (!clipboard_text.empty()) controller_->CreateNewTabWithLocation(clipboard_text); diff --git a/patches/extra/ungoogled-chromium/keep-expired-flags.patch b/patches/extra/ungoogled-chromium/keep-expired-flags.patch index b6dbaad4..75d9176c 100644 --- a/patches/extra/ungoogled-chromium/keep-expired-flags.patch +++ b/patches/extra/ungoogled-chromium/keep-expired-flags.patch @@ -8,7 +8,7 @@ #include "components/flags_ui/feature_entry.h" #include "components/flags_ui/flags_storage.h" #include "components/flags_ui/flags_ui_switches.h" -@@ -555,14 +556,18 @@ void FlagsState::GetFlagFeatureEntries( +@@ -556,14 +557,18 @@ void FlagsState::GetFlagFeatureEntries( int current_platform = GetCurrentPlatform(); for (const FeatureEntry& entry : feature_entries_) { @@ -28,7 +28,7 @@ base::Value supported_platforms(base::Value::Type::LIST); AddOsStrings(entry.supported_platforms, &supported_platforms); -@@ -881,6 +886,7 @@ bool FlagsState::IsSupportedFeature(cons +@@ -882,6 +887,7 @@ bool FlagsState::IsSupportedFeature(cons if (!entry.InternalNameMatches(name)) continue; if (delegate_ && delegate_->ShouldExcludeFlag(storage, entry)) diff --git a/patches/extra/ungoogled-chromium/remove-uneeded-ui.patch b/patches/extra/ungoogled-chromium/remove-uneeded-ui.patch index debcd7c6..4e072083 100644 --- a/patches/extra/ungoogled-chromium/remove-uneeded-ui.patch +++ b/patches/extra/ungoogled-chromium/remove-uneeded-ui.patch @@ -96,7 +96,7 @@ - external> - - + @@ -176,7 +176,7 @@ padding-inline-start: 0; } -- +- + --- a/chrome/browser/resources/settings/settings_page/settings_subpage.html +++ b/chrome/browser/resources/settings/settings_page/settings_subpage.html -@@ -72,7 +72,7 @@ +@@ -80,7 +80,7 @@

[[pageTitle]]

@@ -243,7 +243,7 @@ Profile* profile = browser()->profile(); if (profile->IsOffTheRecord() || profile->IsGuestSession()) return gfx::ImageSkia(); -@@ -458,8 +459,7 @@ void ProfileMenuView::BuildIdentity() { +@@ -457,8 +458,7 @@ void ProfileMenuView::BuildIdentity() { menu_subtitle_); } else { menu_title_ = std::u16string(); @@ -255,7 +255,7 @@ ui::ImageModel::FromImage( --- a/chrome/browser/ui/views/sad_tab_view.cc +++ b/chrome/browser/ui/views/sad_tab_view.cc -@@ -549,13 +549,6 @@ SadTabView::SadTabView(content::WebConte +@@ -548,13 +548,6 @@ SadTabView::SadTabView(content::WebConte auto* actions_container = container->AddChildView(std::make_unique()); actions_container->SetCrossAxisAlignment(views::LayoutAlignment::kCenter); diff --git a/patches/series b/patches/series index f82e5cd6..1ee29676 100644 --- a/patches/series +++ b/patches/series @@ -4,7 +4,6 @@ core/inox-patchset/0005-disable-default-extensions.patch core/inox-patchset/0007-disable-web-resource-service.patch core/inox-patchset/0009-disable-google-ipv6-probes.patch core/inox-patchset/0015-disable-update-pings.patch -core/inox-patchset/0017-disable-new-avatar-menu.patch core/inox-patchset/0021-disable-rlz.patch core/debian/disable/unrar.patch core/iridium-browser/safe_browsing-disable-incident-reporting.patch diff --git a/pruning.list b/pruning.list index da2b9e8f..09b0e3b5 100644 --- a/pruning.list +++ b/pruning.list @@ -35,7 +35,7 @@ build/android/stacktrace/java_deobfuscate.jar build/android/tests/symbolize/liba.so build/android/tests/symbolize/libb.so build/gn_helpers.pyc -build/linux/sysroot_scripts/debian_archive_unstable.gpg +build/linux/sysroot_scripts/keyring.gpg build/util/android_chrome_version.pyc buildtools/linux64/gn buildtools/third_party/eu-strip/bin/eu-strip @@ -73,7 +73,7 @@ chrome/browser/resources/chromeos/accessibility/select_to_speak/earcons/null_sel chrome/browser/resources/media/mei_preload/preloaded_data.pb chrome/browser/ui/app_list/search/search_result_ranker/20190722_example_preprocessor_config.pb chrome/browser/ui/app_list/search/search_result_ranker/search_ranker_assets/20190923_example_preprocessor_config.pb -chrome/build/pgo_profiles/chrome-linux-4951-1651077107-f9a76c937b45f75c5f64d2b749a03e78e117d949.profdata +chrome/build/pgo_profiles/chrome-linux-5005-1652783756-51c73d0c010d6007ebdf3ca8150e9544cb705cc6.profdata chrome/chrome_cleaner/parsers/shortcut_parser/target/data/lnk_parser_fuzzer/Network Share Test.lnk chrome/chrome_cleaner/parsers/shortcut_parser/target/data/lnk_parser_fuzzer/New folder - Shortcut.lnk chrome/chrome_cleaner/parsers/shortcut_parser/target/data/lnk_parser_fuzzer/long_name.lnk @@ -95,7 +95,6 @@ chrome/updater/test/data/tag_extractor_corpus/tagged_magic_utf16.exe chrome/updater/test/data/tagged_encode_utf8.exe chrome/updater/test/data/tagged_magic_utf16.exe chromeos/test/data/smart_dim/20181115_example_preprocessor_config.pb -cloud_print/virtual_driver/win/install/inf/gcp_driver.inf components/cast_channel/fuzz_corpus/cast_message0 components/cast_channel/fuzz_corpus/cast_message1 components/cast_channel/fuzz_corpus/cast_message2 @@ -245,7 +244,6 @@ components/test/data/value_store/MANIFEST-000004 components/test/data/web_package/24_responses.wbn components/test/data/web_package/hello_b2.wbn components/test/data/web_package/hello_signed.wbn -components/test/data/web_package/hello_signed_b1.wbn components/test/data/web_package/simple_b2.wbn components/test/data/webp_transcode/test_small.tiff components/viz/test/data/render_pass_data/multi_surface_test/youtube_tab_focused/youtube_tab_focused.zip @@ -315,6 +313,9 @@ ios/chrome/browser/crash_report/seed_corpuses/process_snapshot_dump_2 ios/chrome/browser/crash_report/seed_corpuses/process_snapshot_dump_3 ios/chrome/browser/crash_report/seed_corpuses/process_snapshot_dump_4 ios/chrome/browser/ui/main/browser_view_wrangler.mm +ios/chrome/test/data/optimization_guide/additional_file_doesnt_exist.crx3 +ios/chrome/test/data/optimization_guide/additional_file_exists.crx3 +ios/chrome/test/data/optimization_guide/signed_valid_model.crx3 ios/chrome/test/data/sessions/corrupted.plist ios/chrome/test/data/sessions/session_m57.plist ios/chrome/test/data/sessions/session_m58.plist @@ -3724,6 +3725,7 @@ third_party/blink/renderer/platform/text_codec_fuzzer_seed_corpus/fe7afd1d477b94 third_party/blink/renderer/platform/text_codec_fuzzer_seed_corpus/fe8488887062749e9c47274436d3b4a3586c8585 third_party/blink/renderer/platform/text_codec_fuzzer_seed_corpus/ff4efc7e62cbf78e3bb877eee51602eb0d335a61 third_party/boringssl/src/crypto/fipsmodule/policydocs/BoringCrypto-Android-Security-Policy-20191020.docx +third_party/boringssl/src/crypto/fipsmodule/policydocs/BoringCrypto-Android-Security-Policy-20210319.docx third_party/boringssl/src/crypto/fipsmodule/policydocs/BoringCrypto-Security-Policy-20170615.docx third_party/boringssl/src/crypto/fipsmodule/policydocs/BoringCrypto-Security-Policy-20180730.docx third_party/boringssl/src/crypto/fipsmodule/policydocs/BoringCrypto-Security-Policy-20190808.docx @@ -8173,6 +8175,7 @@ third_party/breakpad/breakpad/src/tools/windows/dump_syms/testdata/omap_stretche third_party/breakpad/breakpad/src/tools/windows/dump_syms/testdata/omap_stretched_filled.pdb third_party/breakpad/breakpad/src/tools/windows/dump_syms/testdata/pe_only_symbol_test.dll third_party/breakpad/symupload.exe +third_party/catapult/catapult_build/bin/mac-arm64/protoc third_party/catapult/telemetry/telemetry/internal/testing/bear.webm third_party/catapult/telemetry/telemetry/internal/testing/jebgalgnebhfojomionfpkfelancnnkf.crx third_party/catapult/telemetry/telemetry/internal/testing/screen_3_frames.mov @@ -8339,8 +8342,13 @@ third_party/crashpad/crashpad/snapshot/elf/elf_image_reader_fuzzer_corpus/ret42 third_party/crashpad/crashpad/snapshot/ios/testdata/crash-1fa088dda0adb41459d063078a0f384a0bb8eefa third_party/crashpad/crashpad/snapshot/ios/testdata/crash-5726011582644224 third_party/crashpad/crashpad/util/net/testdata/binary_http_body.dat -third_party/dawn/third_party/tint/test/tint/bug/tint/804.spv -third_party/dawn/third_party/tint/test/tint/bug/tint/807.spv +third_party/dawn/test/tint/bug/tint/804.spv +third_party/dawn/test/tint/bug/tint/807.spv +third_party/dawn/third_party/webgpu-cts/deploy_key.enc +third_party/dawn/third_party/webgpu-cts/src/resources/red-green.bt601.vp9.webm +third_party/dawn/third_party/webgpu-cts/src/resources/red-green.mp4 +third_party/dawn/third_party/webgpu-cts/src/resources/red-green.theora.ogv +third_party/dawn/third_party/webgpu-cts/src/resources/red-green.webmvp8.webm third_party/depot_tools/download_from_google_storage.pyc third_party/depot_tools/external_bin/gsutil/gsutil_4.68/gsutil/__pycache__/gsutil.cpython-38.pyc third_party/depot_tools/external_bin/gsutil/gsutil_4.68/gsutil/gslib/__pycache__/__init__.cpython-38.pyc @@ -10931,6 +10939,7 @@ third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-hb-fuzzer-63 third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-hb-fuzzer-6696647723581440 third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-hb-shape-fuzzer-5072750494875648 third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-hb-shape-fuzzer-5097734906839040 +third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-hb-shape-fuzzer-5446125635633152 third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-hb-shape-fuzzer-5634395566768128 third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-hb-shape-fuzzer-5638729035677696 third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-hb-shape-fuzzer-5643643755429888 @@ -11047,6 +11056,7 @@ third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-shape-fuzzer-5158673602314240 third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-shape-fuzzer-5175735354916864 third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-shape-fuzzer-5196560812474368 +third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-shape-fuzzer-5349416110784512 third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-shape-fuzzer-5629524117553152 third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-shape-fuzzer-5630246225707008 third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-shape-fuzzer-5631444412530688 @@ -12290,9 +12300,9 @@ third_party/libjxl/src/third_party/testdata/imagecompression.info/flower_foveon. third_party/libjxl/src/third_party/testdata/jxl/blending/cropped_traffic_light.jxl third_party/libjxl/src/third_party/testdata/jxl/color_management/sRGB-D2700.icc third_party/libjxl/src/third_party/testdata/jxl/spline_on_first_frame.jxl +third_party/liblouis/src/tables/da-dk-g18.ctb third_party/liblouis/src/tables/fr-bfu-comp8.utb third_party/liblouis/src/tables/hr-chardefs.cti -third_party/liblouis/src/tables/hu-chardefs.cti third_party/liblouis/wasm/liblouis_wasm.data third_party/liblouis/wasm/liblouis_wasm.wasm third_party/libphonenumber/dist/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/1242_en @@ -14767,6 +14777,7 @@ third_party/llvm/llvm/test/Bitcode/Inputs/invalid-extractval-array-idx.bc third_party/llvm/llvm/test/Bitcode/Inputs/invalid-extractval-struct-idx.bc third_party/llvm/llvm/test/Bitcode/Inputs/invalid-extractval-too-many-idxs.bc third_party/llvm/llvm/test/Bitcode/Inputs/invalid-fcmp-opnum.bc +third_party/llvm/llvm/test/Bitcode/Inputs/invalid-forward-declare.bc third_party/llvm/llvm/test/Bitcode/Inputs/invalid-fp-shift.bc third_party/llvm/llvm/test/Bitcode/Inputs/invalid-function-argument-type.bc third_party/llvm/llvm/test/Bitcode/Inputs/invalid-function-comdat-id.bc @@ -14819,6 +14830,7 @@ third_party/llvm/llvm/test/Bitcode/aarch64-addp-upgrade.bc third_party/llvm/llvm/test/Bitcode/aarch64-bf16-upgrade.ll.bc third_party/llvm/llvm/test/Bitcode/aggregateInstructions.3.2.ll.bc third_party/llvm/llvm/test/Bitcode/arm-bf16-upgrade.ll.bc +third_party/llvm/llvm/test/Bitcode/arm-intrinsics.bc third_party/llvm/llvm/test/Bitcode/atomic-no-syncscope.ll.bc third_party/llvm/llvm/test/Bitcode/atomicrmw-upgrade.ll.bc third_party/llvm/llvm/test/Bitcode/attributes-3.3.ll.bc @@ -14851,6 +14863,7 @@ third_party/llvm/llvm/test/Bitcode/fortranSubrangeBackward.ll.bc third_party/llvm/llvm/test/Bitcode/function-local-metadata.3.5.ll.bc third_party/llvm/llvm/test/Bitcode/global-variables.3.2.ll.bc third_party/llvm/llvm/test/Bitcode/highLevelStructure.3.2.ll.bc +third_party/llvm/llvm/test/Bitcode/intrinsics-struct-upgrade.ll.bc third_party/llvm/llvm/test/Bitcode/invalid-functionptr-align.ll.bc third_party/llvm/llvm/test/Bitcode/invalid-record-strtab.ll.bc third_party/llvm/llvm/test/Bitcode/invalid-type-for-null-constant.ll.bc @@ -14869,6 +14882,7 @@ third_party/llvm/llvm/test/Bitcode/standardCIntrinsic.3.2.ll.bc third_party/llvm/llvm/test/Bitcode/stream-types.c.opt.bitstream third_party/llvm/llvm/test/Bitcode/terminatorInstructions.3.2.ll.bc third_party/llvm/llvm/test/Bitcode/thinlto-summary-local-5.0.ll.bc +third_party/llvm/llvm/test/Bitcode/upgrade-aarch64-ldstxr.bc third_party/llvm/llvm/test/Bitcode/upgrade-arc-runtime-calls-bitcast.bc third_party/llvm/llvm/test/Bitcode/upgrade-arc-runtime-calls-new.bc third_party/llvm/llvm/test/Bitcode/upgrade-arc-runtime-calls.bc @@ -15464,6 +15478,8 @@ third_party/llvm/llvm/test/tools/llvm-cov/gcov/Inputs/test_func_checksum_fail.gc third_party/llvm/llvm/test/tools/llvm-cov/gcov/Inputs/test_paths.gcda third_party/llvm/llvm/test/tools/llvm-cov/gcov/Inputs/test_paths.gcno third_party/llvm/llvm/test/tools/llvm-cov/gcov/Inputs/test_read_fail.gcno +third_party/llvm/llvm/test/tools/llvm-cov/gcov/Inputs/tmpl.gcda +third_party/llvm/llvm/test/tools/llvm-cov/gcov/Inputs/tmpl.gcno third_party/llvm/llvm/test/tools/llvm-cvtres/Inputs/combined.obj.coff third_party/llvm/llvm/test/tools/llvm-cvtres/Inputs/id.res third_party/llvm/llvm/test/tools/llvm-cvtres/Inputs/languages.res @@ -15757,6 +15773,9 @@ third_party/llvm/llvm/test/tools/llvm-profdata/Inputs/compat.profdata.v4 third_party/llvm/llvm/test/tools/llvm-profdata/Inputs/compressed.profraw third_party/llvm/llvm/test/tools/llvm-profdata/Inputs/function-entry-coverage.profdata third_party/llvm/llvm/test/tools/llvm-profdata/Inputs/gcc-sample-profile.gcov +third_party/llvm/llvm/test/tools/llvm-profdata/Inputs/inline.memprofexe +third_party/llvm/llvm/test/tools/llvm-profdata/Inputs/inline.memprofraw +third_party/llvm/llvm/test/tools/llvm-profdata/Inputs/memprof-inline.exe third_party/llvm/llvm/test/tools/llvm-profdata/Inputs/multi.memprofexe third_party/llvm/llvm/test/tools/llvm-profdata/Inputs/multi.memprofraw third_party/llvm/llvm/test/tools/llvm-profdata/Inputs/unknown.section.compressed.extbin.profdata @@ -15849,10 +15868,10 @@ third_party/llvm/llvm/test/tools/llvm-readobj/XCOFF/Inputs/needed-libs-32.o third_party/llvm/llvm/test/tools/llvm-readobj/XCOFF/Inputs/needed-libs-64.o third_party/llvm/llvm/test/tools/llvm-readobj/XCOFF/Inputs/needed-libs-empty.o third_party/llvm/llvm/test/tools/llvm-readobj/XCOFF/Inputs/reloc-overflow.o -third_party/llvm/llvm/test/tools/llvm-readobj/XCOFF/Inputs/xcoff-32-xlc-exec -third_party/llvm/llvm/test/tools/llvm-readobj/XCOFF/Inputs/xcoff-32-xlc-obj-malform.o -third_party/llvm/llvm/test/tools/llvm-readobj/XCOFF/Inputs/xcoff-32-xlc-obj.o -third_party/llvm/llvm/test/tools/llvm-readobj/XCOFF/Inputs/xcoff-64-xlc-exec +third_party/llvm/llvm/test/tools/llvm-readobj/XCOFF/Inputs/xlc32-exec +third_party/llvm/llvm/test/tools/llvm-readobj/XCOFF/Inputs/xlc32-obj-malform.o +third_party/llvm/llvm/test/tools/llvm-readobj/XCOFF/Inputs/xlc32-obj.o +third_party/llvm/llvm/test/tools/llvm-readobj/XCOFF/Inputs/xlc64-exec third_party/llvm/llvm/test/tools/llvm-readobj/wasm/Inputs/trivial.obj.wasm third_party/llvm/llvm/test/tools/llvm-symbolizer/Inputs/addr.exe third_party/llvm/llvm/test/tools/llvm-symbolizer/Inputs/coff-dwarf.exe @@ -16360,6 +16379,8 @@ third_party/skia/resources/sksl/errors/Ossfuzz44555.sksl third_party/skia/resources/sksl/errors/Ossfuzz44559.sksl third_party/skia/resources/sksl/errors/Ossfuzz44561.sksl third_party/skia/site/docs/dev/tools/calendar.mskp +third_party/skia/tests/sksl/errors/Ossfuzz44559.glsl +third_party/skia/tests/sksl/errors/Ossfuzz44561.glsl third_party/snappy/src/testdata/baddata1.snappy third_party/snappy/src/testdata/baddata2.snappy third_party/snappy/src/testdata/baddata3.snappy @@ -17050,151 +17071,6 @@ third_party/tflite_support/src/tensorflow_lite_support/metadata/python/tests/tes third_party/tflite_support/src/tensorflow_lite_support/metadata/python/tests/testdata/object_detector/coco_ssd_mobilenet_v1_1.0_quant_2018_06_29_score_calibration.tflite third_party/tflite_support/src/tensorflow_lite_support/metadata/python/tests/testdata/object_detector/efficientdet_lite0_v1.tflite third_party/tflite_support/src/tensorflow_lite_support/metadata/python/tests/testdata/object_detector/ssd_mobilenet_v1.tflite -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/addip-000000 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/addip-000001 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/addip-000002 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/addip-000003 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/addip-000004 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/addip-000005 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/addip-000006 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/addip-000007 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/addip-000008 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/addip-000009 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/addip-000010 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/addip-000011 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/asconf-001 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/asconf-002 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/asconf-ack-001 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/asconf-ack-002 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/asconf-ack-003 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/clusterfuzz-testcase-fuzzer_connect-4524087830118400 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/clusterfuzz-testcase-fuzzer_connect-4706780001861632 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/clusterfuzz-testcase-fuzzer_connect-4750230994812928 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/clusterfuzz-testcase-fuzzer_connect-4790592673153024 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/clusterfuzz-testcase-fuzzer_connect-4846769996562432 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/clusterfuzz-testcase-fuzzer_connect-5127495803469824 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/clusterfuzz-testcase-fuzzer_connect-5204536192401408 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/clusterfuzz-testcase-fuzzer_connect-5631536029499392 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/clusterfuzz-testcase-fuzzer_connect-5634380847906816 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/clusterfuzz-testcase-fuzzer_connect-5645105154752512 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/clusterfuzz-testcase-fuzzer_connect-5649242005176320 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/clusterfuzz-testcase-fuzzer_connect-5649768725872640 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/clusterfuzz-testcase-fuzzer_connect-5667542357245952 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/clusterfuzz-testcase-fuzzer_connect-5676652788449280 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/clusterfuzz-testcase-fuzzer_connect-5686965006761984 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/clusterfuzz-testcase-fuzzer_connect-5688015225094144 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/clusterfuzz-testcase-fuzzer_connect-5722044720742400 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/clusterfuzz-testcase-fuzzer_connect-5734997805236224 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/clusterfuzz-testcase-fuzzer_connect-5736809862004736 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/clusterfuzz-testcase-fuzzer_connect-5737686959915008 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/clusterfuzz-testcase-fuzzer_connect-5741506257747968 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/clusterfuzz-testcase-fuzzer_connect-5759310927233024 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/clusterfuzz-testcase-fuzzer_unconnected-5767885871382528 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/clusterfuzz-testcase-minimized-fuzzer_connect-4630702305050624 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/clusterfuzz-testcase-minimized-fuzzer_connect-4651341199966208 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/clusterfuzz-testcase-minimized-fuzzer_connect-4750230994812928 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/clusterfuzz-testcase-minimized-fuzzer_connect-4790592673153024 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/clusterfuzz-testcase-minimized-fuzzer_connect-5141658569277440 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/clusterfuzz-testcase-minimized-fuzzer_connect-5631709814456320 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/clusterfuzz-testcase-minimized-fuzzer_connect-5638658568224768 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/clusterfuzz-testcase-minimized-fuzzer_connect-5675883720867840 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/clusterfuzz-testcase-minimized-fuzzer_connect-5686965006761984 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/clusterfuzz-testcase-minimized-fuzzer_connect-5703269247352832 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/clusterfuzz-testcase-minimized-fuzzer_connect-5738321340006400 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/clusterfuzz-testcase-minimized-fuzzer_connect-5764087333519360 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/clusterfuzz-testcase-minimized-fuzzer_connect-5989617778819072.fuzz -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/clusterfuzz-testcase-minimized-fuzzer_unconnected-5639391992610816 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/crash-0a63175dc6b51474dc08197431ec36d11db5e77b -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/crash-27ffd53d682a7908bf7569e32d904f049066b5d6 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/data-1.bin -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/dummy-01 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/ecn-cwr-000001 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/ecn-echo-000001 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/forward-tsn-000001 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/heartbeat-ack-0001 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/heartbeat-ack-0002 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/init-ack-01 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/init-ack-1.bin -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/leak-00bd871f5ce0596083fe8642c803c97f424b0c70 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/leak-4e7e4f4a8318a1da7e35d9907d49e78d4a34dfc8 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/rtcweb-000000 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/rtcweb-000001 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/rtcweb-000002 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/rtcweb-000003 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/rtcweb-000004 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/rtcweb-000005 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/rtcweb-000005-dopped -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/rtcweb-000005-sack -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/rtcweb-000005-sack-express -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/rtcweb-000006 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/rtcweb-000007 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/rtcweb-000008 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/rtcweb-000009 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/rtcweb-000010 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/rtcweb-000011 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/rtcweb-000011-dropped -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/rtcweb-000012 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/rtcweb-000013 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/rtcweb-000014 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/rtcweb-000015 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/rtcweb-000015-dropped -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/rtcweb-000016 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/rtcweb-000017 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/rtcweb-000018 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/shutdown-000001 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/shutdown-1.bin -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/shutdown-ack-1.bin -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/shutdown-complete-1.bin -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/timeout-00b96dd43f1251438bb44daa0a5a24ae4df5bce5 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/tsctp-000000 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/tsctp-000000-dropped -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/tsctp-000001 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/tsctp-000002 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/tsctp-000003 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/tsctp-000004 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/tsctp-000005 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/tsctp-000006 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/tsctp-000007 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/tsctp-000008 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/tsctp-000009 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/tsctp-000010 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/tsctp-i-data-000000 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/tsctp-i-data-000001 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/tsctp-i-data-000002 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/tsctp-i-data-000003 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/tsctp-i-data-000004 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/tsctp-i-data-000005 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/tsctp-i-data-000006 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/tsctp-i-data-000007 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/tsctp-i-data-000008 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/tsctp-i-data-000009 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_CONNECT/tsctp-i-data-000010 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_FRAGMENT/fragment-data-0001 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_FRAGMENT/fragment-data-0002 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_FRAGMENT/fragment-data-0003 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_FRAGMENT/fragment-data-0004 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_FRAGMENT/fragment-data-0005 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_FRAGMENT/fragment-idata-0001 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_FRAGMENT/fragment-idata-0002 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_FRAGMENT/fragment-idata-0003 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_FRAGMENT/fragment-idata-0004 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_FRAGMENT/fragment-idata-0005 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_FRAGMENT/nrsackfile-001 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_FRAGMENT/nrsackfile-002 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_FRAGMENT/nrsackfile-003 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_FRAGMENT/nrsackfile-004 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_FRAGMENT/nrsackfile-005 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_FRAGMENT/nrsackfile-006 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_FRAGMENT/nrsackfile-007 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_FRAGMENT/nrsackfile-008 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_FRAGMENT/sackfile-001 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_FRAGMENT/sackfile-002 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_FRAGMENT/sackfile-003 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_FRAGMENT/sackfile-004 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_FRAGMENT/sackfile-005 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_FRAGMENT/sackfile-006 -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_LISTEN/crash-05a51aa145847f45c22aff604a670abba80063aa -third_party/usrsctp/usrsctplib/fuzzer/CORPUS_LISTEN/init-1.bin third_party/vulkan-deps/glslang/src/Test/badChars.frag third_party/vulkan-deps/glslang/src/Test/remap.invalid-spirv-1.spv third_party/vulkan-deps/glslang/src/Test/remap.invalid-spirv-2.spv @@ -17303,7 +17179,6 @@ third_party/vulkan-deps/vulkan-loader/src/tests/framework/data/binaries/dummy_li third_party/vulkan-deps/vulkan-loader/src/tests/framework/data/binaries/dummy_library_pe_64.so third_party/vulkan-deps/vulkan-loader/src/tests/framework/data/binaries/libdummy_library_elf_32.so third_party/vulkan-deps/vulkan-loader/src/tests/framework/data/binaries/libdummy_library_elf_64.so -third_party/vulkan-deps/vulkan-loader/src/tests/framework/framework_config.h.in third_party/vulkan-deps/vulkan-tools/src/external/x64/lib/vulkan-1.lib third_party/vulkan-deps/vulkan-tools/src/external/x86/lib/vulkan-1.lib third_party/vulkan-deps/vulkan-tools/src/vulkaninfo/iOS/vulkaninfo.xcodeproj/project.xcworkspace/xcuserdata/lunarg.xcuserdatad/UserInterfaceState.xcuserstate @@ -17725,6 +17600,7 @@ third_party/win_build_output/midl/third_party/iaccessible2/x64/ia2_api_all.tlb third_party/win_build_output/midl/third_party/iaccessible2/x86/ia2_api_all.tlb third_party/zlib/google/test/data/Different Encryptions.zip third_party/zlib/google/test/data/Empty Dir Same Name As File.zip +third_party/zlib/google/test/data/Mixed Paths.zip third_party/zlib/google/test/data/Parent Dir Same Name As File.zip third_party/zlib/google/test/data/Repeated Dir Name.zip third_party/zlib/google/test/data/Repeated File Name With Different Cases.zip