From 352a8844b01a05a786ba76da599d106487f1533f Mon Sep 17 00:00:00 2001 From: Blaise Date: Fri, 18 Nov 2022 15:48:48 -0600 Subject: [PATCH] Update to Chromium 108.0.5359.71 --- chromium_version.txt | 2 +- domain_substitution.list | 332 +++++++--------- patches/core/debian/disable/unrar.patch | 11 +- ...01-fix-building-without-safebrowsing.patch | 52 +-- .../0009-disable-google-ipv6-probes.patch | 4 +- .../core/inox-patchset/0021-disable-rlz.patch | 7 +- ...refixes-to-possibly-evil-connections.patch | 12 +- .../block-trk-and-subdomains.patch | 12 +- .../disable-crash-reporter.patch | 54 ++- .../disable-fonts-googleapis-references.patch | 2 +- .../ungoogled-chromium/disable-gaia.patch | 7 +- .../core/ungoogled-chromium/disable-gcm.patch | 6 +- .../disable-google-host-detection.patch | 11 +- .../disable-mei-preload.patch | 4 +- .../disable-network-time-tracker.patch | 2 +- .../disable-privacy-sandbox.patch | 24 +- .../ungoogled-chromium/disable-signin.patch | 2 +- .../core/ungoogled-chromium/doh-changes.patch | 54 +-- .../fix-building-without-safebrowsing.patch | 367 +++++++++++------- .../remove-unused-preferences-fields.patch | 238 ++++++------ ...e-google-search-engine-with-nosearch.patch | 3 +- .../toggle-translation-via-switch.patch | 31 +- ...g-flags-client-rects-and-measuretext.patch | 30 +- ...ngerprinting-canvas-image-data-noise.patch | 8 +- .../flag-max-connections-per-host.patch | 8 +- .../extra/debian/disable/welcome-page.patch | 2 +- .../0006-modify-default-prefs.patch | 6 +- .../0008-restore-classic-ntp.patch | 31 +- .../0018-disable-first-run-behaviour.patch | 2 +- .../Remove-EV-certificates.patch | 4 +- ...ble-profile-auto-import-on-first-run.patch | 13 +- .../updater-disable-auto-update.patch | 2 +- .../add-flag-for-close-confirmation.patch | 10 +- .../add-flag-for-custom-ntp.patch | 2 +- .../add-flag-for-disabling-link-drag.patch | 16 +- ...g-for-omnibox-autocomplete-filtering.patch | 4 +- .../add-flag-for-qr-generator.patch | 20 +- ...dd-flag-for-search-engine-collection.patch | 20 +- .../add-flag-for-tab-hover-cards.patch | 6 +- .../add-flag-for-tabsearch-button.patch | 2 +- .../add-flag-to-clear-data-on-exit.patch | 14 +- ...d-flag-to-close-window-with-last-tab.patch | 4 +- ...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-extensions-menu.patch | 6 +- .../add-flag-to-hide-side-panel-button.patch | 2 +- .../add-flag-to-hide-tab-close-buttons.patch | 4 +- .../add-flag-to-show-avatar-button.patch | 6 +- .../add-ipv6-probing-option.patch | 16 +- .../add-ungoogled-flag-headers.patch | 2 +- .../disable-remote-optimization-guide.patch | 14 +- .../disable-webgl-renderer-info.patch | 4 +- ...ble-default-prefetch-privacy-changes.patch | 10 +- .../enable-menu-on-reload-button.patch | 2 +- .../enable-paste-and-go-new-tab-button.patch | 4 +- ...e-disable-setuid-sandbox-as-bad-flag.patch | 2 +- .../remove-uneeded-ui.patch | 6 +- pruning.list | 76 ++-- 59 files changed, 864 insertions(+), 737 deletions(-) diff --git a/chromium_version.txt b/chromium_version.txt index f70260f8..1f5a0bcf 100644 --- a/chromium_version.txt +++ b/chromium_version.txt @@ -1 +1 @@ -107.0.5304.122 +108.0.5359.71 diff --git a/domain_substitution.list b/domain_substitution.list index ec6ae5b3..71e8306d 100644 --- a/domain_substitution.list +++ b/domain_substitution.list @@ -24,6 +24,7 @@ android_webview/test/data/components/fake_component_update_response.json android_webview/tools/cts_config/webview_cts_gcs_path.json android_webview/tools/record_netlog.py android_webview/tools/remove_preinstalled_webview.py +android_webview/tools/system_webview_shell/lint-suppressions.xml android_webview/tools/update_cts.py ash/accelerators/accelerator_notifications.cc ash/ambient/ambient_controller_unittest.cc @@ -44,16 +45,8 @@ ash/child_accounts/parent_access_controller_impl_unittest.cc ash/components/arc/arc_util.h ash/components/arc/session/arc_upgrade_params.h ash/components/arc/session/serial_number_util_unittest.cc -ash/components/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 ash/controls/contextual_nudge.cc @@ -85,16 +78,11 @@ ash/services/device_sync/remote_device_provider_impl_unittest.cc ash/services/device_sync/remote_device_v2_loader_impl_unittest.cc ash/services/device_sync/switches.cc ash/services/ime/constants.cc -ash/services/quick_pair/fast_pair_data_parser.cc -ash/services/quick_pair/fast_pair_decryption.cc -ash/services/quick_pair/public/cpp/account_key_filter.cc -ash/services/quick_pair/public/cpp/account_key_filter.h -ash/services/quick_pair/public/cpp/battery_notification.h -ash/services/quick_pair/public/cpp/not_discoverable_advertisement.h ash/session/fullscreen_controller_unittest.cc ash/shelf/launcher_nudge_controller_unittest.cc ash/shelf/scrollable_shelf_view_pixeltest.cc ash/shelf/shelf_controller_unittest.cc +ash/shelf/shelf_layout_manager_unittest.cc ash/style/dark_light_mode_nudge_controller_unittests.cc ash/system/diagnostics/diagnostics_log_controller_unittest.cc ash/system/eche/eche_tray.cc @@ -107,6 +95,8 @@ ash/system/pcie_peripheral/pcie_peripheral_notification_controller_unittest.cc ash/system/phonehub/phone_hub_tray_unittest.cc ash/system/phonehub/phone_hub_ui_controller_unittest.cc ash/system/power/power_event_observer_unittest.cc +ash/system/status_area_widget_unittest.cc +ash/system/unified/quick_settings_header_unittest.cc ash/system/unified/user_chooser_detailed_view_controller_unittest.cc ash/system/usb_peripheral/usb_peripheral_notification_controller.cc ash/wallpaper/test_wallpaper_controller_client.cc @@ -127,10 +117,12 @@ ash/webui/camera_app_ui/resources/strings/camera_strings.grd ash/webui/common/resources/PRESUBMIT.py ash/webui/common/resources/cr_picture/png.js ash/webui/common/resources/keyboard_layouts.js +ash/webui/common/resources/quick_unlock/pin_keyboard_icons.html +ash/webui/diagnostics_ui/backend/input_data_provider_keyboard_unittest.cc ash/webui/diagnostics_ui/diagnostics_ui.cc ash/webui/diagnostics_ui/resources/PRESUBMIT.py -ash/webui/diagnostics_ui/resources/network_card.js -ash/webui/diagnostics_ui/resources/routine_section.js +ash/webui/diagnostics_ui/resources/network_card.ts +ash/webui/diagnostics_ui/resources/routine_section.ts ash/webui/eche_app_ui/eche_alert_generator.cc ash/webui/eche_app_ui/eche_tray_stream_status_observer_unittest.cc ash/webui/firmware_update_ui/resources/PRESUBMIT.py @@ -192,20 +184,18 @@ base/android/resource_exclusions.gni base/atomicops.h base/barrier_callback.h base/base_paths_win.cc -base/callback.h base/command_line.cc -base/compiler_specific.h base/debug/debugger_posix.cc base/debug/stack_trace_fuchsia.cc base/debug/stack_trace_posix.cc base/debug/stack_trace_win.cc -base/feature_list.h base/file_version_info.h base/files/file_enumerator_posix.cc base/files/file_unittest.cc base/files/file_util_posix.cc base/files/file_util_win.cc base/files/file_win.cc +base/functional/callback.h base/hash/hash.cc base/i18n/break_iterator_unittest.cc base/i18n/file_util_icu.cc @@ -219,7 +209,6 @@ base/mac/close_nocancel.cc base/memory/aligned_memory.cc base/memory/discardable_shared_memory.cc base/memory/raw_ptr.cc -base/memory/raw_ptr.h base/memory/raw_ptr_asan_service.cc base/memory/scoped_refptr.h base/memory/shared_memory_mapping_unittest.cc @@ -238,6 +227,8 @@ base/process/process_info.h base/process/process_metrics.h base/process/process_metrics_unittest.cc base/profiler/chrome_unwind_info_android.h +base/profiler/libunwindstack_unwinder_android.cc +base/profiler/libunwindstack_unwinder_android_unittest.cc base/profiler/metadata_recorder.h base/rand_util_win.cc base/strings/pattern_unittest.cc @@ -245,7 +236,9 @@ base/strings/string_number_conversions_unittest.cc base/synchronization/lock.h base/system/sys_info.h base/task/sequence_manager/sequence_manager_impl.cc +base/task/sequenced_task_runner.h base/task/single_thread_task_executor_unittest.cc +base/task/single_thread_task_runner.h base/task/task_traits.h base/task/thread_pool/thread_group_native_win.h base/test/gtest_links_unittest.cc @@ -421,7 +414,6 @@ chrome/app/profiles_strings.grdp chrome/app/resources/locale_settings.grd chrome/app/settings_strings.grdp chrome/app/shared_settings_strings.grdp -chrome/app/supervised_user_error_page_strings.grdp chrome/app/theme/PRESUBMIT.py chrome/app/welcome_strings.grdp chrome/browser/about_flags.cc @@ -437,10 +429,8 @@ chrome/browser/android/explore_sites/explore_sites_fetcher_unittest.cc chrome/browser/android/explore_sites/get_catalog_task_unittest.cc chrome/browser/android/explore_sites/history_statistics_reporter_unittest.cc chrome/browser/android/explore_sites/import_catalog_task_unittest.cc -chrome/browser/android/explore_sites/ntp_json_fetcher_unittest.cc chrome/browser/android/explore_sites/record_site_click_task_unittest.cc chrome/browser/android/explore_sites/url_util.cc -chrome/browser/android/explore_sites/url_util_experimental.cc chrome/browser/android/history/history_deletion_bridge_unittest.cc chrome/browser/android/history_report/delta_file_commons_unittest.cc chrome/browser/android/search_permissions/search_permissions_service.h @@ -495,6 +485,7 @@ chrome/browser/ash/arc/extensions/arc_support_message_host.cc chrome/browser/ash/arc/file_system_watcher/file_system_scanner.h chrome/browser/ash/arc/input_overlay/ui/input_menu_view.cc chrome/browser/ash/arc/instance_throttle/arc_kiosk_mode_throttle_observer_unittest.cc +chrome/browser/ash/arc/policy/arc_android_management_checker_unittest.cc chrome/browser/ash/arc/policy/arc_policy_bridge_unittest.cc chrome/browser/ash/arc/policy/arc_policy_util.h chrome/browser/ash/arc/session/arc_play_store_enabled_preference_handler_unittest.cc @@ -534,6 +525,7 @@ chrome/browser/ash/enhanced_network_tts/enhanced_network_tts_constants.h chrome/browser/ash/enhanced_network_tts/enhanced_network_tts_test_utils.h chrome/browser/ash/enhanced_network_tts/enhanced_network_tts_utils.cc chrome/browser/ash/file_manager/file_browser_handlers.h +chrome/browser/ash/file_manager/file_manager_browsertest.cc chrome/browser/ash/file_manager/file_manager_string_util.cc chrome/browser/ash/file_manager/file_tasks.h chrome/browser/ash/file_manager/open_with_browser.cc @@ -553,7 +545,6 @@ chrome/browser/ash/login/app_mode/test/kiosk_launch_controller_browsertest.cc chrome/browser/ash/login/ash_hud_login_browsertest.cc chrome/browser/ash/login/device_family_link_allowed_policy_browsertest.cc chrome/browser/ash/login/easy_unlock/easy_unlock_key_names.cc -chrome/browser/ash/login/easy_unlock/smartlock_state_handler_unittest.cc chrome/browser/ash/login/encryption_migration_browsertest.cc chrome/browser/ash/login/existing_user_controller_browsertest.cc chrome/browser/ash/login/gaia_reauth_token_fetcher.cc @@ -569,7 +560,6 @@ chrome/browser/ash/login/oobe_quick_start/connectivity/target_fido_controller.cc chrome/browser/ash/login/oobe_quick_start/connectivity/target_fido_controller_unittest.cc chrome/browser/ash/login/password_change_browsertest.cc chrome/browser/ash/login/profile_auth_data_unittest.cc -chrome/browser/ash/login/quick_unlock/pin_migration_browsertest.cc chrome/browser/ash/login/reset_browsertest.cc chrome/browser/ash/login/saml/password_sync_token_fetcher.cc chrome/browser/ash/login/saml/saml_browsertest.cc @@ -709,6 +699,8 @@ chrome/browser/chrome_main_process_singleton_browsertest.cc chrome/browser/chrome_navigation_browsertest.cc chrome/browser/chrome_web_platform_security_metrics_browsertest.cc chrome/browser/chromeos/arc/arc_external_protocol_dialog_unittest.cc +chrome/browser/chromeos/extensions/desk_api/desk_api_extension_manager.cc +chrome/browser/chromeos/extensions/desk_api/desk_api_extension_manager.h chrome/browser/chromeos/extensions/file_manager/file_manager_private_apitest.cc chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc chrome/browser/chromeos/extensions/file_manager/system_notification_manager_unittest.cc @@ -736,6 +728,7 @@ chrome/browser/devtools/devtools_browsertest.cc chrome/browser/devtools/devtools_ui_bindings_unittest.cc chrome/browser/devtools/url_constants.cc chrome/browser/dips/cookie_access_filter_unittest.cc +chrome/browser/dips/dips_database_unittest.cc chrome/browser/dips/dips_storage_unittest.cc chrome/browser/download/chrome_download_manager_delegate_unittest.cc chrome/browser/download/download_browsertest.cc @@ -813,6 +806,7 @@ chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platfo chrome/browser/extensions/api/enterprise_reporting_private/enterprise_reporting_private_apitest.cc chrome/browser/extensions/api/enterprise_reporting_private/enterprise_reporting_private_unittest.cc chrome/browser/extensions/api/extension_action/browser_action_interactive_test.cc +chrome/browser/extensions/api/extension_action/extension_action_apitest.cc chrome/browser/extensions/api/feedback_private/feedback_browsertest.cc chrome/browser/extensions/api/identity/identity_apitest.cc chrome/browser/extensions/api/identity/identity_launch_web_auth_flow_function.cc @@ -949,7 +943,6 @@ chrome/browser/media/media_engagement_preloaded_list_unittest.cc chrome/browser/media/media_engagement_score_unittest.cc chrome/browser/media/media_engagement_service_unittest.cc chrome/browser/media/media_engagement_session_unittest.cc -chrome/browser/media/protected_media_identifier_permission_context.cc chrome/browser/media/router/BUILD.gn chrome/browser/media/router/discovery/access_code/access_code_cast_constants.cc chrome/browser/media/router/discovery/access_code/access_code_cast_discovery_interface_unittest.cc @@ -1028,6 +1021,7 @@ chrome/browser/obsolete_system/obsolete_system_linux.cc chrome/browser/optimization_guide/chrome_hints_manager_unittest.cc chrome/browser/optimization_guide/hints_fetcher_browsertest.cc chrome/browser/optimization_guide/page_content_annotations_service_browsertest.cc +chrome/browser/origin_trials/origin_trials_browsertest.cc chrome/browser/page_load_metrics/observers/core/amp_page_load_metrics_observer.h chrome/browser/page_load_metrics/observers/core/amp_page_load_metrics_observer_unittest.cc chrome/browser/page_load_metrics/observers/core/ukm_page_load_metrics_observer_unittest.cc @@ -1063,14 +1057,10 @@ chrome/browser/payments/payment_handler_just_in_time_installation_browsertest.cc chrome/browser/payments/payment_request_app_store_billing_browsertest.cc chrome/browser/payments/service_worker_payment_app_finder_browsertest.cc chrome/browser/pdf/pdf_extension_test.cc -chrome/browser/performance_hints/performance_hints_features.cc -chrome/browser/performance_hints/performance_hints_observer_browsertest.cc -chrome/browser/performance_hints/performance_hints_observer_unittest.cc -chrome/browser/performance_hints/rewrite_handler.h -chrome/browser/performance_hints/rewrite_handler_unittest.cc chrome/browser/performance_manager/policies/page_discarding_helper_unittest.cc chrome/browser/permissions/chrome_permission_manager_unittest.cc chrome/browser/permissions/chrome_permission_request_manager_unittest.cc +chrome/browser/permissions/notification_permission_review_service_unittest.cc chrome/browser/permissions/notifications_engagement_service_unittest.cc chrome/browser/permissions/permission_context_base_permissions_policy_unittest.cc chrome/browser/permissions/permissions_security_model_interactive_uitest.cc @@ -1213,7 +1203,6 @@ 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/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 chrome/browser/resources/cryptotoken/asn1.js chrome/browser/resources/cryptotoken/cryptotokenapprovedorigins.js @@ -1245,6 +1234,7 @@ chrome/browser/resources/net_internals/index.html chrome/browser/resources/network_speech_synthesis/manifest.json chrome/browser/resources/network_speech_synthesis/tts_extension.js chrome/browser/resources/new_tab_page/doodle_share_dialog.ts +chrome/browser/resources/new_tab_page/lens_form.ts chrome/browser/resources/new_tab_page/modules/drive/module.ts chrome/browser/resources/new_tab_page/modules/drive_v2/module.ts chrome/browser/resources/new_tab_page/modules/photos/module.html @@ -1260,9 +1250,8 @@ chrome/browser/resources/settings/about_page/about_page.html chrome/browser/resources/settings/appearance_page/appearance_page.ts chrome/browser/resources/settings/autofill_page/passwords_import_dialog.ts chrome/browser/resources/settings/autofill_page/passwords_list_handler.ts -chrome/browser/resources/settings/chromeos/bluetooth_page/bluetooth_device_list_item.js chrome/browser/resources/settings/chromeos/crostini_page/crostini_disk_resize_dialog.html -chrome/browser/resources/settings/chromeos/device_page/stylus.js +chrome/browser/resources/settings/chromeos/device_page/stylus.ts chrome/browser/resources/settings/chromeos/os_a11y_page/keyboard_and_text_input_page.js chrome/browser/resources/settings/chromeos/os_a11y_page/manage_a11y_page.js chrome/browser/resources/settings/chromeos/os_a11y_page/os_a11y_page.js @@ -1270,6 +1259,7 @@ chrome/browser/resources/settings/chromeos/os_about_page/channel_switcher_dialog chrome/browser/resources/settings/chromeos/os_about_page/os_about_page.html chrome/browser/resources/settings/chromeos/os_apps_page/app_management_page/borealis_page/borealis_detail_view.html chrome/browser/resources/settings/chromeos/os_icons.html +chrome/browser/resources/settings/chromeos/os_languages_page/input_method_util.js chrome/browser/resources/settings/chromeos/os_people_page/account_manager.js chrome/browser/resources/settings/chromeos/os_people_page/os_people_page.js chrome/browser/resources/settings/chromeos/os_people_page/users_add_user_dialog.js @@ -1280,7 +1270,8 @@ chrome/browser/resources/settings/settings_shared.css chrome/browser/resources/tools/build_webui.gni chrome/browser/resources/usb_internals/descriptor_panel.ts chrome/browser/resources/webstore_app/manifest.json -chrome/browser/resources/webui_gallery/demos/cr_input/cr_input_demo_component.html +chrome/browser/resources/webui_gallery/demos/card/card_demo.ts +chrome/browser/resources/webui_gallery/demos/cr_input/cr_input_demo.html chrome/browser/safe_browsing/certificate_reporting_service.cc chrome/browser/safe_browsing/chrome_cleaner/reporter_runner_win.cc chrome/browser/safe_browsing/chrome_cleaner/reporter_runner_win_unittest.cc @@ -1302,6 +1293,7 @@ chrome/browser/safe_browsing/download_protection/download_protection_service_uni chrome/browser/safe_browsing/download_protection/ppapi_download_request.cc chrome/browser/safe_browsing/download_protection/two_phase_uploader.h chrome/browser/safe_browsing/extension_telemetry/extension_telemetry_uploader.cc +chrome/browser/safe_browsing/extension_telemetry/potential_password_theft_signal_processor_unittest.cc chrome/browser/safe_browsing/extension_telemetry/remote_host_contacted_signal_processor_unittest.cc chrome/browser/safe_browsing/incident_reporting/extension_data_collection_unittest.cc chrome/browser/safe_browsing/incident_reporting/incident_report_uploader_impl.cc @@ -1320,7 +1312,6 @@ chrome/browser/search_engines/template_url_parser_unittest.cc chrome/browser/search_engines/template_url_service_sync_unittest.cc 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/serial/chrome_serial_browsertest.cc chrome/browser/serial/serial_chooser_context_unittest.cc @@ -1372,6 +1363,8 @@ 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 chrome/browser/supervised_user/kids_chrome_management/kids_external_fetcher.cc +chrome/browser/supervised_user/kids_chrome_management/kids_external_fetcher.h +chrome/browser/supervised_user/kids_chrome_management/kids_external_fetcher_unittest.cc chrome/browser/supervised_user/kids_management_url_checker_client_unittest.cc chrome/browser/supervised_user/supervised_user_error_page/resources/supervised_user_block_interstitial.html chrome/browser/supervised_user/supervised_user_error_page/resources/supervised_user_block_interstitial_v2.html @@ -1448,6 +1441,7 @@ chrome/browser/ui/ash/calendar/calendar_keyed_service.cc chrome/browser/ui/ash/chrome_shell_delegate.cc chrome/browser/ui/ash/desks/desks_client_browsertest.cc chrome/browser/ui/ash/in_session_auth_dialog_client.cc +chrome/browser/ui/ash/network/network_portal_signin_controller_unittest.cc chrome/browser/ui/ash/projector/pending_screencast_manager.cc chrome/browser/ui/ash/projector/pending_screencast_manager_browsertest.cc chrome/browser/ui/ash/projector/projector_navigation_throttle_browsertest.cc @@ -1530,6 +1524,7 @@ chrome/browser/ui/tabs/pinned_tab_service_unittest.cc chrome/browser/ui/tabs/tab_strip_model_unittest.cc chrome/browser/ui/toolbar/location_bar_model_unittest.cc chrome/browser/ui/toolbar/media_router_contextual_menu.cc +chrome/browser/ui/views/accelerator_table.cc chrome/browser/ui/views/apps/app_dialog/app_uninstall_dialog_view.cc chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views_unittest.cc chrome/browser/ui/views/autofill/autofill_popup_view_native_views_unittest.cc @@ -1544,6 +1539,7 @@ chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc chrome/browser/ui/views/bookmarks/bookmark_menu_delegate_unittest.cc chrome/browser/ui/views/commerce/price_tracking_bubble_dialog_view_unittest.cc chrome/browser/ui/views/commerce/price_tracking_icon_view_integration_test.cc +chrome/browser/ui/views/commerce/price_tracking_icon_view_interactive_uitest.cc chrome/browser/ui/views/extensions/extension_install_dialog_view_browsertest.cc chrome/browser/ui/views/extensions/extension_uninstall_dialog_view_browsertest.cc chrome/browser/ui/views/file_system_access/file_system_access_permission_view_browsertest.cc @@ -1555,6 +1551,8 @@ chrome/browser/ui/views/hats/hats_next_web_dialog.cc chrome/browser/ui/views/intent_picker_bubble_view_browsertest_chromeos.cc chrome/browser/ui/views/intent_picker_bubble_view_unittest.cc chrome/browser/ui/views/lens/lens_side_panel_controller.cc +chrome/browser/ui/views/lens/lens_side_panel_navigation_helper.cc +chrome/browser/ui/views/lens/lens_side_panel_navigation_helper_unittest.cc chrome/browser/ui/views/lens/lens_side_panel_view.cc chrome/browser/ui/views/location_bar/selected_keyword_view.h chrome/browser/ui/views/network_profile_bubble_view.cc @@ -1565,6 +1563,7 @@ chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc chrome/browser/ui/views/omnibox/omnibox_view_views_unittest.cc chrome/browser/ui/views/page_info/about_this_site_side_panel_view.cc chrome/browser/ui/views/page_info/page_info_bubble_view_browsertest.cc +chrome/browser/ui/views/page_info/page_info_bubble_view_dialog_browsertest.cc chrome/browser/ui/views/page_info/page_info_bubble_view_sync_browsertest.cc chrome/browser/ui/views/page_info/safety_tip_page_info_bubble_view_browsertest.cc chrome/browser/ui/views/passwords/password_bubble_browsertest.cc @@ -1584,20 +1583,23 @@ chrome/browser/ui/views/sharing/sharing_dialog_view_unittest.cc chrome/browser/ui/views/sharing_hub/sharing_hub_bubble_view_impl_unittest.cc chrome/browser/ui/views/side_panel/lens/lens_unified_side_panel_view.cc chrome/browser/ui/views/sync/inline_login_ui_browsertest.cc -chrome/browser/ui/views/tabs/tab_hover_card_bubble_view_browsertest.cc +chrome/browser/ui/views/tabs/tab_hover_card_controller_interactive_uitest.cc chrome/browser/ui/views/translate/translate_bubble_view_interactive_uitest.cc chrome/browser/ui/views/user_education/browser_feature_promo_controller.cc chrome/browser/ui/views/web_apps/frame_toolbar/web_app_frame_toolbar_browsertest.cc chrome/browser/ui/views/webid/fedcm_account_selection_view_desktop_browsertest.cc +chrome/browser/ui/web_applications/diagnostics/web_app_icon_health_checks_browsertest.cc chrome/browser/ui/web_applications/web_app_browsertest.cc chrome/browser/ui/web_applications/web_app_navigate_browsertest.cc chrome/browser/ui/webui/PRESUBMIT.py +chrome/browser/ui/webui/access_code_cast/access_code_cast_handler_unittest.cc chrome/browser/ui/webui/app_management/app_management_page_handler.cc chrome/browser/ui/webui/ash/add_supervision/add_supervision_ui.cc chrome/browser/ui/webui/ash/add_supervision/add_supervision_ui_browsertest.cc +chrome/browser/ui/webui/ash/cloud_upload/drive_upload_handler.cc +chrome/browser/ui/webui/ash/cloud_upload/drive_upload_handler_browsertest.cc chrome/browser/ui/webui/autofill_and_password_manager_internals/internals_ui_handler.cc chrome/browser/ui/webui/bookmarks/bookmarks_browsertest.cc -chrome/browser/ui/webui/chromeos/cloud_upload/drive_upload_handler.cc chrome/browser/ui/webui/chromeos/edu_account_login_handler_unittest.cc chrome/browser/ui/webui/chromeos/edu_coexistence/edu_coexistence_login_handler_chromeos.cc chrome/browser/ui/webui/chromeos/login/consolidated_consent_screen_handler.h @@ -1635,7 +1637,6 @@ chrome/browser/ui/webui/settings/people_handler_unittest.cc chrome/browser/ui/webui/settings/profile_info_handler_unittest.cc chrome/browser/ui/webui/settings/reset_settings_handler.cc chrome/browser/ui/webui/settings/safety_check_handler_unittest.cc -chrome/browser/ui/webui/settings/settings_cookies_view_handler.cc chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc chrome/browser/ui/webui/settings/settings_manage_profile_handler_unittest.cc chrome/browser/ui/webui/settings/settings_utils_unittest.cc @@ -1671,7 +1672,8 @@ chrome/browser/usb/web_usb_detector_unittest.cc chrome/browser/user_notes/user_note_service_delegate_impl_unittest.cc chrome/browser/user_notes/user_notes_tab_helper_unittest.cc chrome/browser/vr/PRESUBMIT.py -chrome/browser/web_applications/commands/web_app_install_command.cc +chrome/browser/web_applications/chromeos_web_app_experiments_browsertest.cc +chrome/browser/web_applications/commands/fetch_manifest_and_install_command.cc chrome/browser/web_applications/extensions/bookmark_app_util_unittest.cc chrome/browser/web_applications/externally_installed_web_app_prefs.cc chrome/browser/web_applications/externally_managed_app_manager.cc @@ -2047,16 +2049,30 @@ chromeos/ash/components/geolocation/simple_geolocation_provider.cc chromeos/ash/components/local_search_service/content_extraction_utils_unittest.cc chromeos/ash/components/login/auth/recovery/service_constants.cc chromeos/ash/components/login/hibernate/hibernate_manager_unittest.cc +chromeos/ash/components/multidevice/remote_device_test_util.cc +chromeos/ash/components/multidevice/stub_multidevice_util.cc chromeos/ash/components/network/geolocation_handler.cc chromeos/ash/components/network/network_cert_loader.cc chromeos/ash/components/network/network_util.h chromeos/ash/components/network/profile_policies.h chromeos/ash/components/network/system_token_cert_db_storage.h +chromeos/ash/components/proximity_auth/proximity_auth_local_state_pref_manager_unittest.cc +chromeos/ash/components/proximity_auth/proximity_auth_system_unittest.cc +chromeos/ash/components/proximity_auth/proximity_monitor_impl_unittest.cc chromeos/ash/components/string_matching/tokenized_string_unittest.cc +chromeos/ash/components/timezone/timezone_request.cc +chromeos/ash/components/tpm/tpm_token_info_getter_unittest.cc +chromeos/ash/components/trial_group/trial_group_checker.cc chromeos/ash/services/assistant/assistant_manager_service_impl.cc chromeos/ash/services/assistant/service.cc chromeos/ash/services/assistant/service_unittest.cc chromeos/ash/services/libassistant/public/cpp/assistant_suggestion.h +chromeos/ash/services/quick_pair/fast_pair_data_parser.cc +chromeos/ash/services/quick_pair/fast_pair_decryption.cc +chromeos/ash/services/quick_pair/public/cpp/account_key_filter.cc +chromeos/ash/services/quick_pair/public/cpp/account_key_filter.h +chromeos/ash/services/quick_pair/public/cpp/battery_notification.h +chromeos/ash/services/quick_pair/public/cpp/not_discoverable_advertisement.h chromeos/chromeos_strings.grd chromeos/components/quick_answers/translation_result_loader.cc chromeos/components/quick_answers/translation_result_loader_unittest.cc @@ -2132,6 +2148,7 @@ components/autofill/core/browser/ui/contact_form_label_formatter_unittest.cc components/autofill/core/browser/ui/label_formatter_utils_unittest.cc components/autofill/core/browser/ui/mobile_label_formatter_unittest.cc components/autofill/core/browser/webdata/autofill_profile_sync_bridge.h +components/autofill/core/browser/webdata/autofill_wallet_usage_data_sync_bridge_unittest.cc components/autofill_assistant/android/internal/java/strings/android_chrome_autofill_assistant_strings.grd components/autofill_assistant/browser/actions/collect_user_data_action_unittest.cc components/autofill_assistant/browser/actions/show_details_action_unittest.cc @@ -2157,6 +2174,7 @@ components/autofill_assistant/browser/service/cup_impl.h components/autofill_assistant/browser/service/server_url_fetcher.cc components/autofill_assistant/browser/service/server_url_fetcher_unittest.cc components/autofill_assistant/browser/starter_heuristic_configs/launched_configs.cc +components/autofill_assistant/browser/starter_heuristic_unittest.cc components/autofill_assistant/browser/starter_unittest.cc components/autofill_assistant/browser/trigger_scripts/trigger_script_coordinator_unittest.cc components/autofill_assistant/browser/ui_controller_unittest.cc @@ -2190,9 +2208,6 @@ components/browsing_data_strings.grdp components/captive_portal/content/captive_portal_service.h components/captive_portal/content/captive_portal_tab_helper.h components/captive_portal/core/captive_portal_detector.cc -components/cast_certificate/net_trust_store.cc -components/cast_channel/BUILD.gn -components/cast_channel/enum_table.h components/certificate_transparency/chrome_ct_policy_enforcer.cc components/certificate_transparency/chrome_require_ct_delegate.h components/certificate_transparency/chrome_require_ct_delegate_unittest.cc @@ -2377,6 +2392,9 @@ components/media_router/browser/presentation/presentation_media_sinks_observer_u components/media_router/common/media_source.h components/media_router/common/media_source_unittest.cc components/media_router/common/providers/cast/cast_media_source_unittest.cc +components/media_router/common/providers/cast/certificate/net_trust_store.cc +components/media_router/common/providers/cast/channel/BUILD.gn +components/media_router/common/providers/cast/channel/enum_table.h components/metrics/metrics_state_manager.h components/metrics/metrics_state_manager_unittest.cc components/metrics/net/net_metrics_log_uploader.cc @@ -2420,6 +2438,7 @@ components/offline_pages/core/prefetch/prefetch_server_urls.cc components/offline_pages/core/prefetch/prefetch_server_urls_unittest.cc components/offline_pages/core/prefetch/server_forbidden_check_request_unittest.cc components/omnibox/PRESUBMIT.py +components/omnibox/browser/autocomplete_controller.cc components/omnibox/browser/autocomplete_controller.h components/omnibox/browser/autocomplete_input.cc components/omnibox/browser/autocomplete_match.h @@ -2445,6 +2464,7 @@ components/omnibox/browser/most_visited_sites_provider_unittest.cc components/omnibox/browser/omnibox_edit_model.cc components/omnibox/browser/omnibox_edit_model.h components/omnibox/browser/omnibox_edit_model_unittest.cc +components/omnibox/browser/omnibox_field_trial.h components/omnibox/browser/omnibox_view_unittest.cc components/omnibox/browser/remote_suggestions_service_unittest.cc components/omnibox/browser/scored_history_match.cc @@ -2459,63 +2479,12 @@ components/omnibox/browser/shortcuts_provider.cc components/omnibox/browser/shortcuts_provider_unittest.cc components/omnibox/browser/suggestion_answer.h components/omnibox/browser/suggestion_answer_unittest.cc +components/omnibox/browser/suggestion_group_unittest.cc components/omnibox/browser/titled_url_match_utils.cc components/omnibox/browser/titled_url_match_utils_unittest.cc +components/omnibox/browser/zero_suggest_cache_service_unittest.cc components/omnibox/browser/zero_suggest_provider_unittest.cc components/omnibox/browser/zero_suggest_verbatim_match_provider_unittest.cc -components/omnibox/resources/omnibox_pedal_concepts.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_am.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_ar.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_bg.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_bn.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_ca.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_cs.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_da.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_de.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_el.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_en-GB.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_en.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_es-419.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_es.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_et.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_fa.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_fi.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_fil.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_fr.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_gu.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_he.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_hi.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_hr.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_hu.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_id.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_it.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_ja.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_kn.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_ko.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_lt.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_lv.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_ml.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_mr.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_ms.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_nl.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_pl.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_pt-BR.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_pt-PT.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_ro.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_ru.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_sk.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_sl.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_sr.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_sv.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_sw.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_ta.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_te.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_th.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_tr.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_uk.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_vi.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_zh-CN.json -components/omnibox/resources/omnibox_pedal_concepts_desktop_zh-TW.json components/omnibox/resources/omnibox_pedal_synonyms.grd components/omnibox_pedal_ui_strings.grdp components/omnibox_strings.grdp @@ -2607,6 +2576,7 @@ components/password_manager/core/browser/password_generation_frame_helper_unitte components/password_manager/core/browser/password_generation_manager_unittest.cc components/password_manager/core/browser/password_hash_data.cc components/password_manager/core/browser/password_hash_data.h +components/password_manager/core/browser/password_list_sorter_unittest.cc components/password_manager/core/browser/password_manager.cc components/password_manager/core/browser/password_manager.h components/password_manager/core/browser/password_manager_client_helper_unittest.cc @@ -2721,7 +2691,6 @@ components/policy/test_support/fake_dmserver.h components/policy/test_support/fake_dmserver_unittest.cc components/policy/test_support/request_handler_for_policy.cc components/policy/test_support/signature_provider.h -components/policy/tools/syntax_check_policy_template_json.py components/policy/tools/template_writers/PRESUBMIT.py components/policy/tools/template_writers/writers/adm_writer.py components/policy/tools/template_writers/writers/adm_writer_unittest.py @@ -2850,12 +2819,12 @@ components/security_interstitials/core/safe_browsing_loud_error_ui.cc components/security_interstitials/core/urls.cc components/security_interstitials_strings.grdp components/security_state/core/security_state.h +components/segmentation_platform/embedder/default_model/query_tiles_model.cc components/segmentation_platform/internal/execution/optimization_guide/optimization_guide_segmentation_model_provider.cc components/segmentation_platform/internal/execution/optimization_guide/segmentation_model_executor_unittest.cc components/segmentation_platform/internal/proto/PRESUBMIT.py components/send_tab_to_self/send_tab_to_self_bridge_unittest.cc components/send_tab_to_self/target_device_info_unittest.cc -components/services/app_service/app_service_mojom_impl_unittest.cc components/services/app_service/public/cpp/app_capability_access_cache_mojom_unittest.cc components/services/app_service/public/cpp/app_capability_access_cache_unittest.cc components/services/app_service/public/cpp/app_capability_access_cache_wrapper_unittest.cc @@ -3064,7 +3033,6 @@ content/browser/download/save_package_unittest.cc content/browser/fenced_frame/fenced_frame_browsertest.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.h 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 @@ -3086,9 +3054,9 @@ content/browser/media/media_devices_permission_checker_unittest.cc content/browser/media/session/media_session_impl_service_routing_unittest.cc content/browser/mojo_binder_policy_applier.h content/browser/native_io/native_io_manager_unittest.cc -content/browser/net/accept_header_browsertest.cc -content/browser/net/trust_token_browsertest.cc -content/browser/net/trust_token_origin_trial_browsertest.cc +content/browser/network/accept_header_browsertest.cc +content/browser/network/trust_token_browsertest.cc +content/browser/network/trust_token_origin_trial_browsertest.cc content/browser/notification_service_impl.cc content/browser/notifications/notification_database_unittest.cc content/browser/payments/payment_manager_unittest.cc @@ -3163,7 +3131,7 @@ content/browser/web_contents/web_contents_view_aura_unittest.cc content/browser/web_contents/web_drag_dest_mac_unittest.mm content/browser/web_package/web_bundle_element_browsertest.cc content/browser/web_package/web_bundle_utils.h -content/browser/webauth/authenticator_common.cc +content/browser/webauth/authenticator_common_impl.cc content/browser/webauth/authenticator_impl_unittest.cc content/browser/webauth/authenticator_mojom_traits_unittest.cc content/browser/webauth/client_data_json.cc @@ -3195,7 +3163,7 @@ content/public/common/pseudonymization_util.h content/public/common/resource_request_body_android.cc content/public/common/url_constants.cc content/public/test/blink_test_environment.cc -content/public/test/devtools_permission_overrides_unittest.cc +content/public/test/permission_overrides_unittest.cc content/renderer/PRESUBMIT.py content/renderer/accessibility/ax_image_annotator.cc content/renderer/accessibility/ax_image_stopwords.h @@ -3220,6 +3188,7 @@ content/services/auction_worklet/seller_worklet_unittest.cc content/shell/browser/shell_browser_main_parts.cc content/test/gpu/PRESUBMIT.py content/test/gpu/find_unknown_typ_tags.py +content/test/gpu/flake_suppressor/gpu_results_unittest.py content/test/gpu/gather_power_measurement_results.py content/test/gpu/gather_swarming_json_results.py content/test/gpu/gpu_tests/power_measurement_integration_test.py @@ -3462,7 +3431,6 @@ gpu/config/gpu_info_collector_win.cc gpu/ipc/common/PRESUBMIT.py gpu/ipc/service/gpu_memory_buffer_factory_dxgi.cc gpu/vulkan/PRESUBMIT.py -headless/app/headless_shell_switches.cc headless/lib/browser/protocol/headless_handler.cc headless/public/headless_browser.h headless/test/data/dom_tree_test.html @@ -3470,17 +3438,12 @@ headless/test/data/structured_doc.html headless/test/dom_tree_extraction_expected_nodes.txt headless/test/headless_compositor_browsertest.cc infra/config/PRESUBMIT.py -infra/config/generated/builders/ci/Dawn Mac x64 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/Mac Builder (dbg)/properties.json infra/config/generated/builders/ci/chromeos-arm64-generic-rel/properties.json -infra/config/generated/builders/ci/fuchsia-arm64-cast/properties.json +infra/config/generated/builders/ci/fuchsia-arm64-cast-receiver-rel/properties.json +infra/config/generated/builders/ci/fuchsia-arm64-rel/properties.json infra/config/generated/builders/ci/fuchsia-official/properties.json -infra/config/generated/builders/ci/fuchsia-x64-cast/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/fuchsia-x64-cast-receiver-rel/properties.json +infra/config/generated/builders/ci/fuchsia-x64-rel/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 @@ -3490,14 +3453,12 @@ infra/config/generated/builders/try/android-official/properties.json infra/config/generated/builders/try/android-oreo-arm64-dbg/properties.json infra/config/generated/builders/try/android-pie-arm64-dbg/properties.json infra/config/generated/builders/try/android-pie-arm64-rel-compilator/properties.json +infra/config/generated/builders/try/android-x64-cast/properties.json infra/config/generated/builders/try/android_compile_dbg/properties.json infra/config/generated/builders/try/android_compile_x64_dbg/properties.json infra/config/generated/builders/try/android_compile_x86_dbg/properties.json infra/config/generated/builders/try/android_cronet/properties.json infra/config/generated/builders/try/android_optional_gpu_tests_rel/properties.json -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 @@ -3506,18 +3467,24 @@ infra/config/generated/builders/try/chromeos-arm64-generic-rel/properties.json infra/config/generated/builders/try/chromeos-jacuzzi-rel/properties.json infra/config/generated/builders/try/chromeos-kevin-rel/properties.json infra/config/generated/builders/try/chromeos-octopus-rel/properties.json +infra/config/generated/builders/try/dawn-android-arm-deps-rel/properties.json infra/config/generated/builders/try/dawn-linux-x64-deps-rel/properties.json infra/config/generated/builders/try/dawn-mac-x64-deps-rel/properties.json infra/config/generated/builders/try/dawn-win10-x64-deps-rel/properties.json infra/config/generated/builders/try/dawn-win10-x86-deps-rel/properties.json +infra/config/generated/builders/try/fuchsia-arm64-cast-receiver-rel/properties.json infra/config/generated/builders/try/fuchsia-arm64-cast/properties.json +infra/config/generated/builders/try/fuchsia-arm64-rel/properties.json infra/config/generated/builders/try/fuchsia-official/properties.json +infra/config/generated/builders/try/fuchsia-x64-cast-receiver-rel/properties.json infra/config/generated/builders/try/fuchsia-x64-cast/properties.json +infra/config/generated/builders/try/fuchsia-x64-rel/properties.json infra/config/generated/builders/try/fuchsia_arm64/properties.json infra/config/generated/builders/try/fuchsia_x64/properties.json infra/config/generated/builders/try/ios-simulator-compilator/properties.json infra/config/generated/builders/try/ios-simulator-cronet/properties.json infra/config/generated/builders/try/ios-simulator-full-configs/properties.json +infra/config/generated/builders/try/lacros-amd64-generic-rel-compilator/properties.json infra/config/generated/builders/try/lacros-amd64-generic-rel-skylab-fyi/properties.json infra/config/generated/builders/try/lacros-amd64-generic-rel/properties.json infra/config/generated/builders/try/lacros-arm-generic-rel/properties.json @@ -3526,10 +3493,13 @@ infra/config/generated/builders/try/linux-blink-rel/properties.json infra/config/generated/builders/try/linux-chromeos-compile-dbg/properties.json infra/config/generated/builders/try/linux-chromeos-dbg/properties.json infra/config/generated/builders/try/linux-chromeos-rel-compilator/properties.json -infra/config/generated/builders/try/linux-lacros-rel/properties.json +infra/config/generated/builders/try/linux-lacros-rel-compilator/properties.json infra/config/generated/builders/try/linux-official/properties.json infra/config/generated/builders/try/linux-rel-compilator/properties.json +infra/config/generated/builders/try/linux-wayland-rel-compilator/properties.json infra/config/generated/builders/try/linux-wayland-rel/properties.json +infra/config/generated/builders/try/linux-x64-castos-dbg/properties.json +infra/config/generated/builders/try/linux-x64-castos/properties.json infra/config/generated/builders/try/linux_chromium_asan_rel_ng-compilator/properties.json infra/config/generated/builders/try/linux_chromium_compile_dbg_ng/properties.json infra/config/generated/builders/try/linux_chromium_dbg_ng/properties.json @@ -3559,7 +3529,6 @@ infra/config/generated/builders/try/win_chromium_compile_dbg_ng/properties.json infra/config/generated/builders/try/win_optional_gpu_tests_rel/properties.json infra/config/scripts/PRESUBMIT.py ios/PRESUBMIT.py -ios/README.txt ios/build/bots/scripts/PRESUBMIT.py ios/build/bots/scripts/plugin/PRESUBMIT.py ios/build/bots/scripts/result_sink_util.py @@ -3580,7 +3549,6 @@ ios/chrome/browser/autofill/form_suggestion_controller_unittest.mm ios/chrome/browser/autofill/manual_fill/passwords_fetcher_unittest.mm ios/chrome/browser/browser_state/chrome_browser_state_impl.h ios/chrome/browser/browser_state/chrome_browser_state_removal_controller.mm -ios/chrome/browser/chrome_url_constants.cc ios/chrome/browser/commerce/price_alert_util_unittest.mm ios/chrome/browser/commerce/shopping_persisted_data_tab_helper_unittest.mm ios/chrome/browser/crash_report/breadcrumbs/breadcrumb_manager_tab_helper_unittest.mm @@ -3682,6 +3650,7 @@ ios/chrome/browser/ui/table_view/cells/table_view_url_item_unittest.mm ios/chrome/browser/ui/toolbar/toolbar_mediator_unittest.mm ios/chrome/browser/ui/util/pasteboard_util_unittest.mm ios/chrome/browser/ui/webui/interstitials/interstitial_ui_util.mm +ios/chrome/browser/url/chrome_url_constants.cc ios/chrome/browser/url_loading/image_search_param_generator_unittest.mm ios/chrome/browser/web/chrome_web_client_unittest.mm ios/chrome/browser/web/font_size/font_size_tab_helper_unittest.mm @@ -3708,6 +3677,7 @@ ios/net/cookies/system_cookie_store_unittest_template.h ios/net/crn_http_protocol_handler.mm ios/net/nsurlrequest_util_unittest.mm ios/public/provider/chrome/browser/signin/chrome_identity_service.h +ios/public/provider/chrome/browser/signin/chrome_identity_service.mm ios/public/provider/chrome/browser/signin/fake_chrome_identity.mm ios/public/provider/chrome/browser/signin/fake_chrome_identity_service.mm ios/public/provider/chrome/browser/signin/fake_chrome_identity_service_constants.mm @@ -3817,6 +3787,7 @@ media/gpu/gpu_video_encode_accelerator_helpers.cc media/gpu/v4l2/test/av1_decoder.cc media/gpu/v4l2/test/h264_decoder.cc media/gpu/v4l2/test/vp9_decoder.cc +media/gpu/v4l2/v4l2_video_decoder_delegate_av1.cc media/gpu/vaapi/test/av1_decoder.cc media/gpu/vaapi/test/vp8_decoder.cc media/gpu/vaapi/test/vp9_decoder.cc @@ -4193,6 +4164,7 @@ net/cert/known_roots_nss.cc net/cert/nss_cert_database.cc net/cert/nss_cert_database_unittest.cc net/cert/pki/signature_algorithm.cc +net/cert/pki/string_util_unittest.cc net/cert/pki/verify_certificate_chain.cc net/cert/symantec_certs.h net/cert/test_root_certs_win.cc @@ -4241,10 +4213,8 @@ net/dns/mapped_host_resolver_unittest.cc net/dns/mdns_cache_unittest.cc net/dns/mdns_client.h net/dns/notify_watcher_mac.cc -net/dns/public/dns_protocol.h net/dns/public/doh_provider_entry.cc net/dns/record_parsed_unittest.cc -net/dns/record_rdata.h net/dns/record_rdata_unittest.cc net/extras/sqlite/sqlite_persistent_cookie_store.cc net/extras/sqlite/sqlite_persistent_cookie_store_unittest.cc @@ -4442,6 +4412,7 @@ ppapi/utility/graphics/paint_aggregator.h printing/backend/PRESUBMIT.py printing/backend/print_backend_win.cc printing/backend/win_helper.cc +printing/backend/xps_utils_win.cc printing/metafile_skia.cc printing/print_settings_initializer_win.cc printing/printing_context.h @@ -4629,6 +4600,7 @@ testing/buildbot/PRESUBMIT.py testing/buildbot/chromium.android.fyi.json testing/buildbot/chromium.android.json testing/buildbot/chromium.clang.json +testing/buildbot/chromium.dawn.json testing/buildbot/chromium.dev.json testing/buildbot/chromium.fyi.json testing/buildbot/chromium.gpu.fyi.json @@ -4666,7 +4638,6 @@ testing/scripts/run_finch_smoke_tests_android.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/test.gni testing/test_env.py testing/trigger_scripts/PRESUBMIT.py testing/trigger_scripts/base_test_triggerer.py @@ -4837,6 +4808,7 @@ third_party/angle/extensions/ANGLE_external_objects_fuchsia.txt third_party/angle/extensions/ANGLE_get_image.txt third_party/angle/extensions/ANGLE_get_serialized_context_string.txt third_party/angle/extensions/ANGLE_get_tex_level_parameter.txt +third_party/angle/extensions/ANGLE_logic_op.txt third_party/angle/extensions/ANGLE_lossy_etc_decode.txt third_party/angle/extensions/ANGLE_memory_size.txt third_party/angle/extensions/ANGLE_multi_draw.txt @@ -4904,7 +4876,6 @@ third_party/angle/scripts/export_targets.py third_party/angle/scripts/generate_stats.py third_party/angle/scripts/process_angle_perf_results.py third_party/angle/scripts/roll_chromium_deps.py -third_party/angle/scripts/run_gtest_angle_test.py third_party/angle/scripts/trigger.py third_party/angle/scripts/update_extension_data.py third_party/angle/src/android_system_settings/res/xml/main.xml @@ -4971,7 +4942,6 @@ 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 third_party/angle/src/tests/restricted_traces/gen_restricted_traces.py third_party/angle/src/tests/restricted_traces/sync_restricted_traces_to_cipd.py @@ -4998,7 +4968,6 @@ third_party/angle/third_party/VK-GL-CTS/src/framework/platform/lnx/wayland/tcuLn 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/astc-encoder/src/Source/tinyexr.h 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 @@ -5020,6 +4989,7 @@ third_party/blink/common/loader/record_load_histograms.cc third_party/blink/common/origin_trials/trial_token.cc third_party/blink/common/origin_trials/trial_token_validator_unittest.cc third_party/blink/common/page_state/page_state_serialization_unittest.cc +third_party/blink/common/permissions_policy/origin_with_possible_wildcards_unittest.cc third_party/blink/common/permissions_policy/permissions_policy.cc third_party/blink/manual_tests/forms/color-suggestion-picker.html third_party/blink/manual_tests/media-elements/video-moved-from-iframe-to-main-page.html @@ -5357,6 +5327,7 @@ third_party/blink/renderer/core/layout/layout_text_combine.cc third_party/blink/renderer/core/layout/layout_theme_default.h third_party/blink/renderer/core/layout/layout_view.h third_party/blink/renderer/core/layout/map_coordinates_test.cc +third_party/blink/renderer/core/layout/ng/grid/ng_grid_layout_algorithm.cc third_party/blink/renderer/core/layout/ng/inline/ng_inline_items_builder.h third_party/blink/renderer/core/layout/ng/inline/ng_offset_mapping.h third_party/blink/renderer/core/layout/ng/inline/ng_offset_mapping_builder.h @@ -5410,6 +5381,7 @@ third_party/blink/renderer/core/paint/paint_layer_stacking_node.cc third_party/blink/renderer/core/paint/paint_layer_stacking_node.h third_party/blink/renderer/core/paint/paint_timing_detector.h third_party/blink/renderer/core/paint/theme_painter_default.h +third_party/blink/renderer/core/permissions_policy/permissions_policy_parser.cc third_party/blink/renderer/core/script/detect_javascript_frameworks.cc third_party/blink/renderer/core/script/document_write_intervention.cc third_party/blink/renderer/core/script/document_write_intervention.h @@ -5618,6 +5590,7 @@ third_party/blink/renderer/platform/transforms/transform_operation.h third_party/blink/renderer/platform/transforms/transform_operations.h third_party/blink/renderer/platform/transforms/transformation_matrix.cc third_party/blink/renderer/platform/transforms/translate_transform_operation.h +third_party/blink/renderer/platform/video_capture/video_capture_impl.cc third_party/blink/renderer/platform/weborigin/kurl.cc third_party/blink/renderer/platform/weborigin/kurl_test.cc third_party/blink/renderer/platform/weborigin/security_origin.cc @@ -5815,8 +5788,6 @@ third_party/catapult/dashboard/dashboard/common/utils_test.py third_party/catapult/dashboard/dashboard/create_health_report_test.py third_party/catapult/dashboard/dashboard/dump_graph_json_test.py third_party/catapult/dashboard/dashboard/edit_anomalies_test.py -third_party/catapult/dashboard/dashboard/edit_anomaly_configs_test.py -third_party/catapult/dashboard/dashboard/edit_bug_labels_test.py third_party/catapult/dashboard/dashboard/edit_config_handler.py third_party/catapult/dashboard/dashboard/edit_site_config.py third_party/catapult/dashboard/dashboard/edit_site_config_test.py @@ -6925,6 +6896,7 @@ third_party/catapult/tracing/tracing/ui/analysis/memory_dump_overview_pane.html third_party/catapult/tracing/tracing/ui/base/dom_helpers_test.html third_party/catapult/tracing/tracing/ui/base/table_test.html third_party/catapult/tracing/tracing/ui/extras/about_tracing/inspector_connection.html +third_party/catapult/tracing/tracing/ui/extras/about_tracing/profiling_view.html third_party/catapult/tracing/tracing/ui/extras/chrome/codesearch.html third_party/catapult/tracing/tracing/ui/extras/drive/comments_side_panel_test.html third_party/catapult/tracing/tracing/ui/extras/drive/index.html @@ -6972,7 +6944,6 @@ third_party/closure_compiler/externs/crash_report_private.js third_party/closure_compiler/externs/developer_private.js third_party/closure_compiler/externs/events.js third_party/closure_compiler/externs/extension_types.js -third_party/closure_compiler/externs/feedback_private.js third_party/closure_compiler/externs/file_system_provider.js third_party/closure_compiler/externs/input_method_private.js third_party/closure_compiler/externs/language_settings_private.js @@ -7096,6 +7067,7 @@ third_party/crashpad/crashpad/util/win/safe_terminate_process_test.cc third_party/crashpad/crashpad/util/win/xp_compat.h third_party/crashpad/update.py third_party/cros_system_api/dbus/bluetooth/dbus-constants.h +third_party/cros_system_api/dbus/cros-disks/dbus-constants.h third_party/cros_system_api/dbus/shill/dbus-constants.h third_party/dav1d/BUILD.gn third_party/dav1d/generate_source.py @@ -7871,7 +7843,9 @@ third_party/devtools-frontend/src/front_end/third_party/lit-html/package/src/dir third_party/devtools-frontend/src/front_end/third_party/lit-html/package/src/directives/style-map.ts third_party/devtools-frontend/src/front_end/third_party/lit-html/package/src/lib/template.ts third_party/devtools-frontend/src/front_end/third_party/lodash-isequal/package/package.json -third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Browser.d.ts +third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.d.ts +third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.d.ts +third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.js third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DeviceDescriptors.d.ts third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DeviceDescriptors.js third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ElementHandle.d.ts @@ -7903,11 +7877,12 @@ third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/cj third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserFetcher.js third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/FirefoxLauncher.js third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/LaunchOptions.d.ts -third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/NodeWebSocketTransport.js third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Puppeteer.d.ts third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Puppeteer.js third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/install.js -third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Browser.d.ts +third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.d.ts +third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.d.ts +third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.js third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DeviceDescriptors.d.ts third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DeviceDescriptors.js third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ElementHandle.d.ts @@ -7939,7 +7914,6 @@ third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/es third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserFetcher.js third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/FirefoxLauncher.js third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/LaunchOptions.d.ts -third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/NodeWebSocketTransport.js third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Puppeteer.d.ts third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Puppeteer.js third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/install.js @@ -8631,6 +8605,7 @@ third_party/devtools-frontend/src/test/e2e/application/reporting-api_test.ts third_party/devtools-frontend/src/test/e2e/console/console-message-format_test.ts third_party/devtools-frontend/src/test/e2e/lighthouse/navigation_test.ts third_party/devtools-frontend/src/test/e2e/lighthouse/snapshot_test.ts +third_party/devtools-frontend/src/test/e2e/lighthouse/timespan_test.ts third_party/devtools-frontend/src/test/e2e/rendering/Rendering_test.ts third_party/devtools-frontend/src/test/e2e/resources/console/primitives.html third_party/devtools-frontend/src/test/e2e/resources/elements/inactive-css-page.html @@ -8641,7 +8616,6 @@ third_party/devtools-frontend/src/test/unittests/front_end/core/sdk/CookieModel_ third_party/devtools-frontend/src/test/unittests/front_end/models/bindings/BreakpointManager_test.ts third_party/devtools-frontend/src/test/unittests/front_end/panels/application/ReportingApiReportsView_test.ts third_party/devtools-frontend/src/test/unittests/front_end/panels/settings/components/SyncSection_test.ts -third_party/devtools-frontend/src/test/unittests/front_end/panels/sources/BreakpointsSidebarPane_test.ts third_party/devtools-frontend/src/test/unittests/front_end/panels/sources/components/BreakpointsView_test.ts third_party/devtools-frontend/src/test/unittests/front_end/ui/UIUtils_test.ts third_party/devtools-frontend/src/test/unittests/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection_test.ts @@ -8714,6 +8688,7 @@ third_party/eigen3/src/Eigen/src/Core/Reverse.h third_party/eigen3/src/Eigen/src/Core/Select.h third_party/eigen3/src/Eigen/src/Core/SelfAdjointView.h third_party/eigen3/src/Eigen/src/Core/SelfCwiseBinaryOp.h +third_party/eigen3/src/Eigen/src/Core/SkewSymmetricMatrix3.h third_party/eigen3/src/Eigen/src/Core/Solve.h third_party/eigen3/src/Eigen/src/Core/SolveTriangular.h third_party/eigen3/src/Eigen/src/Core/SolverBase.h @@ -8735,6 +8710,7 @@ third_party/eigen3/src/Eigen/src/Core/arch/AVX512/Complex.h third_party/eigen3/src/Eigen/src/Core/arch/AVX512/GemmKernel.h third_party/eigen3/src/Eigen/src/Core/arch/AVX512/MathFunctions.h third_party/eigen3/src/Eigen/src/Core/arch/AVX512/PacketMath.h +third_party/eigen3/src/Eigen/src/Core/arch/AVX512/PacketMathFP16.h third_party/eigen3/src/Eigen/src/Core/arch/AVX512/TrsmKernel.h third_party/eigen3/src/Eigen/src/Core/arch/AVX512/TypeCasting.h third_party/eigen3/src/Eigen/src/Core/arch/AltiVec/Complex.h @@ -9104,6 +9080,7 @@ third_party/eigen3/src/test/serializer.cpp third_party/eigen3/src/test/simplicial_cholesky.cpp third_party/eigen3/src/test/sizeof.cpp third_party/eigen3/src/test/sizeoverflow.cpp +third_party/eigen3/src/test/skew_symmetric_matrix3.cpp third_party/eigen3/src/test/smallvectors.cpp third_party/eigen3/src/test/sparse.h third_party/eigen3/src/test/sparseLM.cpp @@ -9270,6 +9247,7 @@ third_party/eigen3/src/unsupported/Eigen/src/SparseExtra/BlockSparseMatrix.h third_party/eigen3/src/unsupported/Eigen/src/SparseExtra/MarketIO.h third_party/eigen3/src/unsupported/Eigen/src/SparseExtra/MatrixMarketIterator.h third_party/eigen3/src/unsupported/Eigen/src/SparseExtra/RandomSetter.h +third_party/eigen3/src/unsupported/Eigen/src/SparseExtra/SparseInverse.h third_party/eigen3/src/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsArrayAPI.h third_party/eigen3/src/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsBFloat16.h third_party/eigen3/src/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsFunctors.h @@ -10419,14 +10397,12 @@ third_party/libaddressinput/src/cpp/src/util/string_util.h third_party/libaddressinput/src/cpp/test/testdata_source.cc third_party/libaddressinput/src/cpp/test/util/md5_unittest.cc third_party/libaddressinput/src/cpp/test/util/string_split_unittest.cc -third_party/libaom/BUILD.gn third_party/libaom/source/libaom/aom/src/aom_encoder.c third_party/libaom/source/libaom/aom_ports/msvc.h third_party/libaom/source/libaom/aom_util/aom_thread.c third_party/libaom/source/libaom/aom_util/aom_thread.h third_party/libaom/source/libaom/av1/common/av1_common_int.h third_party/libaom/source/libaom/av1/common/x86/av1_inv_txfm_ssse3.c -third_party/libaom/source/libaom/av1/encoder/bitstream.c third_party/libaom/source/libaom/av1/encoder/block.h third_party/libaom/source/libaom/av1/encoder/encodemb.c third_party/libaom/source/libaom/av1/encoder/encoder.h @@ -10446,6 +10422,8 @@ 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/SVT-AV1/convolve_2d_avx2.h +third_party/libaom/source/libaom/third_party/SVT-AV1/convolve_avx2.h 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 @@ -10497,8 +10475,6 @@ third_party/libevent/evport.c third_party/libevent/min_heap.h third_party/libgav1/src/src/utils/compiler_attributes.h third_party/libgav1/src/src/utils/cpu_test.cc -third_party/libgifcodec/SkGifImageReader.cpp -third_party/libgifcodec/SkGifImageReader.h third_party/libipp/BUILD.gn third_party/libjxl/src/lib/jxl/butteraugli/butteraugli.cc third_party/libjxl/src/lib/jxl/butteraugli/butteraugli.h @@ -10533,7 +10509,6 @@ third_party/libphonenumber/dist/resources/geocoding/en/86.txt third_party/libphonenumber/dist/resources/geocoding/zh/86.txt third_party/libphonenumber/dist/tools/java/data/webapp/WEB-INF/appengine-web.xml third_party/libpng/contrib/oss-fuzz/README.txt -third_party/libpng/contrib/oss-fuzz/libpng_read_fuzzer.cc third_party/libprotobuf-mutator/src/examples/libfuzzer/libfuzzer_bin_example.cc third_party/libprotobuf-mutator/src/examples/libfuzzer/libfuzzer_example.cc third_party/libprotobuf-mutator/src/src/mutator_test.cc @@ -10716,7 +10691,6 @@ third_party/libwebp/src/src/webp/mux_types.h third_party/libwebp/src/src/webp/types.h third_party/libwebp/src/swig/setup.py third_party/libxslt/chromium/roll.py -third_party/libyuv/.gn third_party/libyuv/cleanup_links.py third_party/libyuv/include/libyuv/row.h third_party/libyuv/include/libyuv/video_common.h @@ -11012,6 +10986,7 @@ third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classi third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_socket.h third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.h third_party/nearby/src/internal/platform/implementation/windows/json/json.hpp +third_party/nearby/src/internal/platform/implementation/windows/mediums_manager/mediums_manager_impl.cc third_party/nearby/src/internal/platform/implementation/windows/platform.cc third_party/nearby/src/internal/platform/implementation/windows/test_utils.cc third_party/nearby/src/internal/platform/nsd_service_info.h @@ -11244,6 +11219,7 @@ third_party/openscreen/src/cast/streaming/receiver_session.h third_party/openscreen/src/cast/streaming/remoting_capabilities.h third_party/openscreen/src/cast/streaming/rtp_defines.h third_party/openscreen/src/cast/streaming/sender_session_unittest.cc +third_party/openscreen/src/cast/streaming/session_messenger_unittest.cc third_party/openscreen/src/cast/test/cast_socket_e2e_test.cc third_party/openscreen/src/discovery/BUILD.gn third_party/openscreen/src/discovery/dnssd/impl/dns_data_graph.h @@ -11316,7 +11292,6 @@ third_party/pdfium/testing/gtest/BUILD.gn third_party/pdfium/testing/tools/PRESUBMIT.py third_party/pdfium/testing/tools/safetynet_compare.py third_party/pdfium/third_party/agg23/agg_math.h -third_party/pdfium/third_party/base/allocator/partition_allocator/address_space_randomization.h third_party/pdfium/third_party/base/memory/aligned_memory.cc third_party/pdfium/third_party/freetype/include/freetype-custom-config/ftoption.h third_party/pdfium/third_party/libopenjpeg/j2k.c @@ -11386,12 +11361,11 @@ 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 third_party/perfetto/src/traceconv/trace_to_hprof.cc third_party/perfetto/src/traced/probes/android_log/android_log_data_source.cc third_party/perfetto/src/traced/probes/statsd_client/statsd_data_source.h third_party/perfetto/test/cts/AndroidTest.xml +third_party/perfetto/test/vts/AndroidTest.xml third_party/perfetto/tools/download_changed_screenshots.py third_party/perfetto/ui/.eslintrc.js third_party/perfetto/ui/package.json @@ -11402,8 +11376,9 @@ third_party/perfetto/ui/src/chrome_extension/manifest.json third_party/perfetto/ui/src/common/cache_manager.ts third_party/perfetto/ui/src/common/recordingV2/adb_connection_over_webusb.ts third_party/perfetto/ui/src/common/recordingV2/adb_file_handler.ts -third_party/perfetto/ui/src/common/recordingV2/chrome_utils.ts third_party/perfetto/ui/src/common/recordingV2/recording_interfaces_v2.ts +third_party/perfetto/ui/src/common/recordingV2/recording_page_controller.ts +third_party/perfetto/ui/src/common/recordingV2/recording_utils.ts third_party/perfetto/ui/src/common/recordingV2/target_factories/android_websocket_target_factory.ts third_party/perfetto/ui/src/common/recordingV2/targets/android_target.ts third_party/perfetto/ui/src/common/upload_utils.ts @@ -12194,18 +12169,16 @@ third_party/re2/src/re2/testing/re2_test.cc third_party/re2/src/util/pcre.h third_party/rust/adler/v1/BUILD.gn third_party/rust/aho_corasick/v0_7/BUILD.gn -third_party/rust/ansi_term/v0_11/BUILD.gn third_party/rust/atty/v0_2/BUILD.gn third_party/rust/autocfg/v1/BUILD.gn third_party/rust/autocxx/v0_22/BUILD.gn -third_party/rust/autocxx_bindgen/v0_59/BUILD.gn +third_party/rust/autocxx_bindgen/v0_60/BUILD.gn third_party/rust/autocxx_engine/v0_22/BUILD.gn third_party/rust/autocxx_gen/v0_22/BUILD.gn third_party/rust/autocxx_macro/v0_22/BUILD.gn third_party/rust/autocxx_parser/v0_22/BUILD.gn -third_party/rust/bindgen/v0_59/BUILD.gn +third_party/rust/bindgen/v0_60/BUILD.gn third_party/rust/camino/v1/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 @@ -12227,6 +12200,7 @@ third_party/rust/moveit/v0_5/BUILD.gn third_party/rust/once_cell/v1/BUILD.gn third_party/rust/pathdiff/v0_2/BUILD.gn third_party/rust/peeking_take_while/v0_1/BUILD.gn +third_party/rust/prettyplease/v0_1/BUILD.gn third_party/rust/proc_macro2/v1/BUILD.gn third_party/rust/quote/v1/BUILD.gn third_party/rust/remove_dir_all/v0_5/BUILD.gn @@ -12241,18 +12215,16 @@ 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/thiserror/v1/BUILD.gn third_party/rust/thiserror_impl/v1/BUILD.gn +third_party/rust/unicode_ident/v1/BUILD.gn third_party/rust/unicode_linebreak/v0_1/BUILD.gn third_party/rust/unicode_width/v0_1/BUILD.gn -third_party/rust/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 @@ -12319,11 +12291,13 @@ third_party/skia/infra/bots/git_utils.py third_party/skia/infra/bots/recipe_modules/build/api.py third_party/skia/infra/bots/recipe_modules/build/default.py third_party/skia/infra/bots/recipe_modules/build/examples/full.py +third_party/skia/infra/bots/recipe_modules/checkout/api.py third_party/skia/infra/bots/recipe_modules/checkout/examples/full.expected/Build-Debian10-Clang-x86_64-Release-NoDEPS.json third_party/skia/infra/bots/recipe_modules/checkout/examples/full.expected/cross_repo_trybot.json 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/android.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 @@ -12345,6 +12319,7 @@ third_party/skia/infra/bots/recipes/perf_pathkit.py third_party/skia/infra/bots/recipes/perf_skottietrace.py third_party/skia/infra/bots/recipes/perf_skottiewasm_lottieweb.py third_party/skia/infra/bots/recipes/skpbench.py +third_party/skia/infra/bots/recipes/sync_and_compile.expected/Build-Debian10-Clang-arm-Release-NoPatch (tryjob).json third_party/skia/infra/bots/recipes/sync_and_compile.expected/Build-Debian10-Clang-arm-Release-NoPatch.json third_party/skia/infra/bots/recipes/sync_and_compile.expected/Build-Win10-Clang-x86_64-Release-NoDEPS.json third_party/skia/infra/bots/recipes/sync_and_compile.py @@ -12369,14 +12344,10 @@ third_party/skia/modules/canvaskit/npm_build/package.json third_party/skia/modules/canvaskit/npm_build/paragraphs.html third_party/skia/modules/canvaskit/npm_build/shaping.html third_party/skia/modules/canvaskit/npm_build/types/index.d.ts -third_party/skia/modules/canvaskit/tests/bazel/canvas_test.js -third_party/skia/modules/canvaskit/tests/bazel/core_test.js -third_party/skia/modules/canvaskit/tests/bazel/font_test.js -third_party/skia/modules/canvaskit/tests/bazel/skottie_test.js -third_party/skia/modules/canvaskit/tests/canvas.spec.js -third_party/skia/modules/canvaskit/tests/core.spec.js -third_party/skia/modules/canvaskit/tests/font.spec.js -third_party/skia/modules/canvaskit/tests/skottie.spec.js +third_party/skia/modules/canvaskit/tests/canvas_test.js +third_party/skia/modules/canvaskit/tests/core_test.js +third_party/skia/modules/canvaskit/tests/font_test.js +third_party/skia/modules/canvaskit/tests/skottie_test.js third_party/skia/modules/canvaskit/webgl.js third_party/skia/modules/pathkit/chaining.js third_party/skia/modules/pathkit/helper.js @@ -12593,7 +12564,6 @@ third_party/tflite/src/tensorflow/core/distributed_runtime/error_payloads.h third_party/tflite/src/tensorflow/core/kernels/decode_proto_op.cc third_party/tflite/src/tensorflow/core/kernels/example_parsing_ops.cc third_party/tflite/src/tensorflow/core/kernels/image/decode_image_op.cc -third_party/tflite/src/tensorflow/core/lib/io/format.h third_party/tflite/src/tensorflow/core/platform/cloud/compute_engine_metadata_client.h third_party/tflite/src/tensorflow/core/platform/cloud/curl_http_request.cc third_party/tflite/src/tensorflow/core/platform/cloud/curl_http_request.h @@ -12608,7 +12578,6 @@ third_party/tflite/src/tensorflow/core/platform/cloud/oauth_client_test.cc third_party/tflite/src/tensorflow/core/platform/cloud/testdata/application_default_credentials.json third_party/tflite/src/tensorflow/core/platform/cloud/testdata/service_account_credentials.json third_party/tflite/src/tensorflow/core/platform/error_payloads.h -third_party/tflite/src/tensorflow/core/platform/file_system.cc third_party/tflite/src/tensorflow/core/tpu/tpu_compile_interface.h third_party/tflite/src/tensorflow/core/tpu/tpu_embedding_errors.h third_party/tflite/src/tensorflow/core/util/ctc/ctc_beam_search.h @@ -12633,6 +12602,7 @@ third_party/tflite/src/tensorflow/lite/toco/logging/testdata/generated.html third_party/tflite/src/tensorflow/lite/toco/model.h third_party/tflite/src/tensorflow/lite/tools/benchmark/experimental/firebase/android/jni/benchmark_model_jni.cc third_party/tflite/src/tensorflow/lite/tutorials/dataset.py +third_party/tflite/src/tensorflow/python/distribute/failure_handling/failure_handling.py third_party/tflite/src/tensorflow/python/eager/profiler.py third_party/tflite/src/tensorflow/python/eager/remote_cluster_test.py third_party/tflite/src/tensorflow/python/framework/graph_to_function_def.py @@ -12651,16 +12621,13 @@ third_party/tflite/src/tensorflow/python/tpu/tpu_embedding_v2_utils.py third_party/tflite/src/tensorflow/tools/android/test/jni/rgb2yuv.cc third_party/tflite/src/tensorflow/tools/ci_build/sizetrack_helper.py third_party/tflite/src/tensorflow/tools/compatibility/tf_upgrade_v2_safety_test.py +third_party/tflite/src/tensorflow/tsl/lib/io/format.h +third_party/tflite/src/tensorflow/tsl/platform/file_system.cc third_party/tflite/src/tensorflow/tsl/platform/status.cc third_party/tflite/src/tensorflow/tsl/platform/status.h third_party/tflite/src/tensorflow/tsl/platform/windows/env.cc third_party/tflite/src/tensorflow/tsl/platform/windows/stacktrace.cc third_party/tflite/src/tensorflow/tsl/platform/windows/stacktrace_handler.cc -third_party/tflite/src/third_party/eigen3/unsupported/Eigen/CXX11/src/FixedPoint/FixedPointTypes.h -third_party/tflite/src/third_party/eigen3/unsupported/Eigen/CXX11/src/FixedPoint/MatMatProduct.h -third_party/tflite/src/third_party/eigen3/unsupported/Eigen/CXX11/src/FixedPoint/MatMatProductAVX2.h -third_party/tflite/src/third_party/eigen3/unsupported/Eigen/CXX11/src/FixedPoint/MatMatProductNEON.h -third_party/tflite/src/third_party/eigen3/unsupported/Eigen/CXX11/src/FixedPoint/MatVecProduct.h third_party/tflite_support/src/tensorflow_lite_support/c/task/processor/category.h third_party/updater/chrome_mac_universal/3pp/fetch.py third_party/updater/chrome_mac_universal_prod/3pp/fetch.py @@ -12749,6 +12716,7 @@ third_party/vulkan-deps/vulkan-validation-layers/src/layers/sampler_state.h third_party/vulkan-deps/vulkan-validation-layers/src/layers/state_tracker.h third_party/vulkan-deps/vulkan-validation-layers/src/layers/vk_layer_data.h third_party/vulkan-deps/vulkan-validation-layers/src/layers/vk_layer_utils.h +third_party/vulkan-deps/vulkan-validation-layers/src/layers/xxhash.h third_party/vulkan-deps/vulkan-validation-layers/src/scripts/external_revision_generator.py third_party/vulkan-deps/vulkan-validation-layers/src/scripts/generate_spirv.py third_party/vulkan-deps/vulkan-validation-layers/src/scripts/github_ci_android.py @@ -12826,16 +12794,14 @@ third_party/wayland/src/egl/wayland-egl.c third_party/wayland/src/src/wayland-shm.c third_party/webdriver/pylib/selenium/webdriver/chrome/service.py third_party/webdriver/pylib/selenium/webdriver/chrome/webdriver.py +third_party/webdriver/pylib/selenium/webdriver/edge/service.py +third_party/webdriver/pylib/selenium/webdriver/edge/webdriver.py third_party/webdriver/pylib/selenium/webdriver/firefox/firefox_profile.py -third_party/webdriver/pylib/selenium/webdriver/ie/service.py -third_party/webdriver/pylib/selenium/webdriver/remote/command.py -third_party/webdriver/pylib/selenium/webdriver/remote/remote_connection.py -third_party/webdriver/pylib/selenium/webdriver/remote/webdriver.py -third_party/webdriver/pylib/selenium/webdriver/support/expected_conditions.py -third_party/webdriver/pylib/test/selenium/test_google.py +third_party/webdriver/pylib/test/selenium/webdriver/common/alerts_tests.py third_party/webdriver/pylib/test/selenium/webdriver/common/example2.py -third_party/webdriver/pylib/test/selenium/webdriver/common/page_loading_tests.py -third_party/webdriver/pylib/test/selenium/webdriver/common/utils.py +third_party/webdriver/pylib/test/selenium/webdriver/common/select_class_tests.py +third_party/webdriver/pylib/test/selenium/webdriver/common/typing_tests.py +third_party/webdriver/pylib/test/selenium/webdriver/common/webdriverwait_tests.py third_party/webgl/src/conformance-suites/1.0.0/conformance/more/all_tests.html third_party/webgl/src/conformance-suites/1.0.0/conformance/more/all_tests_linkonly.html third_party/webgl/src/conformance-suites/1.0.0/conformance/more/all_tests_sequential.html @@ -13143,7 +13109,6 @@ third_party/webrtc/common_audio/third_party/ooura/fft_size_128/ooura_fft_tables_ third_party/webrtc/common_audio/third_party/ooura/fft_size_128/ooura_fft_tables_neon_sse2.h third_party/webrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c third_party/webrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_mips.c -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 @@ -13191,6 +13156,7 @@ third_party/webrtc/modules/desktop_capture/win/window_capturer_win_gdi.cc third_party/webrtc/modules/desktop_capture/window_finder_win.cc third_party/webrtc/modules/rtp_rtcp/include/receive_statistics.h third_party/webrtc/modules/rtp_rtcp/source/rtcp_sender_unittest.cc +third_party/webrtc/modules/utility/maybe_worker_thread.h third_party/webrtc/modules/utility/source/jvm_android.cc third_party/webrtc/modules/video_capture/test/video_capture_unittest.cc third_party/webrtc/modules/video_coding/codecs/vp9/test/vp9_impl_unittest.cc @@ -13198,9 +13164,7 @@ third_party/webrtc/modules/video_coding/codecs/vp9/vp9.cc third_party/webrtc/modules/video_coding/codecs/vp9/vp9_frame_buffer_pool.cc third_party/webrtc/modules/video_coding/packet_buffer.cc third_party/webrtc/modules/video_coding/timing/timing.cc -third_party/webrtc/modules/video_coding/utility/quality_scaler.cc third_party/webrtc/p2p/base/port_unittest.cc -third_party/webrtc/p2p/base/stun_server_unittest.cc third_party/webrtc/p2p/base/turn_port.cc third_party/webrtc/p2p/base/turn_port_unittest.cc third_party/webrtc/p2p/client/basic_port_allocator.cc @@ -13212,6 +13176,7 @@ third_party/webrtc/pc/peer_connection_bundle_unittest.cc third_party/webrtc/pc/peer_connection_crypto_unittest.cc third_party/webrtc/pc/peer_connection_end_to_end_unittest.cc third_party/webrtc/pc/peer_connection_factory_unittest.cc +third_party/webrtc/pc/peer_connection_field_trial_tests.cc third_party/webrtc/pc/peer_connection_ice_unittest.cc third_party/webrtc/pc/peer_connection_integrationtest.cc third_party/webrtc/pc/peer_connection_interface_unittest.cc @@ -13226,7 +13191,6 @@ third_party/webrtc/rtc_base/byte_buffer.h third_party/webrtc/rtc_base/deprecated/recursive_critical_section.h third_party/webrtc/rtc_base/event_tracer.cc third_party/webrtc/rtc_base/file_rotating_stream_unittest.cc -third_party/webrtc/rtc_base/location.h third_party/webrtc/rtc_base/network.h third_party/webrtc/rtc_base/network_unittest.cc third_party/webrtc/rtc_base/numerics/safe_minmax.h @@ -13276,6 +13240,7 @@ third_party/webrtc/video/end_to_end_tests/rtp_rtcp_tests.cc third_party/webrtc/video/frame_cadence_adapter.cc third_party/webrtc/video/full_stack_tests.cc third_party/webrtc/video/pc_full_stack_tests.cc +third_party/webrtc/video/render/video_render_frames.cc third_party/webrtc/video/rtp_video_stream_receiver2.h third_party/webrtc/video/video_send_stream_tests.cc third_party/webrtc/webrtc.gni @@ -13296,6 +13261,7 @@ third_party/webxr_test_pages/webxr-samples/magic-window-multi.html third_party/webxr_test_pages/webxr-samples/magic-window.html third_party/webxr_test_pages/webxr-samples/positional-audio.html third_party/webxr_test_pages/webxr-samples/proposals/camera-access-barebones.html +third_party/webxr_test_pages/webxr-samples/proposals/camera-access-marker.html third_party/webxr_test_pages/webxr-samples/proposals/index.html third_party/webxr_test_pages/webxr-samples/teleportation.html third_party/webxr_test_pages/webxr-samples/tests/index.html @@ -13441,7 +13407,6 @@ tools/disable_tests/tests/gtest-bug-comment.json tools/disable_tests/tests/gtest-conditional-to-unconditional.json tools/disable_tests/tests/gtest-conditional.json tools/disable_tests/tests/gtest-message.json -tools/disable_tests/tests/gtest-partial-test-name.json tools/disable_tests/tests/gtest-redundant-conditions.json tools/disable_tests/tests/parameterised-gtest.json tools/download_optimization_profile.py @@ -13510,7 +13475,6 @@ tools/include_tracer.py tools/infra/PRESUBMIT.py tools/infra/clobber_cache_utils.py tools/infra/find_bad_builds.py -tools/infra/reproduce.py tools/json_data_generator/PRESUBMIT.py tools/json_schema_compiler/PRESUBMIT.py tools/json_schema_compiler/js_externs_generator.py @@ -13534,6 +13498,7 @@ tools/md_browser/gitiles_ext_blocks.py tools/md_browser/gitiles_smart_quotes.py tools/md_browser/md_browser.py tools/media_engagement_preload/make_dafsa_unittest.py +tools/metrics/PRESUBMIT.py tools/metrics/actions/PRESUBMIT.py tools/metrics/actions/actions.xml tools/metrics/actions/actions_model_test.py @@ -13639,6 +13604,7 @@ tools/metrics/histograms/metadata/password/histograms.xml tools/metrics/histograms/metadata/payment/histograms.xml tools/metrics/histograms/metadata/pcscan/histograms.xml tools/metrics/histograms/metadata/pdf/histograms.xml +tools/metrics/histograms/metadata/performance_controls/histograms.xml tools/metrics/histograms/metadata/performance_manager/histograms.xml tools/metrics/histograms/metadata/permissions/histograms.xml tools/metrics/histograms/metadata/phonehub/histograms.xml @@ -14039,6 +14005,7 @@ ui/accessibility/platform/ax_platform_node_win.cc ui/android/color_utils_android_unittest.cc ui/android/java/res/values/strings.xml ui/aura/native_window_occlusion_tracker_win.cc +ui/base/accelerators/accelerator.cc ui/base/clipboard/clipboard.h ui/base/clipboard/clipboard_android.h ui/base/clipboard/clipboard_format_type.h @@ -14109,6 +14076,7 @@ ui/file_manager/integration_tests/remote_call.js ui/file_manager/integration_tests/test_util.js ui/gfx/color_analysis.h ui/gfx/color_space_win.h +ui/gfx/color_transform.cc ui/gfx/font.h ui/gfx/font_fallback_win.h ui/gfx/font_names_testing.cc @@ -14122,7 +14090,6 @@ ui/gfx/win/singleton_hwnd_hot_key_observer.cc ui/gl/android/surface_texture.cc ui/gl/direct_composition_support.cc ui/gl/gl_display.cc -ui/gl/gl_image_io_surface_egl.mm ui/gl/gl_surface_egl.cc ui/gl/gl_surface_presentation_helper.cc ui/gl/hdr_metadata_helper_win.cc @@ -14156,7 +14123,6 @@ ui/views/view_unittest.cc ui/views/win/hwnd_message_handler.cc ui/views/window/non_client_view.cc ui/webui/resources/cr_components/app_management/icons.html -ui/webui/resources/cr_components/chromeos/quick_unlock/pin_keyboard_icon.html ui/webui/resources/cr_components/customize_themes/customize_themes.ts ui/webui/resources/cr_components/help_bubble/help_bubble_icons.html ui/webui/resources/cr_elements/icons.html @@ -14263,7 +14229,6 @@ v8/third_party/test262-harness/src/templates/runner.intl402.html v8/third_party/test262-harness/src/templates/runner.test262.html v8/tools/callstats.html v8/tools/callstats.py -v8/tools/callstats.py.vpython v8/tools/clusterfuzz/js_fuzzer/package.json v8/tools/cppgc/gen_cmake.py v8/tools/grokdump.py @@ -14300,6 +14265,7 @@ weblayer/browser/android/javatests/skew/build_weblayer_instrumentation_test_cipd weblayer/browser/background_fetch/background_fetch_delegate_impl.cc weblayer/browser/favicon/favicon_backend_wrapper_unittest.cc weblayer/browser/navigation_browsertest.cc +weblayer/browser/origin_trials_browsertest.cc weblayer/browser/popup_blocker_browsertest.cc weblayer/browser/prefetch_browsertest.cc weblayer/browser/weblayer_security_blocking_page_factory.cc diff --git a/patches/core/debian/disable/unrar.patch b/patches/core/debian/disable/unrar.patch index e2164c03..1635068c 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 +@@ -95,7 +95,7 @@ void FileAnalyzer::Start(const base::Fil if (inspection_type == DownloadFileType::ZIP) { StartExtractZipFeatures(); } else if (inspection_type == DownloadFileType::RAR) { @@ -55,14 +55,14 @@ bug: http://bugs.debian.org/914487 if (is_linux || is_win) { source_set("document_analyzer") { sources = [ -@@ -189,7 +156,6 @@ source_set("safe_browsing") { +@@ -191,7 +158,6 @@ source_set("safe_browsing") { ":archive_analyzer_results", ":binary_feature_extractor", ":download_type_util", - ":rar_analyzer", "//components/safe_browsing/core/common", + "//third_party/lzma_sdk/google:seven_zip_reader", ] - --- a/chrome/services/file_util/safe_archive_analyzer.cc +++ b/chrome/services/file_util/safe_archive_analyzer.cc @@ -6,7 +6,6 @@ @@ -70,10 +70,10 @@ bug: http://bugs.debian.org/914487 #include "build/build_config.h" #include "chrome/common/safe_browsing/archive_analyzer_results.h" -#include "chrome/common/safe_browsing/rar_analyzer.h" + #include "chrome/common/safe_browsing/seven_zip_analyzer.h" #include "chrome/common/safe_browsing/zip_analyzer.h" - #if BUILDFLAG(IS_MAC) -@@ -46,8 +45,7 @@ void SafeArchiveAnalyzer::AnalyzeRarFile +@@ -47,9 +46,8 @@ void SafeArchiveAnalyzer::AnalyzeRarFile AnalyzeRarFileCallback callback) { DCHECK(rar_file.IsValid()); @@ -83,3 +83,4 @@ bug: http://bugs.debian.org/914487 - std::move(rar_file), std::move(temporary_file), &results); std::move(callback).Run(results); } + 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 2b57c43e..b642540e 100644 --- a/patches/core/inox-patchset/0001-fix-building-without-safebrowsing.patch +++ b/patches/core/inox-patchset/0001-fix-building-without-safebrowsing.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/BUILD.gn +++ b/chrome/browser/BUILD.gn -@@ -2251,7 +2251,6 @@ static_library("browser") { +@@ -2266,7 +2266,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", -@@ -3720,8 +3719,6 @@ static_library("browser") { +@@ -3733,8 +3732,6 @@ static_library("browser") { "download/download_commands.h", "download/download_crx_util.cc", "download/download_crx_util.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" -@@ -406,8 +405,6 @@ void BrowserProcessImpl::StartTearDown() +@@ -408,8 +407,6 @@ void BrowserProcessImpl::StartTearDown() metrics_services_manager_.reset(); intranet_redirect_detector_.reset(); @@ -74,7 +74,7 @@ subresource_filter::RulesetService* BrowserProcessImpl::subresource_filter_ruleset_service() { DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_); -@@ -1274,26 +1263,6 @@ void BrowserProcessImpl::CreateBackgroun +@@ -1278,26 +1267,6 @@ void BrowserProcessImpl::CreateBackgroun #endif } @@ -123,7 +123,7 @@ 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 -@@ -66,7 +66,6 @@ +@@ -67,7 +67,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" @@ -131,7 +131,7 @@ #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" -@@ -638,10 +637,6 @@ void ChromeBrowsingDataRemoverDelegate:: +@@ -641,10 +640,6 @@ void ChromeBrowsingDataRemoverDelegate:: base::RecordAction(UserMetricsAction("ClearBrowsingData_Cookies")); network::mojom::NetworkContext* safe_browsing_context = nullptr; @@ -144,7 +144,7 @@ browsing_data::RemoveFederatedSiteSettingsData(delete_begin_, delete_end_, --- a/chrome/browser/chrome_content_browser_client.cc +++ b/chrome/browser/chrome_content_browser_client.cc -@@ -1008,34 +1008,6 @@ void SetApplicationLocaleOnIOThread(cons +@@ -1018,34 +1018,6 @@ void SetApplicationLocaleOnIOThread(cons GetIOThreadApplicationLocale() = locale; } @@ -179,7 +179,7 @@ #if BUILDFLAG(ENABLE_EXTENSIONS) AppLoadedInTabSource ClassifyAppLoadedInTabSource( -@@ -4605,14 +4577,9 @@ ChromeContentBrowserClient::CreateThrott +@@ -4635,14 +4607,9 @@ ChromeContentBrowserClient::CreateThrott throttles.push_back(std::make_unique( handle, handle->GetWebContents()->GetBrowserContext())); @@ -195,7 +195,7 @@ base::BindOnce(&HandleSSLErrorWrapper), base::BindOnce(&IsInHostedApp), base::BindOnce( &ShouldIgnoreSslInterstitialBecauseNavigationDefaultedToHttps))); -@@ -4651,16 +4618,6 @@ ChromeContentBrowserClient::CreateThrott +@@ -4681,16 +4648,6 @@ ChromeContentBrowserClient::CreateThrott &throttles); #endif @@ -212,7 +212,7 @@ if (base::FeatureList::IsEnabled(safe_browsing::kDelayedWarnings)) { throttles.push_back( std::make_unique( -@@ -4900,8 +4857,6 @@ void ChromeContentBrowserClient::Overrid +@@ -4936,8 +4893,6 @@ void ChromeContentBrowserClient::Overrid void ChromeContentBrowserClient::InitOnUIThread() { DCHECK_CURRENTLY_ON(BrowserThread::UI); @@ -280,7 +280,7 @@ void ChromeDownloadManagerDelegate::SanitizeDownloadParameters( --- a/chrome/browser/download/download_item_model.cc +++ b/chrome/browser/download/download_item_model.cc -@@ -102,7 +102,7 @@ class DownloadItemModelData : public bas +@@ -107,7 +107,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. @@ -289,7 +289,7 @@ // Whether the download is currently being revived. bool is_being_revived_; -@@ -150,7 +150,7 @@ DownloadItemModelData* DownloadItemModel +@@ -155,7 +155,7 @@ DownloadItemModelData* DownloadItemModel DownloadItemModelData::DownloadItemModelData() : should_show_in_shelf_(true), was_ui_notified_(false), @@ -298,7 +298,7 @@ is_being_revived_(false) {} #if BUILDFLAG(FULL_SAFE_BROWSING) -@@ -472,13 +472,13 @@ void DownloadItemModel::SetShouldPreferO +@@ -490,13 +490,13 @@ void DownloadItemModel::SetShouldPreferO data->should_prefer_opening_in_browser_ = preference; } @@ -315,7 +315,7 @@ DownloadItemModelData* data = DownloadItemModelData::GetOrCreate(download_); data->danger_level_ = danger_level; } -@@ -701,9 +701,6 @@ bool DownloadItemModel::IsCommandEnabled +@@ -719,9 +719,6 @@ bool DownloadItemModel::IsCommandEnabled // filename. Don't base an "Always open" decision based on it. Also // exclude extensions. return download_->CanOpenDownload() && @@ -343,7 +343,7 @@ } } -@@ -458,10 +451,6 @@ bool DownloadPrefs::IsAutoOpenByPolicy(c +@@ -450,10 +443,6 @@ bool DownloadPrefs::IsAutoOpenByPolicy(c bool DownloadPrefs::EnableAutoOpenByUserBasedOnExtension( const base::FilePath& file_name) { base::FilePath::StringType extension = file_name.Extension(); @@ -370,7 +370,7 @@ // If no mime type or explicitly specified a name, don't replace file // extension. if (sniffed_mime_type.empty() || !suggested_filename.empty()) -@@ -1199,30 +1192,7 @@ DownloadFileType::DangerLevel DownloadTa +@@ -1201,30 +1194,7 @@ DownloadFileType::DangerLevel DownloadTa download_->HasUserGesture()) return DownloadFileType::NOT_DANGEROUS; @@ -548,7 +548,7 @@ referrer_entries))); --- a/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc +++ b/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc -@@ -720,18 +720,6 @@ void WebstorePrivateBeginInstallWithMani +@@ -722,18 +722,6 @@ void WebstorePrivateBeginInstallWithMani void WebstorePrivateBeginInstallWithManifest3Function:: ReportFrictionAcceptedEvent() { @@ -567,7 +567,7 @@ } void WebstorePrivateBeginInstallWithManifest3Function::OnInstallPromptDone( -@@ -1201,55 +1189,9 @@ WebstorePrivateGetReferrerChainFunction: +@@ -1215,55 +1203,9 @@ WebstorePrivateGetReferrerChainFunction: ExtensionFunction::ResponseAction WebstorePrivateGetReferrerChainFunction::Run() { @@ -696,7 +696,7 @@ // SimpleURLLoader -> (owned loader, extension id). --- a/chrome/browser/metrics/chrome_metrics_service_client.cc +++ b/chrome/browser/metrics/chrome_metrics_service_client.cc -@@ -881,9 +881,6 @@ void ChromeMetricsServiceClient::Registe +@@ -895,9 +895,6 @@ void ChromeMetricsServiceClient::Registe metrics_service_->RegisterMetricsProvider( std::make_unique()); @@ -708,7 +708,7 @@ std::make_unique()); --- a/chrome/browser/net/trial_comparison_cert_verifier_controller.cc +++ b/chrome/browser/net/trial_comparison_cert_verifier_controller.cc -@@ -137,9 +137,6 @@ void TrialComparisonCertVerifierControll +@@ -130,9 +130,6 @@ void TrialComparisonCertVerifierControll std::string serialized_report; if (!report.Serialize(&serialized_report)) return; @@ -720,7 +720,7 @@ // static --- a/chrome/browser/profiles/profile_impl.cc +++ b/chrome/browser/profiles/profile_impl.cc -@@ -91,7 +91,6 @@ +@@ -92,7 +92,6 @@ #include "chrome/browser/push_messaging/push_messaging_service_factory.h" #include "chrome/browser/push_messaging/push_messaging_service_impl.h" #include "chrome/browser/reduce_accept_language/reduce_accept_language_factory.h" @@ -728,7 +728,7 @@ #include "chrome/browser/sessions/exit_type_service.h" #include "chrome/browser/sharing/sharing_service_factory.h" #include "chrome/browser/signin/identity_manager_factory.h" -@@ -633,17 +632,6 @@ void ProfileImpl::LoadPrefsForNormalStar +@@ -625,17 +624,6 @@ void ProfileImpl::LoadPrefsForNormalStar mojo::PendingRemote pref_validation_delegate; @@ -776,7 +776,7 @@ if (safe_browsing_mode != 0) { # "Safe Browsing Basic" files used for safe browsing in full mode -@@ -466,6 +468,7 @@ static_library("advanced_protection") { +@@ -476,6 +478,7 @@ static_library("advanced_protection") { } source_set("metrics_collector") { @@ -784,7 +784,7 @@ sources = [ "safe_browsing_metrics_collector_factory.cc", "safe_browsing_metrics_collector_factory.h", -@@ -483,6 +486,7 @@ source_set("metrics_collector") { +@@ -493,6 +496,7 @@ source_set("metrics_collector") { "//components/safe_browsing/core/common:safe_browsing_prefs", "//content/public/browser", ] @@ -886,7 +886,7 @@ --- a/chrome/browser/ui/BUILD.gn +++ b/chrome/browser/ui/BUILD.gn -@@ -4403,7 +4403,6 @@ static_library("ui") { +@@ -4437,7 +4437,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", @@ -896,7 +896,7 @@ "views/download/download_item_view.cc", --- a/chrome/browser/ui/tab_helpers.cc +++ b/chrome/browser/ui/tab_helpers.cc -@@ -418,22 +418,6 @@ void TabHelpers::AttachTabHelpers(WebCon +@@ -414,22 +414,6 @@ void TabHelpers::AttachTabHelpers(WebCon // See https://crbug.com/910288. resource_coordinator::ResourceCoordinatorTabHelper::CreateForWebContents( web_contents); 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 ff1eb510..0d5d93a2 100644 --- a/patches/core/inox-patchset/0009-disable-google-ipv6-probes.patch +++ b/patches/core/inox-patchset/0009-disable-google-ipv6-probes.patch @@ -12,5 +12,5 @@ - 0x00, 0x00, 0x88, 0x88}; + 0x00, 0x00, 0x00, 0x01}; - enum DnsResolveStatus { - RESOLVE_STATUS_DNS_SUCCESS = 0, + // ICANN uses this localhost address to indicate a name collision. + // diff --git a/patches/core/inox-patchset/0021-disable-rlz.patch b/patches/core/inox-patchset/0021-disable-rlz.patch index a8826c78..4556547e 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 -@@ -484,14 +484,6 @@ group("gn_all") { +@@ -468,14 +468,6 @@ group("gn_all") { deps += [ "//chromeos:chromeos_unittests" ] } @@ -19,11 +19,12 @@ deps += [ --- a/rlz/buildflags/buildflags.gni +++ b/rlz/buildflags/buildflags.gni -@@ -7,6 +7,6 @@ import("//build/config/chromeos/ui_mode. +@@ -7,7 +7,7 @@ import("//build/config/chromeos/ui_mode. # Whether we are using the rlz library or not. Platforms like Android send # rlz codes for searches but do not use the library. -enable_rlz_support = is_win || is_apple || is_chromeos_ash +enable_rlz_support = false - enable_rlz = is_chrome_branded && enable_rlz_support + declare_args() { + enable_rlz = is_chrome_branded && enable_rlz_support 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 dd514476..397adb7f 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 @@ -79,7 +79,7 @@ by default. if base_tag != '': --- a/chrome/browser/ash/customization/customization_document.cc +++ b/chrome/browser/ash/customization/customization_document.cc -@@ -199,7 +199,7 @@ std::string ReadFileInBackground(const b +@@ -200,7 +200,7 @@ std::string ReadFileInBackground(const b // Template URL where to fetch OEM services customization manifest from. const char ServicesCustomizationDocument::kManifestUrl[] = @@ -342,7 +342,7 @@ by default. --- a/components/google/core/common/google_util.cc +++ b/components/google/core/common/google_util.cc -@@ -141,7 +141,7 @@ bool IsGoogleSearchSubdomainUrl(const GU +@@ -139,7 +139,7 @@ bool IsGoogleSearchSubdomainUrl(const GU // Global functions ----------------------------------------------------------- @@ -433,8 +433,8 @@ by default. -const char kSecurityOrigin[] = "https://translate.googleapis.com/"; +const char kSecurityOrigin[] = "trk:220:https://translate.googleapis.com/"; - const base::Feature kTranslateSubFrames{"TranslateSubFrames", - base::FEATURE_DISABLED_BY_DEFAULT}; + BASE_FEATURE(kTranslateSubFrames, + "TranslateSubFrames", --- a/components/variations/variations_url_constants.cc +++ b/components/variations/variations_url_constants.cc @@ -8,7 +8,7 @@ namespace variations { @@ -500,8 +500,8 @@ by default. extensions::ExtensionsClient* client = extensions::ExtensionsClient::Get(); --- a/google_apis/gaia/gaia_constants.cc +++ b/google_apis/gaia/gaia_constants.cc -@@ -17,149 +17,149 @@ const char kUnexpectedServiceResponse[] - const char kGaiaService[] = "gaia"; +@@ -14,149 +14,149 @@ const char kChromeSource[] = "ChromiumBr + const char kUnexpectedServiceResponse[] = "UnexpectedServiceResponse"; // OAuth scopes. -const char kOAuth1LoginScope[] = "https://www.google.com/accounts/OAuthLogin"; diff --git a/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch b/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch index f4909772..5ad3ea07 100644 --- a/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch +++ b/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch @@ -13,9 +13,9 @@ return metrics::OmniboxInputType::URL; --- a/chrome/browser/history/history_utils.cc +++ b/chrome/browser/history/history_utils.cc -@@ -21,6 +21,7 @@ bool CanAddURLToHistory(const GURL& url) - url.SchemeIs(content::kChromeDevToolsScheme) || +@@ -22,6 +22,7 @@ bool CanAddURLToHistory(const GURL& url) url.SchemeIs(content::kChromeUIScheme) || + url.SchemeIs(content::kChromeUIUntrustedScheme) || url.SchemeIs(content::kViewSourceScheme) || + url.SchemeIs(url::kTraceScheme) || url.SchemeIs(chrome::kChromeNativeScheme) || @@ -35,7 +35,7 @@ --- a/components/omnibox/browser/autocomplete_input.cc +++ b/components/omnibox/browser/autocomplete_input.cc -@@ -571,7 +571,8 @@ void AutocompleteInput::ParseForEmphasiz +@@ -573,7 +573,8 @@ void AutocompleteInput::ParseForEmphasiz // For the view-source and blob schemes, we should emphasize the host of the // URL qualified by the view-source or blob prefix. if ((base::EqualsCaseInsensitiveASCII(scheme_str, kViewSourceScheme) || @@ -70,7 +70,7 @@ // other origins, so we should not treat them as web safe. Remove callers of --- a/net/BUILD.gn +++ b/net/BUILD.gn -@@ -1009,6 +1009,8 @@ component("net") { +@@ -1014,6 +1014,8 @@ component("net") { "url_request/report_sender.h", "url_request/static_http_user_agent_settings.cc", "url_request/static_http_user_agent_settings.h", @@ -215,7 +215,7 @@ COMPONENT_EXPORT(URL) extern const char kUuidInPackageScheme[]; --- a/url/url_util.cc +++ b/url/url_util.cc -@@ -73,7 +73,7 @@ struct SchemeRegistry { +@@ -74,7 +74,7 @@ struct SchemeRegistry { // Schemes that do not trigger mixed content warning. std::vector secure_schemes = { @@ -224,7 +224,7 @@ }; // Schemes that normal pages cannot link to or access (i.e., with the same -@@ -88,6 +88,7 @@ struct SchemeRegistry { +@@ -89,6 +89,7 @@ struct SchemeRegistry { kAboutScheme, kJavaScriptScheme, kDataScheme, diff --git a/patches/core/ungoogled-chromium/disable-crash-reporter.patch b/patches/core/ungoogled-chromium/disable-crash-reporter.patch index e23a7784..f41a5f76 100644 --- a/patches/core/ungoogled-chromium/disable-crash-reporter.patch +++ b/patches/core/ungoogled-chromium/disable-crash-reporter.patch @@ -1,14 +1,54 @@ # Disable some background communication with clients2.google.com ---- a/components/crash/core/app/crashpad_linux.cc -+++ b/components/crash/core/app/crashpad_linux.cc -@@ -60,8 +60,7 @@ void SetFirstChanceExceptionHandler(bool +--- a/chrome/browser/chrome_content_browser_client.cc ++++ b/chrome/browser/chrome_content_browser_client.cc +@@ -2364,7 +2364,8 @@ void ChromeContentBrowserClient::AppendE + command_line->AppendSwitchASCII(switches::kMetricsClientID, + client_info->client_id); + } +-#elif BUILDFLAG(IS_POSIX) ++#endif ++#if(0) + #if BUILDFLAG(IS_ANDROID) + bool enable_crash_reporter = true; + #elif BUILDFLAG(IS_CHROMEOS) +--- a/components/crash/core/app/crashpad.cc ++++ b/components/crash/core/app/crashpad.cc +@@ -76,6 +76,12 @@ void InitializeDatabasePath(const base:: } - bool IsCrashpadEnabled() { -- return base::CommandLine::ForCurrentProcess()->HasSwitch( -- ::switches::kEnableCrashpad); + bool InitializeCrashpadImpl(bool initial_client, ++ const std::string& a, const std::string& b, const base::FilePath& c, ++ const std::vector& d, bool e) { + return false; ++} ++[[maybe_unused]] ++bool DeadInitializeCrashpadImpl(bool initial_client, + const std::string& process_type, + const std::string& user_data_dir, + const base::FilePath& exe_path, +--- a/components/gwp_asan/client/gwp_asan.cc ++++ b/components/gwp_asan/client/gwp_asan.cc +@@ -133,6 +133,11 @@ size_t AllocationSamplingFrequency(const + + // Exported for testing. + GWP_ASAN_EXPORT absl::optional GetAllocatorSettings( ++ const base::Feature& a, bool b) { ++ return absl::nullopt; ++} ++[[maybe_unused]] ++absl::optional DeadGetAllocatorSettings( + const base::Feature& feature, + bool boost_sampling) { + if (!base::FeatureList::IsEnabled(feature)) +--- a/third_party/crashpad/crashpad/client/crashpad_client_linux.cc ++++ b/third_party/crashpad/crashpad/client/crashpad_client_linux.cc +@@ -733,8 +733,6 @@ void CrashpadClient::CrashWithoutDump(co + // static + void CrashpadClient::SetFirstChanceExceptionHandler( + FirstChanceHandler handler) { +- DCHECK(SignalHandler::Get()); +- SignalHandler::Get()->SetFirstChanceHandler(handler); } - bool GetHandlerSocket(int* fd, pid_t* pid) { + void CrashpadClient::SetUnhandledSignals(const std::set& signals) { diff --git a/patches/core/ungoogled-chromium/disable-fonts-googleapis-references.patch b/patches/core/ungoogled-chromium/disable-fonts-googleapis-references.patch index b61cd354..5a21b013 100644 --- a/patches/core/ungoogled-chromium/disable-fonts-googleapis-references.patch +++ b/patches/core/ungoogled-chromium/disable-fonts-googleapis-references.patch @@ -32,7 +32,7 @@ + - + --- a/components/dom_distiller/content/browser/dom_distiller_viewer_source.cc +++ b/components/dom_distiller/content/browser/dom_distiller_viewer_source.cc @@ -299,7 +299,7 @@ bool DomDistillerViewerSource::ShouldSer diff --git a/patches/core/ungoogled-chromium/disable-gaia.patch b/patches/core/ungoogled-chromium/disable-gaia.patch index dec7c4b6..f4124e35 100644 --- a/patches/core/ungoogled-chromium/disable-gaia.patch +++ b/patches/core/ungoogled-chromium/disable-gaia.patch @@ -3,7 +3,7 @@ --- a/google_apis/gaia/gaia_auth_fetcher.cc +++ b/google_apis/gaia/gaia_auth_fetcher.cc -@@ -285,64 +285,6 @@ void GaiaAuthFetcher::CreateAndStartGaia +@@ -266,59 +266,6 @@ void GaiaAuthFetcher::CreateAndStartGaia network::mojom::CredentialsMode credentials_mode, const net::NetworkTrafficAnnotationTag& traffic_annotation) { DCHECK(!fetch_pending_) << "Tried to fetch two things at once!"; @@ -30,11 +30,6 @@ - if (!headers.empty()) - resource_request->headers.AddHeadersFromString(headers); - -- // The Gaia token exchange requests do not require any cookie-based -- // identification as part of requests. We suppress sending any cookies to -- // maintain a separation between the user's browsing and Chrome's internal -- // services. Where such mixing is desired (MergeSession or OAuthLogin), it -- // will be done explicitly. - resource_request->credentials_mode = credentials_mode; - - url_loader_ = network::SimpleURLLoader::Create(std::move(resource_request), diff --git a/patches/core/ungoogled-chromium/disable-gcm.patch b/patches/core/ungoogled-chromium/disable-gcm.patch index 154e0316..0131bd74 100644 --- a/patches/core/ungoogled-chromium/disable-gcm.patch +++ b/patches/core/ungoogled-chromium/disable-gcm.patch @@ -2,7 +2,7 @@ --- a/components/gcm_driver/gcm_client_impl.cc +++ b/components/gcm_driver/gcm_client_impl.cc -@@ -465,6 +465,7 @@ void GCMClientImpl::StartGCM() { +@@ -463,6 +463,7 @@ void GCMClientImpl::StartGCM() { void GCMClientImpl::InitializeMCSClient() { DCHECK(network_connection_tracker_); @@ -10,7 +10,7 @@ std::vector endpoints; endpoints.push_back(gservices_settings_.GetMCSMainEndpoint()); GURL fallback_endpoint = gservices_settings_.GetMCSFallbackEndpoint(); -@@ -670,32 +671,6 @@ void GCMClientImpl::RemoveHeartbeatInter +@@ -668,32 +669,6 @@ void GCMClientImpl::RemoveHeartbeatInter void GCMClientImpl::StartCheckin() { DCHECK(io_task_runner_->RunsTasksInCurrentSequence()); @@ -43,7 +43,7 @@ } void GCMClientImpl::OnCheckinCompleted( -@@ -752,24 +727,6 @@ void GCMClientImpl::SetGServicesSettings +@@ -750,24 +725,6 @@ void GCMClientImpl::SetGServicesSettings void GCMClientImpl::SchedulePeriodicCheckin() { DCHECK(io_task_runner_->RunsTasksInCurrentSequence()); diff --git a/patches/core/ungoogled-chromium/disable-google-host-detection.patch b/patches/core/ungoogled-chromium/disable-google-host-detection.patch index 7cb2e5d3..5f3c26d7 100644 --- a/patches/core/ungoogled-chromium/disable-google-host-detection.patch +++ b/patches/core/ungoogled-chromium/disable-google-host-detection.patch @@ -129,7 +129,7 @@ #endif --- a/components/google/core/common/google_util.cc +++ b/components/google/core/common/google_util.cc -@@ -31,112 +31,6 @@ namespace google_util { +@@ -31,110 +31,6 @@ namespace google_util { namespace { @@ -217,8 +217,6 @@ - base::MakeFixedFlatSet({YOUTUBE_TLD_LIST}); - - return IsValidHostName(canonical_host, "youtube", subdomain_permission, -- youtube_tlds) || -- IsValidHostName(canonical_host, "youtubekids", subdomain_permission, - youtube_tlds); -} - @@ -242,7 +240,7 @@ } // namespace // Global functions ----------------------------------------------------------- -@@ -144,12 +38,6 @@ bool IsGoogleSearchSubdomainUrl(const GU +@@ -142,12 +38,6 @@ bool IsGoogleSearchSubdomainUrl(const GU const char kGoogleHomepageURL[] = "trk:113:https://www.google.com/"; bool HasGoogleSearchQueryParam(base::StringPiece str) { @@ -255,7 +253,7 @@ return false; } -@@ -160,161 +48,53 @@ std::string GetGoogleLocale(const std::s +@@ -158,162 +48,53 @@ std::string GetGoogleLocale(const std::s GURL AppendGoogleLocaleParam(const GURL& url, const std::string& application_locale) { @@ -405,6 +403,7 @@ - ".googlevideo.com", - ".gstatic.com", - ".litepages.googlezip.net", +- ".youtubekids.com", - ".ytimg.com", - }; - const std::string host = url.host(); @@ -577,7 +576,7 @@ } // namespace variations --- a/net/base/url_util.cc +++ b/net/base/url_util.cc -@@ -455,27 +455,6 @@ bool HasGoogleHost(const GURL& url) { +@@ -464,27 +464,6 @@ bool HasGoogleHost(const GURL& url) { } bool IsGoogleHost(base::StringPiece host) { diff --git a/patches/core/ungoogled-chromium/disable-mei-preload.patch b/patches/core/ungoogled-chromium/disable-mei-preload.patch index 15190bb6..30db0bec 100644 --- a/patches/core/ungoogled-chromium/disable-mei-preload.patch +++ b/patches/core/ungoogled-chromium/disable-mei-preload.patch @@ -7,7 +7,7 @@ --- a/chrome/BUILD.gn +++ b/chrome/BUILD.gn -@@ -363,7 +363,6 @@ if (!is_android && !is_mac) { +@@ -369,7 +369,6 @@ if (!is_android && !is_mac) { } data_deps += [ @@ -15,7 +15,7 @@ "//third_party/widevine/cdm", ] } -@@ -1189,7 +1188,6 @@ if (is_win) { +@@ -1195,7 +1194,6 @@ if (is_win) { ":optimization_guide_library", ":swiftshader_library", ":widevine_cdm_library", diff --git a/patches/core/ungoogled-chromium/disable-network-time-tracker.patch b/patches/core/ungoogled-chromium/disable-network-time-tracker.patch index 39f889c4..55824173 100644 --- a/patches/core/ungoogled-chromium/disable-network-time-tracker.patch +++ b/patches/core/ungoogled-chromium/disable-network-time-tracker.patch @@ -5,7 +5,7 @@ --- a/components/network_time/network_time_tracker.cc +++ b/components/network_time/network_time_tracker.cc -@@ -294,7 +294,7 @@ void NetworkTimeTracker::UpdateNetworkTi +@@ -296,7 +296,7 @@ void NetworkTimeTracker::UpdateNetworkTi } bool NetworkTimeTracker::AreTimeFetchesEnabled() const { diff --git a/patches/core/ungoogled-chromium/disable-privacy-sandbox.patch b/patches/core/ungoogled-chromium/disable-privacy-sandbox.patch index 9c3d8d89..d524c2de 100644 --- a/patches/core/ungoogled-chromium/disable-privacy-sandbox.patch +++ b/patches/core/ungoogled-chromium/disable-privacy-sandbox.patch @@ -24,7 +24,7 @@ --- a/components/privacy_sandbox/privacy_sandbox_prefs.cc +++ b/components/privacy_sandbox/privacy_sandbox_prefs.cc -@@ -63,7 +63,7 @@ namespace privacy_sandbox { +@@ -66,7 +66,7 @@ namespace privacy_sandbox { void RegisterProfilePrefs(PrefRegistrySimple* registry) { registry->RegisterBooleanPref( @@ -35,7 +35,7 @@ registry->RegisterBooleanPref( --- a/components/privacy_sandbox/privacy_sandbox_settings.cc +++ b/components/privacy_sandbox/privacy_sandbox_settings.cc -@@ -336,45 +336,10 @@ bool PrivacySandboxSettings::IsPrivateAg +@@ -335,45 +335,10 @@ bool PrivacySandboxSettings::IsPrivateAg } bool PrivacySandboxSettings::IsPrivacySandboxEnabled() const { @@ -84,23 +84,23 @@ bool PrivacySandboxSettings::IsTrustTokensAllowed() { --- a/content/browser/aggregation_service/aggregation_service_features.cc +++ b/content/browser/aggregation_service/aggregation_service_features.cc -@@ -8,7 +8,7 @@ namespace content { - +@@ -9,7 +9,7 @@ namespace content { // Enables the Aggregation Service. See crbug.com/1207974. - const base::Feature kPrivacySandboxAggregationService = { -- "PrivacySandboxAggregationService", base::FEATURE_ENABLED_BY_DEFAULT}; -+ "PrivacySandboxAggregationService", base::FEATURE_DISABLED_BY_DEFAULT}; + BASE_FEATURE(kPrivacySandboxAggregationService, + "PrivacySandboxAggregationService", +- base::FEATURE_ENABLED_BY_DEFAULT); ++ base::FEATURE_DISABLED_BY_DEFAULT); const base::FeatureParam kPrivacySandboxAggregationServiceTrustedServerUrlParam{ --- a/third_party/blink/common/features.cc +++ b/third_party/blink/common/features.cc -@@ -107,7 +107,7 @@ const base::Feature kBlockingDownloadsIn - +@@ -106,7 +106,7 @@ BASE_FEATURE(kBlockingDownloadsInAdFrame // Controls whether the Conversion Measurement API infrastructure is enabled. - const base::Feature kConversionMeasurement{"ConversionMeasurement", -- base::FEATURE_ENABLED_BY_DEFAULT}; -+ base::FEATURE_DISABLED_BY_DEFAULT}; + BASE_FEATURE(kConversionMeasurement, + "ConversionMeasurement", +- base::FEATURE_ENABLED_BY_DEFAULT); ++ base::FEATURE_DISABLED_BY_DEFAULT); // Controls whether LCP calculations should exclude low-entropy images. If // enabled, then the associated parameter sets the cutoff, expressed as the diff --git a/patches/core/ungoogled-chromium/disable-signin.patch b/patches/core/ungoogled-chromium/disable-signin.patch index afe180cb..66188de0 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 -@@ -589,32 +589,6 @@ void ShowFirmwareUpdatesApp(Profile* pro +@@ -588,32 +588,6 @@ void ShowFirmwareUpdatesApp(Profile* pro void ShowBrowserSignin(Browser* browser, signin_metrics::AccessPoint access_point, signin::ConsentLevel consent_level) { diff --git a/patches/core/ungoogled-chromium/doh-changes.patch b/patches/core/ungoogled-chromium/doh-changes.patch index 59497474..9dbaa4dd 100644 --- a/patches/core/ungoogled-chromium/doh-changes.patch +++ b/patches/core/ungoogled-chromium/doh-changes.patch @@ -1,26 +1,27 @@ --- a/chrome/common/chrome_features.cc +++ b/chrome/common/chrome_features.cc -@@ -310,12 +310,7 @@ const base::Feature kDisruptiveNotificat +@@ -351,12 +351,7 @@ BASE_FEATURE(kDisruptiveNotificationPerm // Enable DNS over HTTPS (DoH). - const base::Feature kDnsOverHttps { - "DnsOverHttps", + BASE_FEATURE(kDnsOverHttps, + "DnsOverHttps", -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \ - BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) -- base::FEATURE_ENABLED_BY_DEFAULT +- base::FEATURE_ENABLED_BY_DEFAULT -#else - base::FEATURE_DISABLED_BY_DEFAULT + base::FEATURE_DISABLED_BY_DEFAULT -#endif - }; + ); // Set whether fallback to insecure DNS is allowed by default. This setting may --- a/net/dns/public/doh_provider_entry.cc +++ b/net/dns/public/doh_provider_entry.cc -@@ -149,30 +149,6 @@ const DohProviderEntry::List& DohProvide +@@ -160,32 +160,6 @@ const DohProviderEntry::List& DohProvide /*display_globally=*/false, /*display_countries=*/{"EE", "DE"}, LoggingLevel::kNormal), new DohProviderEntry( - "Google", -- base::Feature{"DohProviderGoogle", base::FEATURE_ENABLED_BY_DEFAULT}, +- MAKE_BASE_FEATURE_WITH_STATIC_STORAGE( +- DohProviderGoogle, base::FEATURE_ENABLED_BY_DEFAULT), - DohProviderIdForHistogram::kGoogle, - {"8.8.8.8", "8.8.4.4", "2001:4860:4860::8888", - "2001:4860:4860::8844"}, @@ -32,32 +33,33 @@ - /*privacy_policy=*/"privacy", - /*display_globally=*/true, /*display_countries=*/{}, - LoggingLevel::kExtra), -- new DohProviderEntry("GoogleDns64", -- base::Feature{"DohProviderGoogleDns64", -- base::FEATURE_ENABLED_BY_DEFAULT}, -- /*provider_id_for_histogram=*/absl::nullopt, -- {"2001:4860:4860::64", "2001:4860:4860::6464"}, -- /*dns_over_tls_hostnames=*/{"dns64.dns.google"}, -- "https://dns64.dns.google/dns-query{?dns}", -- /*ui_name=*/"", /*privacy_policy=*/"", -- /*display_globally=*/false, -- /*display_countries=*/{}, LoggingLevel::kNormal), +- new DohProviderEntry( +- "GoogleDns64", +- MAKE_BASE_FEATURE_WITH_STATIC_STORAGE( +- DohProviderGoogleDns64, base::FEATURE_ENABLED_BY_DEFAULT), +- /*provider_id_for_histogram=*/absl::nullopt, +- {"2001:4860:4860::64", "2001:4860:4860::6464"}, +- /*dns_over_tls_hostnames=*/{"dns64.dns.google"}, +- "https://dns64.dns.google/dns-query{?dns}", +- /*ui_name=*/"", /*privacy_policy=*/"", +- /*display_globally=*/false, +- /*display_countries=*/{}, LoggingLevel::kNormal), - new DohProviderEntry( "Iij", - base::Feature{"DohProviderIij", base::FEATURE_ENABLED_BY_DEFAULT}, - DohProviderIdForHistogram::kIij, /*ip_strs=*/{}, + MAKE_BASE_FEATURE_WITH_STATIC_STORAGE( + DohProviderIij, base::FEATURE_ENABLED_BY_DEFAULT), --- a/services/network/public/cpp/features.cc +++ b/services/network/public/cpp/features.cc -@@ -93,12 +93,7 @@ const base::Feature kSplitAuthCacheByNet +@@ -101,12 +101,7 @@ BASE_FEATURE(kSplitAuthCacheByNetworkIso // Enable usage of hardcoded DoH upgrade mapping for use in automatic mode. - const base::Feature kDnsOverHttpsUpgrade { - "DnsOverHttpsUpgrade", + BASE_FEATURE(kDnsOverHttpsUpgrade, + "DnsOverHttpsUpgrade", -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \ - BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) -- base::FEATURE_ENABLED_BY_DEFAULT +- base::FEATURE_ENABLED_BY_DEFAULT -#else - base::FEATURE_DISABLED_BY_DEFAULT + base::FEATURE_DISABLED_BY_DEFAULT -#endif - }; + ); // If this feature is enabled, the mDNS responder service responds to queries diff --git a/patches/core/ungoogled-chromium/fix-building-without-safebrowsing.patch b/patches/core/ungoogled-chromium/fix-building-without-safebrowsing.patch index 3f89daa6..5d97c52c 100644 --- a/patches/core/ungoogled-chromium/fix-building-without-safebrowsing.patch +++ b/patches/core/ungoogled-chromium/fix-building-without-safebrowsing.patch @@ -2,7 +2,7 @@ --- a/chrome/browser/BUILD.gn +++ b/chrome/browser/BUILD.gn -@@ -627,8 +627,6 @@ static_library("browser") { +@@ -631,8 +631,6 @@ static_library("browser") { "internal_auth.h", "interstitials/chrome_settings_page_helper.cc", "interstitials/chrome_settings_page_helper.h", @@ -11,7 +11,7 @@ "invalidation/profile_invalidation_provider_factory.cc", "invalidation/profile_invalidation_provider_factory.h", "k_anonymity_service/k_anonymity_service_client.cc", -@@ -3742,10 +3740,6 @@ static_library("browser") { +@@ -3757,10 +3755,6 @@ static_library("browser") { "enterprise/connectors/analysis/analysis_service_settings.h", "enterprise/connectors/analysis/analysis_settings.cc", "enterprise/connectors/analysis/analysis_settings.h", @@ -22,7 +22,7 @@ "enterprise/connectors/analysis/content_analysis_dialog.cc", "enterprise/connectors/analysis/content_analysis_dialog.h", "enterprise/connectors/analysis/content_analysis_downloads_delegate.cc", -@@ -4021,10 +4015,6 @@ static_library("browser") { +@@ -4040,10 +4034,6 @@ static_library("browser") { "new_tab_page/modules/recipes/recipes_service_factory.h", "new_tab_page/modules/recipes/time_format_util.cc", "new_tab_page/modules/recipes/time_format_util.h", @@ -33,7 +33,7 @@ "new_tab_page/new_tab_page_util.cc", "new_tab_page/new_tab_page_util.h", "new_tab_page/one_google_bar/one_google_bar_data.cc", -@@ -4467,7 +4457,6 @@ static_library("browser") { +@@ -4488,7 +4478,6 @@ static_library("browser") { "//chrome/browser/new_tab_page/modules/feed:mojo_bindings", "//chrome/browser/new_tab_page/modules/photos:mojo_bindings", "//chrome/browser/new_tab_page/modules/recipes:mojo_bindings", @@ -41,7 +41,7 @@ "//chrome/browser/policy:path_parser", "//chrome/browser/profile_resetter:profile_reset_report_proto", "//chrome/browser/resource_coordinator:intervention_policy_database_proto", -@@ -7819,9 +7808,14 @@ static_library("browser") { +@@ -7884,9 +7873,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", @@ -73,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 -@@ -4618,11 +4618,13 @@ ChromeContentBrowserClient::CreateThrott +@@ -4649,11 +4649,13 @@ ChromeContentBrowserClient::CreateThrott &throttles); #endif @@ -85,9 +85,9 @@ } +#endif - // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch - // of lacros-chrome is complete. -@@ -6054,26 +6056,7 @@ ChromeContentBrowserClient::GetSafeBrows + #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) + MaybeAddThrottle(browser_switcher::BrowserSwitcherNavigationThrottle:: +@@ -6088,26 +6090,7 @@ ChromeContentBrowserClient::GetSafeBrows const std::vector& allowlist_domains) { DCHECK_CURRENTLY_ON(BrowserThread::IO); @@ -115,7 +115,7 @@ } safe_browsing::RealTimeUrlLookupServiceBase* -@@ -6094,11 +6077,6 @@ ChromeContentBrowserClient::GetUrlLookup +@@ -6128,11 +6111,6 @@ ChromeContentBrowserClient::GetUrlLookup GetForProfile(profile); } #endif @@ -129,7 +129,7 @@ --- a/chrome/browser/chrome_content_browser_client_receiver_bindings.cc +++ b/chrome/browser/chrome_content_browser_client_receiver_bindings.cc -@@ -145,34 +145,6 @@ void MaybeCreateSafeBrowsingForRenderer( +@@ -143,34 +143,6 @@ void MaybeCreateSafeBrowsingForRenderer( const std::vector& allowlist_domains)> get_checker_delegate, mojo::PendingReceiver receiver) { @@ -209,7 +209,7 @@ #include "third_party/blink/public/common/renderer_preferences/renderer_preferences.h" --- a/chrome/browser/download/bubble/download_bubble_controller.cc +++ b/chrome/browser/download/bubble/download_bubble_controller.cc -@@ -400,8 +400,6 @@ void DownloadBubbleUIController::Process +@@ -402,8 +402,6 @@ void DownloadBubbleUIController::Process ProcessDownloadWarningButtonPress(model, command); break; case DownloadCommands::REVIEW: @@ -321,7 +321,7 @@ --- a/chrome/browser/download/download_item_model.cc +++ b/chrome/browser/download/download_item_model.cc -@@ -905,76 +905,10 @@ void DownloadItemModel::ExecuteCommand(D +@@ -924,100 +924,10 @@ void DownloadItemModel::ExecuteCommand(D DownloadItemModel::BubbleUIInfo DownloadItemModel::GetBubbleUIInfoForTailoredWarning() const { @@ -352,8 +352,32 @@ - download::DOWNLOAD_DANGER_TYPE_DANGEROUS_ACCOUNT_COMPROMISE && - tailored_verdict.tailored_verdict_type() == - TailoredVerdict::COOKIE_THEFT) { -- // TODO(crbug.com/1351925): Check the adjustments field and add the account -- // information in the subpage summary. +- if (base::Contains(tailored_verdict.adjustments(), +- TailoredVerdict::ACCOUNT_INFO_STRING)) { +- auto* identity_manager = IdentityManagerFactory::GetForProfile(profile()); +- std::string email = +- identity_manager +- ? identity_manager +- ->GetPrimaryAccountInfo(signin::ConsentLevel::kSignin) +- .email +- : ""; +- base::UmaHistogramBoolean( +- "SBClientDownload.TailoredWarning.HasVaidEmailForAccountInfo", +- !email.empty()); +- if (!email.empty()) { +- return DownloadUIModel::BubbleUIInfo( +- l10n_util::GetStringFUTF16( +- IDS_DOWNLOAD_BUBBLE_SUBPAGE_SUMMARY_COOKIE_THEFT_AND_ACCOUNT, +- base::ASCIIToUTF16(email))) +- .AddIconAndColor(vector_icons::kNotSecureWarningIcon, +- ui::kColorAlertHighSeverity) +- .AddPrimaryButton(DownloadCommands::Command::DISCARD) +- .AddSubpageButton( +- l10n_util::GetStringUTF16(IDS_DOWNLOAD_BUBBLE_DELETE), +- DownloadCommands::Command::DISCARD, +- /*is_prominent=*/true); +- } +- } - return DownloadUIModel::BubbleUIInfo( - l10n_util::GetStringUTF16( - IDS_DOWNLOAD_BUBBLE_SUBPAGE_SUMMARY_COOKIE_THEFT)) @@ -400,15 +424,15 @@ --- a/chrome/browser/download/download_stats.cc +++ b/chrome/browser/download/download_stats.cc -@@ -9,6 +9,7 @@ - #include "base/notreached.h" +@@ -10,6 +10,7 @@ #include "build/build_config.h" + #include "components/download/public/common/download_content.h" #include "components/profile_metrics/browser_profile_type.h" +#include "components/safe_browsing/buildflags.h" #include "components/safe_browsing/content/browser/download/download_stats.h" void RecordDownloadCount(ChromeDownloadCountTypes type) { -@@ -28,8 +29,10 @@ void RecordDangerousDownloadWarningShown +@@ -29,8 +30,10 @@ void RecordDangerousDownloadWarningShown bool has_user_gesture) { base::UmaHistogramEnumeration("Download.ShowedDownloadWarning", danger_type, download::DOWNLOAD_DANGER_TYPE_MAX); @@ -421,7 +445,7 @@ void RecordOpenedDangerousConfirmDialog( --- a/chrome/browser/download/download_target_determiner.cc +++ b/chrome/browser/download/download_target_determiner.cc -@@ -953,12 +953,14 @@ void DownloadTargetDeterminer::CheckVisi +@@ -956,12 +956,14 @@ void DownloadTargetDeterminer::CheckVisi bool visited_referrer_before) { DCHECK_CURRENTLY_ON(BrowserThread::UI); DCHECK_EQ(STATE_DETERMINE_INTERMEDIATE_PATH, next_state_); @@ -436,7 +460,7 @@ danger_level_ = GetDangerLevel( visited_referrer_before ? VISITED_REFERRER : NO_VISITS_TO_REFERRER); if (danger_level_ != DownloadFileType::NOT_DANGEROUS && -@@ -1197,6 +1199,7 @@ DownloadFileType::DangerLevel DownloadTa +@@ -1199,6 +1201,7 @@ DownloadFileType::DangerLevel DownloadTa absl::optional DownloadTargetDeterminer::GetLastDownloadBypassTimestamp() const { @@ -444,7 +468,7 @@ safe_browsing::SafeBrowsingMetricsCollector* metrics_collector = safe_browsing::SafeBrowsingMetricsCollectorFactory::GetForProfile( GetProfile()); -@@ -1205,6 +1208,9 @@ DownloadTargetDeterminer::GetLastDownloa +@@ -1207,6 +1210,9 @@ DownloadTargetDeterminer::GetLastDownloa safe_browsing::SafeBrowsingMetricsCollector:: EventType::DANGEROUS_DOWNLOAD_BYPASS) : absl::nullopt; @@ -456,7 +480,7 @@ void DownloadTargetDeterminer::OnDownloadDestroyed( --- a/chrome/browser/enterprise/connectors/analysis/content_analysis_delegate.cc +++ b/chrome/browser/enterprise/connectors/analysis/content_analysis_delegate.cc -@@ -36,7 +36,6 @@ +@@ -37,7 +37,6 @@ #include "chrome/browser/safe_browsing/cloud_content_scanning/binary_upload_service.h" #include "chrome/browser/safe_browsing/cloud_content_scanning/deep_scanning_utils.h" #include "chrome/browser/safe_browsing/cloud_content_scanning/file_analysis_request.h" @@ -479,7 +503,7 @@ std::u16string ContentAnalysisDownloadsDelegate::GetBypassJustificationLabel() --- a/chrome/browser/enterprise/connectors/analysis/files_request_handler.cc +++ b/chrome/browser/enterprise/connectors/analysis/files_request_handler.cc -@@ -228,15 +228,6 @@ void FilesRequestHandler::OnGotFileInfo( +@@ -233,15 +233,6 @@ void FilesRequestHandler::OnGotFileInfo( void FilesRequestHandler::FinishRequestEarly( std::unique_ptr request, safe_browsing::BinaryUploadService::Result result) { @@ -497,7 +521,7 @@ } --- a/chrome/browser/enterprise/connectors/connectors_service.cc +++ b/chrome/browser/enterprise/connectors/connectors_service.cc -@@ -444,19 +444,6 @@ absl::optional ConnectorsSe +@@ -446,19 +446,6 @@ absl::optional ConnectorsSe return absl::nullopt; } @@ -532,39 +556,54 @@ // Returns the CBCM domain or profile domain that enables connector policies. // If both set Connector policies, the CBCM domain is returned as it has // precedence. ---- a/chrome/browser/enterprise/connectors/device_trust/signals/decorators/common/common_signals_decorator.cc -+++ b/chrome/browser/enterprise/connectors/device_trust/signals/decorators/common/common_signals_decorator.cc -@@ -44,10 +44,6 @@ void CommonSignalsDecorator::Decorate(ba - signals.Set( - device_signals::names::kBuiltInDnsClientEnabled, - enterprise_signals::utils::GetBuiltInDnsClientEnabled(local_state_)); -- signals.Set(device_signals::names::kSafeBrowsingProtectionLevel, -- static_cast( -- enterprise_signals::utils::GetSafeBrowsingProtectionLevel( -- profile_prefs_))); - absl::optional third_party_blocking_enabled = - enterprise_signals::utils::GetThirdPartyBlockingEnabled(local_state_); - if (third_party_blocking_enabled.has_value()) { -@@ -62,16 +58,6 @@ void CommonSignalsDecorator::Decorate(ba - chrome_cleanup_enabled.value()); - } +--- a/chrome/browser/enterprise/connectors/device_trust/signals/decorators/common/context_signals_decorator.cc ++++ b/chrome/browser/enterprise/connectors/device_trust/signals/decorators/common/context_signals_decorator.cc +@@ -26,25 +26,6 @@ enum class PasswordProtectionTrigger { + kPhisingReuse = 3 + }; -- absl::optional -- password_protection_warning_trigger = -- enterprise_signals::utils::GetPasswordProtectionWarningTrigger( -- profile_prefs_); -- if (password_protection_warning_trigger.has_value()) { -- signals.Set( -- device_signals::names::kPasswordProtectionWarningTrigger, -- static_cast(password_protection_warning_trigger.value())); +-PasswordProtectionTrigger ConvertPasswordProtectionTrigger( +- const absl::optional& +- policy_value) { +- if (!policy_value) { +- return PasswordProtectionTrigger::kUnset; - } - - if (cached_device_model_ && cached_device_manufacturer_) { - UpdateFromCache(signals); - LogSignalsCollectionLatency(kLatencyHistogramWithCacheVariant, start_time); +- switch (policy_value.value()) { +- case safe_browsing::PASSWORD_PROTECTION_OFF: +- return PasswordProtectionTrigger::kOff; +- case safe_browsing::PASSWORD_REUSE: +- return PasswordProtectionTrigger::kPasswordReuse; +- case safe_browsing::PHISHING_REUSE: +- return PasswordProtectionTrigger::kPhisingReuse; +- case safe_browsing::PASSWORD_PROTECTION_TRIGGER_MAX: +- NOTREACHED(); +- return PasswordProtectionTrigger::kUnset; +- } +-} + + } // namespace + +@@ -74,16 +55,8 @@ void ContextSignalsDecorator::OnSignalsF + ToListValue(context_info.browser_affiliation_ids)); + signals.Set(device_signals::names::kProfileAffiliationIds, + ToListValue(context_info.profile_affiliation_ids)); +- signals.Set(device_signals::names::kRealtimeUrlCheckMode, +- static_cast(context_info.realtime_url_check_mode)); +- signals.Set( +- device_signals::names::kSafeBrowsingProtectionLevel, +- static_cast(context_info.safe_browsing_protection_level)); + signals.Set(device_signals::names::kSiteIsolationEnabled, + context_info.site_isolation_enabled); +- signals.Set(device_signals::names::kPasswordProtectionWarningTrigger, +- static_cast(ConvertPasswordProtectionTrigger( +- context_info.password_protection_warning_trigger))); + signals.Set(device_signals::names::kChromeRemoteDesktopAppBlocked, + context_info.chrome_remote_desktop_app_blocked); + signals.Set(device_signals::names::kBuiltInDnsClientEnabled, --- a/chrome/browser/enterprise/connectors/reporting/realtime_reporting_client.cc +++ b/chrome/browser/enterprise/connectors/reporting/realtime_reporting_client.cc -@@ -399,7 +399,7 @@ void RealtimeReportingClient::ReportReal +@@ -400,7 +400,7 @@ void RealtimeReportingClient::ReportReal } std::string RealtimeReportingClient::GetProfileUserName() const { @@ -575,7 +614,7 @@ #if BUILDFLAG(IS_CHROMEOS_ASH) --- a/chrome/browser/enterprise/connectors/reporting/reporting_service_settings.cc +++ b/chrome/browser/enterprise/connectors/reporting/reporting_service_settings.cc -@@ -72,16 +72,6 @@ ReportingServiceSettings::ReportingServi +@@ -74,16 +74,6 @@ ReportingServiceSettings::ReportingServi else DVLOG(1) << "Enabled event name list contains a non string value!"; } @@ -700,7 +739,7 @@ } // namespace utils --- a/chrome/browser/extensions/BUILD.gn +++ b/chrome/browser/extensions/BUILD.gn -@@ -305,10 +305,6 @@ static_library("extensions") { +@@ -303,10 +303,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", @@ -711,7 +750,7 @@ "api/safe_browsing_private/safe_browsing_util.cc", "api/safe_browsing_private/safe_browsing_util.h", "api/scripting/scripting_api.cc", -@@ -641,8 +637,6 @@ static_library("extensions") { +@@ -639,8 +635,6 @@ static_library("extensions") { "menu_manager_factory.h", "navigation_observer.cc", "navigation_observer.h", @@ -720,9 +759,60 @@ "pack_extension_job.cc", "pack_extension_job.h", "pending_extension_info.cc", +--- a/chrome/browser/extensions/api/cookies/cookies_api.cc ++++ b/chrome/browser/extensions/api/cookies/cookies_api.cc +@@ -285,21 +285,6 @@ void CookiesGetFunction::GetCookieListCa + } + + void CookiesGetFunction::NotifyExtensionTelemetry() { +- auto* telemetry_service = +- safe_browsing::ExtensionTelemetryServiceFactory::GetForProfile( +- Profile::FromBrowserContext(browser_context())); +- +- if (!telemetry_service || !telemetry_service->enabled() || +- !base::FeatureList::IsEnabled( +- safe_browsing::kExtensionTelemetryCookiesGetSignal)) { +- return; +- } +- +- auto cookies_get_signal = std::make_unique( +- extension_id(), parsed_args_->details.name, +- parsed_args_->details.store_id.value_or(std::string()), +- parsed_args_->details.url); +- telemetry_service->AddSignal(std::move(cookies_get_signal)); + } + + CookiesGetAllFunction::CookiesGetAllFunction() { +@@ -383,26 +368,6 @@ void CookiesGetAllFunction::GetCookieLis + } + + void CookiesGetAllFunction::NotifyExtensionTelemetry() { +- auto* telemetry_service = +- safe_browsing::ExtensionTelemetryServiceFactory::GetForProfile( +- Profile::FromBrowserContext(browser_context())); +- +- if (!telemetry_service || !telemetry_service->enabled() || +- !base::FeatureList::IsEnabled( +- safe_browsing::kExtensionTelemetryCookiesGetAllSignal)) { +- return; +- } +- +- auto cookies_get_all_signal = +- std::make_unique( +- extension_id(), parsed_args_->details.domain.value_or(std::string()), +- parsed_args_->details.name.value_or(std::string()), +- parsed_args_->details.path.value_or(std::string()), +- parsed_args_->details.secure.value_or(false), +- parsed_args_->details.store_id.value_or(std::string()), +- parsed_args_->details.url.value_or(std::string()), +- parsed_args_->details.session.value_or(false)); +- telemetry_service->AddSignal(std::move(cookies_get_all_signal)); + } + + CookiesSetFunction::CookiesSetFunction() --- a/chrome/browser/extensions/api/enterprise_reporting_private/enterprise_reporting_private_api.cc +++ b/chrome/browser/extensions/api/enterprise_reporting_private/enterprise_reporting_private_api.cc -@@ -94,17 +94,8 @@ api::enterprise_reporting_private::Conte +@@ -92,17 +92,8 @@ api::enterprise_reporting_private::Conte info.third_party_blocking_enabled = signals.third_party_blocking_enabled; info.os_firewall = ToInfoSettingValue(signals.os_firewall); info.system_dns_servers = std::move(signals.system_dns_servers); @@ -1052,7 +1142,7 @@ #include "chrome/browser/ui/file_system_access_dialogs.h" #include "chrome/common/chrome_paths.h" #include "chrome/common/pdf_util.h" -@@ -344,83 +342,6 @@ BindResultCallbackToCurrentSequence( +@@ -344,85 +342,6 @@ BindResultCallbackToCurrentSequence( base::SequencedTaskRunnerHandle::Get(), std::move(callback)); } @@ -1092,6 +1182,8 @@ - - sb_service->download_protection_service()->CheckFileSystemAccessWrite( - std::move(item), std::move(callback)); +-#else +- std::move(callback).Run(safe_browsing::DownloadCheckResult::UNKNOWN); -#endif -} - @@ -1101,7 +1193,7 @@ - switch (result) { - // Only allow downloads that are marked as SAFE or UNKNOWN by SafeBrowsing. - // All other types are going to be blocked. UNKNOWN could be the result of a -- // failed safe browsing ping. +- // failed safe browsing ping or if Safe Browsing is not enabled. - case Result::UNKNOWN: - case Result::SAFE: - case Result::ALLOWLISTED_BY_POLICY: @@ -1136,7 +1228,7 @@ std::string GenerateLastPickedDirectoryKey(const std::string& id) { return id.empty() ? kDefaultLastPickedDirectoryKey : base::StrCat({kCustomLastPickedDirectoryKey, "-", id}); -@@ -1202,28 +1123,6 @@ void ChromeFileSystemAccessPermissionCon +@@ -1204,28 +1123,6 @@ void ChromeFileSystemAccessPermissionCon frame_id, std::move(callback))); } @@ -1165,13 +1257,13 @@ void ChromeFileSystemAccessPermissionContext:: DidConfirmSensitiveDirectoryAccess( const url::Origin& origin, -@@ -1235,27 +1134,6 @@ void ChromeFileSystemAccessPermissionCon +@@ -1237,27 +1134,6 @@ void ChromeFileSystemAccessPermissionCon bool should_block) { DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_); if (!should_block) { - // If attempting to save a file with a dangerous extension, prompt the user - // to make them confirm they actually want to save the file. -- if (dialog_type == ui::SelectFileDialog::SELECT_SAVEAS_FILE) { +- if (user_action == UserAction::kSave) { - safe_browsing::DownloadFileType::DangerLevel danger_level = - safe_browsing::FileTypePolicies::GetInstance()->GetFileDangerLevel( - path, origin.GetURL(), @@ -1196,7 +1288,7 @@ --- a/chrome/browser/file_system_access/chrome_file_system_access_permission_context.h +++ b/chrome/browser/file_system_access/chrome_file_system_access_permission_context.h @@ -88,10 +88,6 @@ class ChromeFileSystemAccessPermissionCo - ui::SelectFileDialog::Type dialog_type, + UserAction user_action, content::GlobalRenderFrameHostId frame_id, base::OnceCallback callback) override; - void PerformAfterWriteChecks( @@ -1216,7 +1308,7 @@ #include "components/url_formatter/elide_url.h" #include "content/public/browser/browser_thread.h" #include "content/public/browser/desktop_capture.h" -@@ -118,6 +119,7 @@ void DisplayMediaAccessHandler::HandleRe +@@ -112,6 +113,7 @@ void DisplayMediaAccessHandler::HandleRe return; } @@ -1224,7 +1316,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. Show the warning -@@ -133,6 +135,7 @@ void DisplayMediaAccessHandler::HandleRe +@@ -127,6 +129,7 @@ void DisplayMediaAccessHandler::HandleRe observer->OnDesktopCaptureRequest(); return; } @@ -1255,10 +1347,10 @@ #include "chrome/browser/password_manager/password_store_factory.h" #include "chrome/browser/profiles/profile.h" -#include "chrome/browser/safe_browsing/chrome_password_protection_service.h" - #include "chrome/browser/safe_browsing/user_interaction_observer.h" - #include "chrome/browser/signin/identity_manager_factory.h" - #include "chrome/browser/sync/sync_service_factory.h" -@@ -920,6 +919,7 @@ autofill::LanguageCode ChromePasswordMan + #include "chrome/browser/safe_browsing/extension_telemetry/extension_telemetry_service.h" + #include "chrome/browser/safe_browsing/extension_telemetry/extension_telemetry_service_factory.h" + #include "chrome/browser/safe_browsing/extension_telemetry/password_reuse_signal.h" +@@ -961,6 +960,7 @@ autofill::LanguageCode ChromePasswordMan return autofill::LanguageCode(); } @@ -1266,8 +1358,8 @@ safe_browsing::PasswordProtectionService* ChromePasswordManagerClient::GetPasswordProtectionService() const { return safe_browsing::ChromePasswordProtectionService:: -@@ -961,13 +961,9 @@ void ChromePasswordManagerClient::CheckP - // TODO(crbug.com/1351484): Hook this to the extension service in the next CL. +@@ -1034,13 +1034,9 @@ void ChromePasswordManagerClient::CheckP + telemetry_service->AddSignal(std::move(password_reuse_signal)); #endif // !BUILDFLAG(IS_ANDROID) } +#endif // BUILDFLAG(FULL_SAFE_BROWSING) @@ -1281,7 +1373,7 @@ } #if !BUILDFLAG(IS_ANDROID) -@@ -976,36 +972,10 @@ void ChromePasswordManagerClient::MaybeR +@@ -1049,36 +1045,10 @@ void ChromePasswordManagerClient::MaybeR bool is_federated, const url::Origin& federated_origin, const std::u16string& login_user_name) const { @@ -1318,7 +1410,7 @@ } #endif -@@ -1517,7 +1487,9 @@ void ChromePasswordManagerClient::OnPast +@@ -1596,7 +1566,9 @@ void ChromePasswordManagerClient::OnPast } was_on_paste_called_ = true; @@ -1328,7 +1420,7 @@ } void ChromePasswordManagerClient::RenderFrameCreated( -@@ -1553,7 +1525,9 @@ void ChromePasswordManagerClient::OnInpu +@@ -1632,7 +1604,9 @@ void ChromePasswordManagerClient::OnInpu if (key_event.windows_key_code == (ui::VKEY_V & 0x1f)) { OnPaste(); } else { @@ -1338,7 +1430,7 @@ } #endif // BUILDFLAG(IS_ANDROID) } -@@ -1592,6 +1566,7 @@ bool ChromePasswordManagerClient::IsPass +@@ -1671,6 +1645,7 @@ bool ChromePasswordManagerClient::IsPass is_enabled = false; } @@ -1346,7 +1438,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 -@@ -1602,6 +1577,7 @@ bool ChromePasswordManagerClient::IsPass +@@ -1681,6 +1656,7 @@ bool ChromePasswordManagerClient::IsPass observer->OnPasswordSaveOrAutofillDenied(); is_enabled = false; } @@ -1356,7 +1448,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 -@@ -229,13 +229,14 @@ class ChromePasswordManagerClient +@@ -233,13 +233,14 @@ class ChromePasswordManagerClient void AnnotateNavigationEntry(bool has_password_field) override; autofill::LanguageCode GetPageLanguage() const override; @@ -1372,7 +1464,7 @@ void CheckProtectedPasswordEntry( password_manager::metrics_util::PasswordType reused_password_type, -@@ -245,6 +246,7 @@ class ChromePasswordManagerClient +@@ -249,6 +250,7 @@ class ChromePasswordManagerClient bool password_field_exists, uint64_t reused_password_hash, const std::string& domain) override; @@ -1460,20 +1552,28 @@ } void PermissionRevocationRequest::OnSiteReputationReady( -@@ -165,25 +145,6 @@ void PermissionRevocationRequest::OnSite +@@ -165,33 +145,6 @@ void PermissionRevocationRequest::OnSite base::TimeTicks::Now() - crowd_deny_request_start_time_.value(); } -- if (site_reputation && !site_reputation->warning_only() && -- (site_reputation->notification_ux_quality() == -- CrowdDenyPreloadData::SiteReputation::ABUSIVE_PROMPTS || -- site_reputation->notification_ux_quality() == -- CrowdDenyPreloadData::SiteReputation::ABUSIVE_CONTENT || -- site_reputation->notification_ux_quality() == -- CrowdDenyPreloadData::SiteReputation::DISRUPTIVE_BEHAVIOR)) { +- if (site_reputation && !site_reputation->warning_only()) { +- bool should_revoke_permission = false; +- switch (site_reputation->notification_ux_quality()) { +- case CrowdDenyPreloadData::SiteReputation::ABUSIVE_PROMPTS: +- case CrowdDenyPreloadData::SiteReputation::ABUSIVE_CONTENT: +- should_revoke_permission = NotificationsPermissionRevocationConfig:: +- IsAbusiveOriginPermissionRevocationEnabled(); +- break; +- case CrowdDenyPreloadData::SiteReputation::DISRUPTIVE_BEHAVIOR: +- should_revoke_permission = NotificationsPermissionRevocationConfig:: +- IsDisruptiveOriginPermissionRevocationEnabled(); +- break; +- default: +- should_revoke_permission = false; +- } - DCHECK(g_browser_process->safe_browsing_service()); -- -- if (g_browser_process->safe_browsing_service()) { +- if (should_revoke_permission && +- g_browser_process->safe_browsing_service()) { - safe_browsing_request_.emplace( - g_browser_process->safe_browsing_service()->database_manager(), - base::DefaultClock::GetInstance(), url::Origin::Create(origin_), @@ -1488,7 +1588,7 @@ --- a/chrome/browser/permissions/prediction_based_permission_ui_selector.cc +++ b/chrome/browser/permissions/prediction_based_permission_ui_selector.cc -@@ -332,52 +332,5 @@ bool PredictionBasedPermissionUiSelector +@@ -341,52 +341,5 @@ bool PredictionBasedPermissionUiSelector PredictionSource PredictionBasedPermissionUiSelector::GetPredictionTypeToUse( permissions::RequestType request_type) { @@ -1543,15 +1643,15 @@ } --- a/chrome/browser/policy/configuration_policy_handler_list_factory.cc +++ b/chrome/browser/policy/configuration_policy_handler_list_factory.cc -@@ -94,6 +94,7 @@ - #include "components/policy/core/common/schema.h" +@@ -95,6 +95,7 @@ #include "components/policy/policy_constants.h" + #include "components/privacy_sandbox/privacy_sandbox_prefs.h" #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" #include "components/safe_browsing/core/common/safe_browsing_policy_handler.h" #include "components/safe_browsing/core/common/safe_browsing_prefs.h" -@@ -1821,8 +1822,6 @@ std::unique_ptrAddHandler( std::make_unique( chrome_schema)); @@ -1560,7 +1660,7 @@ handlers->AddHandler(std::make_unique()); handlers->AddHandler( std::make_unique(key::kURLBlocklist)); -@@ -1880,13 +1879,6 @@ std::unique_ptrGetLastCommittedURL(), &data, connector)) { - std::move(callback).Run( -@@ -148,4 +158,8 @@ void HandleOnPerformDrop( - std::move(callback).Run( - content::WebContentsViewDelegate::DropCompletionResult::kContinue); + std::move(callback).Run(std::move(drop_data)); +@@ -203,6 +213,7 @@ void HandleOnPerformDrop( + base::BindOnce(&HandleDropScanData::ScanData, + handle_drop_scan_data->GetWeakPtr())); } -+#else -+ std::move(callback).Run( -+ content::WebContentsViewDelegate::DropCompletionResult::kContinue); +#endif // BUILDFLAG(FULL_SAFE_BROWSING) - } + + if (!callback.is_null()) { + std::move(callback).Run(std::move(drop_data)); --- a/chrome/browser/ui/views/download/download_item_view.cc +++ b/chrome/browser/ui/views/download/download_item_view.cc -@@ -838,9 +838,7 @@ void DownloadItemView::UpdateLabels() { +@@ -840,9 +840,7 @@ void DownloadItemView::UpdateLabels() { deep_scanning_label_->SetVisible(mode_ == download::DownloadItemMode::kDeepScanning); if (deep_scanning_label_->GetVisible()) { @@ -1907,7 +2006,7 @@ ? IDS_PROMPT_DEEP_SCANNING_DOWNLOAD : IDS_PROMPT_DEEP_SCANNING_APP_DOWNLOAD; const std::u16string filename = ElidedFilename(*deep_scanning_label_); -@@ -866,11 +864,15 @@ void DownloadItemView::UpdateButtons() { +@@ -868,11 +866,15 @@ void DownloadItemView::UpdateButtons() { } const bool allow_open_during_deep_scan = @@ -1923,7 +2022,7 @@ open_button_->SetEnabled((mode_ == download::DownloadItemMode::kNormal) || prompt_to_scan || allow_open_during_deep_scan); -@@ -1366,7 +1368,9 @@ void DownloadItemView::ShowContextMenuIm +@@ -1369,7 +1371,9 @@ void DownloadItemView::ShowContextMenuIm } void DownloadItemView::OpenDownloadDuringAsyncScanning() { @@ -2007,7 +2106,7 @@ std::move(callback), --- a/chrome/test/BUILD.gn +++ b/chrome/test/BUILD.gn -@@ -1379,7 +1379,6 @@ if (!is_android) { +@@ -1406,7 +1406,6 @@ if (!is_android) { "//components/resources", "//components/safe_browsing:buildflags", "//components/safe_browsing/content/browser", @@ -2015,7 +2114,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", -@@ -5891,7 +5890,6 @@ test("unit_tests") { +@@ -5951,7 +5950,6 @@ test("unit_tests") { "//components/resources", "//components/safe_browsing:buildflags", "//components/safe_browsing/content/browser", @@ -2025,7 +2124,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 -@@ -438,7 +438,7 @@ void ContentPasswordManagerDriver::Check +@@ -430,7 +430,7 @@ void ContentPasswordManagerDriver::Check if (!password_manager::bad_message::CheckFrameNotPrerendering( render_frame_host_)) return; @@ -2036,7 +2135,7 @@ } --- a/components/password_manager/core/browser/password_manager_client.h +++ b/components/password_manager/core/browser/password_manager_client.h -@@ -392,11 +392,14 @@ class PasswordManagerClient { +@@ -394,11 +394,14 @@ class PasswordManagerClient { // Returns the current best guess as to the page's display language. virtual autofill::LanguageCode GetPageLanguage() const; @@ -2052,7 +2151,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. -@@ -404,6 +407,7 @@ class PasswordManagerClient { +@@ -406,6 +409,7 @@ class PasswordManagerClient { const GURL& frame_url) = 0; #endif @@ -2060,7 +2159,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 -@@ -420,6 +424,7 @@ class PasswordManagerClient { +@@ -422,6 +426,7 @@ class PasswordManagerClient { bool password_field_exists, uint64_t reused_password_hash, const std::string& domain) = 0; @@ -2101,7 +2200,7 @@ +# } --- a/components/safe_browsing/content/common/safe_browsing.mojom +++ b/components/safe_browsing/content/common/safe_browsing.mojom -@@ -133,7 +133,6 @@ interface PhishingDetector { +@@ -138,7 +138,6 @@ interface PhishingDetector { => (PhishingDetectorResult result, string request_proto); }; @@ -2217,7 +2316,7 @@ void DidFileSkipQuarantine(base::File::Error result); --- a/content/public/browser/file_system_access_permission_context.h +++ b/content/public/browser/file_system_access_permission_context.h -@@ -113,12 +113,6 @@ class FileSystemAccessPermissionContext +@@ -112,12 +112,6 @@ class FileSystemAccessPermissionContext base::OnceCallback callback) = 0; enum class AfterWriteCheckResult { kAllow, kBlock }; @@ -2259,7 +2358,7 @@ declare_args() { --- a/weblayer/BUILD.gn +++ b/weblayer/BUILD.gn -@@ -473,7 +473,6 @@ source_set("weblayer_lib_base") { +@@ -477,7 +477,6 @@ source_set("weblayer_lib_base") { "//components/profile_metrics", "//components/reduce_accept_language/browser", "//components/safe_browsing/content/browser", diff --git a/patches/core/ungoogled-chromium/remove-unused-preferences-fields.patch b/patches/core/ungoogled-chromium/remove-unused-preferences-fields.patch index 4bce69fa..0f266a97 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 -@@ -48,7 +48,6 @@ +@@ -54,7 +54,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/visitedlink/browser/visitedlink_writer.h" -@@ -474,8 +473,6 @@ void AwBrowserContext::RebuildTable( +@@ -501,8 +500,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 -@@ -2076,69 +2076,9 @@ +@@ -2144,69 +2144,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. @@ -207,7 +207,7 @@ user_manager::KnownUser known_user(g_browser_process->local_state()); --- a/chrome/browser/chrome_content_browser_client.cc +++ b/chrome/browser/chrome_content_browser_client.cc -@@ -239,7 +239,6 @@ +@@ -243,7 +243,6 @@ #include "components/safe_browsing/core/browser/realtime/url_lookup_service.h" #include "components/safe_browsing/core/browser/url_checker_delegate.h" #include "components/safe_browsing/core/common/features.h" @@ -227,7 +227,7 @@ #include "content/public/browser/browser_task_traits.h" --- a/chrome/browser/download/download_item_model.cc +++ b/chrome/browser/download/download_item_model.cc -@@ -867,6 +867,7 @@ void DownloadItemModel::ExecuteCommand(D +@@ -886,6 +886,7 @@ void DownloadItemModel::ExecuteCommand(D DownloadUIModel::ExecuteCommand(download_commands, command); break; case DownloadCommands::DEEP_SCAN: @@ -235,7 +235,7 @@ safe_browsing::SafeBrowsingService* sb_service = g_browser_process->safe_browsing_service(); if (!sb_service) -@@ -899,6 +900,7 @@ void DownloadItemModel::ExecuteCommand(D +@@ -918,6 +919,7 @@ void DownloadItemModel::ExecuteCommand(D safe_browsing::DeepScanningRequest::DeepScanTrigger:: TRIGGER_APP_PROMPT, safe_browsing::DownloadCheckResult::UNKNOWN, std::move(settings)); @@ -245,7 +245,7 @@ } --- a/chrome/browser/enterprise/connectors/analysis/content_analysis_delegate.cc +++ b/chrome/browser/enterprise/connectors/analysis/content_analysis_delegate.cc -@@ -41,7 +41,6 @@ +@@ -42,7 +42,6 @@ #include "components/policy/core/common/chrome_schema.h" #include "components/prefs/pref_service.h" #include "components/safe_browsing/core/common/features.h" @@ -263,7 +263,7 @@ #include "components/signin/public/base/consent_level.h" #include "components/signin/public/identity_manager/identity_manager.h" #include "components/user_prefs/user_prefs.h" -@@ -374,8 +373,7 @@ std::string ConnectorsService::GetManage +@@ -376,8 +375,7 @@ std::string ConnectorsService::GetManage absl::optional scope = absl::nullopt; for (const char* scope_pref : @@ -273,7 +273,7 @@ ConnectorScopePref(AnalysisConnector::FILE_DOWNLOADED), ConnectorScopePref(AnalysisConnector::BULK_DATA_ENTRY), ConnectorScopePref(AnalysisConnector::PRINT), -@@ -427,20 +425,6 @@ std::string ConnectorsService::GetManage +@@ -429,20 +427,6 @@ std::string ConnectorsService::GetManage absl::optional ConnectorsService::GetDMTokenForRealTimeUrlCheck() const { @@ -363,7 +363,7 @@ class PolicyBlocklistService; --- a/chrome/browser/extensions/api/enterprise_reporting_private/enterprise_reporting_private_api.cc +++ b/chrome/browser/extensions/api/enterprise_reporting_private/enterprise_reporting_private_api.cc -@@ -99,45 +99,10 @@ api::enterprise_reporting_private::Conte +@@ -97,45 +97,10 @@ api::enterprise_reporting_private::Conte info.browser_version = std::move(signals.browser_version); info.built_in_dns_client_enabled = signals.built_in_dns_client_enabled; @@ -415,7 +415,7 @@ } --- a/chrome/browser/extensions/api/identity/identity_apitest.cc +++ b/chrome/browser/extensions/api/identity/identity_apitest.cc -@@ -57,7 +57,6 @@ +@@ -59,7 +59,6 @@ #include "components/prefs/pref_service.h" #include "components/signin/core/browser/account_reconcilor.h" #include "components/signin/public/base/list_accounts_test_utils.h" @@ -444,7 +444,7 @@ std::string GetOAuth2MintTokenFlowVersion() { --- a/chrome/browser/extensions/api/preference/preference_api.cc +++ b/chrome/browser/extensions/api/preference/preference_api.cc -@@ -35,7 +35,6 @@ +@@ -34,7 +34,6 @@ #include "components/prefs/pref_service.h" #include "components/privacy_sandbox/privacy_sandbox_prefs.h" #include "components/proxy_config/proxy_config_pref_names.h" @@ -452,7 +452,7 @@ #include "components/spellcheck/browser/pref_names.h" #include "components/translate/core/browser/translate_pref_names.h" #include "extensions/browser/api/content_settings/content_settings_service.h" -@@ -118,11 +117,6 @@ const PrefMappingEntry kPrefMapping[] = +@@ -130,11 +129,6 @@ const PrefMappingEntry kPrefMapping[] = APIPermissionID::kPrivacy}, {"doNotTrackEnabled", prefs::kEnableDoNotTrack, APIPermissionID::kPrivacy, APIPermissionID::kPrivacy}, @@ -464,7 +464,7 @@ {"searchSuggestEnabled", prefs::kSearchSuggestEnabled, APIPermissionID::kPrivacy, APIPermissionID::kPrivacy}, {"spellingServiceEnabled", spellcheck::prefs::kSpellCheckUseSpellingService, -@@ -1059,18 +1053,6 @@ ExtensionFunction::ResponseAction SetPre +@@ -1074,18 +1068,6 @@ ExtensionFunction::ResponseAction SetPre base::Value(browser_pref_value->GetBool())); } @@ -483,7 +483,7 @@ base::Value val = base::Value::FromUniquePtrValue(std::move(browser_pref_value)); -@@ -1166,17 +1148,6 @@ ExtensionFunction::ResponseAction ClearP +@@ -1175,17 +1157,6 @@ ExtensionFunction::ResponseAction ClearP PreferenceAPI::Get(browser_context()) ->RemoveExtensionControlledPref(extension_id(), browser_pref, scope); @@ -557,7 +557,7 @@ #include "extensions/browser/test_event_router.h" --- a/chrome/browser/extensions/api/settings_private/prefs_util.cc +++ b/chrome/browser/extensions/api/settings_private/prefs_util.cc -@@ -46,7 +46,6 @@ +@@ -45,7 +45,6 @@ #include "components/prefs/pref_service.h" #include "components/privacy_sandbox/privacy_sandbox_prefs.h" #include "components/proxy_config/proxy_config_pref_names.h" @@ -565,7 +565,7 @@ #include "components/search_engines/default_search_manager.h" #include "components/spellcheck/browser/pref_names.h" #include "components/translate/core/browser/translate_pref_names.h" -@@ -308,16 +307,6 @@ const PrefsUtil::TypedPrefMap& PrefsUtil +@@ -303,16 +302,6 @@ const PrefsUtil::TypedPrefMap& PrefsUtil settings_api::PrefType::PREF_TYPE_BOOLEAN; // Security page @@ -673,14 +673,14 @@ --- a/chrome/browser/net/profile_network_context_service.cc +++ b/chrome/browser/net/profile_network_context_service.cc @@ -52,7 +52,6 @@ - #include "components/pref_registry/pref_registry_syncable.h" #include "components/prefs/pref_registry_simple.h" #include "components/prefs/pref_service.h" + #include "components/privacy_sandbox/privacy_sandbox_prefs.h" -#include "components/safe_browsing/core/common/safe_browsing_prefs.h" #include "content/public/browser/browser_context.h" #include "content/public/browser/browser_thread.h" #include "content/public/browser/first_party_sets_handler.h" -@@ -865,15 +864,8 @@ void ProfileNetworkContextService::Confi +@@ -873,15 +872,8 @@ void ProfileNetworkContextService::Confi network_context_params->enable_certificate_reporting = true; network_context_params->enable_expect_ct_reporting = true; @@ -729,7 +729,7 @@ } TrialComparisonCertVerifierController:: -@@ -100,9 +93,7 @@ bool TrialComparisonCertVerifierControll +@@ -93,9 +86,7 @@ bool TrialComparisonCertVerifierControll if (!MaybeAllowedForProfile(profile_)) return false; @@ -870,7 +870,7 @@ } --- a/chrome/browser/policy/configuration_policy_handler_list_factory.cc +++ b/chrome/browser/policy/configuration_policy_handler_list_factory.cc -@@ -96,14 +96,11 @@ +@@ -97,14 +97,11 @@ #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" @@ -885,7 +885,7 @@ #include "components/spellcheck/spellcheck_buildflags.h" #include "components/sync/base/pref_names.h" #include "components/sync/driver/sync_policy_handler.h" -@@ -220,9 +217,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -221,9 +218,6 @@ const PolicyToPreferenceMapEntry kSimple { key::kDefaultPopupsSetting, prefs::kManagedDefaultPopupsSetting, base::Value::Type::INTEGER }, @@ -895,7 +895,7 @@ { key::kEditBookmarksEnabled, bookmarks::prefs::kEditBookmarksEnabled, base::Value::Type::BOOLEAN }, -@@ -242,9 +236,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -243,9 +237,6 @@ const PolicyToPreferenceMapEntry kSimple prefs::kPrintingEnabled, base::Value::Type::BOOLEAN }, #endif // BUILDFLAG(ENABLE_PRINTING) @@ -905,7 +905,7 @@ { key::kSavingBrowserHistoryDisabled, prefs::kSavingBrowserHistoryDisabled, base::Value::Type::BOOLEAN }, -@@ -306,9 +297,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -307,9 +298,6 @@ const PolicyToPreferenceMapEntry kSimple { key::kAdsSettingForIntrusiveAdsSites, prefs::kManagedDefaultAdsSetting, base::Value::Type::INTEGER }, @@ -915,7 +915,7 @@ { key::kAllowCrossOriginAuthPrompt, prefs::kAllowCrossOriginAuthPrompt, base::Value::Type::BOOLEAN }, -@@ -508,15 +496,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -506,15 +494,6 @@ const PolicyToPreferenceMapEntry kSimple { key::kPasswordDismissCompromisedAlertEnabled, password_manager::prefs::kPasswordDismissCompromisedAlertEnabled, base::Value::Type::BOOLEAN }, @@ -931,7 +931,7 @@ { key::kPolicyRefreshRate, policy_prefs::kUserPolicyRefreshRate, base::Value::Type::INTEGER }, -@@ -555,9 +534,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -553,9 +532,6 @@ const PolicyToPreferenceMapEntry kSimple { key::kRestoreOnStartupURLs, prefs::kURLsToRestoreOnStartup, base::Value::Type::LIST }, @@ -941,7 +941,7 @@ { key::kSafeSitesFilterBehavior, policy_prefs::kSafeSitesFilterBehavior, base::Value::Type::INTEGER }, -@@ -680,9 +656,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -678,9 +654,6 @@ const PolicyToPreferenceMapEntry kSimple { key::kAdditionalDnsQueryTypesEnabled, prefs::kAdditionalDnsQueryTypesEnabled, base::Value::Type::BOOLEAN }, @@ -951,7 +951,7 @@ { key::kForceGoogleSafeSearch, prefs::kForceGoogleSafeSearch, base::Value::Type::BOOLEAN }, -@@ -1482,9 +1455,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -1489,9 +1462,6 @@ const PolicyToPreferenceMapEntry kSimple { key::kIdleProfileCloseTimeout, prefs::kIdleProfileCloseTimeout, base::Value::Type::INTEGER }, @@ -961,7 +961,7 @@ { key::kHardwareAccelerationModeEnabled, prefs::kHardwareAccelerationModeEnabled, base::Value::Type::BOOLEAN }, -@@ -1872,12 +1842,6 @@ std::unique_ptrAddHandler( std::make_unique(chrome_schema)); -@@ -2052,24 +2016,6 @@ std::unique_ptr> signin_legacy_policies; @@ -1001,7 +1001,7 @@ std::make_unique(chrome_schema))); --- a/chrome/browser/prefs/browser_prefs.cc +++ b/chrome/browser/prefs/browser_prefs.cc -@@ -133,7 +133,6 @@ +@@ -135,7 +135,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" @@ -1009,7 +1009,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" -@@ -1064,7 +1063,6 @@ void RegisterLocalState(PrefRegistrySimp +@@ -1035,7 +1034,6 @@ void RegisterLocalState(PrefRegistrySimp PushMessagingServiceImpl::RegisterPrefs(registry); #endif RegisterScreenshotPrefs(registry); @@ -1017,7 +1017,7 @@ secure_origin_allowlist::RegisterPrefs(registry); segmentation_platform::SegmentationPlatformService::RegisterLocalStatePrefs( registry); -@@ -1320,8 +1318,6 @@ void RegisterProfilePrefs(user_prefs::Pr +@@ -1293,8 +1291,6 @@ void RegisterProfilePrefs(user_prefs::Pr PushMessagingAppIdentifier::RegisterProfilePrefs(registry); QuietNotificationPermissionUiState::RegisterProfilePrefs(registry); RegisterBrowserUserPrefs(registry); @@ -1178,22 +1178,22 @@ params.account_id.GetAccountIdKey()); - info.SetBoolKey(prefs::kSignedInWithCredentialProvider, - params.is_signed_in_with_credential_provider); - attributes->SetKey(key, std::move(info)); + attributes.Set(key, std::move(info)); ProfileAttributesEntry* entry = InitEntryWithKey(key, params.is_omitted); --- a/chrome/browser/profiles/profile_impl.cc +++ b/chrome/browser/profiles/profile_impl.cc -@@ -148,7 +148,6 @@ +@@ -145,7 +145,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" - #include "components/services/screen_ai/buildflags/buildflags.h" -#include "components/signin/public/base/signin_pref_names.h" #include "components/signin/public/identity_manager/identity_manager.h" #include "components/site_isolation/site_isolation_policy.h" #include "components/spellcheck/spellcheck_buildflags.h" --- a/chrome/browser/profiles/profile_manager.cc +++ b/chrome/browser/profiles/profile_manager.cc -@@ -93,7 +93,6 @@ +@@ -94,7 +94,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" @@ -1201,7 +1201,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" -@@ -2256,8 +2255,7 @@ void ProfileManager::AddProfileToStorage +@@ -2268,8 +2267,7 @@ void ProfileManager::AddProfileToStorage entry->SetAuthInfo(account_info.gaia, username, is_consented_primary_account); @@ -1211,9 +1211,9 @@ #if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CHROMEOS_ASH) // Sign out if force-sign-in policy is enabled and profile is not signed -@@ -2312,14 +2310,13 @@ void ProfileManager::AddProfileToStorage +@@ -2324,14 +2322,13 @@ void ProfileManager::AddProfileToStorage - init_params.is_ephemeral = IsEphemeral(profile); + init_params.is_ephemeral = IsForceEphemeralProfilesEnabled(profile); init_params.is_signed_in_with_credential_provider = - profile->GetPrefs()->GetBoolean(prefs::kSignedInWithCredentialProvider); + false; @@ -1264,7 +1264,7 @@ --- a/chrome/browser/resources/settings/privacy_page/privacy_page.html +++ b/chrome/browser/resources/settings/privacy_page/privacy_page.html -@@ -583,7 +583,7 @@ +@@ -576,7 +576,7 @@ @@ -1275,7 +1275,7 @@ --- a/chrome/browser/resources/settings/privacy_page/security_page.ts +++ b/chrome/browser/resources/settings/privacy_page/security_page.ts -@@ -216,17 +216,6 @@ export class SettingsSecurityPageElement +@@ -219,20 +219,6 @@ export class SettingsSecurityPageElement override ready() { super.ready(); @@ -1418,10 +1418,13 @@ - this.$.safeBrowsingStandard.expanded = true; - } - }); +- +- this.registerHelpBubbleIdentifier( +- 'kEnhancedProtectionSettingElementId', 'safeBrowsingEnhanced'); } /** -@@ -275,8 +264,7 @@ export class SettingsSecurityPageElement +@@ -281,8 +267,7 @@ export class SettingsSecurityPageElement } private getDisabledExtendedSafeBrowsing_(): boolean { @@ -1557,7 +1560,7 @@ namespace safe_browsing { --- a/chrome/browser/safe_browsing/chrome_password_protection_service.cc +++ b/chrome/browser/safe_browsing/chrome_password_protection_service.cc -@@ -65,7 +65,6 @@ +@@ -66,7 +66,6 @@ #include "components/safe_browsing/core/browser/verdict_cache_manager.h" #include "components/safe_browsing/core/common/features.h" #include "components/safe_browsing/core/common/proto/csd.pb.h" @@ -1635,7 +1638,7 @@ } RequestOutcome ChromePasswordProtectionService::GetPingNotSentReason( -@@ -1672,22 +1626,6 @@ MaybeCreateCommitDeferringCondition( +@@ -1671,22 +1625,6 @@ MaybeCreateCommitDeferringCondition( : nullptr; } @@ -2082,7 +2085,7 @@ #include "content/public/browser/download_item_utils.h" --- a/chrome/browser/safe_browsing/url_checker_delegate_impl.cc +++ b/chrome/browser/safe_browsing/url_checker_delegate_impl.cc -@@ -21,7 +21,6 @@ +@@ -22,7 +22,6 @@ #include "components/safe_browsing/core/browser/db/database_manager.h" #include "components/safe_browsing/core/browser/db/v4_protocol_manager_util.h" #include "components/safe_browsing/core/common/features.h" @@ -2488,7 +2491,7 @@ #include "components/security_interstitials/content/stateful_ssl_host_state_delegate.h" --- a/chrome/browser/supervised_user/supervised_user_pref_store.cc +++ b/chrome/browser/supervised_user/supervised_user_pref_store.cc -@@ -25,7 +25,6 @@ +@@ -27,7 +27,6 @@ #include "chrome/common/pref_names.h" #include "components/feed/core/shared_prefs/pref_names.h" #include "components/prefs/pref_value_map.h" @@ -2496,7 +2499,7 @@ #include "components/signin/public/base/signin_switches.h" #include "extensions/buildflags/buildflags.h" -@@ -58,10 +57,6 @@ SupervisedUserSettingsPrefMappingEntry k +@@ -60,10 +59,6 @@ SupervisedUserSettingsPrefMappingEntry k prefs::kSupervisedUserSafeSites, }, { @@ -2507,7 +2510,7 @@ supervised_users::kUserName, prefs::kProfileName, }, -@@ -126,7 +121,6 @@ void SupervisedUserPrefStore::OnNewSetti +@@ -128,7 +123,6 @@ void SupervisedUserPrefStore::OnNewSetti prefs_->SetInteger(prefs::kForceYouTubeRestrict, safe_search_util::YOUTUBE_RESTRICT_MODERATE); prefs_->SetBoolean(prefs::kHideWebStoreIcon, false); @@ -2546,7 +2549,7 @@ InitCommandState(); -@@ -1628,7 +1623,7 @@ void BrowserCommandController::UpdateSho +@@ -1629,7 +1624,7 @@ void BrowserCommandController::UpdateSho return; command_updater_.UpdateCommandEnabled( @@ -2585,7 +2588,7 @@ #include "components/signin/public/identity_manager/identity_manager.h" #endif -@@ -593,13 +592,7 @@ void ShowBrowserSignin(Browser* browser, +@@ -592,13 +591,7 @@ void ShowBrowserSignin(Browser* browser, void ShowBrowserSigninOrSettings(Browser* browser, signin_metrics::AccessPoint access_point) { @@ -2747,7 +2750,7 @@ #include "components/user_education/common/tutorial_identifier.h" #include "components/user_education/common/tutorial_service.h" #include "ui/base/interaction/element_identifier.h" -@@ -70,13 +69,6 @@ void BrowserCommandHandler::CanExecuteCo +@@ -71,13 +70,6 @@ void BrowserCommandHandler::CanExecuteCo case Command::kOpenSafetyCheck: can_execute = !chrome::enterprise_util::IsBrowserManaged(profile_); break; @@ -2875,7 +2878,7 @@ #include "content/public/browser/storage_partition.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 @@ +@@ -69,7 +69,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" @@ -2883,7 +2886,7 @@ #include "components/signin/public/base/signin_buildflags.h" #include "components/strings/grit/components_chromium_strings.h" #include "components/strings/grit/components_strings.h" -@@ -1518,44 +1517,6 @@ void AddPrivacyStrings(content::WebUIDat +@@ -1577,44 +1576,6 @@ void AddPrivacyStrings(content::WebUIDat {"clearBrowsingData", IDS_SETTINGS_CLEAR_BROWSING_DATA}, {"clearBrowsingDataDescription", IDS_SETTINGS_CLEAR_DATA_DESCRIPTION}, {"titleAndCount", IDS_SETTINGS_TITLE_AND_COUNT}, @@ -2928,7 +2931,7 @@ {"safeBrowsingSectionLabel", IDS_SETTINGS_SAFEBROWSING_SECTION_LABEL}, {"syncAndGoogleServicesPrivacyDescription", IDS_SETTINGS_SYNC_AND_GOOGLE_SERVICES_PRIVACY_DESC_UNIFIED_CONSENT}, -@@ -2935,11 +2896,6 @@ void AddSiteSettingsStrings(content::Web +@@ -2927,11 +2888,6 @@ void AddSiteSettingsStrings(content::Web html_source->AddLocalizedStrings(kSensorsLocalizedStrings); html_source->AddBoolean( @@ -2947,10 +2950,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/sync/base/features.h" #include "content/public/browser/url_data_source.h" #include "content/public/browser/web_contents.h" - #include "content/public/browser/web_ui.h" -@@ -272,9 +271,7 @@ SettingsUI::SettingsUI(content::WebUI* w +@@ -274,9 +273,7 @@ SettingsUI::SettingsUI(content::WebUI* w std::make_unique()); #endif // BUILDFLAG(IS_WIN) && BUILDFLAG(GOOGLE_CHROME_BRANDING) @@ -2982,7 +2985,7 @@ default_email.clear(); --- a/chrome/browser/ui/webui/signin/inline_login_handler_impl.cc +++ b/chrome/browser/ui/webui/signin/inline_login_handler_impl.cc -@@ -67,7 +67,6 @@ +@@ -68,7 +68,6 @@ #include "components/prefs/pref_service.h" #include "components/signin/core/browser/about_signin_internals.h" #include "components/signin/public/base/signin_metrics.h" @@ -3051,7 +3054,7 @@ } --- a/chrome/browser/ui/webui/signin/turn_sync_on_helper.cc +++ b/chrome/browser/ui/webui/signin/turn_sync_on_helper.cc -@@ -43,7 +43,6 @@ +@@ -42,7 +42,6 @@ #include "components/policy/core/common/management/management_service.h" #include "components/prefs/pref_service.h" #include "components/signin/public/base/signin_metrics.h" @@ -3059,7 +3062,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" -@@ -235,8 +234,7 @@ TurnSyncOnHelper::TurnSyncOnHelper( +@@ -266,8 +265,7 @@ void TurnSyncOnHelper::TurnSyncOnInterna // last authenticated account of the current profile, then Chrome will show a // confirmation dialog before starting sync. // TODO(skym): Warn for high risk upgrade scenario (https://crbug.com/572754). @@ -3145,10 +3148,10 @@ #include "services/network/public/cpp/shared_url_loader_factory.h" namespace password_manager { -@@ -175,28 +174,7 @@ void LeakDetectionDelegate::OnError(Leak +@@ -174,28 +173,7 @@ void LeakDetectionDelegate::OnError(Leak bool CanStartLeakCheck(const PrefService& prefs, - const PasswordManagerClient* client) { + PasswordManagerClient* client) { - const bool is_leak_protection_on = - prefs.GetBoolean(password_manager::prefs::kPasswordLeakDetectionEnabled); - @@ -3452,7 +3455,7 @@ #include "content/public/browser/global_routing_id.h" #include "services/network/public/mojom/cookie_manager.mojom.h" #if BUILDFLAG(FULL_SAFE_BROWSING) -@@ -1378,17 +1377,7 @@ std::string SerializeHitReport(const Hit +@@ -1488,17 +1487,7 @@ std::string SerializeHitReport(const Hit } hit_report_dict.Set("threat_source", threat_source); std::string extended_reporting_level; @@ -3470,7 +3473,7 @@ hit_report_dict.Set("extended_reporting_level", extended_reporting_level); hit_report_dict.Set("is_enhanced_protection", hit_report.is_enhanced_protection); -@@ -2267,18 +2256,13 @@ void SafeBrowsingUIHandler::GetPrefs(con +@@ -2377,18 +2366,13 @@ void SafeBrowsingUIHandler::GetPrefs(con AllowJavascript(); DCHECK(!args.empty()); std::string callback_id = args[0].GetString(); @@ -3520,7 +3523,7 @@ --- a/components/safe_browsing/core/browser/db/v4_local_database_manager.cc +++ b/components/safe_browsing/core/browser/db/v4_local_database_manager.cc -@@ -333,10 +333,9 @@ const V4LocalDatabaseManager* +@@ -335,10 +335,9 @@ const V4LocalDatabaseManager* scoped_refptr V4LocalDatabaseManager::Create( const base::FilePath& base_path, scoped_refptr ui_task_runner, @@ -3533,7 +3536,7 @@ std::move(io_task_runner), nullptr)); } -@@ -359,14 +358,12 @@ void V4LocalDatabaseManager::CollectData +@@ -361,14 +360,12 @@ void V4LocalDatabaseManager::CollectData V4LocalDatabaseManager::V4LocalDatabaseManager( const base::FilePath& base_path, @@ -3548,7 +3551,7 @@ list_infos_(GetListInfos()), task_runner_(task_runner_for_tests ? task_runner_for_tests -@@ -1116,8 +1113,7 @@ void V4LocalDatabaseManager::SetupUpdate +@@ -1129,8 +1126,7 @@ void V4LocalDatabaseManager::SetupUpdate weak_factory_.GetWeakPtr()); v4_update_protocol_manager_ = V4UpdateProtocolManager::Create( @@ -3578,7 +3581,7 @@ scoped_refptr ui_task_runner, scoped_refptr io_task_runner, scoped_refptr task_runner_for_tests); -@@ -368,10 +366,6 @@ class V4LocalDatabaseManager : public Sa +@@ -395,10 +393,6 @@ class V4LocalDatabaseManager : public Sa // ready to process next update. DatabaseUpdatedCallback db_updated_callback_; @@ -3812,7 +3815,7 @@ switch (hit_report.threat_type) { --- a/components/safe_browsing/core/browser/realtime/policy_engine.cc +++ b/components/safe_browsing/core/browser/realtime/policy_engine.cc -@@ -8,7 +8,6 @@ +@@ -9,7 +9,6 @@ #include "base/metrics/histogram_macros.h" #include "build/build_config.h" #include "components/prefs/pref_service.h" @@ -3820,7 +3823,7 @@ #include "components/safe_browsing/core/common/utils.h" #include "components/unified_consent/pref_names.h" #include "components/user_prefs/user_prefs.h" -@@ -36,7 +35,7 @@ bool RealTimePolicyEngine::IsUserMbbOpte +@@ -54,7 +53,7 @@ bool RealTimePolicyEngine::IsUserMbbOpte // static bool RealTimePolicyEngine::IsUserEpOptedIn(PrefService* pref_service) { @@ -3829,13 +3832,19 @@ } // static -@@ -82,9 +81,7 @@ bool RealTimePolicyEngine::CanPerformEnt +@@ -107,15 +106,7 @@ bool RealTimePolicyEngine::CanPerformEnt return false; } -- return pref_service->GetInteger( -- prefs::kSafeBrowsingEnterpriseRealTimeUrlCheckMode) == -- REAL_TIME_CHECK_FOR_MAINFRAME_ENABLED; +- if (pref_service->GetInteger( +- prefs::kSafeBrowsingEnterpriseRealTimeUrlCheckMode) != +- REAL_TIME_CHECK_FOR_MAINFRAME_ENABLED) { +- base::UmaHistogramEnumeration("SafeBrowsing.RT.ConsumerVersionReason", +- ConsumerVersionReason::POLICY_DISABLED); +- return false; +- } +- +- return true; + return false; } @@ -3948,7 +3957,7 @@ ScheduleNextLoggingAfterInterval(base::Days(kMetricsLoggingIntervalDay)); } -@@ -103,87 +83,16 @@ void SafeBrowsingMetricsCollector::Sched +@@ -103,88 +83,16 @@ void SafeBrowsingMetricsCollector::Sched } void SafeBrowsingMetricsCollector::LogDailyOptInMetrics() { @@ -4004,17 +4013,18 @@ } void SafeBrowsingMetricsCollector::RemoveOldEventsFromPref() { -- DictionaryPrefUpdate update(pref_service_, +- ScopedDictPrefUpdate update(pref_service_, - prefs::kSafeBrowsingEventTimestamps); -- base::Value::Dict* mutable_state_dict = update->GetIfDict(); -- bool is_pref_valid = !!mutable_state_dict; -- base::UmaHistogramBoolean("SafeBrowsing.MetricsCollector.IsPrefValid", -- is_pref_valid); -- if (!is_pref_valid) { -- return; -- } +- base::Value::Dict& mutable_state_dict = update.Get(); - -- for (auto state_map : *mutable_state_dict) { +- // Histogram to check whether prefs::kSafeBrowsingEventTimestamp is a dict. +- // Prefs DCHECKs if it's the wrong type, or not registered, so this is not +- // actually needed. +- // +- // TODO(mmenke): Remove this histogram. +- base::UmaHistogramBoolean("SafeBrowsing.MetricsCollector.IsPrefValid", true); +- +- for (auto state_map : mutable_state_dict) { - for (auto event_map : state_map.second.GetDict()) { - event_map.second.GetList().EraseIf([&](const auto& timestamp) { - return base::Time::Now() - PrefValueToTime(timestamp) > @@ -4036,7 +4046,7 @@ } void SafeBrowsingMetricsCollector::AddBypassEventToPref( -@@ -220,15 +129,7 @@ absl::optional +@@ -221,15 +129,7 @@ absl::optional SafeBrowsingMetricsCollector::GetLatestEventTimestamp( EventTypeFilter event_type_filter) { // Events are not logged when Safe Browsing is disabled. @@ -4052,13 +4062,13 @@ } absl::optional -@@ -240,45 +141,15 @@ SafeBrowsingMetricsCollector::GetLatestS +@@ -241,45 +141,15 @@ SafeBrowsingMetricsCollector::GetLatestS void SafeBrowsingMetricsCollector::AddSafeBrowsingEventAndUserStateToPref( UserState user_state, EventType event_type) { -- DictionaryPrefUpdate update(pref_service_, +- ScopedDictPrefUpdate update(pref_service_, - prefs::kSafeBrowsingEventTimestamps); -- base::Value::Dict& mutable_state_dict = update->GetDict(); +- base::Value::Dict& mutable_state_dict = update.Get(); - base::Value::Dict* event_dict = - mutable_state_dict.EnsureDict(UserStateToPrefKey(user_state)); - base::Value::List* timestamps = @@ -4099,7 +4109,7 @@ } absl::optional -@@ -440,20 +311,7 @@ int SafeBrowsingMetricsCollector::GetEve +@@ -441,20 +311,7 @@ int SafeBrowsingMetricsCollector::GetEve } UserState SafeBrowsingMetricsCollector::GetUserState() { @@ -4147,7 +4157,7 @@ } TailoredSecurityService::~TailoredSecurityService() { -@@ -406,20 +396,6 @@ void TailoredSecurityService::MaybeNotif +@@ -406,24 +396,6 @@ void TailoredSecurityService::MaybeNotif return; } @@ -4157,13 +4167,17 @@ - } - - if (is_enabled && !IsEnhancedProtectionEnabled(*prefs())) { -- ShowSyncNotification(true); +- for (auto& observer : observer_list_) { +- observer.OnSyncNotificationMessageRequest(true); +- } - } - - if (!is_enabled && IsEnhancedProtectionEnabled(*prefs()) && - prefs()->GetBoolean( - prefs::kEnhancedProtectionEnabledViaTailoredSecurity)) { -- ShowSyncNotification(false); +- for (auto& observer : observer_list_) { +- observer.OnSyncNotificationMessageRequest(false); +- } - } } @@ -4649,7 +4663,7 @@ } else if (currently_authenticated && !previously_authenticated_) { SignedInAccountRelationReport(signed_in_accounts, signed_out_accounts, ReportingType::ON_CHANGE); -@@ -247,10 +230,6 @@ void AccountInvestigator::DoPeriodicRepo +@@ -246,10 +229,6 @@ void AccountInvestigator::DoPeriodicRepo } periodic_pending_ = false; @@ -4660,7 +4674,7 @@ } void AccountInvestigator::SharedCookieJarReport( -@@ -258,8 +237,7 @@ void AccountInvestigator::SharedCookieJa +@@ -257,8 +236,7 @@ void AccountInvestigator::SharedCookieJa const std::vector& signed_out_accounts, const Time now, const ReportingType type) { @@ -4738,7 +4752,7 @@ } #endif // BUILDFLAG(IS_CHROMEOS_ASH) -@@ -552,27 +544,6 @@ void AccountTrackerService::OnAccountIma +@@ -552,26 +544,6 @@ void AccountTrackerService::OnAccountIma const CoreAccountId& account_id, const std::string& image_url_with_size, bool success) { @@ -4746,9 +4760,8 @@ - return; - - base::Value::Dict* dict = nullptr; -- ListPrefUpdate update(pref_service_, prefs::kAccountInfo); -- base::Value::List& list = update->GetList(); -- for (base::Value& value : list) { +- ScopedListPrefUpdate update(pref_service_, prefs::kAccountInfo); +- for (base::Value& value : *update) { - base::Value::Dict* maybe_dict = value.GetIfDict(); - if (maybe_dict) { - const std::string* account_key = maybe_dict->FindString(kAccountKeyKey); @@ -4766,7 +4779,7 @@ } void AccountTrackerService::RemoveAccountImageFromDisk( -@@ -584,177 +555,16 @@ void AccountTrackerService::RemoveAccoun +@@ -583,176 +555,16 @@ void AccountTrackerService::RemoveAccoun } void AccountTrackerService::LoadFromPrefs() { @@ -4803,8 +4816,8 @@ - ? signin::Tribool::kTrue - : signin::Tribool::kFalse; - // Migrate to kAccountChildAttributeKey. -- ListPrefUpdate update(pref_service_, prefs::kAccountInfo); -- base::Value::Dict& update_dict = update->GetList()[i].GetDict(); +- ScopedListPrefUpdate update(pref_service_, prefs::kAccountInfo); +- base::Value::Dict& update_dict = (*update)[i].GetDict(); - update_dict.Set(kAccountChildAttributeKey, - static_cast(account_info.is_child_account)); - update_dict.Remove(kDeprecatedChildStatusKey); @@ -4824,8 +4837,8 @@ - dict->FindIntByDottedPath( - kDeprecatedCanOfferExtendedChromeSyncPromosPrefPath)) { - // Migrate to Capability names based pref paths. -- ListPrefUpdate update(pref_service_, prefs::kAccountInfo); -- base::Value::Dict& update_dict = update->GetList()[i].GetDict(); +- ScopedListPrefUpdate update(pref_service_, prefs::kAccountInfo); +- base::Value::Dict& update_dict = (*update)[i].GetDict(); - SetAccountCapabilityState( - update_dict, kCanOfferExtendedChromeSyncPromosCapabilityName, - ParseTribool(can_offer_extended_chrome_sync_promos)); @@ -4888,9 +4901,8 @@ - return; - - base::Value::Dict* dict = nullptr; -- ListPrefUpdate update(pref_service_, prefs::kAccountInfo); -- base::Value::List& list = update->GetList(); -- for (base::Value& value : list) { +- ScopedListPrefUpdate update(pref_service_, prefs::kAccountInfo); +- for (base::Value& value : *update) { - base::Value::Dict* maybe_dict = value.GetIfDict(); - if (maybe_dict) { - const std::string* account_key = maybe_dict->FindString(kAccountKeyKey); @@ -4902,8 +4914,8 @@ - } - - if (!dict) { -- list.Append(base::Value::Dict()); -- dict = &list.back().GetDict(); +- update->Append(base::Value::Dict()); +- dict = &update->back().GetDict(); - dict->Set(kAccountKeyKey, account_info.account_id.ToString()); - } - @@ -4933,9 +4945,9 @@ if (!pref_service_) return; -- ListPrefUpdate update(pref_service_, prefs::kAccountInfo); +- ScopedListPrefUpdate update(pref_service_, prefs::kAccountInfo); const std::string account_id = account_info.account_id.ToString(); -- update->GetList().EraseIf([&account_id](const base::Value& value) { +- update->EraseIf([&account_id](const base::Value& value) { - if (!value.is_dict()) - return false; - const std::string* account_key = value.GetDict().FindString(kAccountKeyKey); @@ -5359,7 +5371,7 @@ #include "components/signin/public/identity_manager/identity_test_utils.h" --- a/tools/metrics/histograms/enums.xml +++ b/tools/metrics/histograms/enums.xml -@@ -97060,7 +97060,6 @@ Full version information for the fingerp +@@ -97846,7 +97846,6 @@ Full version information for the fingerp @@ -5367,7 +5379,7 @@ -@@ -97075,10 +97074,7 @@ Full version information for the fingerp +@@ -97861,10 +97860,7 @@ Full version information for the fingerp diff --git a/patches/core/ungoogled-chromium/replace-google-search-engine-with-nosearch.patch b/patches/core/ungoogled-chromium/replace-google-search-engine-with-nosearch.patch index 1cd676e9..a3576ed8 100644 --- a/patches/core/ungoogled-chromium/replace-google-search-engine-with-nosearch.patch +++ b/patches/core/ungoogled-chromium/replace-google-search-engine-with-nosearch.patch @@ -1,6 +1,6 @@ --- a/components/search_engines/prepopulated_engines.json +++ b/components/search_engines/prepopulated_engines.json -@@ -113,23 +113,11 @@ +@@ -113,24 +113,11 @@ }, "google": { @@ -14,6 +14,7 @@ - "image_url_post_params": "encoded_image={google:imageThumbnail},image_url={google:imageURL},sbisrc={google:imageSearchSource},original_width={google:imageOriginalWidth},original_height={google:imageOriginalHeight}", - "side_search_param": "sidesearch", - "side_image_search_param": "sideimagesearch", +- "image_search_branding_label": "Google Lens", - "alternate_urls": [ - "{google:baseURL}#q={searchTerms}", - "{google:baseURL}search#q={searchTerms}", diff --git a/patches/core/ungoogled-chromium/toggle-translation-via-switch.patch b/patches/core/ungoogled-chromium/toggle-translation-via-switch.patch index b1af67e6..b921bf1f 100644 --- a/patches/core/ungoogled-chromium/toggle-translation-via-switch.patch +++ b/patches/core/ungoogled-chromium/toggle-translation-via-switch.patch @@ -1,7 +1,7 @@ # Disables translation and removes the "Translate to" context menu when --translate-script-url flag is not set --- a/chrome/browser/renderer_context_menu/render_view_context_menu.cc +++ b/chrome/browser/renderer_context_menu/render_view_context_menu.cc -@@ -140,6 +140,7 @@ +@@ -141,6 +141,7 @@ #include "components/spellcheck/common/spellcheck_common.h" #include "components/spellcheck/spellcheck_buildflags.h" #include "components/strings/grit/components_strings.h" @@ -9,23 +9,14 @@ #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" -@@ -1815,6 +1816,8 @@ void RenderViewContextMenu::AppendPageIt - if (has_sharing_menu_items) +@@ -1816,6 +1817,7 @@ void RenderViewContextMenu::AppendPageIt menu_model_.AddSeparator(ui::NORMAL_SEPARATOR); -+ const base::CommandLine& command_line = *base::CommandLine::ForCurrentProcess(); -+ if (command_line.HasSwitch(translate::switches::kTranslateScriptURL)) { - ChromeTranslateClient* chrome_translate_client = - ChromeTranslateClient::FromWebContents(embedder_web_contents_); - const bool canTranslate = -@@ -1827,6 +1830,7 @@ void RenderViewContextMenu::AppendPageIt - l10n_util::GetStringFUTF16(IDS_CONTENT_CONTEXT_TRANSLATE, - GetTargetLanguageDisplayName())); - } -+ } // if (command_line.HasSwitch(translate::switches::kTranslateScriptURL)) - } - - void RenderViewContextMenu::AppendExitFullscreenItem() { + if (CanTranslate(/*menu_logging=*/true)) { ++ if (base::CommandLine::ForCurrentProcess()->HasSwitch(translate::switches::kTranslateScriptURL)) + menu_model_.AddItem( + IDC_CONTENT_CONTEXT_TRANSLATE, + l10n_util::GetStringFUTF16( --- a/components/translate/core/browser/translate_language_list.cc +++ b/components/translate/core/browser/translate_language_list.cc @@ -11,6 +11,7 @@ @@ -44,7 +35,7 @@ #include "components/translate/core/common/translate_util.h" #include "net/base/url_util.h" #include "third_party/abseil-cpp/absl/types/optional.h" -@@ -219,6 +221,9 @@ GURL TranslateLanguageList::TranslateLan +@@ -230,6 +232,9 @@ GURL TranslateLanguageList::TranslateLan } void TranslateLanguageList::RequestLanguageList() { @@ -56,7 +47,7 @@ request_pending_ = true; --- a/components/translate/core/browser/translate_manager.cc +++ b/components/translate/core/browser/translate_manager.cc -@@ -872,8 +872,9 @@ void TranslateManager::FilterIsTranslate +@@ -885,8 +885,9 @@ void TranslateManager::FilterIsTranslate ->LogAutofillAssistantDeferredTriggerDecision(); } @@ -70,7 +61,7 @@ // settings syncs and we don't want to turn off translate everywhere else. --- a/components/translate/core/browser/translate_ranker_impl.cc +++ b/components/translate/core/browser/translate_ranker_impl.cc -@@ -156,12 +156,9 @@ TranslateRankerImpl::TranslateRankerImpl +@@ -158,12 +158,9 @@ TranslateRankerImpl::TranslateRankerImpl ukm::UkmRecorder* ukm_recorder) : ukm_recorder_(ukm_recorder), is_uma_logging_enabled_(false), @@ -86,7 +77,7 @@ if (is_query_enabled_ || is_enforcement_enabled_) { model_loader_ = std::make_unique( base::BindRepeating(&ValidateModel), -@@ -235,6 +232,8 @@ bool TranslateRankerImpl::ShouldOfferTra +@@ -237,6 +234,8 @@ bool TranslateRankerImpl::ShouldOfferTra // (or become False). const bool kDefaultResponse = true; 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 609256ac..423bbd54 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 -@@ -2434,6 +2434,7 @@ static_library("browser") { +@@ -2450,6 +2450,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 -@@ -154,6 +154,7 @@ +@@ -155,6 +155,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 -@@ -246,6 +246,7 @@ source_set("browser") { +@@ -247,6 +247,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 -@@ -76,6 +76,7 @@ +@@ -77,6 +77,7 @@ #include "components/services/storage/public/cpp/quota_error_or.h" #include "components/services/storage/public/mojom/cache_storage_control.mojom.h" #include "components/tracing/common/tracing_switches.h" @@ -62,7 +62,7 @@ #include "components/viz/common/switches.h" #include "components/viz/host/gpu_client.h" #include "content/browser/bad_message.h" -@@ -3288,6 +3289,8 @@ void RenderProcessHostImpl::PropagateBro +@@ -3299,6 +3300,8 @@ void RenderProcessHostImpl::PropagateBro switches::kEnableWebGLImageChromium, switches::kEnableWebGPUDeveloperFeatures, switches::kFileUrlPathAlias, @@ -91,7 +91,7 @@ #include "ui/accessibility/accessibility_features.h" #include "ui/base/ui_base_features.h" #include "ui/events/blink/blink_features.h" -@@ -401,6 +402,10 @@ void SetRuntimeFeaturesFromCommandLine(c +@@ -402,6 +403,10 @@ void SetRuntimeFeaturesFromCommandLine(c {wrf::EnableWebGPUDeveloperFeatures, switches::kEnableWebGPUDeveloperFeatures, true}, {wrf::EnableDirectSockets, switches::kIsolatedAppOrigins, true}, @@ -121,10 +121,10 @@ #include "base/metrics/histogram_functions.h" #include "base/notreached.h" +#include "base/rand_util.h" + #include "base/ranges/algorithm.h" #include "base/time/time.h" #include "cc/animation/animation_host.h" - #include "cc/animation/animation_timeline.h" -@@ -908,6 +909,14 @@ Range* Document::CreateRangeAdjustedToTr +@@ -919,6 +920,14 @@ Range* Document::CreateRangeAdjustedToTr Position::BeforeNode(*shadow_host)); } @@ -139,7 +139,7 @@ SelectorQueryCache& Document::GetSelectorQueryCache() { if (!selector_query_cache_) selector_query_cache_ = std::make_unique(); -@@ -2231,6 +2240,15 @@ void Document::UpdateStyleAndLayoutTreeF +@@ -2238,6 +2247,15 @@ void Document::UpdateStyleAndLayoutTreeF #if DCHECK_IS_ON() AssertLayoutTreeUpdated(*this, true /* allow_dirty_container_subtrees */); #endif @@ -157,7 +157,7 @@ void Document::InvalidateStyleAndLayoutForFontUpdates() { --- a/third_party/blink/renderer/core/dom/document.h +++ b/third_party/blink/renderer/core/dom/document.h -@@ -510,6 +510,10 @@ class CORE_EXPORT Document : public Cont +@@ -513,6 +513,10 @@ class CORE_EXPORT Document : public Cont has_xml_declaration_ = has_xml_declaration ? 1 : 0; } @@ -168,7 +168,7 @@ AtomicString visibilityState() const; bool IsPageVisible() const; bool hidden() const; -@@ -2298,6 +2302,9 @@ class CORE_EXPORT Document : public Cont +@@ -2329,6 +2333,9 @@ class CORE_EXPORT Document : public Cont base::ElapsedTimer start_time_; @@ -180,7 +180,7 @@ --- a/third_party/blink/renderer/core/dom/element.cc +++ b/third_party/blink/renderer/core/dom/element.cc -@@ -2144,6 +2144,11 @@ DOMRectList* Element::getClientRects() { +@@ -2074,6 +2074,11 @@ DOMRectList* Element::getClientRects() { DCHECK(element_layout_object); GetDocument().AdjustQuadsForScrollAndAbsoluteZoom(quads, *element_layout_object); @@ -192,7 +192,7 @@ return MakeGarbageCollected(quads); } -@@ -2168,6 +2173,9 @@ gfx::RectF Element::GetBoundingClientRec +@@ -2098,6 +2103,9 @@ gfx::RectF Element::GetBoundingClientRec DCHECK(element_layout_object); GetDocument().AdjustRectForScrollAndAbsoluteZoom(result, *element_layout_object); @@ -296,7 +296,7 @@ "//components/webrtc:net_address_utils", --- a/third_party/blink/renderer/platform/exported/web_runtime_features.cc +++ b/third_party/blink/renderer/platform/exported/web_runtime_features.cc -@@ -64,4 +64,12 @@ void WebRuntimeFeatures::EnableFluentScr +@@ -65,4 +65,12 @@ void WebRuntimeFeatures::EnableFluentScr ScrollbarThemeSettings::SetFluentScrollbarsEnabled(enable); } @@ -311,7 +311,7 @@ } // namespace blink --- a/third_party/blink/renderer/platform/runtime_enabled_features.json5 +++ b/third_party/blink/renderer/platform/runtime_enabled_features.json5 -@@ -1237,6 +1237,12 @@ +@@ -1270,6 +1270,12 @@ origin_trial_feature_name: "Focusgroup", }, { diff --git a/patches/extra/bromite/flag-fingerprinting-canvas-image-data-noise.patch b/patches/extra/bromite/flag-fingerprinting-canvas-image-data-noise.patch index bccc8ac9..2ca74f87 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 -@@ -3291,6 +3291,7 @@ void RenderProcessHostImpl::PropagateBro +@@ -3302,6 +3302,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 -@@ -406,6 +406,8 @@ void SetRuntimeFeaturesFromCommandLine(c +@@ -407,6 +407,8 @@ void SetRuntimeFeaturesFromCommandLine(c switches::kFingerprintingClientRectsNoise, true}, {wrf::EnableFingerprintingCanvasMeasureTextNoise, switches::kFingerprintingCanvasMeasureTextNoise, true}, @@ -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 -@@ -72,4 +72,8 @@ void WebRuntimeFeatures::EnableFingerpri +@@ -73,4 +73,8 @@ void WebRuntimeFeatures::EnableFingerpri RuntimeEnabledFeatures::SetFingerprintingCanvasMeasureTextNoiseEnabled(enable); } @@ -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 -@@ -1243,6 +1243,9 @@ +@@ -1276,6 +1276,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 912603b5..198281db 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 -@@ -2172,6 +2172,7 @@ static_library("browser") { +@@ -2185,6 +2185,7 @@ static_library("browser") { "//components/net_log", "//components/network_hints/common:mojo_bindings", "//components/network_session_configurator/browser", @@ -79,7 +79,7 @@ with limited CPU/memory resources and it is disabled by default. #include "ppapi/buildflags/buildflags.h" #include "printing/buildflags/buildflags.h" #include "services/network/public/cpp/features.h" -@@ -349,6 +353,18 @@ void BrowserProcessImpl::Init() { +@@ -351,6 +355,18 @@ void BrowserProcessImpl::Init() { pref_change_registrar_.Add(metrics::prefs::kMetricsReportingEnabled, base::BindRepeating(&ApplyMetricsReportingPolicy)); @@ -100,7 +100,7 @@ with limited CPU/memory resources and it is disabled by default. --- a/chrome/browser/flag_descriptions.cc +++ b/chrome/browser/flag_descriptions.cc -@@ -1810,6 +1810,10 @@ const char kUnthrottledNestedTimeoutDesc +@@ -1870,6 +1870,10 @@ const char kUnthrottledNestedTimeoutDesc "websites abusing the API will still eventually have their setTimeouts " "clamped."; @@ -113,7 +113,7 @@ with limited CPU/memory resources and it is disabled by default. const char kMediaRouterCastAllowAllIPsDescription[] = --- a/chrome/browser/flag_descriptions.h +++ b/chrome/browser/flag_descriptions.h -@@ -1011,6 +1011,9 @@ extern const char kLogJsConsoleMessagesD +@@ -1047,6 +1047,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 4ecffdd2..2fd8570c 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 -@@ -1425,11 +1425,6 @@ void ProfileManager::InitProfileUserPref +@@ -1432,11 +1432,6 @@ void ProfileManager::InitProfileUserPref profile->GetPrefs()->SetString(prefs::kSupervisedUserId, supervised_user_id); } diff --git a/patches/extra/inox-patchset/0006-modify-default-prefs.patch b/patches/extra/inox-patchset/0006-modify-default-prefs.patch index 6a83eb33..dd3d5980 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 -@@ -1406,7 +1406,7 @@ void ChromeContentBrowserClient::Registe +@@ -1416,7 +1416,7 @@ void ChromeContentBrowserClient::Registe void ChromeContentBrowserClient::RegisterProfilePrefs( user_prefs::PrefRegistrySyncable* registry) { registry->RegisterBooleanPref(prefs::kDisable3DAPIs, false); @@ -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 -@@ -282,7 +282,7 @@ const char Profile::kProfileKey[] = "__P +@@ -302,7 +302,7 @@ const char Profile::kProfileKey[] = "__P void Profile::RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { registry->RegisterBooleanPref( prefs::kSearchSuggestEnabled, @@ -114,7 +114,7 @@ prefs::kAutofillIBANEnabled, true, --- a/components/bookmarks/browser/bookmark_utils.cc +++ b/components/bookmarks/browser/bookmark_utils.cc -@@ -440,7 +440,7 @@ bool DoesBookmarkContainWords(const std: +@@ -443,7 +443,7 @@ bool DoesBookmarkContainWords(const std: void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { registry->RegisterBooleanPref( diff --git a/patches/extra/inox-patchset/0008-restore-classic-ntp.patch b/patches/extra/inox-patchset/0008-restore-classic-ntp.patch index da8efe28..d91596d1 100644 --- a/patches/extra/inox-patchset/0008-restore-classic-ntp.patch +++ b/patches/extra/inox-patchset/0008-restore-classic-ntp.patch @@ -30,25 +30,26 @@ const GURL url; --- a/components/ntp_snippets/features.cc +++ b/components/ntp_snippets/features.cc -@@ -38,7 +38,7 @@ const base::Feature* const kAllFeatures[ - &kOptionalImagesEnabledFeature}; +@@ -40,7 +40,7 @@ const base::Feature* const kAllFeatures[ - const base::Feature kArticleSuggestionsFeature{ -- "NTPArticleSuggestions", base::FEATURE_ENABLED_BY_DEFAULT}; -+ "NTPArticleSuggestions", base::FEATURE_DISABLED_BY_DEFAULT}; + BASE_FEATURE(kArticleSuggestionsFeature, + "NTPArticleSuggestions", +- base::FEATURE_ENABLED_BY_DEFAULT); ++ base::FEATURE_DISABLED_BY_DEFAULT); - const base::Feature kRemoteSuggestionsEmulateM58FetchingSchedule{ - "RemoteSuggestionsEmulateM58FetchingSchedule", -@@ -68,10 +68,10 @@ const char kNotificationsDailyLimit[] = - const char kNotificationsIgnoredLimitParam[] = "ignored_limit"; + BASE_FEATURE(kRemoteSuggestionsEmulateM58FetchingSchedule, + "RemoteSuggestionsEmulateM58FetchingSchedule", +@@ -72,11 +72,11 @@ const char kNotificationsIgnoredLimitPar - const base::Feature kKeepPrefetchedContentSuggestions{ -- "KeepPrefetchedContentSuggestions", base::FEATURE_ENABLED_BY_DEFAULT}; -+ "KeepPrefetchedContentSuggestions", base::FEATURE_DISABLED_BY_DEFAULT}; + BASE_FEATURE(kKeepPrefetchedContentSuggestions, + "KeepPrefetchedContentSuggestions", +- base::FEATURE_ENABLED_BY_DEFAULT); ++ base::FEATURE_DISABLED_BY_DEFAULT); - const base::Feature kOptionalImagesEnabledFeature{ -- "NTPRemoteSuggestionsOptionalImages", base::FEATURE_ENABLED_BY_DEFAULT}; -+ "NTPRemoteSuggestionsOptionalImages", base::FEATURE_DISABLED_BY_DEFAULT}; + BASE_FEATURE(kOptionalImagesEnabledFeature, + "NTPRemoteSuggestionsOptionalImages", +- base::FEATURE_ENABLED_BY_DEFAULT); ++ base::FEATURE_DISABLED_BY_DEFAULT); std::vector GetAllFeatures() { // Skip the last feature as it's a nullptr. diff --git a/patches/extra/inox-patchset/0018-disable-first-run-behaviour.patch b/patches/extra/inox-patchset/0018-disable-first-run-behaviour.patch index e578663d..ae7355d8 100644 --- a/patches/extra/inox-patchset/0018-disable-first-run-behaviour.patch +++ b/patches/extra/inox-patchset/0018-disable-first-run-behaviour.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/ui/startup/startup_tab_provider.cc +++ b/chrome/browser/ui/startup/startup_tab_provider.cc -@@ -151,7 +151,7 @@ bool IsChromeControlledNtpUrl(const GURL +@@ -149,7 +149,7 @@ bool IsChromeControlledNtpUrl(const GURL StartupTabs StartupTabProviderImpl::GetOnboardingTabs(Profile* profile) const { // Chrome OS has its own welcome flow provided by OOBE. diff --git a/patches/extra/iridium-browser/Remove-EV-certificates.patch b/patches/extra/iridium-browser/Remove-EV-certificates.patch index 5f6dedb0..17ec59c9 100644 --- a/patches/extra/iridium-browser/Remove-EV-certificates.patch +++ b/patches/extra/iridium-browser/Remove-EV-certificates.patch @@ -10,11 +10,11 @@ Instead, let them appear just like regular ones. --- a/net/cert/ev_root_ca_metadata.cc +++ b/net/cert/ev_root_ca_metadata.cc -@@ -41,7 +41,17 @@ struct EVMetadata { +@@ -40,7 +40,17 @@ struct EVMetadata { const base::StringPiece policy_oids[kMaxOIDsPerCA]; }; --#include "net/data/ssl/ev_roots/chrome-ev-root-store-inc.cc" +-#include "net/data/ssl/chrome_root_store/chrome-ev-roots-inc.cc" +static const EVMetadata kEvRootCaMetadata[] = { + // need some dummy thing to make compiler happy, because + // arraysize() is implemented as a convoluted template rather than 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 7ddafadf..67a95967 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,12 +5,15 @@ 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 -@@ -1638,8 +1638,6 @@ int ChromeBrowserMainParts::PreMainMessa +@@ -1651,11 +1651,6 @@ int ChromeBrowserMainParts::PreMainMessa // and preferences have been registered since some of the import code depends // on preferences. if (first_run::IsChromeFirstRun()) { -- first_run::AutoImport(profile, master_prefs_->import_bookmarks_path); -- +- // `profile` may be nullptr even on first run, for example when the +- // "BrowserSignin" policy is set to "Force". If so, skip the auto import. +- if (profile) { +- first_run::AutoImport(profile, master_prefs_->import_bookmarks_path); +- } + // Note: This can pop-up the first run consent dialog on Linux & Mac. - first_run::DoPostImportTasks(profile, - master_prefs_->make_chrome_default_for_user); + first_run::DoPostImportTasks(master_prefs_->make_chrome_default_for_user); diff --git a/patches/extra/iridium-browser/updater-disable-auto-update.patch b/patches/extra/iridium-browser/updater-disable-auto-update.patch index a8f303f5..24fee7c1 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 -@@ -856,7 +856,7 @@ class AppControllerNativeThemeObserver : +@@ -857,7 +857,7 @@ class AppControllerNativeThemeObserver : 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 f9137965..07c84991 100644 --- a/patches/extra/ungoogled-chromium/add-flag-for-close-confirmation.patch +++ b/patches/extra/ungoogled-chromium/add-flag-for-close-confirmation.patch @@ -9,7 +9,7 @@ #include "chrome/browser/ui/web_applications/app_browser_controller.h" #include "chrome/browser/ui/web_applications/web_app_launch_utils.h" #include "chrome/browser/ui/webui/signin/login_ui_service.h" -@@ -472,6 +474,7 @@ Browser::Browser(const CreateParams& par +@@ -473,6 +475,7 @@ Browser::Browser(const CreateParams& par omit_from_session_restore_(params.omit_from_session_restore), should_trigger_session_restore_(params.should_trigger_session_restore), cancel_download_confirmation_state_(NOT_PROMPTED), @@ -17,7 +17,7 @@ override_bounds_(params.initial_bounds), initial_show_state_(params.initial_show_state), initial_workspace_(params.initial_workspace), -@@ -833,6 +836,7 @@ Browser::WarnBeforeClosingResult Browser +@@ -834,6 +837,7 @@ Browser::WarnBeforeClosingResult Browser // true or there are no pending downloads we need to prompt about) then // there's no need to warn. if (force_skip_warning_user_on_close_ || CanCloseWithInProgressDownloads()) @@ -25,7 +25,7 @@ return WarnBeforeClosingResult::kOkToClose; DCHECK(!warn_before_closing_callback_) -@@ -867,6 +871,7 @@ bool Browser::TryToCloseWindow( +@@ -868,6 +872,7 @@ bool Browser::TryToCloseWindow( void Browser::ResetTryToCloseWindow() { cancel_download_confirmation_state_ = NOT_PROMPTED; @@ -33,7 +33,7 @@ unload_controller_.ResetTryToCloseWindow(); } -@@ -2768,6 +2773,62 @@ bool Browser::CanCloseWithInProgressDown +@@ -2773,6 +2778,62 @@ bool Browser::CanCloseWithInProgressDown return false; } @@ -96,7 +96,7 @@ void Browser::InProgressDownloadResponse(bool cancel_downloads) { if (cancel_downloads) { cancel_download_confirmation_state_ = RESPONSE_RECEIVED; -@@ -2786,6 +2847,22 @@ void Browser::InProgressDownloadResponse +@@ -2791,6 +2852,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 8fd82866..75fa15d3 100644 --- a/patches/extra/ungoogled-chromium/add-flag-for-custom-ntp.patch +++ b/patches/extra/ungoogled-chromium/add-flag-for-custom-ntp.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/chrome_content_browser_client.cc +++ b/chrome/browser/chrome_content_browser_client.cc -@@ -827,10 +827,14 @@ bool HandleNewTabPageLocationOverride( +@@ -832,10 +832,14 @@ bool HandleNewTabPageLocationOverride( // Don't change the URL when incognito mode. if (profile->IsOffTheRecord()) diff --git a/patches/extra/ungoogled-chromium/add-flag-for-disabling-link-drag.patch b/patches/extra/ungoogled-chromium/add-flag-for-disabling-link-drag.patch index 720a88e1..939a1bfe 100644 --- a/patches/extra/ungoogled-chromium/add-flag-for-disabling-link-drag.patch +++ b/patches/extra/ungoogled-chromium/add-flag-for-disabling-link-drag.patch @@ -11,25 +11,25 @@ #endif // CHROME_BROWSER_UNGOOGLED_FLAG_ENTRIES_H_ --- a/third_party/blink/common/features.cc +++ b/third_party/blink/common/features.cc -@@ -23,6 +23,8 @@ namespace features { - const base::Feature kAnonymousIframeOriginTrial{ - "AnonymousIframeOriginTrial", base::FEATURE_ENABLED_BY_DEFAULT}; +@@ -25,6 +25,8 @@ BASE_FEATURE(kAnonymousIframeOriginTrial + "AnonymousIframeOriginTrial", + base::FEATURE_ENABLED_BY_DEFAULT); -+const base::Feature kDisableLinkDrag{"DisableLinkDrag", base::FEATURE_DISABLED_BY_DEFAULT}; ++BASE_FEATURE(kDisableLinkDrag, "DisableLinkDrag", base::FEATURE_DISABLED_BY_DEFAULT); + // Apply lazy-loading to ad frames which have embeds likely impacting Core Web // Vitals. - const base::Feature kAutomaticLazyFrameLoadingToAds{ + BASE_FEATURE(kAutomaticLazyFrameLoadingToAds, --- a/third_party/blink/public/common/features.h +++ b/third_party/blink/public/common/features.h @@ -18,6 +18,8 @@ namespace blink { namespace features { -+BLINK_COMMON_EXPORT extern const base::Feature kDisableLinkDrag; ++BLINK_COMMON_EXPORT BASE_DECLARE_FEATURE(kDisableLinkDrag); + - BLINK_COMMON_EXPORT extern const base::Feature kAnonymousIframeOriginTrial; - BLINK_COMMON_EXPORT extern const base::Feature kAutomaticLazyFrameLoadingToAds; + BLINK_COMMON_EXPORT BASE_DECLARE_FEATURE(kAnonymousIframeOriginTrial); + BLINK_COMMON_EXPORT BASE_DECLARE_FEATURE(kAutomaticLazyFrameLoadingToAds); BLINK_COMMON_EXPORT extern const base::FeatureParam --- a/third_party/blink/renderer/core/editing/selection_controller.cc +++ b/third_party/blink/renderer/core/editing/selection_controller.cc diff --git a/patches/extra/ungoogled-chromium/add-flag-for-omnibox-autocomplete-filtering.patch b/patches/extra/ungoogled-chromium/add-flag-for-omnibox-autocomplete-filtering.patch index 46e4caf6..f1fd6dc7 100644 --- a/patches/extra/ungoogled-chromium/add-flag-for-omnibox-autocomplete-filtering.patch +++ b/patches/extra/ungoogled-chromium/add-flag-for-omnibox-autocomplete-filtering.patch @@ -42,7 +42,7 @@ #include "base/feature_list.h" #include "base/format_macros.h" #include "base/metrics/histogram_functions.h" -@@ -328,6 +330,15 @@ AutocompleteController::AutocompleteCont +@@ -339,6 +341,15 @@ AutocompleteController::AutocompleteCont search_service_worker_signal_sent_(false), template_url_service_(provider_client_->GetTemplateURLService()) { provider_types &= ~OmniboxFieldTrial::GetDisabledProviderTypes(); @@ -80,7 +80,7 @@ #include "base/feature_list.h" #include "base/i18n/break_iterator.h" #include "base/i18n/case_conversion.h" -@@ -681,6 +682,9 @@ void SearchProvider::Run(bool query_is_p +@@ -677,6 +678,9 @@ void SearchProvider::Run(bool query_is_p } void SearchProvider::DoHistoryQuery(bool minimal_changes) { 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 e48a5741..1eba1873 100644 --- a/patches/extra/ungoogled-chromium/add-flag-for-qr-generator.patch +++ b/patches/extra/ungoogled-chromium/add-flag-for-qr-generator.patch @@ -1,18 +1,18 @@ --- a/chrome/browser/sharing/features.cc +++ b/chrome/browser/sharing/features.cc -@@ -26,3 +26,5 @@ const base::Feature kSharingSendViaSync{ - - const base::Feature kSharingPreferVapid { - "SharingPreferVapid", base::FEATURE_DISABLED_BY_DEFAULT}; +@@ -30,3 +30,5 @@ BASE_FEATURE(kSharingSendViaSync, + BASE_FEATURE(kSharingPreferVapid, + "SharingPreferVapid", + base::FEATURE_DISABLED_BY_DEFAULT); + -+const base::Feature kDisableQRGenerator{"DisableQRGenerator", base::FEATURE_DISABLED_BY_DEFAULT}; ++BASE_FEATURE(kDisableQRGenerator, "DisableQRGenerator", base::FEATURE_DISABLED_BY_DEFAULT); --- a/chrome/browser/sharing/features.h +++ b/chrome/browser/sharing/features.h -@@ -34,4 +34,5 @@ extern const base::Feature kSharingSendV +@@ -34,4 +34,5 @@ BASE_DECLARE_FEATURE(kSharingSendViaSync // Feature flag for prefer sending sharing message using VAPID. - extern const base::Feature kSharingPreferVapid; + BASE_DECLARE_FEATURE(kSharingPreferVapid); -+extern const base::Feature kDisableQRGenerator; ++BASE_DECLARE_FEATURE(kDisableQRGenerator); #endif // CHROME_BROWSER_SHARING_FEATURES_H_ --- a/chrome/browser/ui/qrcode_generator/qrcode_generator_bubble_controller.cc +++ b/chrome/browser/ui/qrcode_generator/qrcode_generator_bubble_controller.cc @@ -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 -@@ -311,7 +311,8 @@ void LocationBarView::Init() { - } +@@ -313,7 +313,8 @@ void LocationBarView::Init() { + 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 6383536e..b6020bcd 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 @@ -14,24 +14,24 @@ --- a/chrome/renderer/chrome_render_frame_observer.cc +++ b/chrome/renderer/chrome_render_frame_observer.cc @@ -249,14 +249,16 @@ void ChromeRenderFrameObserver::DidFinis - if (frame->Parent()) + if (frame->Parent() || frame->IsInFencedFrameTree()) return; - GURL osdd_url = frame->GetDocument().OpenSearchDescriptionURL(); - if (!osdd_url.is_empty()) { -- mojo::AssociatedRemote +- mojo::Remote - osdd_handler; -- render_frame()->GetRemoteAssociatedInterfaces()->GetInterface( -- &osdd_handler); +- render_frame()->GetBrowserInterfaceBroker()->GetInterface( +- osdd_handler.BindNewPipeAndPassReceiver()); - osdd_handler->PageHasOpenSearchDescriptionDocument( - frame->GetDocument().Url(), osdd_url); + if (!base::CommandLine::ForCurrentProcess()->HasSwitch("disable-search-engine-collection")) { + GURL osdd_url = frame->GetDocument().OpenSearchDescriptionURL(); + if (!osdd_url.is_empty()) { -+ mojo::AssociatedRemote ++ mojo::Remote + osdd_handler; -+ render_frame()->GetRemoteAssociatedInterfaces()->GetInterface( -+ &osdd_handler); ++ render_frame()->GetBrowserInterfaceBroker()->GetInterface( ++ osdd_handler.BindNewPipeAndPassReceiver()); + osdd_handler->PageHasOpenSearchDescriptionDocument( + frame->GetDocument().Url(), osdd_url); + } @@ -80,7 +80,7 @@ } bool TemplateURLService::IsPrepopulatedOrCreatedByPolicy( -@@ -1618,6 +1626,8 @@ SyncDataMap TemplateURLService::CreateGU +@@ -1634,6 +1642,8 @@ SyncDataMap TemplateURLService::CreateGU void TemplateURLService::Init(const Initializer* initializers, int num_initializers) { @@ -89,7 +89,7 @@ if (client_) client_->SetOwner(this); -@@ -1756,6 +1766,9 @@ void TemplateURLService::ChangeToLoadedS +@@ -1772,6 +1782,9 @@ void TemplateURLService::ChangeToLoadedS bool TemplateURLService::CanAddAutogeneratedKeywordForHost( const std::string& host) const { @@ -101,7 +101,7 @@ return true; --- a/components/search_engines/template_url_service.h +++ b/components/search_engines/template_url_service.h -@@ -752,6 +752,8 @@ class TemplateURLService : public WebDat +@@ -762,6 +762,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 5a5d6b5e..314d208a 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" -@@ -643,6 +644,8 @@ void Tab::OnGestureEvent(ui::GestureEven +@@ -642,6 +643,8 @@ void Tab::OnGestureEvent(ui::GestureEven } std::u16string Tab::GetTooltipText(const gfx::Point& p) const { @@ -19,7 +19,7 @@ } --- a/chrome/browser/ui/views/tabs/tab_strip.cc +++ b/chrome/browser/ui/views/tabs/tab_strip.cc -@@ -16,6 +16,7 @@ +@@ -15,6 +15,7 @@ #include "base/bind.h" #include "base/callback.h" @@ -27,7 +27,7 @@ #include "base/compiler_specific.h" #include "base/containers/adapters.h" #include "base/containers/contains.h" -@@ -1654,6 +1655,8 @@ void TabStrip::OnMouseEventInTab(views:: +@@ -1616,6 +1617,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 c498dff1..ea9cf66a 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 -@@ -1219,7 +1219,8 @@ void BrowserCommandController::InitComma +@@ -1220,7 +1220,8 @@ void BrowserCommandController::InitComma command_updater_.UpdateCommandEnabled(IDC_WINDOW_CLOSE_OTHER_TABS, normal_window); diff --git a/patches/extra/ungoogled-chromium/add-flag-to-clear-data-on-exit.patch b/patches/extra/ungoogled-chromium/add-flag-to-clear-data-on-exit.patch index 6b223b25..3271cd65 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-clear-data-on-exit.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-clear-data-on-exit.patch @@ -79,18 +79,18 @@ namespace browsing_data { namespace features { -+const base::Feature kClearDataOnExit{"ClearDataOnExit", base::FEATURE_DISABLED_BY_DEFAULT}; ++BASE_FEATURE(kClearDataOnExit, "ClearDataOnExit", base::FEATURE_DISABLED_BY_DEFAULT); + - const base::Feature kEnableRemovingAllThirdPartyCookies{ - "EnableRemovingAllThirdPartyCookies", base::FEATURE_DISABLED_BY_DEFAULT}; - + BASE_FEATURE(kEnableRemovingAllThirdPartyCookies, + "EnableRemovingAllThirdPartyCookies", + base::FEATURE_DISABLED_BY_DEFAULT); --- a/components/browsing_data/core/features.h +++ b/components/browsing_data/core/features.h -@@ -17,6 +17,7 @@ extern const base::Feature kEnableRemovi +@@ -17,6 +17,7 @@ BASE_DECLARE_FEATURE(kEnableRemovingAllT // defined by the BrowsingDataLifetime policy. - extern const base::Feature kEnableBrowsingDataLifetimeManager; + BASE_DECLARE_FEATURE(kEnableBrowsingDataLifetimeManager); -+extern const base::Feature kClearDataOnExit; ++BASE_DECLARE_FEATURE(kClearDataOnExit); } // namespace features } // namespace browsing_data 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 add8e64b..acaf7b06 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 @@ -5,10 +5,10 @@ #include "base/auto_reset.h" +#include "base/command_line.h" + #include "base/containers/adapters.h" #include "base/containers/contains.h" #include "base/containers/flat_map.h" - #include "base/cxx17_backports.h" -@@ -1822,6 +1823,10 @@ bool TabStripModel::CloseTabs(base::span +@@ -1815,6 +1816,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 00b9325f..15442d3a 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 -@@ -1145,10 +1145,12 @@ DownloadConfirmationReason DownloadTarge +@@ -1148,10 +1148,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 77de43b2..aa1e80bf 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-convert-popups-to-tabs.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-convert-popups-to-tabs.patch @@ -13,7 +13,7 @@ #endif // CHROME_BROWSER_UNGOOGLED_FLAG_ENTRIES_H_ --- a/content/renderer/render_frame_impl.cc +++ b/content/renderer/render_frame_impl.cc -@@ -1154,6 +1154,8 @@ WindowOpenDisposition NavigationPolicyTo +@@ -1162,6 +1162,8 @@ WindowOpenDisposition NavigationPolicyTo case blink::kWebNavigationPolicyNewWindow: return WindowOpenDisposition::NEW_WINDOW; case blink::kWebNavigationPolicyNewPopup: diff --git a/patches/extra/ungoogled-chromium/add-flag-to-disable-local-history-expiration.patch b/patches/extra/ungoogled-chromium/add-flag-to-disable-local-history-expiration.patch index 82199944..0166ef91 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" -@@ -1094,7 +1095,8 @@ void HistoryBackend::InitImpl( +@@ -1096,7 +1097,8 @@ void HistoryBackend::InitImpl( db_->GetStartDate(&first_recorded_time_); // Start expiring old stuff. diff --git a/patches/extra/ungoogled-chromium/add-flag-to-hide-extensions-menu.patch b/patches/extra/ungoogled-chromium/add-flag-to-hide-extensions-menu.patch index 139e6499..5c29c8f0 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-hide-extensions-menu.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-hide-extensions-menu.patch @@ -8,7 +8,7 @@ #include "base/cxx17_backports.h" #include "base/feature_list.h" #include "base/no_destructor.h" -@@ -29,6 +30,7 @@ +@@ -30,6 +31,7 @@ #include "chrome/browser/ui/views/frame/browser_view.h" #include "chrome/browser/ui/views/toolbar/toolbar_action_hover_card_controller.h" #include "chrome/browser/ui/views/toolbar/toolbar_actions_bar_bubble_views.h" @@ -16,7 +16,7 @@ #include "chrome/browser/ui/views/web_apps/frame_toolbar/web_app_frame_toolbar_view.h" #include "extensions/common/extension_features.h" #include "ui/base/dragdrop/drag_drop_types.h" -@@ -335,6 +337,17 @@ void ExtensionsToolbarContainer::AnchorA +@@ -354,6 +356,17 @@ void ExtensionsToolbarContainer::AnchorA widget->widget_delegate()->AsBubbleDialogDelegate()->SetAnchorView( anchor_view && anchor_view->GetVisible() ? anchor_view : GetExtensionsButton()); @@ -34,7 +34,7 @@ widget->Show(); } -@@ -831,6 +844,9 @@ void ExtensionsToolbarContainer::UpdateC +@@ -854,6 +867,9 @@ void ExtensionsToolbarContainer::UpdateC } bool ExtensionsToolbarContainer::ShouldContainerBeVisible() const { diff --git a/patches/extra/ungoogled-chromium/add-flag-to-hide-side-panel-button.patch b/patches/extra/ungoogled-chromium/add-flag-to-hide-side-panel-button.patch index 599f6641..ebad4822 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-hide-side-panel-button.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-hide-side-panel-button.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/ui/views/frame/browser_view.cc +++ b/chrome/browser/ui/views/frame/browser_view.cc -@@ -920,6 +920,7 @@ BrowserView::BrowserView(std::unique_ptr +@@ -923,6 +923,7 @@ BrowserView::BrowserView(std::unique_ptr AddChildView(std::make_unique()); side_panel_coordinator_ = std::make_unique(this); } else { diff --git a/patches/extra/ungoogled-chromium/add-flag-to-hide-tab-close-buttons.patch b/patches/extra/ungoogled-chromium/add-flag-to-hide-tab-close-buttons.patch index cca927e7..294062d0 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 -@@ -991,7 +991,11 @@ void Tab::UpdateIconVisibility() { +@@ -990,7 +990,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; -@@ -1012,6 +1016,8 @@ void Tab::UpdateIconVisibility() { +@@ -1011,6 +1015,8 @@ void Tab::UpdateIconVisibility() { available_width -= favicon_width; showing_close_button_ = large_enough_for_close_button; diff --git a/patches/extra/ungoogled-chromium/add-flag-to-show-avatar-button.patch b/patches/extra/ungoogled-chromium/add-flag-to-show-avatar-button.patch index e1032901..0e653f2b 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 -@@ -347,14 +347,30 @@ void ToolbarView::Init() { +@@ -348,14 +348,30 @@ void ToolbarView::Init() { side_panel_button_ = AddChildView(std::move(side_panel_button)); avatar_ = AddChildView(std::make_unique(browser_view_)); @@ -10,13 +10,13 @@ + const std::string flag_value = + command_line.GetSwitchValueASCII("show-avatar-button"); + -+ bool in_incognito_or_guest_mode = browser_->profile()->IsOffTheRecord() || ++ bool in_incognito_or_guest_mode = browser_->profile()->IsIncognitoProfile() || + browser_->profile()->IsGuestSession(); + bool show_avatar_toolbar_button = true; #if BUILDFLAG(IS_CHROMEOS_ASH) // ChromeOS only badges Incognito and Guest icons in the browser window. -- show_avatar_toolbar_button = browser_->profile()->IsOffTheRecord() || +- show_avatar_toolbar_button = browser_->profile()->IsIncognitoProfile() || - browser_->profile()->IsGuestSession(); + show_avatar_toolbar_button = in_incognito_or_guest_mode; #elif BUILDFLAG(IS_CHROMEOS_LACROS) diff --git a/patches/extra/ungoogled-chromium/add-ipv6-probing-option.patch b/patches/extra/ungoogled-chromium/add-ipv6-probing-option.patch index 56b409b5..dcfe740f 100644 --- a/patches/extra/ungoogled-chromium/add-ipv6-probing-option.patch +++ b/patches/extra/ungoogled-chromium/add-ipv6-probing-option.patch @@ -17,18 +17,18 @@ namespace net::features { -+const base::Feature kSetIpv6ProbeFalse{"SetIpv6ProbeFalse", base::FEATURE_DISABLED_BY_DEFAULT}; ++BASE_FEATURE(kSetIpv6ProbeFalse, "SetIpv6ProbeFalse", base::FEATURE_DISABLED_BY_DEFAULT); + - const base::Feature kAlpsForHttp2{"AlpsForHttp2", - base::FEATURE_ENABLED_BY_DEFAULT}; + BASE_FEATURE(kAlpsForHttp2, "AlpsForHttp2", base::FEATURE_ENABLED_BY_DEFAULT); + BASE_FEATURE(kAvoidH2Reprioritization, --- a/net/base/features.h +++ b/net/base/features.h @@ -17,6 +17,8 @@ namespace net::features { -+NET_EXPORT extern const base::Feature kSetIpv6ProbeFalse; ++NET_EXPORT BASE_DECLARE_FEATURE(kSetIpv6ProbeFalse); + // Enables ALPS extension of TLS 1.3 for HTTP/2, see // https://vasilvv.github.io/tls-alps/draft-vvv-tls-alps.html and @@ -44,10 +44,10 @@ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x01}; - - enum DnsResolveStatus { - RESOLVE_STATUS_DNS_SUCCESS = 0, - RESOLVE_STATUS_PROC_SUCCESS, -@@ -4085,7 +4080,7 @@ bool HostResolverManager::IsIPv6Reachabl + // ICANN uses this localhost address to indicate a name collision. + // + // The policy in Chromium is to fail host resolving if it resolves to +@@ -3728,7 +3723,7 @@ bool HostResolverManager::IsIPv6Reachabl (tick_clock_->NowTicks() - last_ipv6_probe_time_).InMilliseconds() > kIPv6ProbePeriodMs) { SetLastIPv6ProbeResult( diff --git a/patches/extra/ungoogled-chromium/add-ungoogled-flag-headers.patch b/patches/extra/ungoogled-chromium/add-ungoogled-flag-headers.patch index f3b7becb..a9afb2be 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 -@@ -3484,7 +3484,13 @@ const FeatureEntry::FeatureVariation kPa +@@ -3584,7 +3584,13 @@ const FeatureEntry::FeatureVariation kFa // 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-remote-optimization-guide.patch b/patches/extra/ungoogled-chromium/disable-remote-optimization-guide.patch index 2ff7e6f5..e723a3af 100644 --- a/patches/extra/ungoogled-chromium/disable-remote-optimization-guide.patch +++ b/patches/extra/ungoogled-chromium/disable-remote-optimization-guide.patch @@ -1,11 +1,11 @@ --- a/components/optimization_guide/core/optimization_guide_features.cc +++ b/components/optimization_guide/core/optimization_guide_features.cc -@@ -82,7 +82,7 @@ const base::Feature kOptimizationHints{" - +@@ -84,7 +84,7 @@ BASE_FEATURE(kOptimizationHints, // Enables fetching from a remote Optimization Guide Service. - const base::Feature kRemoteOptimizationGuideFetching{ -- "OptimizationHintsFetching", base::FEATURE_ENABLED_BY_DEFAULT}; -+ "OptimizationHintsFetching", base::FEATURE_DISABLED_BY_DEFAULT}; + BASE_FEATURE(kRemoteOptimizationGuideFetching, + "OptimizationHintsFetching", +- base::FEATURE_ENABLED_BY_DEFAULT); ++ base::FEATURE_DISABLED_BY_DEFAULT); - const base::Feature kRemoteOptimizationGuideFetchingAnonymousDataConsent{ - "OptimizationHintsFetchingAnonymousDataConsent", + BASE_FEATURE(kRemoteOptimizationGuideFetchingAnonymousDataConsent, + "OptimizationHintsFetchingAnonymousDataConsent", diff --git a/patches/extra/ungoogled-chromium/disable-webgl-renderer-info.patch b/patches/extra/ungoogled-chromium/disable-webgl-renderer-info.patch index c5552337..3ec02d52 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 -@@ -3693,8 +3693,7 @@ ScriptValue WebGLRenderingContextBase::g +@@ -3694,8 +3694,7 @@ ScriptValue WebGLRenderingContextBase::g pname, IdentifiabilityBenignStringToken( String(ContextGL()->GetString(GL_RENDERER)))); } @@ -13,7 +13,7 @@ } SynthesizeGLError( GL_INVALID_ENUM, "getParameter", -@@ -3708,8 +3707,7 @@ ScriptValue WebGLRenderingContextBase::g +@@ -3709,8 +3708,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 4c28d3da..61ccc326 100644 --- a/patches/extra/ungoogled-chromium/enable-default-prefetch-privacy-changes.patch +++ b/patches/extra/ungoogled-chromium/enable-default-prefetch-privacy-changes.patch @@ -2,12 +2,12 @@ --- a/third_party/blink/common/features.cc +++ b/third_party/blink/common/features.cc -@@ -460,7 +460,7 @@ const base::Feature kAllowSyncXHRInPageD - // Prefetch request properties are updated to be privacy-preserving. See +@@ -510,7 +510,7 @@ BASE_FEATURE(kAllowSyncXHRInPageDismissa // crbug.com/988956. - const base::Feature kPrefetchPrivacyChanges{"PrefetchPrivacyChanges", -- base::FEATURE_DISABLED_BY_DEFAULT}; -+ base::FEATURE_ENABLED_BY_DEFAULT}; + BASE_FEATURE(kPrefetchPrivacyChanges, + "PrefetchPrivacyChanges", +- base::FEATURE_DISABLED_BY_DEFAULT); ++ base::FEATURE_ENABLED_BY_DEFAULT); // Decodes jpeg 4:2:0 formatted images to YUV instead of RGBX and stores in this // format in the image decode cache. See crbug.com/919627 for details on the diff --git a/patches/extra/ungoogled-chromium/enable-menu-on-reload-button.patch b/patches/extra/ungoogled-chromium/enable-menu-on-reload-button.patch index 915b3be1..1a1b21c6 100644 --- a/patches/extra/ungoogled-chromium/enable-menu-on-reload-button.patch +++ b/patches/extra/ungoogled-chromium/enable-menu-on-reload-button.patch @@ -2,7 +2,7 @@ --- a/chrome/browser/ui/views/toolbar/reload_button.cc +++ b/chrome/browser/ui/views/toolbar/reload_button.cc -@@ -83,7 +83,7 @@ bool ReloadButton::GetMenuEnabled() cons +@@ -84,7 +84,7 @@ bool ReloadButton::GetMenuEnabled() cons } void ReloadButton::SetMenuEnabled(bool enable) { 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 1d833597..054b78e3 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 -@@ -1897,8 +1897,6 @@ void TabStrip::NewTabButtonPressed(const +@@ -1865,8 +1865,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; -@@ -1906,7 +1904,6 @@ void TabStrip::NewTabButtonPressed(const +@@ -1874,7 +1872,6 @@ void TabStrip::NewTabButtonPressed(const /* data_dst = */ nullptr, &clipboard_text); if (!clipboard_text.empty()) controller_->CreateNewTabWithLocation(clipboard_text); diff --git a/patches/extra/ungoogled-chromium/remove-disable-setuid-sandbox-as-bad-flag.patch b/patches/extra/ungoogled-chromium/remove-disable-setuid-sandbox-as-bad-flag.patch index dfee8b4a..16108039 100644 --- a/patches/extra/ungoogled-chromium/remove-disable-setuid-sandbox-as-bad-flag.patch +++ b/patches/extra/ungoogled-chromium/remove-disable-setuid-sandbox-as-bad-flag.patch @@ -2,7 +2,7 @@ --- a/chrome/browser/ui/startup/bad_flags_prompt.cc +++ b/chrome/browser/ui/startup/bad_flags_prompt.cc -@@ -60,7 +60,6 @@ static const char* kBadFlags[] = { +@@ -62,7 +62,6 @@ static const char* kBadFlags[] = { // These flags disable sandbox-related security. sandbox::policy::switches::kDisableGpuSandbox, sandbox::policy::switches::kDisableSeccompFilterSandbox, diff --git a/patches/extra/ungoogled-chromium/remove-uneeded-ui.patch b/patches/extra/ungoogled-chromium/remove-uneeded-ui.patch index aff3ca6f..27b1411b 100644 --- a/patches/extra/ungoogled-chromium/remove-uneeded-ui.patch +++ b/patches/extra/ungoogled-chromium/remove-uneeded-ui.patch @@ -98,7 +98,7 @@ - external> - - + @@ -139,7 +139,7 @@
-@@ -183,6 +184,7 @@ +@@ -186,6 +187,7 @@
diff --git a/pruning.list b/pruning.list index fc10cc9f..1915d4ec 100644 --- a/pruning.list +++ b/pruning.list @@ -37,11 +37,18 @@ build/android/tests/symbolize/liba.so build/android/tests/symbolize/libb.so build/linux/sysroot_scripts/keyring.gpg buildtools/linux64/gn +buildtools/reclient/bootstrap +buildtools/reclient/dumpstats +buildtools/reclient/logdump +buildtools/reclient/reproxy +buildtools/reclient/reproxystatus +buildtools/reclient/rewrapper +buildtools/reclient/rpl2cloudtrace +buildtools/reclient/rpl2trace buildtools/third_party/eu-strip/bin/eu-strip chrome/app/etw_events/MSG00001.bin chrome/app/etw_events/chrome_events_winTEMP.BIN chrome/browser/ash/power/ml/smart_dim/20190521_example_preprocessor_config.pb -chrome/browser/resources/chromeos/accessibility/accessibility_common/dictation/parse/pumpkin/pumpkin_files.zip chrome/browser/resources/chromeos/accessibility/chromevox/background/earcons/alert_modal.ogg chrome/browser/resources/chromeos/accessibility/chromevox/background/earcons/alert_nonmodal.ogg chrome/browser/resources/chromeos/accessibility/chromevox/background/earcons/button.ogg @@ -72,7 +79,9 @@ 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-5304-1666797109-a3a76dd7938da631f62885246f730eda0ded4ba1.profdata +chrome/browser/web_applications/test/data/simple_signed.wbn +chrome/browser/web_applications/test/data/simple_signed_tampered.wbn +chrome/build/pgo_profiles/chrome-linux-5359-1669656947-a415d5db65dd3e05ade5e2d1d5f3750801174642.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 @@ -94,9 +103,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 -components/cast_channel/fuzz_corpus/cast_message0 -components/cast_channel/fuzz_corpus/cast_message1 -components/cast_channel/fuzz_corpus/cast_message2 components/cbor/reader_fuzzer_corpus/cbor0 components/cbor/reader_fuzzer_corpus/cbor1 components/cbor/reader_fuzzer_corpus/cbor11 @@ -169,6 +175,9 @@ components/domain_reliability/baked_in_configs/gvt2_com.json components/domain_reliability/baked_in_configs/gvt6_com.json components/domain_reliability/baked_in_configs/ssl_gstatic_com.json components/domain_reliability/baked_in_configs/www_google_com.json +components/media_router/common/providers/cast/channel/fuzz_corpus/cast_message0 +components/media_router/common/providers/cast/channel/fuzz_corpus/cast_message1 +components/media_router/common/providers/cast/channel/fuzz_corpus/cast_message2 components/safe_browsing/content/resources/empty_file_type_policy.pb components/safe_browsing/core/common/safe_browsing_prefs.cc components/safe_browsing/core/common/safe_browsing_prefs.h @@ -179,20 +188,23 @@ components/test/data/ad_tagging/allow.zip components/test/data/ad_tagging/bear-320x240-video-only.webm components/test/data/ad_tagging/disallow.zip components/test/data/autofill_assistant/model/model.tflite -components/test/data/cast_certificate/testsuite/testsuite1.pb components/test/data/crx_file/sample.zip components/test/data/crx_file/unsigned.crx3 components/test/data/crx_file/valid.crx2 components/test/data/crx_file/valid_no_publisher.crx3 components/test/data/crx_file/valid_publisher.crx3 components/test/data/crx_file/valid_test_publisher.crx3 +components/test/data/device_signals/TestApp.app/Contents/MacOS/TestApp +components/test/data/device_signals/UnsignedApp.app/Contents/MacOS/UnsignedApp components/test/data/device_signals/empty.exe components/test/data/device_signals/metadata.exe +components/test/data/device_signals/multi-signed.exe components/test/data/device_signals/signed.exe components/test/data/feed/response.binarypb components/test/data/history/HistoryNoDuration components/test/data/history/HistoryNoSource components/test/data/history/History_with_starred +components/test/data/media_router/common/providers/cast/certificate/testsuite/testsuite1.pb components/test/data/omnibox/on_device_head_test_model_index.bin components/test/data/optimization_guide/bert_page_topics_model.tflite components/test/data/optimization_guide/invalid_model.crx3 @@ -323,6 +335,7 @@ 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/browser/ui/omnibox/popup/omnibox_popup_carousel_control.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 @@ -331,7 +344,6 @@ ios/chrome/test/data/sessions/session_m57.plist ios/chrome/test/data/sessions/session_m58.plist ios/chrome/test/data/voice/test_sound.m4a ios/chrome/test/earl_grey/chrome_earl_grey.mm -ios/public/provider/chrome/browser/signin/chrome_identity_service.mm ios/testing/data/http_server_files/generic.pkpass ios/testing/data/http_server_files/redchair.usdz ios/testing/data/http_server_files/video_sample.mov @@ -3110,26 +3122,6 @@ third_party/angle/third_party/VK-GL-CTS/src/external/openglcts/data/spirv/spirv_ third_party/angle/third_party/VK-GL-CTS/src/external/openglcts/data/spirv/spirv_validation_capabilities/binary_p1s3.nspv third_party/angle/third_party/VK-GL-CTS/src/external/openglcts/data/spirv/spirv_validation_capabilities/binary_p1s4.nspv third_party/angle/third_party/VK-GL-CTS/src/external/openglcts/data/spirv/spirv_validation_capabilities/binary_p2s0.nspv -third_party/angle/third_party/astc-encoder/src/Test/Data/HDR-A-1x1.astc -third_party/angle/third_party/astc-encoder/src/Test/Data/HDR-A-1x1.exr -third_party/angle/third_party/astc-encoder/src/Test/Data/LDR-A-1x1.astc -third_party/angle/third_party/astc-encoder/src/Test/Data/LDRS-A-1x1.astc -third_party/angle/third_party/astc-encoder/src/Test/Data/Tiles/hdr-complex.exr -third_party/angle/third_party/astc-encoder/src/Test/Data/Tiles/hdr.astc -third_party/angle/third_party/astc-encoder/src/Test/Data/Tiles/hdr.exr -third_party/angle/third_party/astc-encoder/src/Test/Data/Tiles/hdr.hdr -third_party/angle/third_party/astc-encoder/src/Test/Data/Tiles/ldr.astc -third_party/angle/third_party/astc-encoder/src/Test/Data/Tiles/ldr.dds -third_party/angle/third_party/astc-encoder/src/Test/Data/Tiles/ldr.ktx -third_party/angle/third_party/astc-encoder/src/Test/Data/Tiles/ldr.tga -third_party/angle/third_party/astc-encoder/src/Test/Images/HDRIHaven/HDR-RGB/hdr-rgb-arboretum.hdr -third_party/angle/third_party/astc-encoder/src/Test/Images/HDRIHaven/HDR-RGB/hdr-rgb-bellparkpier.hdr -third_party/angle/third_party/astc-encoder/src/Test/Images/HDRIHaven/HDR-RGB/hdr-rgb-canarywharf.hdr -third_party/angle/third_party/astc-encoder/src/Test/Images/HDRIHaven/HDR-RGB/hdr-rgb-eveningroad.hdr -third_party/angle/third_party/astc-encoder/src/Test/Images/HDRIHaven/HDR-RGB/hdr-rgb-riverwalk.hdr -third_party/angle/third_party/astc-encoder/src/Test/Images/Small/HDR-RGB/hdr-rgb-00.hdr -third_party/angle/third_party/astc-encoder/src/Test/Images/Small/LDR-L/ldr-l-00-3.dds -third_party/angle/third_party/astc-encoder/src/Test/Images/Small/LDR-L/ldr-l-01-3.dds third_party/angle/third_party/glmark2/src/data/models/asteroid-high.3ds third_party/angle/third_party/glmark2/src/data/models/asteroid-low.3ds third_party/angle/third_party/glmark2/src/data/models/cat.3ds @@ -8556,7 +8548,7 @@ third_party/crashpad/crashpad/snapshot/ios/testdata/crash-1fa088dda0adb41459d063 third_party/crashpad/crashpad/snapshot/ios/testdata/crash-5726011582644224 third_party/crashpad/crashpad/snapshot/ios/testdata/crash-6605504629637120 third_party/crashpad/crashpad/util/net/testdata/binary_http_body.dat -third_party/dawn/test/tint/bug/tint/804.spv +third_party/dawn/third_party/ninja/ninja third_party/dawn/third_party/webgpu-cts/deploy_key.enc third_party/dawn/third_party/webgpu-cts/src/resources/red-green.bt2020.vp9.webm third_party/dawn/third_party/webgpu-cts/src/resources/red-green.bt601.vp9.webm @@ -12024,6 +12016,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-fuzzer-6595199411159040 third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-fuzzer-6624904746106880 third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-fuzzer-6723367514144768 +third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-shape-fuzzer-4523349576908800 third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-shape-fuzzer-5061207689134080 third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-shape-fuzzer-5138182937772032 third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-shape-fuzzer-5154718402215936 @@ -12095,6 +12088,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-5768601332613120 third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-shape-fuzzer-5769590820044800 third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-shape-fuzzer-6306977171374080 +third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-subset-fuzzer-4549523149553664 third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-subset-fuzzer-4681956043390976 third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-subset-fuzzer-4880059756969984 third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-subset-fuzzer-4901143794810880 @@ -12109,6 +12103,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-subset-fuzzer-5127321313476608 third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-subset-fuzzer-5137462782066688 third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-subset-fuzzer-5141317848530944.fuzz +third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-subset-fuzzer-5145429829877760 third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-subset-fuzzer-5148388450631680 third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-subset-fuzzer-5160311461511168 third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-subset-fuzzer-5167653459329024 @@ -12118,6 +12113,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-subset-fuzzer-5205038086094848 third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-subset-fuzzer-5206191479455744 third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-subset-fuzzer-5229304507138048 +third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-subset-fuzzer-5234369031176192 third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-subset-fuzzer-5241922561114112 third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-subset-fuzzer-5250795600740352 third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-subset-fuzzer-5269686781607936 @@ -12126,6 +12122,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-subset-fuzzer-5362189182566400 third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-subset-fuzzer-5363902507515904 third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-subset-fuzzer-5416421032067072 +third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-subset-fuzzer-5417800474165248 third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-subset-fuzzer-5417934246772736 third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-subset-fuzzer-5422577634377728 third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-subset-fuzzer-5443213648330752 @@ -12233,6 +12230,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-subset-fuzzer-6276691949518848 third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-subset-fuzzer-6315334756335616 third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-subset-fuzzer-6316256152780800 +third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-subset-fuzzer-6362213417353216 third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-subset-fuzzer-6365271012540416 third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-subset-fuzzer-6372147008241664 third_party/harfbuzz-ng/src/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-subset-fuzzer-6382598554255360 @@ -15621,6 +15619,8 @@ third_party/libzip/src/regress/zip-in-archive-comment.zip third_party/libzip/src/regress/zip64-3mf.zip third_party/libzip/src/regress/zip64.zip third_party/llvm/clang-tools-extra/clangd/test/index-serialization/Inputs/sample.idx +third_party/llvm/clang/test/CodeGen/Inputs/memprof.exe +third_party/llvm/clang/test/CodeGen/Inputs/memprof.memprofraw third_party/llvm/clang/test/CodeGen/Inputs/thinlto-distributed-backend-skip.bc third_party/llvm/clang/test/Driver/Inputs/dummy-bc.bc third_party/llvm/clang/test/Driver/Inputs/dummy-elf.o @@ -15785,7 +15785,6 @@ third_party/llvm/lldb/test/Shell/Register/Core/Inputs/x86-64-linux-multithread.c third_party/llvm/lldb/test/Shell/Register/Core/Inputs/x86-64-linux.core third_party/llvm/lldb/test/Shell/Register/Core/Inputs/x86-64-netbsd-multithread.core third_party/llvm/lldb/test/Shell/Register/Core/Inputs/x86-64-netbsd.core -third_party/llvm/lldb/test/Shell/Reproducer/Inputs/core third_party/llvm/lldb/unittests/ObjectFile/ELF/Inputs/early-section-headers.so third_party/llvm/lldb/unittests/Process/minidump/Inputs/fizzbuzz_no_heap.dmp third_party/llvm/lldb/unittests/Process/minidump/Inputs/fizzbuzz_wow64.dmp @@ -16320,6 +16319,9 @@ third_party/llvm/llvm/test/Other/Inputs/no-block-info.bc third_party/llvm/llvm/test/ThinLTO/X86/Inputs/autoupgrade.bc third_party/llvm/llvm/test/ThinLTO/X86/Inputs/drop-debug-info.bc third_party/llvm/llvm/test/Transforms/GlobalOpt/2007-04-05-Crash.ll +third_party/llvm/llvm/test/Transforms/PGOProfile/Inputs/memprof.exe +third_party/llvm/llvm/test/Transforms/PGOProfile/Inputs/memprof.memprofraw +third_party/llvm/llvm/test/Transforms/PGOProfile/Inputs/memprof_pgo.profraw third_party/llvm/llvm/test/Transforms/SampleProfile/Inputs/bad.extbinary.afdo third_party/llvm/llvm/test/Transforms/SampleProfile/Inputs/ctxsplit.extbinary.afdo third_party/llvm/llvm/test/Transforms/SampleProfile/Inputs/fnptr.binprof @@ -16749,7 +16751,7 @@ third_party/llvm/llvm/test/tools/llvm-objdump/MachO/Inputs/macho-bind-uleb-times third_party/llvm/llvm/test/tools/llvm-objdump/MachO/Inputs/macho-disassemble-stab-x86_64 third_party/llvm/llvm/test/tools/llvm-objdump/MachO/Inputs/macho-do-bind-no-dylib-ordinal third_party/llvm/llvm/test/tools/llvm-objdump/MachO/Inputs/macho-do-bind-no-symbol -third_party/llvm/llvm/test/tools/llvm-objdump/MachO/Inputs/macho-inconsistant-export +third_party/llvm/llvm/test/tools/llvm-objdump/MachO/Inputs/macho-inconsistent-export third_party/llvm/llvm/test/tools/llvm-objdump/MachO/Inputs/macho-invalid-bind-entry third_party/llvm/llvm/test/tools/llvm-objdump/MachO/Inputs/macho-invalid-linker-command third_party/llvm/llvm/test/tools/llvm-objdump/MachO/Inputs/macho-invalid-reloc-section-index @@ -17059,6 +17061,17 @@ third_party/llvm/mlir/test/Bytecode/invalid/invalid-structure-section-id-unknown third_party/llvm/mlir/test/Bytecode/invalid/invalid-structure-section-length.mlirbc third_party/llvm/mlir/test/Bytecode/invalid/invalid-structure-section-missing.mlirbc third_party/llvm/mlir/test/IR/zero_whitespace.mlir +third_party/lzma_sdk/google/fuzzer_corpus/compressed_exe.7z +third_party/lzma_sdk/google/fuzzer_corpus/file_folder_file.7z +third_party/lzma_sdk/google/test_data/bad_crc.7z +third_party/lzma_sdk/google/test_data/compressed_exe.7z +third_party/lzma_sdk/google/test_data/empty.7z +third_party/lzma_sdk/google/test_data/empty_file.7z +third_party/lzma_sdk/google/test_data/encrypted.7z +third_party/lzma_sdk/google/test_data/fake_crc_table.7z +third_party/lzma_sdk/google/test_data/file_folder_file.7z +third_party/lzma_sdk/google/test_data/folder.7z +third_party/lzma_sdk/google/test_data/inner_archive.7z third_party/minizip/minizip_uncompress_corpus/As.zip third_party/minizip/minizip_uncompress_corpus/comments.zip third_party/minizip/minizip_uncompress_corpus/corpus.zip @@ -17210,6 +17223,7 @@ third_party/nasm/travis/test/vmread.bin.t third_party/nasm/travis/test/weirdpaste.bin.t third_party/nasm/travis/test/xcrypt.bin.t third_party/nasm/travis/test/zerobyte.bin.t +third_party/ninja/ninja third_party/node/node_modules.tar.gz third_party/node/node_modules/terser/node_modules/source-map/lib/mappings.wasm third_party/openh264/src/autotest/performanceTest/ios/fruitstrap @@ -17480,6 +17494,8 @@ third_party/rust/libloading/v0_7/crate/tests/nagisa32.dll third_party/rust/libloading/v0_7/crate/tests/nagisa64.dll third_party/rust/regex/v1/crate/src/testdata/basic.dat third_party/rust/regex/v1/crate/tests/fowler.rs +third_party/rust/unicode_ident/v1/crate/tests/fst/xid_continue.fst +third_party/rust/unicode_ident/v1/crate/tests/fst/xid_start.fst third_party/skia/modules/canvaskit/tests/assets/Roboto-Regular.otf third_party/skia/modules/canvaskit/tests/assets/red_line.skp third_party/skia/modules/canvaskit/tests/assets/test.ttc