diff --git a/chromium_version.txt b/chromium_version.txt index 5e0077a9..ec91329a 100644 --- a/chromium_version.txt +++ b/chromium_version.txt @@ -1 +1 @@ -113.0.5672.127 +114.0.5735.90 diff --git a/domain_substitution.list b/domain_substitution.list index 332339ae..0a0b1347 100644 --- a/domain_substitution.list +++ b/domain_substitution.list @@ -44,6 +44,7 @@ ash/assistant/ui/main_stage/suggestion_chip_view_unittest.cc ash/assistant/util/deep_link_util.cc ash/assistant/util/deep_link_util_unittest.cc ash/capture_mode/capture_mode_camera_unittests.cc +ash/capture_mode/capture_mode_controller.cc ash/capture_mode/capture_mode_unittests.cc ash/child_accounts/parent_access_controller_impl_unittest.cc ash/components/arc/arc_util.h @@ -53,6 +54,7 @@ ash/components/arc/session/serial_number_util_unittest.cc ash/constants/ash_switches.cc ash/constants/url_constants.cc ash/controls/contextual_nudge.cc +ash/events/keyboard_capability_unittest.cc ash/fast_ink/laser/laser_pointer_view.cc ash/glanceables/glanceables_unittests.cc ash/glanceables/glanceables_welcome_label_unittest.cc @@ -62,6 +64,8 @@ ash/login/ui/login_remove_account_dialog_unittest.cc ash/metrics/login_unlock_throughput_recorder.h ash/public/cpp/android_intent_helper_unittest.cc ash/public/cpp/system_notification_builder_unittest.cc +ash/quick_pair/fast_pair_handshake/fast_pair_data_encryptor.h +ash/quick_pair/fast_pair_handshake/fast_pair_data_encryptor_impl_unittest.cc ash/quick_pair/fast_pair_handshake/fast_pair_encryption.h ash/quick_pair/fast_pair_handshake/fast_pair_encryption_unittest.cc ash/quick_pair/fast_pair_handshake/fast_pair_handshake.h @@ -84,7 +88,6 @@ ash/shelf/scrollable_shelf_view_pixeltest.cc ash/shelf/shelf_controller_unittest.cc ash/shelf/shelf_layout_manager_unittest.cc ash/style/color_palette_controller_unittest.cc -ash/style/dark_light_mode_nudge_controller_unittests.cc ash/system/audio/audio_effects_controller_unittest.cc ash/system/camera/camera_effects_controller_unittest.cc ash/system/diagnostics/diagnostics_log_controller_unittest.cc @@ -92,6 +95,7 @@ ash/system/eche/eche_tray.cc ash/system/eche/eche_tray_unittest.cc ash/system/federated/federated_service_controller_impl_unittest.cc ash/system/human_presence/snooping_protection_controller_unittest.cc +ash/system/input_device_settings/input_device_settings_metrics_manager_unittest.cc ash/system/message_center/ash_notification_view_unittest.cc ash/system/message_center/notification_grouping_controller_unittest.cc ash/system/pcie_peripheral/pcie_peripheral_notification_controller.cc @@ -104,11 +108,14 @@ ash/system/status_area_widget_unittest.cc ash/system/time/calendar_event_list_item_view_jelly_unittest.cc ash/system/time/calendar_up_next_pixeltest.cc ash/system/time/calendar_up_next_view_unittest.cc +ash/system/unified/notification_icons_controller_unittest.cc +ash/system/unified/power_button_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/system/video_conference/bubble/return_to_app_panel_unittest.cc ash/system/video_conference/fake_video_conference_tray_controller.cc +ash/system/video_conference/video_conference_tray_unittest.cc ash/wallpaper/test_wallpaper_controller_client.cc ash/wallpaper/wallpaper_image_downloader.cc ash/webui/camera_app_ui/camera_app_untrusted_ui.cc @@ -165,6 +172,7 @@ ash/webui/scanning/resources/scanning_app.js ash/webui/shimless_rma/resources/onboarding_enter_rsu_wp_disable_code_page.js ash/webui/shortcut_customization_ui/resources/PRESUBMIT.py ash/webui/system_apps/public/system_web_app_type.h +ash/wm/desks/templates/admin_template_unittest.cc ash/wm/desks/templates/saved_desk_controller.cc ash/wm/desks/templates/saved_desk_test_helper.cc ash/wm/desks/templates/saved_desk_unittest.cc @@ -187,6 +195,7 @@ base/allocator/partition_allocator/partition_alloc_config.h base/allocator/partition_allocator/partition_alloc_unittest.cc base/allocator/partition_allocator/partition_ref_count.h base/allocator/partition_allocator/partition_tls.h +base/allocator/partition_allocator/pointers/raw_ptr.h base/allocator/partition_allocator/shim/allocator_shim_default_dispatch_to_partition_alloc.cc base/allocator/partition_allocator/starscan/stack/asm/x64/push_registers_asm.cc base/allocator/partition_allocator/starscan/stack/stack.cc @@ -314,8 +323,8 @@ build/android/gyp/proguard.py build/android/gyp/util/diff_utils.py build/android/gyp/util/protoresources.py build/android/gyp/util/resources_parser.py +build/android/gyp/write_build_config.py build/android/incremental_install/generate_android_manifest.py -build/android/incremental_install/installer.py build/android/method_count.py build/android/pylib/constants/__init__.py build/android/pylib/device_settings.py @@ -367,6 +376,7 @@ build/linux/unbundle/remove_bundled_libraries.py build/mac_toolchain.py build/nocompile.gni build/rust/rustc_wrapper.py +build/rust/std/remap_alloc.cc build/rust/std/rules/BUILD.gn build/sanitizers/lsan_suppressions.cc build/sanitizers/tsan_suppressions.cc @@ -402,7 +412,6 @@ chrome/PRESUBMIT.py chrome/android/chrome_public_apk_tmpl.gni chrome/android/expectations/lint-baseline.xml chrome/android/expectations/lint-suppressions.xml -chrome/android/java/res/layout/autofill_save_address_profile_prompt.xml chrome/android/java/res/values-sw600dp/values.xml chrome/android/java/res/values/dimens.xml chrome/android/java/res/values/strings.xml @@ -410,8 +419,8 @@ chrome/android/java/res/values/values.xml chrome/android/java/res/xml/phone_as_a_security_key_accessory_filter.xml chrome/android/java/src/PRESUBMIT.py chrome/android/javatests/AndroidManifest.xml -chrome/android/javatests/AndroidManifest_monochrome.xml chrome/android/javatests/src/org/chromium/chrome/test/smoke/AndroidManifest_bundle.xml +chrome/android/trichrome.gni chrome/android/webapk/PRESUBMIT.py chrome/android/webapk/shell_apk/manifest/javatest_manifest_config_delta.json chrome/android/webapk/shell_apk/manifest/maps_go_manifest_config.json @@ -460,6 +469,7 @@ chrome/browser/android/tab_android.cc chrome/browser/android/vr/PRESUBMIT.py chrome/browser/android/webapk/webapk_installer.cc chrome/browser/apps/almanac_api_client/almanac_api_util.cc +chrome/browser/apps/almanac_api_client/device_info_manager.cc chrome/browser/apps/app_deduplication_service/app_deduplication_server_connector.cc chrome/browser/apps/app_deduplication_service/app_deduplication_service_unittest.cc chrome/browser/apps/app_discovery_service/app_discovery_service_unittest.cc @@ -473,6 +483,7 @@ chrome/browser/apps/app_service/app_service_proxy_lacros_unittest.cc chrome/browser/apps/app_service/app_service_proxy_unittest.cc chrome/browser/apps/app_service/intent_util_unittest.cc chrome/browser/apps/app_service/metrics/app_service_metrics.h +chrome/browser/apps/app_service/promise_apps/promise_app_almanac_connector.cc chrome/browser/apps/app_service/publishers/arc_apps.cc chrome/browser/apps/app_service/publishers/arc_apps_unittest.cc chrome/browser/apps/app_service/publishers/publisher_unittest.cc @@ -495,11 +506,13 @@ chrome/browser/ash/account_manager/account_manager_edu_coexistence_controller_un chrome/browser/ash/android_sms/android_sms_urls.cc chrome/browser/ash/android_sms/android_sms_urls.h chrome/browser/ash/app_list/app_context_menu_unittest.cc +chrome/browser/ash/app_list/app_list_client_impl.cc chrome/browser/ash/app_list/app_list_sort_browsertest.cc chrome/browser/ash/app_list/app_list_test_util.cc chrome/browser/ash/app_list/app_service/app_service_app_model_builder_unittest.cc chrome/browser/ash/app_list/arc/arc_usb_host_permission_browsertest.cc chrome/browser/ash/app_list/chrome_app_list_model_updater_browsertest.cc +chrome/browser/ash/app_list/launcher_search_iph_browsertest.cc chrome/browser/ash/app_list/search/arc/arc_recommend_apps_fetcher_impl_unittest.cc chrome/browser/ash/app_list/search/arc/recommend_apps_fetcher_impl.cc chrome/browser/ash/app_list/search/common/string_util.cc @@ -520,7 +533,6 @@ chrome/browser/ash/arc/auth/arc_background_auth_code_fetcher.cc chrome/browser/ash/arc/auth/arc_robot_auth_code_fetcher.cc chrome/browser/ash/arc/bluetooth/arc_bluetooth_bridge.cc chrome/browser/ash/arc/bluetooth/arc_bluetooth_bridge.h -chrome/browser/ash/arc/enterprise/arc_data_snapshotd_delegate_unittest.cc chrome/browser/ash/arc/enterprise/arc_enterprise_reporting_service_unittest.cc chrome/browser/ash/arc/extensions/arc_support_message_host.cc chrome/browser/ash/arc/file_system_watcher/file_system_scanner.h @@ -566,6 +578,7 @@ chrome/browser/ash/dbus/proxy_resolution_service_provider_unittest.cc chrome/browser/ash/drive/drivefs_test_support.cc chrome/browser/ash/enhanced_network_tts/enhanced_network_tts_constants.cc chrome/browser/ash/enhanced_network_tts/enhanced_network_tts_constants.h +chrome/browser/ash/enhanced_network_tts/enhanced_network_tts_impl.cc 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/extensions/file_manager/file_manager_private_apitest.cc @@ -605,8 +618,7 @@ chrome/browser/ash/login/login_ui_browsertest.cc chrome/browser/ash/login/login_ui_keyboard_browsertest.cc chrome/browser/ash/login/login_ui_shelf_visibility_browsertest.cc chrome/browser/ash/login/marketing_backend_connector.cc -chrome/browser/ash/login/oobe_quick_start/connectivity/authenticated_connection.cc -chrome/browser/ash/login/oobe_quick_start/connectivity/authenticated_connection_unittest.cc +chrome/browser/ash/login/oobe_quick_start/connectivity/connection_unittest.cc chrome/browser/ash/login/oobe_quick_start/second_device_auth_broker.cc chrome/browser/ash/login/oobe_quick_start/second_device_auth_broker_unittest.cc chrome/browser/ash/login/password_change_browsertest.cc @@ -642,6 +654,7 @@ chrome/browser/ash/net/network_diagnostics/network_diagnostics_util.h chrome/browser/ash/net/network_diagnostics/video_conferencing_routine.cc chrome/browser/ash/net/network_portal_detector_impl.cc chrome/browser/ash/net/network_portal_detector_impl_browsertest.cc +chrome/browser/ash/notifications/multi_capture_login_notification_unittest.cc chrome/browser/ash/os_feedback/chrome_os_feedback_delegate_browsertest.cc chrome/browser/ash/os_url_handler_browsertest.cc chrome/browser/ash/phonehub/browser_tabs_model_provider_impl_unittest.cc @@ -650,7 +663,6 @@ chrome/browser/ash/plugin_vm/plugin_vm_installer_unittest.cc chrome/browser/ash/plugin_vm/plugin_vm_license_checker.cc chrome/browser/ash/plugin_vm/plugin_vm_util.cc chrome/browser/ash/plugin_vm/plugin_vm_util_unittest.cc -chrome/browser/ash/policy/active_directory/active_directory_policy_manager.h chrome/browser/ash/policy/arc/android_management_client_unittest.cc chrome/browser/ash/policy/core/device_local_account_browsertest.cc chrome/browser/ash/policy/core/device_local_account_policy_service_unittest.cc @@ -663,6 +675,7 @@ chrome/browser/ash/policy/dlp/dlp_content_manager_ash_browsertest.cc chrome/browser/ash/policy/dlp/dlp_content_manager_ash_unittest.cc chrome/browser/ash/policy/dlp/dlp_files_controller_unittest.cc chrome/browser/ash/policy/enrollment/account_status_check_fetcher_unittest.cc +chrome/browser/ash/policy/handlers/screensaver_image_downloader.cc chrome/browser/ash/policy/login/login_policy_test_base.cc chrome/browser/ash/policy/networking/network_policy_application_browsertest.cc chrome/browser/ash/policy/remote_commands/device_command_start_crd_session_job.cc @@ -672,7 +685,6 @@ chrome/browser/ash/policy/status_collector/device_status_collector_browsertest.c chrome/browser/ash/policy/status_collector/status_collector.h chrome/browser/ash/policy/uploading/heartbeat_scheduler.cc chrome/browser/ash/policy/uploading/status_uploader_unittest.cc -chrome/browser/ash/policy/uploading/upload_job_unittest.cc chrome/browser/ash/power/auto_screen_brightness/adapter_unittest.cc chrome/browser/ash/power/auto_screen_brightness/modeller_impl_unittest.cc chrome/browser/ash/power/ml/smart_dim/ml_agent_unittest.cc @@ -691,10 +703,11 @@ chrome/browser/ash/system_token_cert_db_initializer.h chrome/browser/ash/tpm_firmware_update.h chrome/browser/ash/u2f_notification.cc chrome/browser/ash/wallpaper_handlers/wallpaper_handlers.cc +chrome/browser/ash/wallpaper_handlers/wallpaper_handlers_unittest.cc chrome/browser/ash/web_applications/face_ml/chrome_face_ml_user_provider_unittest.cc chrome/browser/ash/web_applications/help_app/help_app_discover_tab_notification_unittest.cc chrome/browser/ash/web_applications/help_app/help_app_notification_controller_unittest.cc -chrome/browser/ash/web_applications/personalization_app/personalization_app_wallpaper_provider_impl_unittest.cc +chrome/browser/ash/wilco_dtc_supportd/wilco_dtc_supportd_web_request_service.cc chrome/browser/autocomplete/autocomplete_browsertest.cc chrome/browser/autocomplete/chrome_autocomplete_provider_client_unittest.cc chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier_unittest.cc @@ -765,6 +778,7 @@ chrome/browser/chromeos/policy/dlp/dlp_rules_manager_impl_unittest.cc chrome/browser/chromeos/policy/dlp/dlp_scoped_file_access_delegate_unittest.cc chrome/browser/chromeos/tablet_mode/chrome_content_browser_client_tablet_mode_part_unittest.cc chrome/browser/client_hints/client_hints_browsertest.cc +chrome/browser/companion/core/features.cc chrome/browser/complex_tasks/task_tab_helper_unittest.cc chrome/browser/component_updater/recovery_component_installer.cc chrome/browser/content_settings/content_settings_default_provider_unittest.cc @@ -781,6 +795,8 @@ 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_browser_signin_detector.cc +chrome/browser/dips/dips_browser_signin_detector_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 @@ -834,6 +850,7 @@ chrome/browser/extensions/api/braille_display_private/braille_display_private_ap chrome/browser/extensions/api/content_settings/content_settings_apitest.cc chrome/browser/extensions/api/context_menus/extension_context_menu_browsertest.cc chrome/browser/extensions/api/debugger/debugger_apitest.cc +chrome/browser/extensions/api/debugger/extension_dev_tools_infobar_delegate.cc chrome/browser/extensions/api/declarative_content/chrome_content_rules_registry.h chrome/browser/extensions/api/declarative_content/content_action.h chrome/browser/extensions/api/declarative_content/content_condition.h @@ -898,6 +915,7 @@ chrome/browser/extensions/content_script_tracker_browsertest.cc chrome/browser/extensions/convert_user_script_unittest.cc chrome/browser/extensions/corb_and_cors_extension_browsertest.cc chrome/browser/extensions/crx_installer_browsertest.cc +chrome/browser/extensions/cws_info_service.cc chrome/browser/extensions/extension_action_runner_unittest.cc chrome/browser/extensions/extension_browser_window_helper.cc chrome/browser/extensions/extension_browsertest.cc @@ -937,6 +955,7 @@ chrome/browser/extensions/updater/chrome_extension_downloader_factory.cc chrome/browser/extensions/updater/chrome_update_client_config.cc chrome/browser/extensions/updater/extension_updater_unittest.cc chrome/browser/extensions/user_script_listener_unittest.cc +chrome/browser/extensions/user_script_world_browsertest.cc chrome/browser/extensions/webstore_domain_browsertest.cc chrome/browser/extensions/webstore_installer_browsertest.cc chrome/browser/external_protocol/external_protocol_handler_browsertest.cc @@ -957,6 +976,7 @@ chrome/browser/fuchsia/element_manager_impl_unittest.cc chrome/browser/google/google_update_win.cc chrome/browser/guest_view/web_view/context_menu_content_type_web_view.cc chrome/browser/hid/chrome_hid_delegate_unittest.cc +chrome/browser/hid/hid_browsertest.cc chrome/browser/hid/hid_chooser_context_unittest.cc chrome/browser/hid/hid_connection_tracker_unittest.cc chrome/browser/history/redirect_browsertest.cc @@ -982,6 +1002,7 @@ chrome/browser/lacros/desk_template_client_lacros_browsertest.cc chrome/browser/lacros/fullscreen_controller_client_lacros_unittest.cc chrome/browser/lacros/lacros_url_handling_unittest.cc chrome/browser/lacros/net/network_settings_translation_unittest.cc +chrome/browser/lacros/sync/crosapi_session_sync_favicon_delegate_unittest.cc chrome/browser/lifetime/switch_utils_unittest.cc chrome/browser/local_discovery/service_discovery_client_mac.mm chrome/browser/login_detection/password_store_sites_browsertest.cc @@ -1009,6 +1030,7 @@ chrome/browser/media/router/providers/cast/cast_media_route_provider_unittest.cc chrome/browser/media/router/providers/dial/dial_activity_manager_unittest.cc chrome/browser/media/router/providers/dial/dial_media_route_provider.cc chrome/browser/media/router/providers/dial/dial_media_route_provider_unittest.cc +chrome/browser/media/webrtc/capture_policy_utils_unittest.cc chrome/browser/media/webrtc/display_media_access_handler_unittest.cc chrome/browser/media/webrtc/multi_capture_browsertest.cc chrome/browser/media/webrtc/webrtc_browsertest_common.cc @@ -1027,7 +1049,6 @@ chrome/browser/navigation_predictor/navigation_predictor_browsertest.cc chrome/browser/navigation_predictor/navigation_predictor_preconnect_client_browsertest.cc chrome/browser/navigation_predictor/navigation_predictor_unittest.cc chrome/browser/navigation_predictor/search_engine_preconnector_browsertest.cc -chrome/browser/nearby_sharing/client/nearby_share_api_call_flow_impl_unittest.cc chrome/browser/nearby_sharing/client/nearby_share_client_impl.cc chrome/browser/nearby_sharing/client/nearby_share_client_impl_unittest.cc chrome/browser/nearby_sharing/common/nearby_share_switches.cc @@ -1045,7 +1066,6 @@ chrome/browser/nearby_sharing/sharesheet/nearby_share_action_unittest.cc chrome/browser/nearby_sharing/tachyon_ice_config_fetcher.cc chrome/browser/nearby_sharing/tachyon_ice_config_fetcher_unittest.cc chrome/browser/nearby_sharing/text_attachment_unittest.cc -chrome/browser/net/cert_verifier_configuration.h chrome/browser/net/cert_verify_proc_browsertest.cc chrome/browser/net/dns_over_https_browsertest.cc chrome/browser/net/dns_probe_runner.cc @@ -1059,8 +1079,12 @@ chrome/browser/net/system_network_context_manager_browsertest.cc chrome/browser/net/trial_comparison_cert_verifier_controller.cc chrome/browser/new_tab_page/modules/drive/drive_service.cc chrome/browser/new_tab_page/modules/drive/drive_service_unittest.cc +chrome/browser/new_tab_page/modules/history_clusters/cart/cart_processor.cc +chrome/browser/new_tab_page/modules/history_clusters/cart/cart_processor_unittest.cc chrome/browser/new_tab_page/modules/history_clusters/history_clusters_page_handler.cc chrome/browser/new_tab_page/modules/history_clusters/history_clusters_page_handler_unittest.cc +chrome/browser/new_tab_page/modules/history_clusters/ranking/history_clusters_module_ranking_model_handler_unittest.cc +chrome/browser/new_tab_page/modules/new_tab_page_modules_interactive_uitest.cc chrome/browser/new_tab_page/modules/new_tab_page_modules_unittest.cc chrome/browser/new_tab_page/modules/photos/photos_service.cc chrome/browser/new_tab_page/modules/photos/photos_service_unittest.cc @@ -1130,7 +1154,6 @@ chrome/browser/policy/cloud/device_management_service_browsertest.cc chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc chrome/browser/policy/extension_policy_browsertest.cc chrome/browser/policy/messaging_layer/upload/file_upload_impl.cc -chrome/browser/policy/messaging_layer/upload/file_upload_impl_unittest.cc chrome/browser/policy/policy_prefs_browsertest.cc chrome/browser/policy/safe_search_policy_test.cc chrome/browser/policy/safe_search_policy_test.h @@ -1247,7 +1270,6 @@ chrome/browser/resources/chromeos/emulator/icons.html chrome/browser/resources/chromeos/input_method/google_xkb_manifest.json chrome/browser/resources/chromeos/login/components/web_view_loader.js chrome/browser/resources/chromeos/login/debug/debug.js -chrome/browser/resources/chromeos/login/screens/common/arc_terms_of_service.js chrome/browser/resources/chromeos/login/screens/common/marketing_opt_in.html chrome/browser/resources/chromeos/login/screens/login/encryption_migration.js chrome/browser/resources/chromeos/login/screens/login/offline_login.html @@ -1299,8 +1321,9 @@ 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/crostini_page/crostini_disk_resize_dialog.html chrome/browser/resources/settings/chromeos/device_page/stylus.ts +chrome/browser/resources/settings/chromeos/os_a11y_page/bluetooth_braille_display_manager.ts chrome/browser/resources/settings/chromeos/os_a11y_page/keyboard_and_text_input_page.ts -chrome/browser/resources/settings/chromeos/os_a11y_page/manage_a11y_page.ts +chrome/browser/resources/settings/chromeos/os_a11y_page/manage_a11y_subpage.ts chrome/browser/resources/settings/chromeos/os_a11y_page/os_a11y_page.ts chrome/browser/resources/settings/chromeos/os_about_page/channel_switcher_dialog.html chrome/browser/resources/settings/chromeos/os_about_page/os_about_page.html @@ -1340,6 +1363,7 @@ chrome/browser/safe_browsing/download_protection/download_feedback.cc chrome/browser/safe_browsing/download_protection/download_protection_service_unittest.cc 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_service_browsertest.cc 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 @@ -1384,6 +1408,7 @@ chrome/browser/sharing_hub/sharing_hub_model_unittest.cc chrome/browser/shell_integration_linux_unittest.cc chrome/browser/signin/account_id_from_account_info_unittest.cc chrome/browser/signin/bound_session_credentials/bound_session_cookie_observer_unittest.cc +chrome/browser/signin/bound_session_credentials/bound_session_cookie_refresh_service_impl_unittest.cc chrome/browser/signin/bound_session_credentials/bound_session_refresh_cookie_fetcher_unittest.cc chrome/browser/signin/bound_session_credentials/registration_token_helper_unittest.cc chrome/browser/signin/chrome_signin_helper_unittest.cc @@ -1414,15 +1439,12 @@ chrome/browser/subresource_filter/subresource_filter_fenced_frame_browsertest.cc chrome/browser/supervised_user/android/java/res/drawable/ic_family_link.xml chrome/browser/supervised_user/child_accounts/family_info_fetcher_unittest.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/chromeos/parent_access_extension_approvals_manager_unittest.cc chrome/browser/supervised_user/kids_chrome_management/kids_management_service.cc chrome/browser/supervised_user/kids_chrome_management/kids_management_service_unittest.cc chrome/browser/supervised_user/supervised_user_browser_utils.cc chrome/browser/supervised_user/supervised_user_google_auth_navigation_throttle_unittest.cc chrome/browser/supervised_user/supervised_user_navigation_throttle_browsertest.cc -chrome/browser/supervised_user/supervised_user_service.cc chrome/browser/supervised_user/supervised_user_test_util.cc chrome/browser/supervised_user/supervised_user_url_filter_extensions_unittest.cc chrome/browser/support_tool/ash/system_state_data_collector.cc @@ -1436,6 +1458,7 @@ chrome/browser/sync/test/integration/single_client_bookmarks_sync_test.cc chrome/browser/sync/test/integration/single_client_custom_passphrase_sync_test.cc chrome/browser/sync/test/integration/single_client_history_sync_test.cc chrome/browser/sync/test/integration/single_client_nigori_sync_test.cc +chrome/browser/sync/test/integration/single_client_preferences_sync_test.cc chrome/browser/sync/test/integration/single_client_send_tab_to_self_sync_test.cc chrome/browser/sync/test/integration/single_client_typed_urls_sync_test.cc chrome/browser/sync/test/integration/single_client_user_consents_sync_test.cc @@ -1573,10 +1596,13 @@ chrome/browser/ui/views/autofill/payments/virtual_card_manual_fallback_bubble_vi chrome/browser/ui/views/autofill/popup/popup_separator_view.h chrome/browser/ui/views/autofill/popup/popup_view_views_unittest.cc chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc +chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc chrome/browser/ui/views/bookmarks/bookmark_bubble_view_browsertest.cc chrome/browser/ui/views/bookmarks/bookmark_bubble_view_unittest.cc chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc chrome/browser/ui/views/bookmarks/bookmark_menu_delegate_unittest.cc +chrome/browser/ui/views/borealis/borealis_installer_disallowed_dialog.cc +chrome/browser/ui/views/borealis/borealis_installer_error_dialog.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 @@ -1612,7 +1638,7 @@ chrome/browser/ui/views/passwords/password_generation_popup_view_views_browserte chrome/browser/ui/views/payments/payment_method_view_controller_browsertest.cc chrome/browser/ui/views/plugin_vm/plugin_vm_installer_view.cc chrome/browser/ui/views/profiles/dice_web_signin_interception_bubble_view_unittest.cc -chrome/browser/ui/views/profiles/first_run_flow_controller_dice_browsertest.cc +chrome/browser/ui/views/profiles/first_run_interactive_uitest.cc chrome/browser/ui/views/profiles/profile_menu_view_browsertest.cc chrome/browser/ui/views/profiles/profile_picker_dice_sign_in_provider_browsertest.cc chrome/browser/ui/views/profiles/profile_picker_view_browsertest.cc @@ -1741,6 +1767,7 @@ chrome/browser/web_applications/os_integration/web_app_handler_registration_util chrome/browser/web_applications/os_integration/web_app_handler_registration_utils_win.h chrome/browser/web_applications/os_integration/web_app_handler_registration_utils_win_unittest.cc chrome/browser/web_applications/preinstalled_web_app_manager_unittest.cc +chrome/browser/web_applications/preinstalled_web_app_window_experiment_browsertest.cc chrome/browser/web_applications/preinstalled_web_apps/gmail.cc chrome/browser/web_applications/preinstalled_web_apps/google_calendar.cc chrome/browser/web_applications/preinstalled_web_apps/google_chat.cc @@ -1755,7 +1782,6 @@ chrome/browser/web_applications/preinstalled_web_apps/youtube.cc chrome/browser/web_applications/preinstalled_web_apps_browsertest.cc chrome/browser/web_applications/web_app_helpers_unittest.cc chrome/browser/web_applications/web_app_id_constants.h -chrome/browser/web_applications/web_app_install_task.cc chrome/browser/web_applications/web_app_install_utils_unittest.cc chrome/browser/web_applications/web_contents/web_app_icon_downloader_unittest.cc chrome/browser/webauthn/cablev2_devices.h @@ -1854,6 +1880,7 @@ chrome/common/extensions/permissions/permissions_data_unittest.cc chrome/common/extensions/permissions/settings_override_permission_unittest.cc chrome/common/extensions/sync_type_unittest.cc chrome/common/google_url_loader_throttle.cc +chrome/common/google_url_loader_throttle_unittest.cc chrome/common/importer/firefox_importer_utils.cc chrome/common/net/x509_certificate_model_nss_unittest.cc chrome/common/net/x509_certificate_model_unittest.cc @@ -2042,6 +2069,8 @@ chrome/test/mini_installer/installer_test.py chrome/test/mini_installer/update_lastrun.py chrome/test/nacl/nacl_browsertest_util.h chrome/test/payments/payment_request_platform_browsertest_base.h +chrome/test/supervised_user/supervision_mixin.cc +chrome/test/supervised_user/supervision_mixin.h chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp chrome/third_party/mozilla_security_manager/nsNSSCertHelper.h chrome/third_party/mozilla_security_manager/nsNSSCertificate.cpp @@ -2050,6 +2079,7 @@ chrome/tools/build/PRESUBMIT.py chrome/tools/build/win/makecab.py chrome/tools/webforms_aggregator_tests.py chrome/tools/weburl_links.txt +chrome/updater/app/app_uninstall.cc chrome/updater/branding.gni chrome/updater/constants.h chrome/updater/crash_reporter.cc @@ -2114,6 +2144,11 @@ 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/nearby/common/client/nearby_api_call_flow_impl_unittest.cc +chromeos/ash/components/nearby/presence/credentials/local_device_data_provider_impl_unittest.cc +chromeos/ash/components/nearby/presence/credentials/nearby_presence_server_client_impl.cc +chromeos/ash/components/nearby/presence/credentials/nearby_presence_server_client_impl_unittest.cc +chromeos/ash/components/nearby/presence/credentials/proto_conversions_unittest.cc chromeos/ash/components/network/geolocation_handler.cc chromeos/ash/components/network/network_cert_loader.cc chromeos/ash/components/network/network_util.h @@ -2123,6 +2158,8 @@ chromeos/ash/components/phonehub/notification.h chromeos/ash/components/phonehub/url_constants.cc chromeos/ash/components/proximity_auth/proximity_auth_system_unittest.cc chromeos/ash/components/proximity_auth/proximity_monitor_impl_unittest.cc +chromeos/ash/components/quick_start/quick_start_requests.cc +chromeos/ash/components/quick_start/quick_start_requests_unittest.cc chromeos/ash/components/standalone_browser/lacros_availability_unittest.cc chromeos/ash/components/string_matching/tokenized_string_unittest.cc chromeos/ash/components/timezone/timezone_request.cc @@ -2151,6 +2188,8 @@ 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 +chromeos/components/quick_answers/utils/spell_check_language.cc +chromeos/components/quick_answers/utils/translation_v2_utils.cc chromeos/components/test/data/onc/proxy_config.json chromeos/components/test/data/onc/shill_wifi_proxy.json chromeos/dbus/permission_broker/permission_broker_client.h @@ -2195,7 +2234,6 @@ components/autofill/core/browser/autofill_download_manager.cc components/autofill/core/browser/autofill_download_manager_unittest.cc components/autofill/core/browser/autofill_experiments.cc components/autofill/core/browser/autofill_experiments_unittest.cc -components/autofill/core/browser/autofill_save_update_address_profile_delegate_ios_unittest.cc components/autofill/core/browser/autofill_test_utils.cc components/autofill/core/browser/browser_autofill_manager_unittest.cc components/autofill/core/browser/form_data_importer_unittest.cc @@ -2211,10 +2249,12 @@ components/autofill/core/browser/payments/constants.h components/autofill/core/browser/payments/credit_card_access_manager_unittest.cc components/autofill/core/browser/payments/credit_card_fido_authenticator.cc components/autofill/core/browser/payments/credit_card_fido_authenticator_unittest.cc +components/autofill/core/browser/payments/credit_card_otp_authenticator_unittest.cc components/autofill/core/browser/payments/credit_card_save_manager_unittest.cc components/autofill/core/browser/payments/full_card_request_unittest.cc components/autofill/core/browser/payments/payments_client.cc components/autofill/core/browser/payments/payments_client_unittest.cc +components/autofill/core/browser/payments/payments_requests/unmask_card_request_unittest.cc components/autofill/core/browser/payments/payments_service_url.cc components/autofill/core/browser/payments/payments_service_url_unittest.cc components/autofill/core/browser/personal_data_manager_unittest.cc @@ -2279,6 +2319,7 @@ components/content_relationship_verification/digital_asset_links_handler.cc components/content_relationship_verification/digital_asset_links_handler.h components/content_settings/browser/page_specific_content_settings_unittest.cc components/content_settings/core/browser/content_settings_provider_unittest.cc +components/content_settings/core/browser/cookie_settings.cc components/content_settings/core/common/content_settings_pattern.cc components/content_settings/core/common/content_settings_pattern_parser_unittest.cc components/content_settings/core/common/content_settings_pattern_unittest.cc @@ -2462,13 +2503,6 @@ components/network_time/network_time_test_utils.cc components/network_time/network_time_tracker.cc components/no_state_prefetch/browser/no_state_prefetch_manager.cc components/no_state_prefetch/browser/no_state_prefetch_utils_unittest.cc -components/ntp_snippets/features.cc -components/ntp_snippets/features_unittest.cc -components/ntp_snippets/ntp_snippets_constants.cc -components/ntp_snippets/remote/fetch.py -components/ntp_snippets/remote/remote_suggestion_unittest.cc -components/ntp_snippets/remote/remote_suggestions_fetcher_impl_unittest.cc -components/ntp_snippets/remote/remote_suggestions_provider_impl_unittest.cc components/ntp_tiles/most_visited_sites_unittest.cc components/ntp_tiles/popular_sites_impl.cc components/ntp_tiles/popular_sites_impl_unittest.cc @@ -2479,11 +2513,6 @@ components/offline_pages/core/background/cleanup_task_unittest.cc components/offline_pages/core/background/pick_request_task_unittest.cc components/offline_pages/core/background/reconcile_task_unittest.cc components/offline_pages/core/model/get_pages_task_unittest.cc -components/offline_pages/core/prefetch/prefetch_dispatcher_impl_unittest.cc -components/offline_pages/core/prefetch/prefetch_proto_utils.cc -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 @@ -2661,6 +2690,7 @@ components/password_manager/core/browser/sync_username_test_base.cc components/password_manager/core/browser/ui/credential_ui_entry.cc components/password_manager/core/browser/ui/credential_ui_entry_unittest.cc components/password_manager/core/browser/ui/password_undo_helper_unittest.cc +components/password_manager/core/browser/ui/passwords_grouper.cc components/password_manager/core/browser/ui/passwords_grouper.h components/password_manager/core/browser/ui/passwords_grouper_unittest.cc components/password_manager/core/browser/ui/saved_passwords_presenter_unittest.cc @@ -2723,6 +2753,7 @@ components/policy/core/browser/url_blocklist_policy_handler.h components/policy/core/browser/url_scheme_list_policy_handler.cc components/policy/core/browser/url_scheme_list_policy_handler.h components/policy/core/common/cloud/cloud_policy_client_unittest.cc +components/policy/core/common/cloud/profile_cloud_policy_store_unittest.cc components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc components/policy/core/common/cloud/user_info_fetcher.cc components/policy/core/common/cloud/user_info_fetcher_unittest.cc @@ -2738,6 +2769,7 @@ components/policy/core/common/policy_service_impl_unittest.cc components/policy/core/common/preg_parser.h components/policy/core/common/preg_parser_unittest.cc components/policy/core/common/registry_dict_unittest.cc +components/policy/core/common/scoped_critical_policy_section.cc components/policy/core/common/values_util.h components/policy/resources/policy_templates.py components/policy/test/data/policy_test_cases.json @@ -2765,6 +2797,7 @@ components/power_bookmarks/core/power_bookmark_service_unittest.cc components/power_bookmarks/core/power_bookmark_utils_unittest.cc components/power_bookmarks/storage/power_bookmark_database_impl_unittest.cc components/power_bookmarks/storage/power_bookmark_sync_bridge_unittest.cc +components/power_metrics/energy_metrics_provider_win.cc components/prefs/pref_change_registrar.cc components/prefs/pref_change_registrar_unittest.cc components/prefs/pref_service_unittest.cc @@ -2904,6 +2937,7 @@ 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/public/cpp/app_capability_access_cache_unittest.cc components/services/app_service/public/cpp/app_capability_access_cache_wrapper_unittest.cc +components/services/app_service/public/cpp/app_launch_util.h components/services/app_service/public/cpp/app_registry_cache_unittest.cc components/services/app_service/public/cpp/app_registry_cache_wrapper_unittest.cc components/services/app_service/public/cpp/app_update_unittest.cc @@ -2941,13 +2975,12 @@ components/signin/core/browser/resources/signin_internals.js components/signin/core/browser/signin_header_helper_unittest.cc components/signin/internal/identity_manager/account_capabilities_fetcher_unittest.cc components/signin/internal/identity_manager/account_tracker_service_unittest.cc +components/signin/internal/identity_manager/gaia_cookie_manager_service.cc components/signin/internal/identity_manager/mutable_profile_oauth2_token_service_delegate_unittest.cc components/signin/internal/identity_manager/oauth_multilogin_helper_unittest.cc components/signin/internal/identity_manager/primary_account_manager_unittest.cc components/signin/internal/identity_manager/profile_oauth2_token_service_delegate_android.cc components/signin/internal/identity_manager/profile_oauth2_token_service_delegate_chromeos_unittest.cc -components/signin/internal/identity_manager/profile_oauth2_token_service_unittest.cc -components/signin/internal/identity_manager/ubertoken_fetcher_impl_unittest.cc components/signin/ios/browser/account_consistency_service.mm components/signin/ios/browser/account_consistency_service_unittest.mm components/signin/ios/browser/features.h @@ -2965,6 +2998,7 @@ components/signin/public/identity_manager/identity_manager.h components/signin/public/identity_manager/identity_manager_unittest.cc components/signin/public/identity_manager/identity_test_environment.h components/signin/public/identity_manager/primary_account_access_token_fetcher_unittest.cc +components/signin/public/identity_manager/primary_account_change_event_unittest.cc components/site_engagement/content/site_engagement_helper.cc components/site_engagement/content/site_engagement_helper_unittest.cc components/site_engagement/content/site_engagement_score_unittest.cc @@ -2980,6 +3014,9 @@ components/subresource_filter/content/browser/content_subresource_filter_web_con components/subresource_filter/core/browser/subresource_filter_constants.h components/subresource_filter/core/common/PRESUBMIT.py components/supervised_user/core/browser/kids_chrome_management_client.cc +components/supervised_user/core/browser/kids_external_fetcher.cc +components/supervised_user/core/browser/kids_external_fetcher.h +components/supervised_user/core/browser/kids_external_fetcher_unittest.cc components/supervised_user/core/browser/resources/supervised_user_block_interstitial.html components/supervised_user/core/browser/resources/supervised_user_block_interstitial_v2.html components/supervised_user/core/browser/supervised_user_settings_service_unittest.cc @@ -3016,7 +3053,6 @@ components/trusted_vault/trusted_vault_access_token_fetcher_frontend_unittest.cc components/trusted_vault/trusted_vault_registration_verifier_unittest.cc components/trusted_vault/trusted_vault_server_constants.h components/ui_devtools/agent_util.cc -components/ukm/ukm_reporting_service.cc components/ukm/ukm_service_unittest.cc components/undo/bookmark_undo_service_test.cc components/unified_consent/unified_consent_service_unittest.cc @@ -3138,10 +3174,12 @@ content/browser/installedapp/installed_app_provider_impl_win.cc content/browser/interest_group/auction_runner_unittest.cc content/browser/interest_group/interest_group_update_manager.cc content/browser/loader/file_url_loader_factory_unittest.cc +content/browser/loader/keep_alive_url_loader.cc content/browser/loader/keep_alive_url_loader.h content/browser/loader/keep_alive_url_loader_service.cc content/browser/loader/keep_alive_url_loader_service.h content/browser/loader/prefetch_browsertest.cc +content/browser/media/audio_stream_monitor_unittest.cc content/browser/media/capture/frame_test_util.cc content/browser/media/media_devices_permission_checker_unittest.cc content/browser/media/session/media_session_impl_service_routing_unittest.cc @@ -3157,6 +3195,7 @@ content/browser/permissions/permission_service_context_unittest.cc content/browser/plugin_service_impl_browsertest.cc content/browser/portal/portal_navigation_throttle.cc content/browser/preloading/prerender/prerender_browsertest.cc +content/browser/preloading/prerender/prerender_host_registry.cc content/browser/private_aggregation/PRESUBMIT.py content/browser/process_lock.h content/browser/push_messaging/push_messaging_manager.cc @@ -3195,7 +3234,7 @@ content/browser/resources/gpu/info_view.js content/browser/sandbox_ipc_linux.h content/browser/screen_orientation/screen_orientation_provider_unittest.cc content/browser/serial/serial_unittest.cc -content/browser/service_worker/service_worker_main_resource_loader.cc +content/browser/service_worker/service_worker_container_host.cc content/browser/service_worker/service_worker_version_browsertest.cc content/browser/session_history_browsertest.cc content/browser/site_instance_impl.h @@ -3212,6 +3251,7 @@ content/browser/speech/tts_mac.h content/browser/speech/tts_win.cc content/browser/storage_partition_impl_unittest.cc content/browser/text_fragment_browsertest.cc +content/browser/url_info.h content/browser/usb/web_usb_service_impl_unittest.cc content/browser/utility_sandbox_delegate_win.cc content/browser/web_contents/aura/gesture_nav_simple_unittest.cc @@ -3229,8 +3269,10 @@ content/browser/webauth/client_data_json.cc content/browser/webauth/webauth_request_security_checker.cc content/browser/webauth/webauth_request_security_checker.h content/browser/webid/idp_network_request_manager_unittest.cc +content/browser/webrtc/resources/webrtc_internals.html content/browser/zygote_host/zygote_host_impl_linux.cc content/child/runtime_features.cc +content/common/service_worker/race_network_request_url_loader_client.cc content/common/webid/identity_url_loader_throttle_unittest.cc content/common/zygote/zygote_communication_linux.h content/public/android/java/res/values/strings.xml @@ -3373,6 +3415,7 @@ extensions/browser/api/declarative_net_request/indexed_rule_unittest.cc extensions/browser/api/declarative_net_request/ruleset_matcher_unittest.cc extensions/browser/api/feedback_private/feedback_private_api.cc extensions/browser/api/feedback_private/feedback_service.h +extensions/browser/api/management/management_api_constants.cc extensions/browser/api/web_request/web_request_permissions.cc extensions/browser/api/web_request/web_request_permissions_unittest.cc extensions/browser/api/web_request/web_request_proxying_url_loader_factory.cc @@ -3465,6 +3508,8 @@ google_apis/calendar/calendar_api_requests.cc google_apis/calendar/calendar_api_requests.h google_apis/calendar/calendar_api_response_types_unittest.cc google_apis/calendar/calendar_api_url_generator_unittest.cc +google_apis/classroom/classroom_api_courses_response_types.h +google_apis/classroom/classroom_api_list_courses_request.h google_apis/drive/drive_api_parser.cc google_apis/drive/drive_api_parser.h google_apis/drive/drive_api_parser_unittest.cc @@ -3487,7 +3532,6 @@ google_apis/gaia/gaia_urls_unittest.cc google_apis/gaia/google_service_auth_error.h google_apis/gaia/oauth2_access_token_fetcher_impl_unittest.cc google_apis/gaia/oauth2_access_token_manager.cc -google_apis/gaia/oauth2_access_token_manager_unittest.cc google_apis/gaia/oauth2_api_call_flow_unittest.cc google_apis/gaia/oauth_multilogin_result_unittest.cc google_apis/gaia/oauth_request_signer_unittest.cc @@ -3579,6 +3623,7 @@ ios/chrome/browser/browser_state/chrome_browser_state_impl.h ios/chrome/browser/browser_state/chrome_browser_state_removal_controller.mm ios/chrome/browser/commerce/shopping_persisted_data_tab_helper_unittest.mm ios/chrome/browser/crash_report/breadcrumbs/breadcrumb_manager_tab_helper_unittest.mm +ios/chrome/browser/credential_provider/credential_provider_service_unittest.mm ios/chrome/browser/download/ar_quick_look_tab_helper_unittest.mm ios/chrome/browser/flags/about_flags.mm ios/chrome/browser/history/history_tab_helper_unittest.mm @@ -3602,6 +3647,7 @@ ios/chrome/browser/search_engines/resources/search_engine.js ios/chrome/browser/search_engines/search_engine_js_unittest.mm ios/chrome/browser/search_engines/search_engine_tab_helper.h ios/chrome/browser/search_engines/search_engine_tab_helper.mm +ios/chrome/browser/shared/coordinator/scene/scene_controller.mm ios/chrome/browser/shared/ui/table_view/cells/table_view_detail_icon_item_unittest.mm ios/chrome/browser/shared/ui/table_view/cells/table_view_url_item_unittest.mm ios/chrome/browser/shared/ui/util/pasteboard_util_unittest.mm @@ -3628,17 +3674,19 @@ ios/chrome/browser/ui/bookmarks/bookmark_earl_grey.mm ios/chrome/browser/ui/bookmarks/bookmark_earl_grey_ui.h ios/chrome/browser/ui/bookmarks/bookmark_mediator_unittest.mm ios/chrome/browser/ui/bookmarks/bookmarks_egtest.mm +ios/chrome/browser/ui/bring_android_tabs/bring_android_tabs_app_interface.mm +ios/chrome/browser/ui/bring_android_tabs/bring_android_tabs_prompt_mediator_unittest.mm +ios/chrome/browser/ui/bring_android_tabs/tab_list_from_android_mediator_unittest.mm ios/chrome/browser/ui/browser_container/browser_edit_menu_handler_egtest.mm -ios/chrome/browser/ui/browser_view/browser_coordinator.mm ios/chrome/browser/ui/content_suggestions/content_suggestions_mediator_unittest.mm ios/chrome/browser/ui/content_suggestions/ntp_home_egtest.mm ios/chrome/browser/ui/credential_provider_promo/resources/CPE_promo_animation_edu_autofill.json ios/chrome/browser/ui/credential_provider_promo/resources/CPE_promo_animation_edu_autofill_darkmode.json ios/chrome/browser/ui/dialogs/nsurl_protection_space_util_unittest.mm +ios/chrome/browser/ui/infobars/modals/autofill_address_profile/infobar_save_address_profile_table_view_controller_unittest.mm ios/chrome/browser/ui/infobars/test/test_infobar_password_delegate.mm ios/chrome/browser/ui/link_to_text/link_to_text_mediator_unittest.mm ios/chrome/browser/ui/location_bar/location_bar_coordinator_unittest.mm -ios/chrome/browser/ui/main/scene_controller.mm ios/chrome/browser/ui/ntp/discover_feed_constants.mm ios/chrome/browser/ui/ntp/incognito/incognito_view_util.mm ios/chrome/browser/ui/ntp/new_tab_page_mediator.mm @@ -3650,6 +3698,7 @@ ios/chrome/browser/ui/permissions/permissions_egtest.mm ios/chrome/browser/ui/popup_menu/overflow_menu/overflow_menu_mediator_unittest.mm ios/chrome/browser/ui/popup_menu/popup_menu_mediator_unittest.mm ios/chrome/browser/ui/qr_scanner/qr_scanner_app_interface.mm +ios/chrome/browser/ui/reading_list/reading_list_earl_grey_ui.h ios/chrome/browser/ui/reading_list/reading_list_list_item_factory_unittest.mm ios/chrome/browser/ui/reading_list/reading_list_mediator_unittest.mm ios/chrome/browser/ui/reading_list/reading_list_table_view_item_unittest.mm @@ -3814,10 +3863,9 @@ media/gpu/android/video_accelerator_util.h media/gpu/buffer_validation_unittest.cc media/gpu/chromeos/libyuv_image_processor_backend.cc media/gpu/gpu_video_encode_accelerator_helpers.cc +media/gpu/test/video_encoder/video_encoder_client.cc media/gpu/v4l2/test/av1_decoder.cc -media/gpu/v4l2/test/h264_decoder.cc -media/gpu/v4l2/test/vp8_decoder.cc -media/gpu/v4l2/test/vp9_decoder.cc +media/gpu/v4l2/test/video_decoder.cc media/gpu/v4l2/v4l2_unittest.cc media/gpu/v4l2/v4l2_video_decoder_delegate_av1.cc media/gpu/vaapi/test/av1_decoder.cc @@ -3841,6 +3889,7 @@ media/mojo/mojom/stable/native_pixmap_handle_mojom_traits.cc media/mojo/mojom/stable/stable_video_decoder_types_mojom_traits.cc media/mojo/services/media_foundation_service.cc media/mojo/services/media_metrics_provider_unittest.cc +media/mojo/services/stable_video_decoder_service.cc media/mojo/services/video_decode_stats_recorder_unittest.cc media/mojo/services/watch_time_recorder_unittest.cc media/parsers/webp_parser.cc @@ -3863,6 +3912,7 @@ media/video/vpx_video_encoder.cc mojo/PRESUBMIT.py mojo/core/channel.h mojo/core/platform_handle_in_transit.cc +mojo/public/interfaces/bindings/tests/PRESUBMIT.py native_client/PRESUBMIT.py native_client/build/link_irt.py native_client/build/update_pnacl_tool_revisions.py @@ -4194,7 +4244,6 @@ net/cert/cert_verifier.h net/cert/cert_verify_proc.cc net/cert/cert_verify_proc.h net/cert/cert_verify_proc_unittest.cc -net/cert/cert_verify_proc_win.cc net/cert/internal/trust_store_win.cc net/cert/nss_cert_database.cc net/cert/nss_cert_database_unittest.cc @@ -4360,6 +4409,7 @@ net/third_party/mozilla_win/cert/win_util.h net/third_party/nss/ssl/cmpcert.cc net/third_party/nss/ssl/cmpcert.h net/third_party/quiche/BUILD.gn +net/third_party/quiche/src/quiche/blind_sign_auth/anonymous_tokens/cpp/shared/proto_utils.h net/third_party/quiche/src/quiche/common/platform/api/quiche_hostname_utils_test.cc net/third_party/quiche/src/quiche/quic/core/crypto/client_proof_source_test.cc net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_client_config.h @@ -4647,8 +4697,13 @@ testing/buildbot/filters/PRESUBMIT.py testing/buildbot/generate_buildbot_json.py testing/buildbot/generate_buildbot_json_unittest.py testing/buildbot/manage.py +testing/buildbot/query_optimal_shard_counts.py testing/buildbot/scripts/upload_test_result_artifacts.py testing/buildbot/tryserver.chromium.android.json +testing/buildbot/unittest_expectations/test_android_output_options/chromium.ci.json +testing/buildbot/unittest_expectations/test_android_output_options/chromium.test.json +testing/buildbot/unittest_expectations/test_isolated_script_tests_android/chromium.ci.json +testing/buildbot/unittest_expectations/test_isolated_script_tests_android/chromium.test.json testing/buildbot/waterfalls.pyl testing/chromoting/browser_test_commands_linux.txt testing/chromoting/chromoting_test_driver_commands_linux.txt @@ -4683,6 +4738,8 @@ testing/unexpected_passes_common/queries.py testing/unexpected_passes_common/result_output_unittest.py testing/variations/PRESUBMIT.py testing/variations/fieldtrial_testing_config.json +testing/variations/smoke/conftest.py +testing/variations/smoke/test_utils/downloader.py third_party/abseil-cpp/absl/abseil.podspec.gen.py third_party/abseil-cpp/absl/base/attributes.h third_party/abseil-cpp/absl/base/config.h @@ -4792,7 +4849,6 @@ third_party/android_deps/libs/com_google_android_gms_play_services_cast/3pp/fetc third_party/android_deps/libs/com_google_android_gms_play_services_cast_framework/3pp/fetch.py third_party/android_deps/libs/com_google_android_gms_play_services_clearcut/3pp/fetch.py third_party/android_deps/libs/com_google_android_gms_play_services_cloud_messaging/3pp/fetch.py -third_party/android_deps/libs/com_google_android_gms_play_services_fido/3pp/fetch.py third_party/android_deps/libs/com_google_android_gms_play_services_flags/3pp/fetch.py third_party/android_deps/libs/com_google_android_gms_play_services_gcm/3pp/fetch.py third_party/android_deps/libs/com_google_android_gms_play_services_iid/3pp/fetch.py @@ -4821,7 +4877,6 @@ third_party/android_deps/libs/com_google_firebase_firebase_messaging/3pp/fetch.p third_party/android_deps/licenses/Android_SDK_License-December_9_2016.txt third_party/android_platform/development/scripts/PRESUBMIT.py third_party/android_platform/development/scripts/stack.py -third_party/android_support_test_runner/runner/src/main/Android.mk third_party/androidx/fetch_all_androidx.py third_party/angle/BUILD.gn third_party/angle/PRESUBMIT.py @@ -4886,6 +4941,7 @@ third_party/angle/extensions/EGL_CHROMIUM_create_context_bind_generates_resource third_party/angle/extensions/EGL_CHROMIUM_sync_control.txt third_party/angle/extensions/EGL_EXT_device_query.txt third_party/angle/include/CL/cl_platform.h +third_party/angle/include/GLSLANG/ShaderLang.h third_party/angle/include/GLSLANG/ShaderVars.h third_party/angle/include/platform/FeaturesVk_autogen.h third_party/angle/include/platform/FrontendFeatures_autogen.h @@ -4912,8 +4968,10 @@ third_party/angle/src/common/android_util.h third_party/angle/src/common/linux/dma_buf_utils.h third_party/angle/src/common/mathutil.h third_party/angle/src/common/system_utils_posix.cpp +third_party/angle/src/common/tls.h third_party/angle/src/compiler/preprocessor/preprocessor_lex_autogen.cpp third_party/angle/src/compiler/translator/OutputHLSL.cpp +third_party/angle/src/compiler/translator/OutputSPIRV.cpp third_party/angle/src/compiler/translator/TextureFunctionHLSL.cpp third_party/angle/src/compiler/translator/blocklayoutHLSL.h third_party/angle/src/libANGLE/Display.cpp @@ -4955,7 +5013,6 @@ third_party/angle/src/libANGLE/renderer/vulkan/vk_helpers.cpp third_party/angle/src/libANGLE/validationEGL.cpp third_party/angle/src/libANGLE/validationES.cpp third_party/angle/src/libGLESv2/global_state.cpp -third_party/angle/src/libGLESv2/global_state.h third_party/angle/src/program_serialize_data_version.py third_party/angle/src/tests/egl_tests/EGLContextSharingTest.cpp third_party/angle/src/tests/egl_tests/EGLIOSurfaceClientBufferTest.cpp @@ -5008,13 +5065,14 @@ third_party/angle/third_party/rapidjson/src/bin/data/readme.txt third_party/angle/third_party/rapidjson/src/include/rapidjson/document.h third_party/angle/third_party/rapidjson/src/test/unittest/valuetest.cpp third_party/angle/util/android/AndroidWindow.cpp -third_party/angle/util/capture/frame_capture_test_utils.h +third_party/angle/util/capture/frame_capture_test_utils.cpp third_party/angle/util/windows/third_party/StackWalker/src/StackWalker.cpp third_party/ashmem/ashmem-dev.c third_party/axe-core/axe.js third_party/axe-core/axe.min.js third_party/blanketjs/src/blanket.js third_party/blink/PRESUBMIT.py +third_party/blink/common/PRESUBMIT.py 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 @@ -5024,6 +5082,7 @@ third_party/blink/common/permissions_policy/origin_with_possible_wildcards_unitt third_party/blink/common/permissions_policy/permissions_policy.cc third_party/blink/common/shared_storage/module_script_downloader.cc third_party/blink/manual_tests/forms/color-suggestion-picker.html +third_party/blink/manual_tests/forms/list-picker.html third_party/blink/manual_tests/media-elements/video-moved-from-iframe-to-main-page.html third_party/blink/manual_tests/plugins/windowed.html third_party/blink/manual_tests/plugins/windowless.html @@ -5120,6 +5179,7 @@ third_party/blink/public/common/storage_key/storage_key.h third_party/blink/public/common/widget/visual_properties.h third_party/blink/public/mojom/permissions_policy/PRESUBMIT.py third_party/blink/public/mojom/use_counter/metrics/PRESUBMIT.py +third_party/blink/public/platform/child_url_loader_factory_bundle.h third_party/blink/public/platform/linux/web_sandbox_support.h third_party/blink/public/platform/platform.h third_party/blink/public/platform/web_url_response.h @@ -5180,7 +5240,6 @@ third_party/blink/renderer/core/dom/container_node.cc third_party/blink/renderer/core/dom/dom_implementation.idl third_party/blink/renderer/core/dom/element.cc third_party/blink/renderer/core/dom/element.idl -third_party/blink/renderer/core/dom/element_rare_data.h third_party/blink/renderer/core/dom/events/event.cc third_party/blink/renderer/core/dom/events/event.h third_party/blink/renderer/core/dom/events/event.idl @@ -5245,7 +5304,7 @@ third_party/blink/renderer/core/execution_context/navigator_base.cc third_party/blink/renderer/core/exported/web_plugin_container_impl.cc third_party/blink/renderer/core/exported/web_searchable_form_data.cc third_party/blink/renderer/core/fetch/response.h -third_party/blink/renderer/core/fileapi/file_reader_loader_client.h +third_party/blink/renderer/core/fileapi/file_reader_client.h third_party/blink/renderer/core/fragment_directive/text_fragment_anchor_metrics_test.cc third_party/blink/renderer/core/fragment_directive/text_fragment_selector.h third_party/blink/renderer/core/frame/csp/content_security_policy.cc @@ -5327,9 +5386,6 @@ third_party/blink/renderer/core/input/pointer_event_manager.cc third_party/blink/renderer/core/inspector/devtools_session.h third_party/blink/renderer/core/intersection_observer/intersection_observer_controller.h third_party/blink/renderer/core/layout/adjust_for_absolute_zoom.h -third_party/blink/renderer/core/layout/collapsed_border_value.h -third_party/blink/renderer/core/layout/floating_objects.cc -third_party/blink/renderer/core/layout/floating_objects.h third_party/blink/renderer/core/layout/geometry/logical_offset.h third_party/blink/renderer/core/layout/geometry/logical_rect.h third_party/blink/renderer/core/layout/geometry/logical_size.h @@ -5340,7 +5396,6 @@ third_party/blink/renderer/core/layout/hit_test_cache.h third_party/blink/renderer/core/layout/hit_test_location.h third_party/blink/renderer/core/layout/layout_block.cc third_party/blink/renderer/core/layout/layout_block.h -third_party/blink/renderer/core/layout/layout_block_flow.cc third_party/blink/renderer/core/layout/layout_block_flow.h third_party/blink/renderer/core/layout/layout_box.cc third_party/blink/renderer/core/layout/layout_box_hot.cc @@ -5354,10 +5409,8 @@ third_party/blink/renderer/core/layout/layout_image_resource_style_image.cc third_party/blink/renderer/core/layout/layout_image_resource_style_image.h third_party/blink/renderer/core/layout/layout_multi_column_flow_thread.h third_party/blink/renderer/core/layout/layout_object.h -third_party/blink/renderer/core/layout/layout_table.cc third_party/blink/renderer/core/layout/layout_table_section_test.cc third_party/blink/renderer/core/layout/layout_text.cc -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 @@ -5468,8 +5521,11 @@ third_party/blink/renderer/core/svg/unsafe_svg_attribute_sanitization_test.cc third_party/blink/renderer/core/testing/data/hit_test.html third_party/blink/renderer/core/timing/memory_info.idl third_party/blink/renderer/core/timing/performance.idl +third_party/blink/renderer/core/timing/performance_entry.h third_party/blink/renderer/core/timing/performance_resource_timing.h +third_party/blink/renderer/core/timing/responsiveness_metrics.cc third_party/blink/renderer/core/timing/window_performance.cc +third_party/blink/renderer/core/timing/window_performance_test.cc third_party/blink/renderer/core/trustedtypes/generate_eventhandler_names.py third_party/blink/renderer/core/view_transition/view_transition_content_element.h third_party/blink/renderer/core/web_test/web_test_web_frame_widget_impl.h @@ -5500,6 +5556,7 @@ third_party/blink/renderer/modules/geolocation/geolocation.h third_party/blink/renderer/modules/indexeddb/idb_value_wrapping.cc third_party/blink/renderer/modules/manifest/fuzzer_seed_corpus/play_app_url_manifest.json third_party/blink/renderer/modules/media_capabilities/media_capabilities.cc +third_party/blink/renderer/modules/mediarecorder/media_recorder.cc third_party/blink/renderer/modules/mediastream/media_devices_test.cc third_party/blink/renderer/modules/mediastream/media_stream_constraints_util_video_content.cc third_party/blink/renderer/modules/mediastream/media_stream_video_renderer_sink.h @@ -5911,6 +5968,8 @@ third_party/catapult/dashboard/dashboard/sheriff_config/tests/config-discovery.j third_party/catapult/dashboard/dashboard/sheriff_config/tests/test_luci_config_cases.py third_party/catapult/dashboard/dashboard/sheriff_config/tests/test_service_cases.py third_party/catapult/dashboard/dashboard/sheriff_config_client.py +third_party/catapult/dashboard/dashboard/skia_perf_upload.py +third_party/catapult/dashboard/dashboard/skia_perf_upload_test.py third_party/catapult/dashboard/dashboard/static/alerts.html third_party/catapult/dashboard/dashboard/static/group_report.html third_party/catapult/dashboard/dashboard/static/report.html @@ -7091,15 +7150,17 @@ 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-components/src/sidenav/sidenav.ts -third_party/cros-components/src/testing/fake_theme.ts third_party/cros_system_api/dbus/bluetooth/dbus-constants.h third_party/cros_system_api/dbus/shill/dbus-constants.h third_party/crossbench/crossbench/benchmarks/loading.py -third_party/crossbench/crossbench/browsers/chrome.py -third_party/crossbench/crossbench/browsers/chromium.py -third_party/crossbench/crossbench/browsers/firefox.py +third_party/crossbench/crossbench/browsers/chrome/downloader.py +third_party/crossbench/crossbench/browsers/chromium/chromium_applescript.py +third_party/crossbench/crossbench/browsers/chromium/chromium_webdriver.py +third_party/crossbench/crossbench/browsers/firefox/firefox_webdriver.py third_party/crossbench/crossbench/probes/performance_entries.py -third_party/crossbench/tests/benchmarks/test_loading.py +third_party/crossbench/crossbench/probes/tracing.py +third_party/crossbench/tests/crossbench/benchmarks/test_loading.py +third_party/crossbench/tests/end2end/test_cli.py third_party/dav1d/BUILD.gn third_party/dav1d/generate_source.py third_party/dav1d/libdav1d/tests/checkasm/itx.c @@ -7117,6 +7178,12 @@ third_party/dawn/src/dawn/native/PipelineLayout.cpp third_party/dawn/src/dawn/native/Sampler.h third_party/dawn/src/dawn/native/SubresourceStorage.h third_party/dawn/src/dawn/native/d3d/D3DError.cpp +third_party/dawn/src/dawn/native/d3d11/AdapterD3D11.cpp +third_party/dawn/src/dawn/native/d3d11/BufferD3D11.cpp +third_party/dawn/src/dawn/native/d3d11/CommandBufferD3D11.cpp +third_party/dawn/src/dawn/native/d3d11/SamplerD3D11.cpp +third_party/dawn/src/dawn/native/d3d11/SwapChainD3D11.cpp +third_party/dawn/src/dawn/native/d3d11/TextureD3D11.cpp third_party/dawn/src/dawn/native/d3d12/AdapterD3D12.cpp third_party/dawn/src/dawn/native/d3d12/BufferD3D12.cpp third_party/dawn/src/dawn/native/d3d12/CommandBufferD3D12.cpp @@ -7167,6 +7234,7 @@ third_party/dawn/third_party/glfw/src/wl_window.c third_party/dawn/third_party/glfw/src/xkb_unicode.h third_party/dawn/third_party/glfw/tests/triangle-vulkan.c third_party/dawn/third_party/webgpu-cts/src/webgpu/api/operation/command_buffer/queries/occlusionQuery.spec.ts +third_party/dawn/third_party/webgpu-cts/src/webgpu/api/operation/render_pipeline/sample_mask.spec.ts third_party/dawn/third_party/webgpu-cts/src/webgpu/api/operation/rendering/depth_bias.spec.ts third_party/dawn/third_party/webgpu-cts/standalone/index.html third_party/dawn/tools/golang/src/cmd/go/testdata/script/get_domain_root.txt @@ -7493,8 +7561,6 @@ third_party/depot_tools/fetch_configs/devtools-internal.py third_party/depot_tools/fetch_configs/gn.py third_party/depot_tools/fetch_configs/goma_client.py third_party/depot_tools/fetch_configs/gyp.py -third_party/depot_tools/fetch_configs/infra.py -third_party/depot_tools/fetch_configs/infra_internal.py third_party/depot_tools/fetch_configs/infra_superproject.py third_party/depot_tools/fetch_configs/inspector_protocol.py third_party/depot_tools/fetch_configs/nacl.py @@ -7641,6 +7707,7 @@ third_party/depot_tools/recipes/recipe_modules/tryserver/tests/gerrit_change_tar third_party/depot_tools/recipes/recipe_modules/tryserver/tests/require_is_tryserver.py third_party/depot_tools/recipes/recipes.py third_party/depot_tools/roll_dep.py +third_party/depot_tools/siso.py third_party/depot_tools/split_cl.py third_party/depot_tools/subprocess2.py third_party/depot_tools/tests/bot_update_coverage_test.py @@ -7772,6 +7839,7 @@ third_party/devtools-frontend/src/front_end/models/issues_manager/SharedArrayBuf third_party/devtools-frontend/src/front_end/models/issues_manager/TrustedWebActivityIssue.ts third_party/devtools-frontend/src/front_end/models/timeline_model/TimelineModel.ts third_party/devtools-frontend/src/front_end/models/trace/handlers/UserInteractionsHandler.ts +third_party/devtools-frontend/src/front_end/models/trace/handlers/UserTimingsHandler.ts third_party/devtools-frontend/src/front_end/panels/accessibility/AccessibilityNodeView.ts third_party/devtools-frontend/src/front_end/panels/accessibility/AccessibilityStrings.ts third_party/devtools-frontend/src/front_end/panels/application/AppManifestView.ts @@ -7791,7 +7859,8 @@ third_party/devtools-frontend/src/front_end/panels/emulation/DeviceModeToolbar.t third_party/devtools-frontend/src/front_end/panels/emulation/emulation-meta.ts third_party/devtools-frontend/src/front_end/panels/issues/AffectedCookiesView.ts third_party/devtools-frontend/src/front_end/panels/issues/AffectedDirectivesView.ts -third_party/devtools-frontend/src/front_end/panels/lighthouse/LighthousePanel.ts +third_party/devtools-frontend/src/front_end/panels/issues/AffectedTrackingSitesView.ts +third_party/devtools-frontend/src/front_end/panels/lighthouse/LighthouseController.ts third_party/devtools-frontend/src/front_end/panels/network/NetworkConfigView.ts third_party/devtools-frontend/src/front_end/panels/network/NetworkDataGridNode.ts third_party/devtools-frontend/src/front_end/panels/network/NetworkLogView.ts @@ -7800,6 +7869,7 @@ third_party/devtools-frontend/src/front_end/panels/network/RequestHeadersView.ts third_party/devtools-frontend/src/front_end/panels/network/RequestTimingView.ts third_party/devtools-frontend/src/front_end/panels/network/ResourceWebSocketFrameView.ts third_party/devtools-frontend/src/front_end/panels/network/components/RequestHeaderSection.ts +third_party/devtools-frontend/src/front_end/panels/network/components/RequestHeadersView.ts third_party/devtools-frontend/src/front_end/panels/profiler/ProfilesPanel.ts third_party/devtools-frontend/src/front_end/panels/settings/KeybindsSettingsTab.ts third_party/devtools-frontend/src/front_end/panels/settings/SettingsScreen.ts @@ -7808,6 +7878,7 @@ third_party/devtools-frontend/src/front_end/panels/sources/DebuggerPausedMessage third_party/devtools-frontend/src/front_end/panels/sources/SourcesNavigator.ts third_party/devtools-frontend/src/front_end/panels/sources/SourcesView.ts third_party/devtools-frontend/src/front_end/panels/sources/components/BreakpointsViewUtils.ts +third_party/devtools-frontend/src/front_end/panels/sources/components/HeadersView.ts third_party/devtools-frontend/src/front_end/panels/timeline/TimelinePanel.ts third_party/devtools-frontend/src/front_end/panels/timeline/TimelineUIUtils.ts third_party/devtools-frontend/src/front_end/panels/webauthn/WebauthnPane.ts @@ -7983,6 +8054,16 @@ third_party/devtools-frontend/src/node_modules/@eslint/eslintrc/node_modules/typ third_party/devtools-frontend/src/node_modules/@eslint/eslintrc/node_modules/type-fest/source/basic.d.ts third_party/devtools-frontend/src/node_modules/@eslint/eslintrc/node_modules/type-fest/source/entries.d.ts third_party/devtools-frontend/src/node_modules/@eslint/eslintrc/node_modules/type-fest/source/entry.d.ts +third_party/devtools-frontend/src/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chrome.js +third_party/devtools-frontend/src/node_modules/@puppeteer/browsers/lib/cjs/browser-data/chromium.js +third_party/devtools-frontend/src/node_modules/@puppeteer/browsers/lib/cjs/browser-data/firefox.js +third_party/devtools-frontend/src/node_modules/@puppeteer/browsers/lib/esm/browser-data/chrome.js +third_party/devtools-frontend/src/node_modules/@puppeteer/browsers/lib/esm/browser-data/chromium.js +third_party/devtools-frontend/src/node_modules/@puppeteer/browsers/lib/esm/browser-data/firefox.js +third_party/devtools-frontend/src/node_modules/@puppeteer/browsers/node_modules/ansi-regex/package.json +third_party/devtools-frontend/src/node_modules/@puppeteer/browsers/node_modules/debug/package.json +third_party/devtools-frontend/src/node_modules/@puppeteer/browsers/node_modules/debug/src/browser.js +third_party/devtools-frontend/src/node_modules/@puppeteer/browsers/node_modules/strip-ansi/package.json third_party/devtools-frontend/src/node_modules/@puppeteer/replay/lib/main.js third_party/devtools-frontend/src/node_modules/@puppeteer/replay/node_modules/ansi-regex/package.json third_party/devtools-frontend/src/node_modules/@puppeteer/replay/node_modules/strip-ansi/package.json @@ -8047,6 +8128,8 @@ third_party/devtools-frontend/src/node_modules/array.prototype.flat/package.json third_party/devtools-frontend/src/node_modules/arrify/package.json third_party/devtools-frontend/src/node_modules/asap/browser-raw.js third_party/devtools-frontend/src/node_modules/astral-regex/package.json +third_party/devtools-frontend/src/node_modules/atob/bower.json +third_party/devtools-frontend/src/node_modules/atob/package.json third_party/devtools-frontend/src/node_modules/axe-core/axe.js third_party/devtools-frontend/src/node_modules/axe-core/axe.min.js third_party/devtools-frontend/src/node_modules/axobject-query/package.json @@ -8114,6 +8197,7 @@ third_party/devtools-frontend/src/node_modules/debug/src/browser.js third_party/devtools-frontend/src/node_modules/decamelize-keys/node_modules/map-obj/package.json third_party/devtools-frontend/src/node_modules/decamelize-keys/package.json third_party/devtools-frontend/src/node_modules/decamelize/package.json +third_party/devtools-frontend/src/node_modules/decode-uri-component/package.json third_party/devtools-frontend/src/node_modules/devtools-protocol/json/browser_protocol.json third_party/devtools-frontend/src/node_modules/devtools-protocol/types/protocol-mapping.d.ts third_party/devtools-frontend/src/node_modules/devtools-protocol/types/protocol-proxy-api.d.ts @@ -8446,9 +8530,12 @@ third_party/devtools-frontend/src/node_modules/pump/package.json third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Browser.d.ts third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/cjs/puppeteer/api/ElementHandle.d.ts third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/cjs/puppeteer/api/ElementHandle.js +third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/cjs/puppeteer/api/HTTPRequest.d.ts +third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/cjs/puppeteer/api/HTTPRequest.js third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Page.d.ts third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Page.js third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Configuration.d.ts +third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/cjs/puppeteer/common/CustomQueryHandler.d.ts third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Device.d.ts third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Device.js third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.d.ts @@ -8459,13 +8546,13 @@ third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/cjs/puppeteer/ third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FirefoxTargetManager.js third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Frame.d.ts third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Frame.js -third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPRequest.d.ts -third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPRequest.js third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Input.d.ts third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Input.js third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PredefinedNetworkConditions.d.ts third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PredefinedNetworkConditions.js third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/cjs/puppeteer/common/PuppeteerViewport.d.ts +third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/cjs/puppeteer/common/QueryHandler.d.ts +third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/cjs/puppeteer/common/QueryHandler.js third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Target.d.ts third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Target.js third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Tracing.d.ts @@ -8481,9 +8568,12 @@ third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/cjs/puppeteer/ third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/esm/puppeteer/api/Browser.d.ts third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/esm/puppeteer/api/ElementHandle.d.ts third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/esm/puppeteer/api/ElementHandle.js +third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/esm/puppeteer/api/HTTPRequest.d.ts +third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/esm/puppeteer/api/HTTPRequest.js third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/esm/puppeteer/api/Page.d.ts third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/esm/puppeteer/api/Page.js third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/esm/puppeteer/common/Configuration.d.ts +third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/esm/puppeteer/common/CustomQueryHandler.d.ts third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/esm/puppeteer/common/Device.d.ts third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/esm/puppeteer/common/Device.js third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/esm/puppeteer/common/ExecutionContext.d.ts @@ -8494,13 +8584,13 @@ third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/esm/puppeteer/ third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/esm/puppeteer/common/FirefoxTargetManager.js third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/esm/puppeteer/common/Frame.d.ts third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/esm/puppeteer/common/Frame.js -third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPRequest.d.ts -third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/esm/puppeteer/common/HTTPRequest.js third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/esm/puppeteer/common/Input.d.ts third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/esm/puppeteer/common/Input.js third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/esm/puppeteer/common/PredefinedNetworkConditions.d.ts third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/esm/puppeteer/common/PredefinedNetworkConditions.js third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/esm/puppeteer/common/PuppeteerViewport.d.ts +third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/esm/puppeteer/common/QueryHandler.d.ts +third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/esm/puppeteer/common/QueryHandler.js third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/esm/puppeteer/common/Target.d.ts third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/esm/puppeteer/common/Target.js third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/esm/puppeteer/common/Tracing.d.ts @@ -8517,8 +8607,6 @@ third_party/devtools-frontend/src/node_modules/puppeteer-core/lib/types.d.ts third_party/devtools-frontend/src/node_modules/puppeteer-core/node_modules/debug/package.json third_party/devtools-frontend/src/node_modules/puppeteer-core/node_modules/debug/src/browser.js third_party/devtools-frontend/src/node_modules/puppeteer-core/node_modules/ws/package.json -third_party/devtools-frontend/src/node_modules/puppeteer/lib/cjs/puppeteer/node/install.js -third_party/devtools-frontend/src/node_modules/puppeteer/lib/esm/puppeteer/node/install.js third_party/devtools-frontend/src/node_modules/puppeteer/lib/types.d.ts third_party/devtools-frontend/src/node_modules/puppeteer/node_modules/cosmiconfig/package.json third_party/devtools-frontend/src/node_modules/qs/package.json @@ -8560,6 +8648,8 @@ third_party/devtools-frontend/src/node_modules/requireindex/package.json third_party/devtools-frontend/src/node_modules/requires-port/test.js third_party/devtools-frontend/src/node_modules/resolve-from/package.json third_party/devtools-frontend/src/node_modules/resolve/lib/caller.js +third_party/devtools-frontend/src/node_modules/rollup-plugin-sourcemaps/node_modules/@rollup/pluginutils/package.json +third_party/devtools-frontend/src/node_modules/rollup-plugin-sourcemaps/package.json third_party/devtools-frontend/src/node_modules/rollup/dist/es/shared/rollup.js third_party/devtools-frontend/src/node_modules/rollup/dist/es/shared/watch.js third_party/devtools-frontend/src/node_modules/rollup/dist/shared/index.js @@ -8754,9 +8844,12 @@ third_party/devtools-frontend/src/test/unittests/front_end/models/trace/handlers third_party/devtools-frontend/src/test/unittests/front_end/models/trace/helpers/Trace_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/elements/components/CSSPropertyDocsView_test.ts +third_party/devtools-frontend/src/test/unittests/front_end/panels/network/components/RequestHeadersView_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/components/BreakpointsViewUtils_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/panels/sources/components/HeadersView_test.ts +third_party/devtools-frontend/src/test/unittests/front_end/panels/timeline/TimelineUIUtils_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 third_party/devtools-frontend/src/test/unittests/front_end/ui/legacy/components/utils/JSPresentationUtils_test.ts @@ -9854,8 +9947,6 @@ third_party/ffmpeg/libavutil/ambient_viewing_environment.h third_party/ffmpeg/libavutil/arm/neontest.h third_party/ffmpeg/libavutil/audio_fifo.c third_party/ffmpeg/libavutil/audio_fifo.h -third_party/ffmpeg/libavutil/color_utils.c -third_party/ffmpeg/libavutil/color_utils.h third_party/ffmpeg/libavutil/csp.c third_party/ffmpeg/libavutil/csp.h third_party/ffmpeg/libavutil/display.c @@ -10377,10 +10468,18 @@ third_party/harfbuzz-ng/src/docs/usermanual-install-harfbuzz.xml third_party/harfbuzz-ng/src/docs/usermanual-integration.xml third_party/harfbuzz-ng/src/docs/usermanual-opentype-features.xml third_party/harfbuzz-ng/src/docs/usermanual-what-is-harfbuzz.xml +third_party/harfbuzz-ng/src/src/OT/Color/CBDT/CBDT.hh +third_party/harfbuzz-ng/src/src/OT/Color/COLR/COLR.hh +third_party/harfbuzz-ng/src/src/OT/Color/COLR/colrv1-closure.hh +third_party/harfbuzz-ng/src/src/OT/Color/CPAL/CPAL.hh +third_party/harfbuzz-ng/src/src/OT/Color/sbix/sbix.hh +third_party/harfbuzz-ng/src/src/OT/Color/svg/svg.hh +third_party/harfbuzz-ng/src/src/OT/Layout/GDEF/GDEF.hh third_party/harfbuzz-ng/src/src/OT/Layout/GPOS/GPOS.hh third_party/harfbuzz-ng/src/src/OT/Layout/GSUB/GSUB.hh third_party/harfbuzz-ng/src/src/OT/glyf/glyf.hh third_party/harfbuzz-ng/src/src/OT/glyf/loca.hh +third_party/harfbuzz-ng/src/src/OT/name/name.hh third_party/harfbuzz-ng/src/src/gen-indic-table.py third_party/harfbuzz-ng/src/src/gen-os2-unicode-ranges.py third_party/harfbuzz-ng/src/src/gen-tag-table.py @@ -10388,15 +10487,11 @@ third_party/harfbuzz-ng/src/src/hb-buffer.cc third_party/harfbuzz-ng/src/src/hb-common.cc third_party/harfbuzz-ng/src/src/hb-common.h third_party/harfbuzz-ng/src/src/hb-coretext.cc +third_party/harfbuzz-ng/src/src/hb-font.cc third_party/harfbuzz-ng/src/src/hb-ft.cc third_party/harfbuzz-ng/src/src/hb-ot-cff2-table.hh third_party/harfbuzz-ng/src/src/hb-ot-cmap-table.hh -third_party/harfbuzz-ng/src/src/hb-ot-color-cbdt-table.hh -third_party/harfbuzz-ng/src/src/hb-ot-color-colr-table.hh -third_party/harfbuzz-ng/src/src/hb-ot-color-colrv1-closure.hh -third_party/harfbuzz-ng/src/src/hb-ot-color-cpal-table.hh -third_party/harfbuzz-ng/src/src/hb-ot-color-sbix-table.hh -third_party/harfbuzz-ng/src/src/hb-ot-color-svg-table.hh +third_party/harfbuzz-ng/src/src/hb-ot-color.cc third_party/harfbuzz-ng/src/src/hb-ot-gasp-table.hh third_party/harfbuzz-ng/src/src/hb-ot-hdmx-table.hh third_party/harfbuzz-ng/src/src/hb-ot-head-table.hh @@ -10405,7 +10500,6 @@ third_party/harfbuzz-ng/src/src/hb-ot-hmtx-table.hh third_party/harfbuzz-ng/src/src/hb-ot-kern-table.hh third_party/harfbuzz-ng/src/src/hb-ot-layout-base-table.hh third_party/harfbuzz-ng/src/src/hb-ot-layout-common.hh -third_party/harfbuzz-ng/src/src/hb-ot-layout-gdef-table.hh third_party/harfbuzz-ng/src/src/hb-ot-layout-gsubgpos.hh third_party/harfbuzz-ng/src/src/hb-ot-layout-jstf-table.hh third_party/harfbuzz-ng/src/src/hb-ot-layout.cc @@ -10417,7 +10511,6 @@ third_party/harfbuzz-ng/src/src/hb-ot-meta-table.hh third_party/harfbuzz-ng/src/src/hb-ot-meta.h third_party/harfbuzz-ng/src/src/hb-ot-metrics.h third_party/harfbuzz-ng/src/src/hb-ot-name-language-static.hh -third_party/harfbuzz-ng/src/src/hb-ot-name-table.hh third_party/harfbuzz-ng/src/src/hb-ot-name.h third_party/harfbuzz-ng/src/src/hb-ot-os2-table.hh third_party/harfbuzz-ng/src/src/hb-ot-post-table-v2subset.hh @@ -10430,13 +10523,19 @@ third_party/harfbuzz-ng/src/src/hb-ot-shaper-use.cc third_party/harfbuzz-ng/src/src/hb-ot-stat-table.hh third_party/harfbuzz-ng/src/src/hb-ot-tag.cc third_party/harfbuzz-ng/src/src/hb-ot-var-avar-table.hh +third_party/harfbuzz-ng/src/src/hb-ot-var-common.hh +third_party/harfbuzz-ng/src/src/hb-ot-var-cvar-table.hh third_party/harfbuzz-ng/src/src/hb-ot-var-fvar-table.hh third_party/harfbuzz-ng/src/src/hb-ot-var-gvar-table.hh third_party/harfbuzz-ng/src/src/hb-ot-var-hvar-table.hh third_party/harfbuzz-ng/src/src/hb-ot-var-mvar-table.hh third_party/harfbuzz-ng/src/src/hb-ot-var.cc third_party/harfbuzz-ng/src/src/hb-ot-vorg-table.hh +third_party/harfbuzz-ng/src/src/hb-paint-extents.cc +third_party/harfbuzz-ng/src/src/hb-paint-extents.hh +third_party/harfbuzz-ng/src/src/hb-paint.h third_party/harfbuzz-ng/src/src/hb-style.h +third_party/harfbuzz-ng/src/src/hb-subset-cff-common.hh third_party/harfbuzz-ng/src/src/hb-unicode.hh third_party/harfbuzz-ng/src/src/hb.hh third_party/harfbuzz-ng/src/test/api/hb-test.h @@ -10495,6 +10594,7 @@ third_party/icu/filters/cast.json third_party/icu/filters/chromeos.json third_party/icu/filters/common.json third_party/icu/filters/flutter.json +third_party/icu/filters/flutter_desktop.json third_party/icu/filters/ios.json third_party/icu/icu.gyp third_party/icu/source/common/bytestream.cpp @@ -10595,6 +10695,7 @@ third_party/libaom/source/libaom/third_party/googletest/src/googletest/include/g third_party/libaom/source/libaom/third_party/googletest/src/googletest/include/gtest/internal/gtest-port.h third_party/libaom/source/libaom/third_party/googletest/src/googletest/src/gtest-death-test.cc third_party/libaom/source/libaom/third_party/googletest/src/googletest/src/gtest.cc +third_party/libaom/source/libaom/third_party/libwebm/AUTHORS.TXT third_party/libaom/source/libaom/third_party/libyuv/include/libyuv/row.h third_party/libaom/source/libaom/third_party/libyuv/include/libyuv/video_common.h third_party/libaom/source/libaom/third_party/libyuv/source/cpu_id.cc @@ -10636,6 +10737,19 @@ third_party/libdrm/src/tests/radeon/rbo.c third_party/libdrm/src/tests/radeon/rbo.h third_party/libdrm/src/xf86drmMode.c third_party/libdrm/src/xf86drmMode.h +third_party/libei/include/drm/drm_mode.h +third_party/libei/include/drm/lima_drm.h +third_party/libei/include/drm/msm_drm.h +third_party/libei/include/linux/am437x-vpfe.h +third_party/libei/include/linux/bfs_fs.h +third_party/libei/include/linux/cifs/cifs_mount.h +third_party/libei/include/linux/cn_proc.h +third_party/libei/include/linux/hyperv.h +third_party/libei/include/linux/map_to_7segment.h +third_party/libei/include/linux/phantom.h +third_party/libei/include/linux/toshiba.h +third_party/libei/include/linux/uinput.h +third_party/libei/include/linux/usb/tmc.h third_party/libevent/evdns.c third_party/libevent/evdns.h third_party/libevent/evport.c @@ -10691,6 +10805,7 @@ third_party/libvpx/source/libvpx/third_party/googletest/src/include/gtest/gtest_ third_party/libvpx/source/libvpx/third_party/googletest/src/include/gtest/internal/gtest-port.h third_party/libvpx/source/libvpx/third_party/googletest/src/src/gtest-death-test.cc third_party/libvpx/source/libvpx/third_party/googletest/src/src/gtest.cc +third_party/libvpx/source/libvpx/third_party/libwebm/AUTHORS.TXT third_party/libvpx/source/libvpx/third_party/libyuv/include/libyuv/row.h third_party/libvpx/source/libvpx/third_party/libyuv/include/libyuv/video_common.h third_party/libvpx/source/libvpx/third_party/libyuv/source/cpu_id.cc @@ -11032,7 +11147,6 @@ third_party/llvm/llvm/lib/ObjCopy/ELF/ELFObject.cpp third_party/llvm/llvm/lib/ObjCopy/MachO/MachOWriter.cpp third_party/llvm/llvm/lib/Object/COFFModuleDefinition.cpp third_party/llvm/llvm/lib/Object/ELF.cpp -third_party/llvm/llvm/lib/Passes/PassBuilderPipelines.cpp third_party/llvm/llvm/lib/Support/SHA1.cpp third_party/llvm/llvm/lib/Target/AArch64/AArch64FrameLowering.cpp third_party/llvm/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp @@ -11132,6 +11246,7 @@ third_party/nearby/src/fastpair/crypto/fast_pair_decryption.cc third_party/nearby/src/fastpair/crypto/fast_pair_decryption_test.cc third_party/nearby/src/fastpair/crypto/fast_pair_encryption_test.cc third_party/nearby/src/fastpair/crypto/fast_pair_key_pair_test.cc +third_party/nearby/src/fastpair/handshake/fast_pair_handshake.h third_party/nearby/src/fastpair/internal/test/fast_pair_fake_http_client_test.cc third_party/nearby/src/fastpair/message_stream/medium_test.cc third_party/nearby/src/fastpair/repository/fast_pair_metadata_fetcher_impl_test.cc @@ -11139,6 +11254,7 @@ third_party/nearby/src/fastpair/repository/fast_pair_metadata_repository_impl.cc third_party/nearby/src/fastpair/repository/fast_pair_metadata_repository_impl_test.cc third_party/nearby/src/fastpair/scanning/fastpair/fast_pair_discoverable_scanner.h third_party/nearby/src/internal/crypto/hmac_unittest.cc +third_party/nearby/src/internal/crypto/random.h third_party/nearby/src/internal/crypto/rsa_private_key_unittest.cc third_party/nearby/src/internal/crypto/secure_util.h third_party/nearby/src/internal/network/http_client_impl_test.cc @@ -11166,7 +11282,6 @@ third_party/nearby/src/internal/platform/implementation/windows/device_info.cc third_party/nearby/src/internal/platform/implementation/windows/file_path.cc third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.h third_party/nearby/src/internal/platform/implementation/windows/http_loader_test.cc -third_party/nearby/src/internal/platform/implementation/windows/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/implementation/windows/utils.h @@ -11473,7 +11588,6 @@ third_party/pdfium/core/fpdfapi/cmaps/fpdf_cmaps.cpp third_party/pdfium/core/fpdftext/cpdf_linkextract_unittest.cpp third_party/pdfium/core/fxcrt/fx_memory_pa.cpp third_party/pdfium/core/fxcrt/widestring_unittest.cpp -third_party/pdfium/core/fxge/BUILD.gn third_party/pdfium/core/fxge/win32/cgdi_device_driver.cpp third_party/pdfium/fpdfsdk/PRESUBMIT.py third_party/pdfium/fpdfsdk/fpdf_annot_embeddertest.cpp @@ -11500,7 +11614,6 @@ third_party/pdfium/xfa/fgas/font/cfgas_fontmgr.cpp third_party/pefile_py3/pefile.py third_party/perfetto/gn/standalone/BUILD.gn third_party/perfetto/gn/standalone/toolchain/msvc.gni -third_party/perfetto/include/perfetto/ext/base/optional.h third_party/perfetto/include/perfetto/protozero/proto_utils.h third_party/perfetto/infra/ci/Makefile third_party/perfetto/infra/ci/common_utils.py @@ -12365,7 +12478,6 @@ third_party/re2/src/util/pcre.h third_party/rust/aho_corasick/v0_7/BUILD.gn third_party/rust/atty/v0_2/BUILD.gn third_party/rust/autocfg/v1/BUILD.gn -third_party/rust/bindgen/v0_60/BUILD.gn third_party/rust/camino/v1/BUILD.gn third_party/rust/cxx/v1/BUILD.gn third_party/rust/cxxbridge_cmd/v1/BUILD.gn @@ -12379,9 +12491,7 @@ third_party/rust/lazy_static/v1/BUILD.gn third_party/rust/link_cplusplus/v1/BUILD.gn third_party/rust/memchr/v2/BUILD.gn third_party/rust/memoffset/v0_6/BUILD.gn -third_party/rust/minimal_lexical/v0_2/BUILD.gn third_party/rust/once_cell/v1/BUILD.gn -third_party/rust/peeking_take_while/v0_1/BUILD.gn third_party/rust/proc_macro2/v1/BUILD.gn third_party/rust/quote/v1/BUILD.gn third_party/rust/remove_dir_all/v0_5/BUILD.gn @@ -12395,14 +12505,12 @@ third_party/rust/serde/v1/BUILD.gn third_party/rust/serde_derive/v1/BUILD.gn third_party/rust/serde_json/v1/BUILD.gn third_party/rust/serde_json_lenient/v0_1/BUILD.gn -third_party/rust/shlex/v1/BUILD.gn third_party/rust/syn/v1/BUILD.gn third_party/rust/tempfile/v3/BUILD.gn third_party/rust/termcolor/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/which/v4/BUILD.gn third_party/rust/winapi/v0_3/BUILD.gn third_party/rust/winapi_util/v0_1/BUILD.gn third_party/s2cellid/src/s2/_fpcontractoff.h @@ -12424,7 +12532,6 @@ third_party/shell-encryption/BUILD.gn third_party/simplejson/ordered_dict.py third_party/skia/BUILD.gn third_party/skia/PRESUBMIT.py -third_party/skia/RELEASE_NOTES.txt third_party/skia/bench/DashBench.cpp third_party/skia/bench/DecodeBench.cpp third_party/skia/bin/clang_update.py @@ -12454,6 +12561,7 @@ third_party/skia/gm/stringart.cpp third_party/skia/gm/strokerect.cpp third_party/skia/gm/strokes.cpp third_party/skia/gm/stroketext.cpp +third_party/skia/gn/gn_to_bp.py third_party/skia/gn/skia/BUILD.gn third_party/skia/include/ports/SkImageGeneratorWIC.h third_party/skia/include/ports/SkTypeface_mac.h @@ -12557,7 +12665,7 @@ third_party/skia/src/core/SkRecordOpts.cpp third_party/skia/src/core/SkTraceEventCommon.h third_party/skia/src/effects/imagefilters/SkDisplacementMapImageFilter.cpp third_party/skia/src/encode/SkJpegGainmapEncoder.cpp -third_party/skia/src/encode/SkWebpEncoder.cpp +third_party/skia/src/encode/SkWebpEncoderImpl.cpp third_party/skia/src/gpu/ganesh/GrDistanceFieldGenFromVector.cpp third_party/skia/src/gpu/ganesh/GrRenderTask.h third_party/skia/src/gpu/ganesh/GrShaderCaps.h @@ -12870,6 +12978,7 @@ third_party/updater/chrome_mac_universal/3pp/fetch.py third_party/updater/chrome_mac_universal_prod/3pp/fetch.py third_party/updater/chrome_win_x86/3pp/fetch.py third_party/updater/chrome_win_x86_64/3pp/fetch.py +third_party/updater/chromium_linux64/3pp/fetch.py third_party/updater/chromium_mac_amd64/3pp/fetch.py third_party/updater/chromium_mac_arm64/3pp/fetch.py third_party/updater/chromium_win_x86/3pp/fetch.py @@ -12904,6 +13013,7 @@ third_party/vulkan-deps/vulkan-tools/src/windows-runtime-installer/VulkanRT-Lice third_party/vulkan-deps/vulkan-validation-layers/src/layers/external/xxhash.h third_party/vulkan-deps/vulkan-validation-layers/src/scripts/github_ci_android.py third_party/vulkan-deps/vulkan-validation-layers/src/scripts/github_ci_gn.py +third_party/vulkan-deps/vulkan-validation-layers/src/tests/android/CMakeLists.txt third_party/wayland-protocols/gtk/.gitlab-ci/pages/fonts.css third_party/wayland-protocols/gtk/.gitlab-ci/pages/index.html third_party/wayland-protocols/gtk/demos/gtk-demo/links.c @@ -13241,6 +13351,7 @@ third_party/webgl/src/specs/2.0.0/index.html third_party/webgl/src/specs/latest/1.0/index.html third_party/webgl/src/specs/latest/2.0/index.html third_party/webgpu-cts/src/src/webgpu/api/operation/command_buffer/queries/occlusionQuery.spec.ts +third_party/webgpu-cts/src/src/webgpu/api/operation/render_pipeline/sample_mask.spec.ts third_party/webgpu-cts/src/src/webgpu/api/operation/rendering/depth_bias.spec.ts third_party/webgpu-cts/src/standalone/index.html third_party/webrtc/BUILD.gn @@ -13313,7 +13424,6 @@ 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 @@ -13348,6 +13458,7 @@ 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/network.cc third_party/webrtc/rtc_base/network.h third_party/webrtc/rtc_base/network_unittest.cc third_party/webrtc/rtc_base/numerics/safe_minmax.h @@ -13501,6 +13612,7 @@ tools/android/tracing/systrace-extract-startup.py tools/binary_size/PRESUBMIT.py tools/binary_size/diagnose_bloat.py tools/binary_size/generate_milestone_reports.py +tools/binary_size/libsupersize/arsc_parser.py tools/binary_size/libsupersize/console.py tools/binary_size/libsupersize/dalvik_bytecode.py tools/binary_size/libsupersize/dex_parser.py @@ -13541,6 +13653,8 @@ tools/clang/rewrite_raw_ptr_fields/RewriteRawPtrFields.cpp tools/clang/rewrite_raw_ptr_fields/manual-fields-to-ignore.txt tools/clang/rewrite_raw_ptr_fields/tests/gen-in-out-arg-test.cc tools/clang/rewrite_raw_ptr_fields/tests/gen-reinterpret-cast-test.cc +tools/clang/rewrite_templated_container_fields/RewriteTemplatedPtrFields.cpp +tools/clang/rewrite_templated_container_fields/extract_edits.py tools/clang/scripts/build.py tools/clang/scripts/include-analysis.html tools/clang/scripts/package.py @@ -13704,6 +13818,7 @@ tools/metrics/histograms/metadata/chromeos/histograms.xml tools/metrics/histograms/metadata/chromeos_hps/histograms.xml tools/metrics/histograms/metadata/chromeos_settings/histograms.xml tools/metrics/histograms/metadata/commerce/histograms.xml +tools/metrics/histograms/metadata/companion/histograms.xml tools/metrics/histograms/metadata/compositing/histograms.xml tools/metrics/histograms/metadata/content/histograms.xml tools/metrics/histograms/metadata/content_creation/histograms.xml @@ -13855,9 +13970,7 @@ tools/perf/benchmarks/ad_frames.py tools/perf/benchmarks/blink_perf.py tools/perf/benchmarks/desktop_ui.py tools/perf/benchmarks/dummy_benchmark.py -tools/perf/benchmarks/jetstream.py tools/perf/benchmarks/jetstream2.py -tools/perf/benchmarks/kraken.py tools/perf/benchmarks/loading.py tools/perf/benchmarks/media.py tools/perf/benchmarks/memory.py @@ -13866,7 +13979,7 @@ tools/perf/benchmarks/power.py tools/perf/benchmarks/power_mobile.py tools/perf/benchmarks/rasterize_and_record_micro.py tools/perf/benchmarks/rendering.py -tools/perf/benchmarks/speedometer.py +tools/perf/benchmarks/speedometer1.py tools/perf/benchmarks/speedometer2.py tools/perf/benchmarks/startup_mobile.py tools/perf/benchmarks/system_health.py @@ -13929,7 +14042,6 @@ tools/perf/core/shard_maps/timing_data/mac-laptop_high_end-perf_timing.json tools/perf/core/shard_maps/timing_data/mac-laptop_low_end-perf_timing.json tools/perf/core/shard_maps/timing_data/mac-m1_mini_2020-perf_timing.json tools/perf/core/shard_maps/timing_data/win-10-perf_timing.json -tools/perf/core/shard_maps/timing_data/win-10_amd_laptop-perf_timing.json tools/perf/core/shard_maps/timing_data/win-10_laptop_low_end-perf_timing.json tools/perf/core/test_data/benchmarks_to_shard.json tools/perf/core/test_data/test_timing_data.json @@ -13958,7 +14070,6 @@ tools/perf/page_sets/intl_ar_fa_he.py tools/perf/page_sets/intl_ja_zh.py tools/perf/page_sets/key_mobile_sites_smooth.py tools/perf/page_sets/key_silk_cases/font_wipe.html -tools/perf/page_sets/kraken_pages.py tools/perf/page_sets/loading_desktop.py tools/perf/page_sets/loading_mobile.py tools/perf/page_sets/login_helpers/chrome_login.py @@ -14106,6 +14217,7 @@ tools/python/google/gethash_timer.py tools/resources/find_unused_resources.py tools/roll_webgl_conformance.py tools/run-swarmed.py +tools/rust/build_bindgen.py tools/rust/build_rust.py tools/rust/update_rust.py tools/site_compare/commands/measure.py @@ -14203,7 +14315,6 @@ ui/base/clipboard/clipboard_win.h ui/base/clipboard/url_file_parser_unittest.cc ui/base/cocoa/constrained_window/constrained_window_animation.mm ui/base/cocoa/tool_tip_base_view.mm -ui/base/cocoa/underlay_opengl_hosting_window.mm ui/base/data_transfer_policy/data_transfer_endpoint_serializer.h ui/base/data_transfer_policy/data_transfer_endpoint_serializer_unittest.cc ui/base/dragdrop/os_exchange_data_unittest.cc @@ -14224,6 +14335,7 @@ ui/base/win/event_creation_utils.cc ui/base/win/win_cursor.cc ui/chromeos/file_manager_strings.grdp ui/color/PRESUBMIT.py +ui/display/display_switches.cc ui/display/display_transform.cc ui/display/mac/display_link_mac.cc ui/display/mac/test/virtual_display_mac_util.mm @@ -14280,6 +14392,7 @@ ui/gfx/win/physical_size.cc ui/gfx/win/singleton_hwnd_hot_key_observer.cc ui/gl/android/scoped_a_native_window.cc ui/gl/direct_composition_support.cc +ui/gl/direct_composition_surface_win_unittest.cc ui/gl/gl_display.cc ui/gl/gl_surface_egl.cc ui/gl/gl_surface_presentation_helper.cc diff --git a/patches/core/bromite/disable-fetching-field-trials.patch b/patches/core/bromite/disable-fetching-field-trials.patch index cb865f24..4189ba93 100644 --- a/patches/core/bromite/disable-fetching-field-trials.patch +++ b/patches/core/bromite/disable-fetching-field-trials.patch @@ -67,7 +67,7 @@ Subject: Disable fetching of all field trials /* Alphabetical: */ --- a/components/variations/service/variations_service.cc +++ b/components/variations/service/variations_service.cc -@@ -219,17 +219,7 @@ bool GetInstanceManipulations(const net: +@@ -220,17 +220,7 @@ bool GetInstanceManipulations(const net: // Variations seed fetching is only enabled in official Chrome builds, if a URL // is specified on the command line, and for testing. bool IsFetchingEnabled() { 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 bc7ede06..e8898f2a 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 -@@ -2225,7 +2225,6 @@ static_library("browser") { +@@ -2224,7 +2224,6 @@ static_library("browser") { "//components/reporting/util:task_runner_context", "//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", -@@ -3595,8 +3594,6 @@ static_library("browser") { +@@ -3599,8 +3598,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" -@@ -447,8 +446,6 @@ void BrowserProcessImpl::StartTearDown() +@@ -420,8 +419,6 @@ void BrowserProcessImpl::StartTearDown() metrics_services_manager_.reset(); intranet_redirect_detector_.reset(); @@ -59,7 +59,7 @@ network_time_tracker_.reset(); #if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CHROMEOS_ASH) -@@ -1094,14 +1091,6 @@ StatusTray* BrowserProcessImpl::status_t +@@ -1067,14 +1064,6 @@ StatusTray* BrowserProcessImpl::status_t return status_tray_.get(); } @@ -74,7 +74,7 @@ subresource_filter::RulesetService* BrowserProcessImpl::subresource_filter_ruleset_service() { DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_); -@@ -1333,26 +1322,6 @@ void BrowserProcessImpl::CreateBackgroun +@@ -1306,26 +1295,6 @@ void BrowserProcessImpl::CreateBackgroun #endif } @@ -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 -@@ -1040,34 +1040,6 @@ void SetApplicationLocaleOnIOThread(cons +@@ -1056,34 +1056,6 @@ void SetApplicationLocaleOnIOThread(cons GetIOThreadApplicationLocale() = locale; } @@ -179,7 +179,7 @@ #if BUILDFLAG(ENABLE_EXTENSIONS) AppLoadedInTabSource ClassifyAppLoadedInTabSource( -@@ -5003,14 +4975,9 @@ ChromeContentBrowserClient::CreateThrott +@@ -5073,14 +5045,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))); -@@ -5056,16 +5023,6 @@ ChromeContentBrowserClient::CreateThrott +@@ -5126,16 +5093,6 @@ ChromeContentBrowserClient::CreateThrott &throttles); #endif @@ -212,7 +212,7 @@ if (base::FeatureList::IsEnabled(safe_browsing::kDelayedWarnings)) { throttles.push_back( std::make_unique( -@@ -5349,8 +5306,6 @@ void ChromeContentBrowserClient::Overrid +@@ -5419,8 +5376,6 @@ void ChromeContentBrowserClient::Overrid void ChromeContentBrowserClient::InitOnUIThread() { DCHECK_CURRENTLY_ON(BrowserThread::UI); @@ -343,7 +343,7 @@ } } -@@ -456,10 +449,6 @@ bool DownloadPrefs::IsAutoOpenByPolicy(c +@@ -459,10 +452,6 @@ bool DownloadPrefs::IsAutoOpenByPolicy(c bool DownloadPrefs::EnableAutoOpenByUserBasedOnExtension( const base::FilePath& file_name) { base::FilePath::StringType extension = file_name.Extension(); @@ -356,7 +356,7 @@ extension.erase(0, 1); --- a/chrome/browser/download/download_target_determiner.cc +++ b/chrome/browser/download/download_target_determiner.cc -@@ -322,13 +322,6 @@ base::FilePath DownloadTargetDeterminer: +@@ -323,13 +323,6 @@ base::FilePath DownloadTargetDeterminer: download_->GetURL(), download_->GetContentDisposition(), referrer_charset, suggested_filename, sniffed_mime_type, default_filename); @@ -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()) -@@ -1274,30 +1267,7 @@ DownloadFileType::DangerLevel DownloadTa +@@ -1270,30 +1263,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 -@@ -719,18 +719,6 @@ void WebstorePrivateBeginInstallWithMani +@@ -720,18 +720,6 @@ void WebstorePrivateBeginInstallWithMani void WebstorePrivateBeginInstallWithManifest3Function:: ReportFrictionAcceptedEvent() { @@ -567,7 +567,7 @@ } void WebstorePrivateBeginInstallWithManifest3Function::OnInstallPromptDone( -@@ -1226,55 +1214,9 @@ WebstorePrivateGetReferrerChainFunction: +@@ -1233,55 +1221,9 @@ WebstorePrivateGetReferrerChainFunction: ExtensionFunction::ResponseAction WebstorePrivateGetReferrerChainFunction::Run() { @@ -662,7 +662,7 @@ net::NetworkTrafficAnnotationTag traffic_annotation = net::DefineNetworkTrafficAnnotation("extension_blacklist", R"( semantics { -@@ -114,12 +98,6 @@ void BlocklistStateFetcher::SendRequest( +@@ -126,12 +110,6 @@ void BlocklistStateFetcher::SendRequest( base::Unretained(this), fetcher)); } @@ -696,7 +696,7 @@ // SimpleURLLoader -> (owned loader, extension id). --- 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 +@@ -128,9 +128,6 @@ void TrialComparisonCertVerifierControll std::string serialized_report; if (!report.Serialize(&serialized_report)) return; @@ -716,7 +716,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" -@@ -632,17 +631,6 @@ void ProfileImpl::LoadPrefsForNormalStar +@@ -652,17 +651,6 @@ void ProfileImpl::LoadPrefsForNormalStar mojo::PendingRemote pref_validation_delegate; @@ -736,7 +736,7 @@ CreatePrefService(pref_registry_, CreateExtensionPrefStore(this, false), --- a/chrome/browser/profiles/profiles_state.cc +++ b/chrome/browser/profiles/profiles_state.cc -@@ -260,9 +260,6 @@ void RemoveBrowsingDataForProfile(const +@@ -261,9 +261,6 @@ void RemoveBrowsingDataForProfile(const // The BrowsingDataRemover relies on many objects that aren't created in unit // tests. Previously this code would depend on content::ResourceDispatcherHost // but that's gone, so do a similar hack for now. @@ -764,7 +764,7 @@ if (safe_browsing_mode != 0) { # "Safe Browsing Basic" files used for safe browsing in full mode -@@ -491,6 +493,7 @@ static_library("advanced_protection") { +@@ -507,6 +509,7 @@ static_library("advanced_protection") { } source_set("metrics_collector") { @@ -772,7 +772,7 @@ sources = [ "safe_browsing_metrics_collector_factory.cc", "safe_browsing_metrics_collector_factory.h", -@@ -510,6 +513,7 @@ source_set("metrics_collector") { +@@ -526,6 +529,7 @@ source_set("metrics_collector") { "//components/safe_browsing/core/common:safe_browsing_prefs", "//content/public/browser", ] @@ -877,7 +877,7 @@ --- a/chrome/browser/ui/BUILD.gn +++ b/chrome/browser/ui/BUILD.gn -@@ -4592,7 +4592,6 @@ static_library("ui") { +@@ -4654,7 +4654,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", @@ -887,7 +887,7 @@ "views/download/download_item_view.cc", --- a/chrome/browser/ui/tab_helpers.cc +++ b/chrome/browser/ui/tab_helpers.cc -@@ -398,22 +398,6 @@ void TabHelpers::AttachTabHelpers(WebCon +@@ -407,22 +407,6 @@ void TabHelpers::AttachTabHelpers(WebCon // See https://crbug.com/910288. resource_coordinator::ResourceCoordinatorTabHelper::CreateForWebContents( web_contents); @@ -1221,7 +1221,7 @@ #include "components/spellcheck/spellcheck_buildflags.h" #include "components/subresource_filter/content/renderer/subresource_filter_agent.h" #include "components/subresource_filter/content/renderer/unverified_ruleset_dealer.h" -@@ -459,12 +458,8 @@ void ChromeContentRendererClient::Render +@@ -435,12 +434,8 @@ void ChromeContentRendererClient::Render subresource_filter_ruleset_dealer_ = std::make_unique(); diff --git a/patches/core/inox-patchset/0003-disable-autofill-download-manager.patch b/patches/core/inox-patchset/0003-disable-autofill-download-manager.patch index 2a0207c8..cfa5ff2f 100644 --- a/patches/core/inox-patchset/0003-disable-autofill-download-manager.patch +++ b/patches/core/inox-patchset/0003-disable-autofill-download-manager.patch @@ -1,6 +1,6 @@ --- a/components/autofill/core/browser/autofill_download_manager.cc +++ b/components/autofill/core/browser/autofill_download_manager.cc -@@ -792,95 +792,6 @@ std::tuple AutofillDo +@@ -791,95 +791,6 @@ std::tuple AutofillDo } bool AutofillDownloadManager::StartRequest(FormRequestData request_data) { diff --git a/patches/core/inox-patchset/0005-disable-default-extensions.patch b/patches/core/inox-patchset/0005-disable-default-extensions.patch index df2348db..2f8c1a13 100644 --- a/patches/core/inox-patchset/0005-disable-default-extensions.patch +++ b/patches/core/inox-patchset/0005-disable-default-extensions.patch @@ -57,7 +57,7 @@ } // http://crbug.com/165634 -@@ -697,25 +683,6 @@ void WebstoreInstaller::UpdateDownloadPr +@@ -693,25 +679,6 @@ void WebstoreInstaller::UpdateDownloadPr void WebstoreInstaller::StartCrxInstaller(const DownloadItem& download) { DCHECK_CURRENTLY_ON(BrowserThread::UI); DCHECK(!crx_installer_.get()); diff --git a/patches/core/inox-patchset/0009-disable-google-ipv6-probes.patch b/patches/core/inox-patchset/0009-disable-google-ipv6-probes.patch index e610cf2e..cb946018 100644 --- a/patches/core/inox-patchset/0009-disable-google-ipv6-probes.patch +++ b/patches/core/inox-patchset/0009-disable-google-ipv6-probes.patch @@ -1,6 +1,6 @@ --- a/net/dns/host_resolver_manager.cc +++ b/net/dns/host_resolver_manager.cc -@@ -155,10 +155,10 @@ const unsigned kMinimumTTLSeconds = kCac +@@ -156,10 +156,10 @@ const unsigned kMinimumTTLSeconds = kCac // cached. const int kIPv6ProbePeriodMs = 1000; diff --git a/patches/core/inox-patchset/0021-disable-rlz.patch b/patches/core/inox-patchset/0021-disable-rlz.patch index 3138d8e7..18ba62d2 100644 --- a/patches/core/inox-patchset/0021-disable-rlz.patch +++ b/patches/core/inox-patchset/0021-disable-rlz.patch @@ -2,21 +2,21 @@ --- a/BUILD.gn +++ b/BUILD.gn -@@ -462,14 +462,6 @@ group("gn_all") { - deps += [ "//chromeos:chromeos_unittests" ] - } +@@ -451,14 +451,6 @@ group("gn_all") { + deps += [ "//chromeos:chromeos_unittests" ] + } -- if (is_chromeos_ash || is_mac || is_win) { -- deps += [ -- "//rlz:rlz_id", -- "//rlz:rlz_lib", -- "//rlz:rlz_unittests", -- ] -- } +- if (is_chromeos_ash || is_mac || is_win) { +- deps += [ +- "//rlz:rlz_id", +- "//rlz:rlz_lib", +- "//rlz:rlz_unittests", +- ] +- } - - if (is_linux || is_chromeos) { - # The following are definitely linux-only. - deps += [ + if (is_linux || is_chromeos) { + # The following are definitely linux-only. + deps += [ --- a/rlz/buildflags/buildflags.gni +++ b/rlz/buildflags/buildflags.gni @@ -7,7 +7,7 @@ import("//build/config/chromeos/ui_mode. 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 e6118ea9..47eb594b 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 -@@ -200,7 +200,7 @@ std::string ReadFileInBackground(const b +@@ -202,7 +202,7 @@ std::string ReadFileInBackground(const b // Template URL where to fetch OEM services customization manifest from. const char ServicesCustomizationDocument::kManifestUrl[] = @@ -90,7 +90,7 @@ by default. // creates and uses to publish OEM default apps to the extensions system. --- a/chrome/browser/ash/extensions/file_manager/private_api_misc.cc +++ b/chrome/browser/ash/extensions/file_manager/private_api_misc.cc -@@ -94,7 +94,7 @@ namespace { +@@ -93,7 +93,7 @@ namespace { using api::file_manager_private::ProfileInfo; @@ -123,7 +123,7 @@ by default. scoped_refptr task_runner) --- a/chrome/browser/media/webrtc/webrtc_log_uploader.cc +++ b/chrome/browser/media/webrtc/webrtc_log_uploader.cc -@@ -500,7 +500,7 @@ void WebRtcLogUploader::UploadCompressed +@@ -498,7 +498,7 @@ void WebRtcLogUploader::UploadCompressed } })"); @@ -187,17 +187,6 @@ by default. return GURL(std::string(kDownloadServerUrl) + base::ToLowerASCII(bdict_file)); ---- a/chrome/browser/supervised_user/supervised_user_service.cc -+++ b/chrome/browser/supervised_user/supervised_user_service.cc -@@ -73,7 +73,7 @@ namespace { - - // The URL from which to download a host denylist if no local one exists yet. - const char kDenylistURL[] = -- "https://www.gstatic.com/chrome/supervised_user/denylist-20141001-1k.bin"; -+ "trk:272:https://www.gstatic.com/chrome/supervised_user/denylist-20141001-1k.bin"; - - const char kDenylistSourceHistogramName[] = "FamilyUser.DenylistSource"; - --- a/chrome/browser/ui/dialogs/outdated_upgrade_bubble.cc +++ b/chrome/browser/ui/dialogs/outdated_upgrade_bubble.cc @@ -42,7 +42,7 @@ const char* kUpdateBrowserRedirectUrl = @@ -340,7 +329,7 @@ by default. url::Component query(0, static_cast(str.length())), key, value; --- a/components/history/core/browser/web_history_service.cc +++ b/components/history/core/browser/web_history_service.cc -@@ -44,13 +44,13 @@ namespace history { +@@ -42,13 +42,13 @@ namespace history { namespace { const char kHistoryOAuthScope[] = @@ -483,8 +472,8 @@ by default. - "https://clients2.google.com/service/update2/crx"; + "trk:05:https://clients2.google.com/service/update2/crx"; - GURL GetWebstoreLaunchURL() { - extensions::ExtensionsClient* client = extensions::ExtensionsClient::Get(); + const char kAppMenuUtmSource[] = "ext_app_menu"; + --- a/google_apis/gaia/gaia_constants.cc +++ b/google_apis/gaia/gaia_constants.cc @@ -14,149 +14,149 @@ const char kChromeSource[] = "ChromiumBr diff --git a/patches/core/iridium-browser/safe_browsing-disable-reporting-of-safebrowsing-over.patch b/patches/core/iridium-browser/safe_browsing-disable-reporting-of-safebrowsing-over.patch index ee165a38..4db65330 100644 --- a/patches/core/iridium-browser/safe_browsing-disable-reporting-of-safebrowsing-over.patch +++ b/patches/core/iridium-browser/safe_browsing-disable-reporting-of-safebrowsing-over.patch @@ -24,7 +24,7 @@ This prevents trk:148 (phishing) and trk:149 (malware). std::string request_data; request->SerializeToString(&request_data); -@@ -326,6 +330,7 @@ void ClientSideDetectionService::StartCl +@@ -324,6 +328,7 @@ void ClientSideDetectionService::StartCl base::BindOnce(&WebUIInfoSingleton::AddToClientPhishingRequestsSent, base::Unretained(WebUIInfoSingleton::GetInstance()), std::move(request), access_token)); diff --git a/patches/core/ungoogled-chromium/block-requests.patch b/patches/core/ungoogled-chromium/block-requests.patch index a795e153..f261ae26 100644 --- a/patches/core/ungoogled-chromium/block-requests.patch +++ b/patches/core/ungoogled-chromium/block-requests.patch @@ -22,7 +22,7 @@ // via the feature params. --- a/chrome/browser/resources/discards/graph_doc_template.html +++ b/chrome/browser/resources/discards/graph_doc_template.html -@@ -78,10 +78,6 @@ URL. As result, this document needs to b +@@ -82,10 +82,6 @@ URL. As result, this document needs to b } @@ -35,7 +35,7 @@ --- a/chrome/browser/search/background/ntp_background_service.cc +++ b/chrome/browser/search/background/ntp_background_service.cc -@@ -85,6 +85,7 @@ void NtpBackgroundService::Shutdown() { +@@ -91,6 +91,7 @@ void NtpBackgroundService::Shutdown() { } void NtpBackgroundService::FetchCollectionInfo() { diff --git a/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch b/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch index 1d8715e2..9c76e8f4 100644 --- a/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch +++ b/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch @@ -60,7 +60,7 @@ return GURL(parts.scheme.is_valid() ? text : FixupPath(text)); --- a/content/browser/child_process_security_policy_impl.cc +++ b/content/browser/child_process_security_policy_impl.cc -@@ -774,6 +774,7 @@ ChildProcessSecurityPolicyImpl::ChildPro +@@ -775,6 +775,7 @@ ChildProcessSecurityPolicyImpl::ChildPro RegisterWebSafeScheme(url::kWssScheme); #endif // BUILDFLAG(ENABLE_WEBSOCKETS) RegisterWebSafeScheme(url::kDataScheme); @@ -70,7 +70,7 @@ // other origins, so we should not treat them as web safe. Remove callers of --- a/net/BUILD.gn +++ b/net/BUILD.gn -@@ -1029,6 +1029,8 @@ component("net") { +@@ -1032,6 +1032,8 @@ component("net") { "url_request/report_sender.h", "url_request/static_http_user_agent_settings.cc", "url_request/static_http_user_agent_settings.h", diff --git a/patches/core/ungoogled-chromium/disable-crash-reporter.patch b/patches/core/ungoogled-chromium/disable-crash-reporter.patch index 024d15c9..fe94d9d1 100644 --- a/patches/core/ungoogled-chromium/disable-crash-reporter.patch +++ b/patches/core/ungoogled-chromium/disable-crash-reporter.patch @@ -2,7 +2,7 @@ --- a/chrome/browser/chrome_content_browser_client.cc +++ b/chrome/browser/chrome_content_browser_client.cc -@@ -2551,7 +2551,8 @@ void ChromeContentBrowserClient::AppendE +@@ -2595,7 +2595,8 @@ void ChromeContentBrowserClient::AppendE command_line->AppendSwitchASCII(switches::kMetricsClientID, client_info->client_id); } diff --git a/patches/core/ungoogled-chromium/disable-gaia.patch b/patches/core/ungoogled-chromium/disable-gaia.patch index 4d9e3da5..76fb4708 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 -@@ -262,61 +262,6 @@ void GaiaAuthFetcher::CreateAndStartGaia +@@ -271,61 +271,6 @@ void GaiaAuthFetcher::CreateAndStartGaia network::mojom::CredentialsMode credentials_mode, const net::NetworkTrafficAnnotationTag& traffic_annotation) { DCHECK(!fetch_pending_) << "Tried to fetch two things at once!"; diff --git a/patches/core/ungoogled-chromium/disable-gcm.patch b/patches/core/ungoogled-chromium/disable-gcm.patch index 0131bd74..f6bcbf08 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 -@@ -463,6 +463,7 @@ void GCMClientImpl::StartGCM() { +@@ -450,6 +450,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(); -@@ -668,32 +669,6 @@ void GCMClientImpl::RemoveHeartbeatInter +@@ -654,32 +655,6 @@ void GCMClientImpl::RemoveHeartbeatInter void GCMClientImpl::StartCheckin() { DCHECK(io_task_runner_->RunsTasksInCurrentSequence()); @@ -43,7 +43,7 @@ } void GCMClientImpl::OnCheckinCompleted( -@@ -750,24 +725,6 @@ void GCMClientImpl::SetGServicesSettings +@@ -736,24 +711,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 e0af9230..11318846 100644 --- a/patches/core/ungoogled-chromium/disable-google-host-detection.patch +++ b/patches/core/ungoogled-chromium/disable-google-host-detection.patch @@ -14,7 +14,7 @@ mojom_request->start_time = base::Time::Now(); --- a/chrome/common/google_url_loader_throttle.cc +++ b/chrome/common/google_url_loader_throttle.cc -@@ -15,10 +15,6 @@ +@@ -18,10 +18,6 @@ #include "services/network/public/mojom/url_response_head.mojom.h" #include "services/network/public/mojom/x_frame_options.mojom.h" @@ -22,37 +22,38 @@ -#include "extensions/common/extension_urls.h" -#endif - - namespace { - - #if BUILDFLAG(IS_ANDROID) -@@ -58,39 +54,6 @@ void GoogleURLLoaderThrottle::DetachFrom + #if BUILDFLAG(ENABLE_BOUND_SESSION_CREDENTIALS) + #include "chrome/common/bound_session_request_throttled_listener.h" + #include "net/cookies/cookie_util.h" +@@ -73,55 +69,6 @@ void GoogleURLLoaderThrottle::DetachFrom void GoogleURLLoaderThrottle::WillStartRequest( network::ResourceRequest* request, bool* defer) { -- if (dynamic_params_.force_safe_search) { +- if (dynamic_params_->force_safe_search) { - GURL new_url; - safe_search_api::ForceGoogleSafeSearch(request->url, &new_url); -- if (!new_url.is_empty()) +- if (!new_url.is_empty()) { - request->url = new_url; +- } - } - - static_assert(safe_search_api::YOUTUBE_RESTRICT_OFF == 0, - "OFF must be first"); -- if (dynamic_params_.youtube_restrict > +- if (dynamic_params_->youtube_restrict > - safe_search_api::YOUTUBE_RESTRICT_OFF && -- dynamic_params_.youtube_restrict < +- dynamic_params_->youtube_restrict < - safe_search_api::YOUTUBE_RESTRICT_COUNT) { - safe_search_api::ForceYouTubeRestrict( - request->url, &request->cors_exempt_headers, - static_cast( -- dynamic_params_.youtube_restrict)); +- dynamic_params_->youtube_restrict)); - } - -- if (!dynamic_params_.allowed_domains_for_apps.empty() && +- if (!dynamic_params_->allowed_domains_for_apps.empty() && - request->url.DomainIs("google.com")) { - request->cors_exempt_headers.SetHeader( - safe_search_api::kGoogleAppsAllowedDomains, -- dynamic_params_.allowed_domains_for_apps); +- dynamic_params_->allowed_domains_for_apps); - } - -#if BUILDFLAG(IS_ANDROID) @@ -61,37 +62,52 @@ - request->cors_exempt_headers.SetHeader(kCCTClientDataHeader, - client_data_header_); - } +-#endif +-#if BUILDFLAG(ENABLE_BOUND_SESSION_CREDENTIALS) +- if (request->SendsCookies() && +- ShouldDeferRequestForBoundSession(request->url)) { +- // TODO(b/263264391): `bound_session_request_throttled_listener_` should +- // always be set if `BoundSessionParams` are set. Switch to a check once the +- // renderer `BoundSessionRequestThrottledListener` is set. +- if (bound_session_request_throttled_listener_) { +- *defer = true; +- bound_session_request_throttled_listener_->OnRequestBlockedOnCookie( +- base::BindOnce( +- &GoogleURLLoaderThrottle::OnDeferRequestForBoundSessionCompleted, +- weak_factory_.GetWeakPtr())); +- } +- } -#endif } void GoogleURLLoaderThrottle::WillRedirectRequest( -@@ -100,37 +63,6 @@ void GoogleURLLoaderThrottle::WillRedire +@@ -131,51 +78,6 @@ void GoogleURLLoaderThrottle::WillRedire std::vector* to_be_removed_headers, net::HttpRequestHeaders* modified_headers, net::HttpRequestHeaders* modified_cors_exempt_headers) { - // URLLoaderThrottles can only change the redirect URL when the network - // service is enabled. The non-network service path handles this in - // ChromeNetworkDelegate. -- if (dynamic_params_.force_safe_search) { +- if (dynamic_params_->force_safe_search) { - safe_search_api::ForceGoogleSafeSearch(redirect_info->new_url, - &redirect_info->new_url); - } - -- if (dynamic_params_.youtube_restrict > +- if (dynamic_params_->youtube_restrict > - safe_search_api::YOUTUBE_RESTRICT_OFF && -- dynamic_params_.youtube_restrict < +- dynamic_params_->youtube_restrict < - safe_search_api::YOUTUBE_RESTRICT_COUNT) { - safe_search_api::ForceYouTubeRestrict( - redirect_info->new_url, modified_cors_exempt_headers, - static_cast( -- dynamic_params_.youtube_restrict)); +- dynamic_params_->youtube_restrict)); - } - -- if (!dynamic_params_.allowed_domains_for_apps.empty() && +- if (!dynamic_params_->allowed_domains_for_apps.empty() && - redirect_info->new_url.DomainIs("google.com")) { - modified_cors_exempt_headers->SetHeader( - safe_search_api::kGoogleAppsAllowedDomains, -- dynamic_params_.allowed_domains_for_apps); +- dynamic_params_->allowed_domains_for_apps); - } - -#if BUILDFLAG(IS_ANDROID) @@ -99,11 +115,25 @@ - !google_util::IsGoogleAssociatedDomainUrl(redirect_info->new_url)) { - to_be_removed_headers->push_back(kCCTClientDataHeader); - } +-#endif +-#if BUILDFLAG(ENABLE_BOUND_SESSION_CREDENTIALS) +- if (ShouldDeferRequestForBoundSession(redirect_info->new_url)) { +- // TODO(b/263264391): `bound_session_request_throttled_listener_` should +- // always be set if `BoundSessionParams` are set. Switch to a check once the +- // renderer `BoundSessionRequestThrottledListener` is set. +- if (bound_session_request_throttled_listener_) { +- *defer = true; +- bound_session_request_throttled_listener_->OnRequestBlockedOnCookie( +- base::BindOnce( +- &GoogleURLLoaderThrottle::OnDeferRequestForBoundSessionCompleted, +- weak_factory_.GetWeakPtr())); +- } +- } -#endif } #if BUILDFLAG(ENABLE_EXTENSIONS) -@@ -138,22 +70,5 @@ void GoogleURLLoaderThrottle::WillProces +@@ -183,23 +85,6 @@ void GoogleURLLoaderThrottle::WillProces const GURL& response_url, network::mojom::URLResponseHead* response_head, bool* defer) { @@ -126,6 +156,7 @@ - } } #endif + --- a/components/google/core/common/google_util.cc +++ b/components/google/core/common/google_util.cc @@ -31,110 +31,6 @@ namespace google_util { @@ -482,7 +513,7 @@ bool IsGoogleHostname(const GURL& url) { --- a/components/search_engines/template_url.cc +++ b/components/search_engines/template_url.cc -@@ -556,11 +556,7 @@ std::u16string TemplateURLRef::SearchTer +@@ -558,11 +558,7 @@ std::u16string TemplateURLRef::SearchTer bool TemplateURLRef::HasGoogleBaseURLs( const SearchTermsData& search_terms_data) const { ParseIfNecessary(search_terms_data); diff --git a/patches/core/ungoogled-chromium/disable-mei-preload.patch b/patches/core/ungoogled-chromium/disable-mei-preload.patch index a9784350..2b75f419 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 -@@ -382,7 +382,6 @@ if (!is_android && !is_mac) { +@@ -379,7 +379,6 @@ if (!is_android && !is_mac) { } data_deps += [ @@ -15,7 +15,7 @@ "//third_party/widevine/cdm", ] if (invoker.collect_inputs_only) { -@@ -1231,7 +1230,6 @@ if (is_win) { +@@ -1226,7 +1225,6 @@ if (is_win) { ":optimization_guide_library", ":swiftshader_library", ":widevine_cdm_library", diff --git a/patches/core/ungoogled-chromium/disable-privacy-sandbox.patch b/patches/core/ungoogled-chromium/disable-privacy-sandbox.patch index cff818e2..c51d0cf8 100644 --- a/patches/core/ungoogled-chromium/disable-privacy-sandbox.patch +++ b/patches/core/ungoogled-chromium/disable-privacy-sandbox.patch @@ -1,9 +1,13 @@ --- a/chrome/browser/privacy_sandbox/privacy_sandbox_settings_delegate.cc +++ b/chrome/browser/privacy_sandbox/privacy_sandbox_settings_delegate.cc -@@ -16,25 +16,7 @@ +@@ -16,29 +16,7 @@ namespace { - bool PrivacySandboxRestrictedByAcccountCapability(Profile* profile) { + bool PrivacySandboxRestrictedByAccountCapability(Profile* profile) { +- if (privacy_sandbox::kPrivacySandboxSettings4ForceRestrictedUserForTesting +- .Get()) { +- return true; +- } - auto* identity_manager = IdentityManagerFactory::GetForProfile(profile); - - if (!identity_manager || @@ -26,7 +30,7 @@ + return true; } - } // namespace + bool PrivacySandboxRestrictedNoticeRequired(Profile* profile) { --- a/components/privacy_sandbox/privacy_sandbox_prefs.cc +++ b/components/privacy_sandbox/privacy_sandbox_prefs.cc @@ -103,7 +103,7 @@ namespace privacy_sandbox { @@ -40,7 +44,7 @@ registry->RegisterBooleanPref(prefs::kPrivacySandboxM1ConsentDecisionMade, --- a/components/privacy_sandbox/privacy_sandbox_settings_impl.cc +++ b/components/privacy_sandbox/privacy_sandbox_settings_impl.cc -@@ -63,7 +63,7 @@ base::Value CreateBlockedTopicEntry(cons +@@ -72,7 +72,7 @@ base::Value CreateBlockedTopicEntry(cons // static bool PrivacySandboxSettingsImpl::IsAllowed(Status status) { @@ -49,7 +53,7 @@ } PrivacySandboxSettingsImpl::PrivacySandboxSettingsImpl( -@@ -465,20 +465,7 @@ bool PrivacySandboxSettingsImpl::IsPriva +@@ -504,20 +504,7 @@ bool PrivacySandboxSettingsImpl::IsPriva } bool PrivacySandboxSettingsImpl::IsPrivacySandboxEnabled() const { @@ -71,7 +75,7 @@ } void PrivacySandboxSettingsImpl::SetAllPrivacySandboxAllowedForTesting() { -@@ -503,7 +490,6 @@ void PrivacySandboxSettingsImpl::SetTopi +@@ -542,7 +529,6 @@ void PrivacySandboxSettingsImpl::SetTopi } void PrivacySandboxSettingsImpl::SetPrivacySandboxEnabled(bool enabled) { @@ -92,7 +96,7 @@ kPrivacySandboxAggregationServiceTrustedServerUrlAwsParam{ --- a/third_party/blink/common/features.cc +++ b/third_party/blink/common/features.cc -@@ -136,7 +136,7 @@ BASE_FEATURE(kBlockingDownloadsInAdFrame +@@ -137,7 +137,7 @@ BASE_FEATURE(kBlockingDownloadsInAdFrame // Controls whether the Conversion Measurement API infrastructure is enabled. BASE_FEATURE(kConversionMeasurement, "ConversionMeasurement", diff --git a/patches/core/ungoogled-chromium/disable-signin.patch b/patches/core/ungoogled-chromium/disable-signin.patch index 136b0828..3b2757b7 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 -@@ -610,32 +610,6 @@ void ShowShortcutCustomizationApp(Profil +@@ -622,32 +622,6 @@ void ShowShortcutCustomizationApp(Profil 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 4ad5f057..e40bd1fa 100644 --- a/patches/core/ungoogled-chromium/doh-changes.patch +++ b/patches/core/ungoogled-chromium/doh-changes.patch @@ -1,6 +1,6 @@ --- a/chrome/common/chrome_features.cc +++ b/chrome/common/chrome_features.cc -@@ -334,12 +334,7 @@ BASE_FEATURE(kDisruptiveNotificationPerm +@@ -345,12 +345,7 @@ BASE_FEATURE(kDisruptiveNotificationPerm // Enable DNS over HTTPS (DoH). BASE_FEATURE(kDnsOverHttps, "DnsOverHttps", @@ -62,4 +62,4 @@ -#endif ); - // If this feature is enabled, the mDNS responder service responds to queries + // When enabled, the requests in a third party context to domains included in diff --git a/patches/core/ungoogled-chromium/fix-building-with-prunned-binaries.patch b/patches/core/ungoogled-chromium/fix-building-with-prunned-binaries.patch index 479e2d05..bba14f50 100644 --- a/patches/core/ungoogled-chromium/fix-building-with-prunned-binaries.patch +++ b/patches/core/ungoogled-chromium/fix-building-with-prunned-binaries.patch @@ -1,6 +1,17 @@ # Contains tests and features that are unneeded and would otherwise # require binaries to be whitelisted in the pruning list +--- a/chrome/BUILD.gn ++++ b/chrome/BUILD.gn +@@ -943,8 +943,6 @@ if (is_win) { + + bundle_data("chrome_framework_resources") { + sources = [ +- "//ui/gl/resources/angle-metal/gpu_shader_cache.bin", +- + # This image is used to badge the lock icon in the + # authentication dialogs, such as those used for installation + # from disk image and Keystone promotion (if so enabled). It --- a/chrome/test/chromedriver/BUILD.gn +++ b/chrome/test/chromedriver/BUILD.gn @@ -360,7 +360,7 @@ source_set("lib") { @@ -12,16 +23,19 @@ # Linux executable("chromedriver_server.unstripped") { testonly = true ---- a/components/omnibox/browser/autocomplete_controller.cc -+++ b/components/omnibox/browser/autocomplete_controller.cc -@@ -1568,5 +1568,7 @@ bool AutocompleteController::MaybeRunUrl - } +--- a/content/shell/BUILD.gn ++++ b/content/shell/BUILD.gn +@@ -704,10 +704,6 @@ if (is_apple) { + deps = [ "//third_party/icu:icudata" ] + } - return true; -+#else -+ return false; - #endif // BUILDFLAG(BUILD_WITH_TFLITE_LIB) - } +- if (is_mac) { +- sources += [ "//ui/gl/resources/angle-metal/gpu_shader_cache.bin" ] +- } +- + if (v8_use_external_startup_data) { + public_deps += [ "//v8" ] + if (use_v8_context_snapshot) { --- a/third_party/devtools-frontend/src/BUILD.gn +++ b/third_party/devtools-frontend/src/BUILD.gn @@ -13,7 +13,6 @@ import("./third_party/blink/public/publi diff --git a/patches/core/ungoogled-chromium/fix-building-without-safebrowsing.patch b/patches/core/ungoogled-chromium/fix-building-without-safebrowsing.patch index d443ac0d..455f6797 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 -@@ -297,8 +297,6 @@ static_library("browser") { +@@ -295,8 +295,6 @@ static_library("browser") { "commerce/shopping_service_factory.h", "complex_tasks/task_tab_helper.cc", "complex_tasks/task_tab_helper.h", @@ -11,7 +11,7 @@ "component_updater/chrome_component_updater_configurator.cc", "component_updater/chrome_component_updater_configurator.h", "component_updater/chrome_origin_trials_component_installer.cc", -@@ -609,8 +607,6 @@ static_library("browser") { +@@ -605,8 +603,6 @@ static_library("browser") { "internal_auth.h", "interstitials/chrome_settings_page_helper.cc", "interstitials/chrome_settings_page_helper.h", @@ -20,7 +20,7 @@ "invalidation/profile_invalidation_provider_factory.cc", "invalidation/profile_invalidation_provider_factory.h", "k_anonymity_service/k_anonymity_service_client.cc", -@@ -3619,10 +3615,6 @@ static_library("browser") { +@@ -3623,10 +3619,6 @@ static_library("browser") { "enterprise/connectors/analysis/analysis_service_settings.h", "enterprise/connectors/analysis/analysis_settings.cc", "enterprise/connectors/analysis/analysis_settings.h", @@ -31,7 +31,7 @@ "enterprise/connectors/analysis/content_analysis_dialog.cc", "enterprise/connectors/analysis/content_analysis_dialog.h", "enterprise/connectors/analysis/content_analysis_downloads_delegate.cc", -@@ -3899,10 +3891,6 @@ static_library("browser") { +@@ -3917,10 +3909,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", @@ -42,15 +42,15 @@ "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", -@@ -4352,7 +4340,6 @@ static_library("browser") { - "//chrome/browser/new_tab_page/modules/history_clusters:mojo_bindings", +@@ -4386,7 +4374,6 @@ static_library("browser") { + "//chrome/browser/new_tab_page/modules/history_clusters/cart:mojo_bindings", "//chrome/browser/new_tab_page/modules/photos:mojo_bindings", "//chrome/browser/new_tab_page/modules/recipes:mojo_bindings", - "//chrome/browser/new_tab_page/modules/safe_browsing:mojo_bindings", "//chrome/browser/policy:path_parser", "//chrome/browser/profile_resetter:profile_reset_report_proto", "//chrome/browser/resource_coordinator:intervention_policy_database_proto", -@@ -6072,10 +6059,6 @@ static_library("browser") { +@@ -6117,10 +6104,6 @@ static_library("browser") { "enterprise/chrome_browser_main_extra_parts_enterprise.h", "enterprise/connectors/analysis/content_analysis_sdk_manager.cc", "enterprise/connectors/analysis/content_analysis_sdk_manager.h", @@ -61,7 +61,7 @@ "enterprise/connectors/device_trust/attestation/desktop/crypto_utility.cc", "enterprise/connectors/device_trust/attestation/desktop/crypto_utility.h", "enterprise/connectors/device_trust/attestation/desktop/desktop_attestation_service.cc", -@@ -7570,9 +7553,14 @@ static_library("browser") { +@@ -7627,9 +7610,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", @@ -79,7 +79,7 @@ sources += [ --- a/chrome/browser/chrome_content_browser_client.cc +++ b/chrome/browser/chrome_content_browser_client.cc -@@ -5024,11 +5024,13 @@ ChromeContentBrowserClient::CreateThrott +@@ -5094,11 +5094,13 @@ ChromeContentBrowserClient::CreateThrott &throttles); #endif @@ -93,7 +93,7 @@ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) MaybeAddThrottle(browser_switcher::BrowserSwitcherNavigationThrottle:: -@@ -6571,26 +6573,7 @@ ChromeContentBrowserClient::GetSafeBrows +@@ -6717,26 +6719,7 @@ ChromeContentBrowserClient::GetSafeBrows ? content::BrowserThread::UI : content::BrowserThread::IO); @@ -121,7 +121,7 @@ } safe_browsing::RealTimeUrlLookupServiceBase* -@@ -6611,11 +6594,6 @@ ChromeContentBrowserClient::GetUrlLookup +@@ -6757,11 +6740,6 @@ ChromeContentBrowserClient::GetUrlLookup GetForProfile(profile); } #endif @@ -184,7 +184,7 @@ #endif // BUILDFLAG(ENABLE_SCREEN_AI_SERVICE) && !BUILDFLAG(IS_CHROMEOS) --- a/chrome/browser/devtools/devtools_window.cc +++ b/chrome/browser/devtools/devtools_window.cc -@@ -72,6 +72,7 @@ +@@ -73,6 +73,7 @@ #include "content/public/browser/web_contents.h" #include "content/public/common/content_client.h" #include "content/public/common/url_constants.h" @@ -202,7 +202,7 @@ #include "chrome/browser/safe_browsing/safe_browsing_service.h" #include "chrome/browser/ui/browser.h" #include "chrome/browser/ui/browser_finder.h" -@@ -202,8 +201,6 @@ void DownloadBubbleUIController::Process +@@ -215,8 +214,6 @@ void DownloadBubbleUIController::Process commands.ExecuteCommand(command); break; case DownloadCommands::REVIEW: @@ -317,7 +317,7 @@ --- a/chrome/browser/download/download_item_model.cc +++ b/chrome/browser/download/download_item_model.cc -@@ -927,102 +927,10 @@ void DownloadItemModel::ExecuteCommand(D +@@ -939,102 +939,10 @@ void DownloadItemModel::ExecuteCommand(D DownloadItemModel::BubbleUIInfo DownloadItemModel::GetBubbleUIInfoForTailoredWarning() const { @@ -443,7 +443,7 @@ void RecordDownloadOpen(ChromeDownloadOpenMethod open_method, --- a/chrome/browser/download/download_target_determiner.cc +++ b/chrome/browser/download/download_target_determiner.cc -@@ -995,12 +995,14 @@ void DownloadTargetDeterminer::CheckVisi +@@ -992,12 +992,14 @@ void DownloadTargetDeterminer::CheckVisi bool visited_referrer_before) { DCHECK_CURRENTLY_ON(BrowserThread::UI); DCHECK_EQ(STATE_DETERMINE_INTERMEDIATE_PATH, next_state_); @@ -458,7 +458,7 @@ danger_level_ = GetDangerLevel( visited_referrer_before ? VISITED_REFERRER : NO_VISITS_TO_REFERRER); if (danger_level_ != DownloadFileType::NOT_DANGEROUS && -@@ -1272,6 +1274,7 @@ DownloadFileType::DangerLevel DownloadTa +@@ -1268,6 +1270,7 @@ DownloadFileType::DangerLevel DownloadTa absl::optional DownloadTargetDeterminer::GetLastDownloadBypassTimestamp() const { @@ -466,7 +466,7 @@ safe_browsing::SafeBrowsingMetricsCollector* metrics_collector = safe_browsing::SafeBrowsingMetricsCollectorFactory::GetForProfile( GetProfile()); -@@ -1280,6 +1283,9 @@ DownloadTargetDeterminer::GetLastDownloa +@@ -1276,6 +1279,9 @@ DownloadTargetDeterminer::GetLastDownloa safe_browsing::SafeBrowsingMetricsCollector:: EventType::DANGEROUS_DOWNLOAD_BYPASS) : absl::nullopt; @@ -501,7 +501,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 -@@ -158,49 +158,12 @@ void FilesRequestHandler::FileRequestCal +@@ -161,49 +161,12 @@ void FilesRequestHandler::FileRequestCal } bool FilesRequestHandler::UploadDataImpl() { @@ -551,7 +551,7 @@ void FilesRequestHandler::OnGotFileInfo( std::unique_ptr request, size_t index, -@@ -236,14 +199,6 @@ void FilesRequestHandler::OnGotFileInfo( +@@ -239,14 +202,6 @@ void FilesRequestHandler::OnGotFileInfo( void FilesRequestHandler::FinishRequestEarly( std::unique_ptr request, safe_browsing::BinaryUploadService::Result result) { @@ -568,7 +568,7 @@ } --- a/chrome/browser/enterprise/connectors/analysis/files_request_handler.h +++ b/chrome/browser/enterprise/connectors/analysis/files_request_handler.h -@@ -110,10 +110,6 @@ class FilesRequestHandler : public Reque +@@ -113,10 +113,6 @@ class FilesRequestHandler : public Reque enterprise_connectors::ContentAnalysisResponse response); private: @@ -663,7 +663,7 @@ signals.Set(device_signals::names::kBuiltInDnsClientEnabled, --- a/chrome/browser/enterprise/connectors/reporting/realtime_reporting_client.cc +++ b/chrome/browser/enterprise/connectors/reporting/realtime_reporting_client.cc -@@ -414,7 +414,7 @@ void RealtimeReportingClient::ReportEven +@@ -412,7 +412,7 @@ void RealtimeReportingClient::ReportEven } std::string RealtimeReportingClient::GetProfileUserName() const { @@ -799,7 +799,7 @@ } // namespace utils --- a/chrome/browser/extensions/BUILD.gn +++ b/chrome/browser/extensions/BUILD.gn -@@ -299,10 +299,6 @@ static_library("extensions") { +@@ -300,10 +300,6 @@ static_library("extensions") { "api/runtime/chrome_runtime_api_delegate.h", "api/safe_browsing_private/safe_browsing_private_api.cc", "api/safe_browsing_private/safe_browsing_private_api.h", @@ -810,7 +810,7 @@ "api/safe_browsing_private/safe_browsing_util.cc", "api/safe_browsing_private/safe_browsing_util.h", "api/search/search_api.cc", -@@ -636,8 +632,6 @@ static_library("extensions") { +@@ -642,8 +638,6 @@ static_library("extensions") { "menu_manager_factory.h", "navigation_observer.cc", "navigation_observer.h", @@ -900,9 +900,33 @@ info.browser_version = std::move(signals.browser_version); info.built_in_dns_client_enabled = signals.built_in_dns_client_enabled; info.enterprise_profile_id = signals.enterprise_profile_id; +--- a/chrome/browser/extensions/blocklist.cc ++++ b/chrome/browser/extensions/blocklist.cc +@@ -204,21 +204,8 @@ Blocklist* Blocklist::Get(content::Brows + void Blocklist::GetBlocklistedIDs(const std::set& ids, + GetBlocklistedIDsCallback callback) { + DCHECK_CURRENTLY_ON(BrowserThread::UI); +- if (ids.empty() || !GetDatabaseManager().get() || +- !safe_browsing::IsSafeBrowsingExtensionProtectionAllowed( +- *profile_prefs_)) { + base::SingleThreadTaskRunner::GetCurrentDefault()->PostTask( + FROM_HERE, base::BindOnce(std::move(callback), BlocklistStateMap())); +- return; +- } +- +- // Constructing the SafeBrowsingClientImpl begins the process of asking +- // safebrowsing for the blocklisted extensions. The set of blocklisted +- // extensions returned by SafeBrowsing will then be passed to +- // GetBlocklistStateIDs to get the particular BlocklistState for each id. +- SafeBrowsingClientImpl::Start( +- ids, base::BindOnce(&Blocklist::GetBlocklistStateForIDs, +- weak_ptr_factory_.GetWeakPtr(), std::move(callback))); + } + + void Blocklist::GetMalwareIDs(const std::set& ids, --- a/chrome/browser/extensions/chrome_extensions_browser_client.cc +++ b/chrome/browser/extensions/chrome_extensions_browser_client.cc -@@ -705,56 +705,17 @@ void ChromeExtensionsBrowserClient::Noti +@@ -706,76 +706,23 @@ void ChromeExtensionsBrowserClient::Noti content::BrowserContext* context, const ExtensionId& extension_id, const std::string& code) const { @@ -929,6 +953,26 @@ + return false; } + void ChromeExtensionsBrowserClient::NotifyExtensionApiDeclarativeNetRequest( + content::BrowserContext* context, + const ExtensionId& extension_id, + const std::vector& rules) const { +- auto* telemetry_service = +- safe_browsing::ExtensionTelemetryServiceFactory::GetForProfile( +- Profile::FromBrowserContext(context)); +- if (!telemetry_service || !telemetry_service->enabled() || +- !base::FeatureList::IsEnabled( +- safe_browsing::kExtensionTelemetryDeclarativeNetRequestSignal)) { +- return; +- } +- +- // The telemetry service will consume and release the signal object inside the +- // `AddSignal()` call. +- auto signal = std::make_unique( +- extension_id, rules); +- telemetry_service->AddSignal(std::move(signal)); + } + void ChromeExtensionsBrowserClient::NotifyExtensionRemoteHostContacted( content::BrowserContext* context, const ExtensionId& extension_id, @@ -960,6 +1004,14 @@ } // static +@@ -937,7 +884,6 @@ ChromeExtensionsBrowserClient::GetWebVie + + void ChromeExtensionsBrowserClient::CreatePasswordReuseDetectionManager( + content::WebContents* web_contents) const { +- ChromePasswordReuseDetectionManagerClient::CreateForWebContents(web_contents); + } + + } // namespace extensions --- a/chrome/browser/extensions/extension_service.cc +++ b/chrome/browser/extensions/extension_service.cc @@ -52,7 +52,6 @@ @@ -1151,7 +1203,7 @@ --- a/chrome/browser/extensions/extension_system_impl.cc +++ b/chrome/browser/extensions/extension_system_impl.cc -@@ -465,8 +465,6 @@ void ExtensionSystemImpl::InstallUpdate( +@@ -453,8 +453,6 @@ void ExtensionSystemImpl::InstallUpdate( void ExtensionSystemImpl::PerformActionBasedOnOmahaAttributes( const std::string& extension_id, const base::Value& attributes) { @@ -1204,7 +1256,7 @@ #include "chrome/browser/ui/file_system_access_dialogs.h" #include "chrome/common/chrome_paths.h" #include "chrome/common/pdf_util.h" -@@ -398,85 +397,6 @@ bool ShouldBlockAccessToPath(const base: +@@ -400,85 +399,6 @@ bool ShouldBlockAccessToPath(const base: return true; } @@ -1290,7 +1342,7 @@ std::string GenerateLastPickedDirectoryKey(const std::string& id) { return id.empty() ? kDefaultLastPickedDirectoryKey : base::StrCat({kCustomLastPickedDirectoryKey, "-", id}); -@@ -496,13 +416,7 @@ base::StringPiece GetGrantKeyFromGrantTy +@@ -498,13 +418,7 @@ base::StringPiece GetGrantKeyFromGrantTy bool FileHasDangerousExtension(const url::Origin& origin, const base::FilePath& path, Profile* profile) { @@ -1305,7 +1357,7 @@ } } // namespace -@@ -1334,29 +1248,6 @@ void ChromeFileSystemAccessPermissionCon +@@ -1342,29 +1256,6 @@ void ChromeFileSystemAccessPermissionCon std::move(callback)); } @@ -1397,10 +1449,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/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" -@@ -881,6 +880,7 @@ autofill::LanguageCode ChromePasswordMan + #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" +@@ -822,6 +821,7 @@ autofill::LanguageCode ChromePasswordMan return autofill::LanguageCode(); } @@ -1408,22 +1460,15 @@ safe_browsing::PasswordProtectionService* ChromePasswordManagerClient::GetPasswordProtectionService() const { return safe_browsing::ChromePasswordProtectionService:: -@@ -954,13 +954,9 @@ void ChromePasswordManagerClient::CheckP - telemetry_service->AddSignal(std::move(password_reuse_signal)); - #endif // !BUILDFLAG(IS_ANDROID) +@@ -841,6 +841,7 @@ void ChromePasswordManagerClient::CheckS + } } + #endif // defined(ON_FOCUS_PING_ENABLED) +#endif // BUILDFLAG(FULL_SAFE_BROWSING) - void ChromePasswordManagerClient::LogPasswordReuseDetectedEvent() { -- safe_browsing::PasswordProtectionService* pps = -- GetPasswordProtectionService(); -- if (pps) { -- pps->MaybeLogPasswordReuseDetectedEvent(web_contents()); -- } - } - #if !BUILDFLAG(IS_ANDROID) -@@ -969,36 +965,10 @@ void ChromePasswordManagerClient::MaybeR + void ChromePasswordManagerClient::MaybeReportEnterpriseLoginEvent( +@@ -848,36 +849,10 @@ void ChromePasswordManagerClient::MaybeR bool is_federated, const url::Origin& federated_origin, const std::u16string& login_user_name) const { @@ -1460,27 +1505,7 @@ } #endif -@@ -1515,7 +1485,9 @@ void ChromePasswordManagerClient::OnPast - } - - was_on_paste_called_ = true; -+#if defined(SYNC_PASSWORD_REUSE_WARNING_ENABLED) - password_reuse_detection_manager_.OnPaste(std::move(text)); -+#endif // defined(SYNC_PASSWORD_REUSE_WARNING_ENABLED) - } - - void ChromePasswordManagerClient::RenderFrameCreated( -@@ -1551,7 +1523,9 @@ void ChromePasswordManagerClient::OnInpu - if (key_event.windows_key_code == (ui::VKEY_V & 0x1f)) { - OnPaste(); - } else { -+#if defined(SYNC_PASSWORD_REUSE_DETECTION_ENABLED) - password_reuse_detection_manager_.OnKeyPressedCommitted(key_event.text); -+#endif // defined(SYNC_PASSWORD_REUSE_DETECTION_ENABLED) - } - #endif // BUILDFLAG(IS_ANDROID) - } -@@ -1582,6 +1556,7 @@ bool ChromePasswordManagerClient::IsPass +@@ -1359,6 +1334,7 @@ bool ChromePasswordManagerClient::IsPass is_enabled = false; } @@ -1488,7 +1513,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 -@@ -1592,6 +1567,7 @@ bool ChromePasswordManagerClient::IsPass +@@ -1369,6 +1345,7 @@ bool ChromePasswordManagerClient::IsPass observer->OnPasswordSaveOrAutofillDenied(); is_enabled = false; } @@ -1498,7 +1523,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 -@@ -227,13 +227,14 @@ class ChromePasswordManagerClient +@@ -220,6 +220,7 @@ class ChromePasswordManagerClient void AnnotateNavigationEntry(bool has_password_field) override; autofill::LanguageCode GetPageLanguage() const override; @@ -1506,22 +1531,14 @@ safe_browsing::PasswordProtectionService* GetPasswordProtectionService() const override; - #if defined(ON_FOCUS_PING_ENABLED) +@@ -227,6 +228,7 @@ class ChromePasswordManagerClient void CheckSafeBrowsingReputation(const GURL& form_action, const GURL& frame_url) override; --#endif -+#endif // defined(ON_FOCUS_PING_ENABLED) - - void CheckProtectedPasswordEntry( - password_manager::metrics_util::PasswordType reused_password_type, -@@ -243,6 +244,7 @@ class ChromePasswordManagerClient - bool password_field_exists, - uint64_t reused_password_hash, - const std::string& domain) override; + #endif +#endif // BUILDFLAG(FULL_SAFE_BROWSING) - void LogPasswordReuseDetectedEvent() override; - + // Reporting these events is only supported on desktop platforms. + #if !BUILDFLAG(IS_ANDROID) --- a/chrome/browser/permissions/contextual_notification_permission_ui_selector.cc +++ b/chrome/browser/permissions/contextual_notification_permission_ui_selector.cc @@ -16,7 +16,6 @@ @@ -1574,7 +1591,7 @@ void ContextualNotificationPermissionUiSelector::OnSafeBrowsingVerdictReceived( --- a/chrome/browser/permissions/permission_revocation_request.cc +++ b/chrome/browser/permissions/permission_revocation_request.cc -@@ -135,27 +135,7 @@ void PermissionRevocationRequest::CheckA +@@ -136,27 +136,7 @@ void PermissionRevocationRequest::CheckA DCHECK(profile_); DCHECK(callback_); @@ -1602,7 +1619,7 @@ } void PermissionRevocationRequest::OnSiteReputationReady( -@@ -165,33 +145,6 @@ void PermissionRevocationRequest::OnSite +@@ -166,33 +146,6 @@ void PermissionRevocationRequest::OnSite base::TimeTicks::Now() - crowd_deny_request_start_time_.value(); } @@ -1701,7 +1718,7 @@ #include "components/safe_browsing/content/common/file_type_policies_prefs.h" #include "components/safe_browsing/core/common/safe_browsing_policy_handler.h" #include "components/safe_browsing/core/common/safe_browsing_prefs.h" -@@ -1970,8 +1971,6 @@ std::unique_ptrAddHandler( std::make_unique( chrome_schema)); @@ -1710,7 +1727,7 @@ handlers->AddHandler(std::make_unique()); handlers->AddHandler( std::make_unique(key::kURLBlocklist)); -@@ -2030,13 +2029,6 @@ std::unique_ptrGetPrefs(), - std::make_unique( - IdentityManagerFactory::GetForProfile(profile)), @@ -1987,7 +2006,7 @@ } // namespace --- a/chrome/browser/ui/BUILD.gn +++ b/chrome/browser/ui/BUILD.gn -@@ -560,7 +560,6 @@ static_library("ui") { +@@ -565,7 +565,6 @@ static_library("ui") { "//components/renderer_context_menu", "//components/resources", "//components/safe_browsing/content/browser", @@ -1995,7 +2014,7 @@ "//components/safe_browsing/content/browser/password_protection", "//components/safe_browsing/content/browser/web_ui", "//components/safe_browsing/core/browser/db:database_manager", -@@ -3586,8 +3585,6 @@ static_library("ui") { +@@ -3638,8 +3637,6 @@ static_library("ui") { "startup/web_app_startup_utils.h", "tab_contents/chrome_web_contents_menu_helper.cc", "tab_contents/chrome_web_contents_menu_helper.h", @@ -2004,7 +2023,7 @@ "views/autofill/payments/virtual_card_selection_dialog_view.cc", "views/autofill/payments/virtual_card_selection_dialog_view.h", "views/autofill/payments/webauthn_dialog_view.cc", -@@ -5075,8 +5072,6 @@ static_library("ui") { +@@ -5139,8 +5136,6 @@ static_library("ui") { "views/safe_browsing/prompt_for_scanning_modal_dialog.h", "views/safe_browsing/tailored_security_desktop_dialog_manager.cc", "views/safe_browsing/tailored_security_desktop_dialog_manager.h", @@ -2039,6 +2058,16 @@ } void JavaScriptTabModalDialogManagerDelegateDesktop::DidCloseDialog() { +--- a/chrome/browser/ui/tab_helpers.cc ++++ b/chrome/browser/ui/tab_helpers.cc +@@ -325,7 +325,6 @@ void TabHelpers::AttachTabHelpers(WebCon + ChromePasswordManagerClient::CreateForWebContentsWithAutofillClient( + web_contents, + autofill::ContentAutofillClient::FromWebContents(web_contents)); +- ChromePasswordReuseDetectionManagerClient::CreateForWebContents(web_contents); + CreateSubresourceFilterWebContentsHelper(web_contents); + ChromeTranslateClient::CreateForWebContents(web_contents); + client_hints::ClientHintsWebContentsObserver::CreateForWebContents( --- a/chrome/browser/ui/views/download/download_item_view.cc +++ b/chrome/browser/ui/views/download/download_item_view.cc @@ -38,7 +38,6 @@ @@ -2086,6 +2115,28 @@ model_->SetOpenWhenComplete(true); } +--- a/chrome/browser/ui/views/media_router/presentation_receiver_window_view.cc ++++ b/chrome/browser/ui/views/media_router/presentation_receiver_window_view.cc +@@ -173,7 +173,6 @@ void PresentationReceiverWindowView::Ini + ChromePasswordManagerClient::CreateForWebContentsWithAutofillClient( + web_contents, + autofill::ContentAutofillClient::FromWebContents(web_contents)); +- ChromePasswordReuseDetectionManagerClient::CreateForWebContents(web_contents); + ManagePasswordsUIController::CreateForWebContents(web_contents); + SearchTabHelper::CreateForWebContents(web_contents); + TabDialogs::CreateForWebContents(web_contents); +--- a/chrome/browser/ui/views/profiles/profile_picker_force_signin_dialog_delegate.cc ++++ b/chrome/browser/ui/views/profiles/profile_picker_force_signin_dialog_delegate.cc +@@ -45,9 +45,6 @@ ProfilePickerForceSigninDialogDelegate:: + autofill::ContentAutofillClient::FromWebContents( + web_view_->GetWebContents())); + +- ChromePasswordReuseDetectionManagerClient::CreateForWebContents( +- web_view_->GetWebContents()); +- + web_modal::WebContentsModalDialogManager::CreateForWebContents( + web_view_->GetWebContents()); + web_modal::WebContentsModalDialogManager::FromWebContents( --- a/chrome/browser/ui/views/tab_contents/chrome_web_contents_view_delegate_views.cc +++ b/chrome/browser/ui/views/tab_contents/chrome_web_contents_view_delegate_views.cc @@ -110,7 +110,7 @@ void ChromeWebContentsViewDelegateViews: @@ -2099,7 +2150,7 @@ std::unique_ptr CreateWebContentsViewDelegate( --- a/chrome/browser/ui/views/tab_contents/chrome_web_contents_view_delegate_views_mac.mm +++ b/chrome/browser/ui/views/tab_contents/chrome_web_contents_view_delegate_views_mac.mm -@@ -86,7 +86,7 @@ bool ChromeWebContentsViewDelegateViewsM +@@ -87,7 +87,7 @@ bool ChromeWebContentsViewDelegateViewsM void ChromeWebContentsViewDelegateViewsMac::OnPerformDrop( const content::DropData& drop_data, DropCompletionCallback callback) { @@ -2163,7 +2214,7 @@ // DownloadsDOMHandler, private: -------------------------------------------- --- a/chrome/browser/ui/webui/management/management_ui_handler.cc +++ b/chrome/browser/ui/webui/management/management_ui_handler.cc -@@ -967,12 +967,6 @@ base::Value::Dict ManagementUIHandler::G +@@ -968,12 +968,6 @@ base::Value::Dict ManagementUIHandler::G &info); } @@ -2220,7 +2271,7 @@ std::move(callback), --- a/chrome/test/BUILD.gn +++ b/chrome/test/BUILD.gn -@@ -1501,7 +1501,6 @@ if (!is_android) { +@@ -1506,7 +1506,6 @@ if (!is_android) { "//components/resources", "//components/safe_browsing:buildflags", "//components/safe_browsing/content/browser", @@ -2228,7 +2279,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", -@@ -6159,7 +6158,6 @@ test("unit_tests") { +@@ -6204,7 +6203,6 @@ test("unit_tests") { "//components/resources", "//components/safe_browsing:buildflags", "//components/safe_browsing/content/browser", @@ -2238,7 +2289,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 -@@ -450,7 +450,7 @@ void ContentPasswordManagerDriver::Check +@@ -452,7 +452,7 @@ void ContentPasswordManagerDriver::Check if (!password_manager::bad_message::CheckFrameNotPrerendering( render_frame_host_)) return; @@ -2249,7 +2300,7 @@ } --- a/components/password_manager/core/browser/password_manager_client.h +++ b/components/password_manager/core/browser/password_manager_client.h -@@ -388,11 +388,14 @@ class PasswordManagerClient { +@@ -384,11 +384,14 @@ class PasswordManagerClient { // Returns the current best guess as to the page's display language. virtual autofill::LanguageCode GetPageLanguage() const; @@ -2265,36 +2316,6 @@ // 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. -@@ -400,6 +403,7 @@ class PasswordManagerClient { - const GURL& frame_url) = 0; - #endif - -+#if defined(PASSWORD_REUSE_DETECTION_ENABLED) - // 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 -@@ -416,6 +420,7 @@ class PasswordManagerClient { - bool password_field_exists, - uint64_t reused_password_hash, - const std::string& domain) = 0; -+#endif - - // Records a Chrome Sync event that GAIA password reuse was detected. - virtual void LogPasswordReuseDetectedEvent() = 0; ---- a/components/password_manager/core/browser/password_reuse_detection_manager.cc -+++ b/components/password_manager/core/browser/password_reuse_detection_manager.cc -@@ -163,9 +163,11 @@ void PasswordReuseDetectionManager::OnRe - ? reused_protected_password_hash->username - : ""; - -+ #if defined(PASSWORD_REUSE_DETECTION_ENABLED) - client_->CheckProtectedPasswordEntry( - reused_password_type, username, matching_reused_credentials, - password_field_detected, reused_password_hash, domain); -+ #endif - } - - void PasswordReuseDetectionManager::SetClockForTesting(base::Clock* clock) { --- a/components/safe_browsing/content/common/proto/BUILD.gn +++ b/components/safe_browsing/content/common/proto/BUILD.gn @@ -5,8 +5,12 @@ @@ -2343,9 +2364,80 @@ #include "base/containers/unique_ptr_adapters.h" #include "base/memory/raw_ptr.h" #include "base/memory/weak_ptr.h" +--- a/components/safe_browsing/core/browser/hashprefix_realtime/ohttp_key_service.cc ++++ b/components/safe_browsing/core/browser/hashprefix_realtime/ohttp_key_service.cc +@@ -10,7 +10,6 @@ + #include "components/prefs/pref_service.h" + #include "components/safe_browsing/core/browser/utils/backoff_operator.h" + #include "components/safe_browsing/core/common/features.h" +-#include "components/safe_browsing/core/common/safe_browsing_prefs.h" + #include "components/safe_browsing/core/common/utils.h" + #include "net/base/net_errors.h" + #include "net/http/http_request_headers.h" +@@ -102,17 +101,7 @@ constexpr net::NetworkTrafficAnnotationT + )"); + + bool IsEnabled(const PrefService& pref_service) { +- safe_browsing::SafeBrowsingState state = +- safe_browsing::GetSafeBrowsingState(pref_service); +- return (state == safe_browsing::SafeBrowsingState::STANDARD_PROTECTION && +- !base::FeatureList::IsEnabled( +- safe_browsing::kSafeBrowsingLookupMechanismExperiment)) || +- // The service is enabled when enhanced protection and lookup mechanism +- // experiment are both enabled, because Chrome needs to send HPRT +- // requests to conduct the experiment. +- (state == safe_browsing::SafeBrowsingState::ENHANCED_PROTECTION && +- base::FeatureList::IsEnabled( +- safe_browsing::kSafeBrowsingLookupMechanismExperiment)); ++ return false; + } + + } // namespace +@@ -138,14 +127,6 @@ OhttpKeyService::OhttpKeyService( + PopulateKeyFromPref(); + + pref_change_registrar_.Init(pref_service_); +- pref_change_registrar_.Add( +- prefs::kSafeBrowsingEnabled, +- base::BindRepeating(&OhttpKeyService::OnSafeBrowsingStateChanged, +- weak_factory_.GetWeakPtr())); +- pref_change_registrar_.Add( +- prefs::kSafeBrowsingEnhanced, +- base::BindRepeating(&OhttpKeyService::OnSafeBrowsingStateChanged, +- weak_factory_.GetWeakPtr())); + + SetEnabled(IsEnabled(*pref_service_)); + } +@@ -346,26 +327,9 @@ void OhttpKeyService::MaybeStartServerTr + } + + void OhttpKeyService::PopulateKeyFromPref() { +- std::string key = +- pref_service_->GetString(prefs::kSafeBrowsingHashRealTimeOhttpKey); +- base::Time expiration_time = pref_service_->GetTime( +- prefs::kSafeBrowsingHashRealTimeOhttpExpirationTime); +- if (!key.empty() && expiration_time > base::Time::Now()) { +- std::string decoded_key; +- base::Base64Decode(key, &decoded_key); +- ohttp_key_ = {decoded_key, expiration_time}; +- } + } + + void OhttpKeyService::StoreKeyToPref() { +- if (ohttp_key_ && ohttp_key_->expiration > base::Time::Now()) { +- std::string base64_encoded_key; +- base::Base64Encode(ohttp_key_->key, &base64_encoded_key); +- pref_service_->SetString(prefs::kSafeBrowsingHashRealTimeOhttpKey, +- base64_encoded_key); +- pref_service_->SetTime(prefs::kSafeBrowsingHashRealTimeOhttpExpirationTime, +- ohttp_key_->expiration); +- } + } + + void OhttpKeyService::Shutdown() { --- a/components/safe_browsing/core/browser/verdict_cache_manager.cc +++ b/components/safe_browsing/core/browser/verdict_cache_manager.cc -@@ -437,16 +437,6 @@ VerdictCacheManager::VerdictCacheManager +@@ -453,16 +453,6 @@ VerdictCacheManager::VerdictCacheManager // pref_service can be null in tests. if (pref_service) { pref_change_registrar_.Init(pref_service); @@ -2518,7 +2610,7 @@ --- a/extensions/browser/updater/update_service.cc +++ b/extensions/browser/updater/update_service.cc -@@ -131,14 +131,6 @@ void UpdateService::OnCrxStateChange(Upd +@@ -128,14 +128,6 @@ void UpdateService::OnCrxStateChange(Upd break; } @@ -2546,7 +2638,7 @@ declare_args() { --- a/weblayer/BUILD.gn +++ b/weblayer/BUILD.gn -@@ -462,7 +462,6 @@ source_set("weblayer_lib_base") { +@@ -465,7 +465,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 5450017c..56c6ffa2 100644 --- a/patches/core/ungoogled-chromium/remove-unused-preferences-fields.patch +++ b/patches/core/ungoogled-chromium/remove-unused-preferences-fields.patch @@ -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 -@@ -2463,69 +2463,9 @@ +@@ -2505,69 +2505,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. @@ -157,7 +157,7 @@ namespace lock_screen_apps { --- a/chrome/browser/ash/lock_screen_apps/lock_screen_profile_creator_impl_unittest.cc +++ b/chrome/browser/ash/lock_screen_apps/lock_screen_profile_creator_impl_unittest.cc -@@ -53,7 +53,6 @@ +@@ -54,7 +54,6 @@ #include "components/account_id/account_id.h" #include "components/crx_file/id_util.h" #include "components/prefs/pref_service.h" @@ -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 -@@ -257,7 +257,6 @@ +@@ -259,7 +259,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 -@@ -889,6 +889,7 @@ void DownloadItemModel::ExecuteCommand(D +@@ -898,6 +898,7 @@ void DownloadItemModel::ExecuteCommand(D DownloadUIModel::ExecuteCommand(download_commands, command); break; case DownloadCommands::DEEP_SCAN: @@ -235,10 +235,10 @@ safe_browsing::SafeBrowsingService* sb_service = g_browser_process->safe_browsing_service(); if (!sb_service) -@@ -921,6 +922,7 @@ void DownloadItemModel::ExecuteCommand(D - safe_browsing::DeepScanningRequest::DeepScanTrigger:: - TRIGGER_APP_PROMPT, - safe_browsing::DownloadCheckResult::UNKNOWN, std::move(settings)); +@@ -933,6 +934,7 @@ void DownloadItemModel::ExecuteCommand(D + base::UmaHistogramEnumeration( + "SBClientDownload.DeepScanEvent", + safe_browsing::DeepScanEvent::kPromptAccepted); +#endif break; } @@ -453,7 +453,7 @@ #include "extensions/browser/api/content_settings/content_settings_service.h" #include "extensions/browser/extension_pref_value_map.h" #include "extensions/browser/extension_pref_value_map_factory.h" -@@ -842,18 +841,6 @@ ExtensionFunction::ResponseAction SetPre +@@ -849,18 +848,6 @@ ExtensionFunction::ResponseAction SetPre base::Value(browser_pref_value->GetBool())); } @@ -472,7 +472,7 @@ // Deprecation issue to developers in the issues tab in Chrome DevTools that // the API chrome.privacy.websites.privacySandboxEnabled is being deprecated. // TODO(b/263568309): Remove this once the deprecated API is retired. -@@ -997,16 +984,6 @@ ExtensionFunction::ResponseAction ClearP +@@ -1004,16 +991,6 @@ ExtensionFunction::ResponseAction ClearP extension_id(), prefs::kPrivacySandboxM1AdMeasurementEnabled, scope); } @@ -545,15 +545,27 @@ #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 -@@ -45,7 +45,6 @@ +@@ -45,10 +45,8 @@ #include "components/prefs/pref_service.h" #include "components/privacy_sandbox/privacy_sandbox_prefs.h" #include "components/proxy_config/proxy_config_pref_names.h" -#include "components/safe_browsing/core/common/safe_browsing_prefs.h" #include "components/search_engines/default_search_manager.h" #include "components/services/screen_ai/buildflags/buildflags.h" +-#include "components/signin/public/base/signin_pref_names.h" #include "components/spellcheck/browser/pref_names.h" -@@ -316,16 +315,6 @@ const PrefsUtil::TypedPrefMap& PrefsUtil + #include "components/supervised_user/core/common/pref_names.h" + #include "components/translate/core/browser/translate_pref_names.h" +@@ -293,8 +291,6 @@ const PrefsUtil::TypedPrefMap& PrefsUtil + #endif + + // Privacy page +- (*s_allowlist)[::prefs::kSigninAllowedOnNextStartup] = +- settings_api::PrefType::PREF_TYPE_BOOLEAN; + (*s_allowlist)[::prefs::kDnsOverHttpsMode] = + settings_api::PrefType::PREF_TYPE_STRING; + (*s_allowlist)[::prefs::kDnsOverHttpsTemplates] = +@@ -325,16 +321,6 @@ const PrefsUtil::TypedPrefMap& PrefsUtil settings_api::PrefType::PREF_TYPE_BOOLEAN; // Security page @@ -572,7 +584,7 @@ (*s_allowlist)[::kGeneratedHttpsFirstModePref] = --- a/chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc +++ b/chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc -@@ -598,9 +598,6 @@ IN_PROC_BROWSER_TEST_F(ExtensionWebstore +@@ -608,9 +608,6 @@ IN_PROC_BROWSER_TEST_F(ExtensionWebstore IN_PROC_BROWSER_TEST_F(ExtensionWebstorePrivateGetReferrerChainApiTest, GetReferrerChainForNonSafeBrowsingUser) { PrefService* pref_service = browser()->profile()->GetPrefs(); @@ -697,7 +709,7 @@ #include "content/public/browser/browser_context.h" #include "content/public/browser/browser_thread.h" #include "content/public/browser/first_party_sets_handler.h" -@@ -886,15 +885,8 @@ void ProfileNetworkContextService::Confi +@@ -888,15 +887,8 @@ void ProfileNetworkContextService::Confi network_context_params->enable_certificate_reporting = true; @@ -715,17 +727,17 @@ --- a/chrome/browser/net/trial_comparison_cert_verifier_browsertest.cc +++ b/chrome/browser/net/trial_comparison_cert_verifier_browsertest.cc -@@ -11,7 +11,6 @@ +@@ -18,7 +18,6 @@ #include "chrome/test/base/in_process_browser_test.h" #include "chrome/test/base/ui_test_utils.h" #include "components/metrics/content/subprocess_metrics_provider.h" -#include "components/safe_browsing/core/common/safe_browsing_prefs.h" + #include "content/public/browser/network_service_instance.h" #include "content/public/test/browser_test.h" #include "net/base/features.h" - #include "net/cert/trial_comparison_cert_verifier.h" --- a/chrome/browser/net/trial_comparison_cert_verifier_controller.cc +++ b/chrome/browser/net/trial_comparison_cert_verifier_controller.cc -@@ -19,7 +19,6 @@ +@@ -18,7 +18,6 @@ #include "chrome/browser/safe_browsing/certificate_reporting_service.h" #include "chrome/browser/safe_browsing/certificate_reporting_service_factory.h" #include "chrome/common/channel_info.h" @@ -733,7 +745,7 @@ #include "components/security_interstitials/content/certificate_error_report.h" #include "content/public/browser/browser_task_traits.h" #include "content/public/browser/browser_thread.h" -@@ -42,17 +41,6 @@ TrialComparisonCertVerifierController::T +@@ -41,17 +40,6 @@ TrialComparisonCertVerifierController::T // enabled. return; } @@ -751,7 +763,7 @@ } TrialComparisonCertVerifierController:: -@@ -100,9 +88,7 @@ bool TrialComparisonCertVerifierControll +@@ -91,9 +79,7 @@ bool TrialComparisonCertVerifierControll if (!MaybeAllowedForProfile(profile_)) return false; @@ -789,7 +801,7 @@ -#include "components/safe_browsing/core/common/safe_browsing_prefs.h" #include "components/security_interstitials/content/cert_logger.pb.h" #include "components/sync_preferences/testing_pref_service_syncable.h" - #include "content/public/browser/browser_task_traits.h" + #include "content/public/browser/browser_thread.h" --- a/chrome/browser/password_manager/generated_password_leak_detection_pref.cc +++ b/chrome/browser/password_manager/generated_password_leak_detection_pref.cc @@ -14,7 +14,6 @@ @@ -857,39 +869,57 @@ namespace policy { -@@ -50,28 +49,18 @@ void BrowserSigninPolicyHandler::ApplyPo - #endif - [[fallthrough]]; - case BrowserSigninMode::kEnabled: -+#if !BUILDFLAG(IS_ANDROID) - prefs->SetValue( +@@ -30,50 +29,6 @@ BrowserSigninPolicyHandler::~BrowserSign + + void BrowserSigninPolicyHandler::ApplyPolicySettings(const PolicyMap& policies, + PrefValueMap* prefs) { +-#if BUILDFLAG(IS_WIN) +- // Browser sign in policies shouldn't be enforced on gcpw signin +- // mode as gcpw is invoked in windows login UI screen. +- // Also note that GCPW launches chrome in incognito mode using a +- // special user's logon_token. So the end user won't have access +- // to this session after user logs in via GCPW. +- if (base::CommandLine::ForCurrentProcess()->HasSwitch( +- ::credential_provider::kGcpwSigninSwitch)) +- return; +-#endif +- +- const base::Value* value = +- policies.GetValue(policy_name(), base::Value::Type::INTEGER); +- switch (static_cast(value->GetInt())) { +- case BrowserSigninMode::kForced: +-#if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS) +- prefs->SetValue(prefs::kForceBrowserSignin, base::Value(true)); +-#endif +- [[fallthrough]]; +- case BrowserSigninMode::kEnabled: +- prefs->SetValue( -#if BUILDFLAG(IS_ANDROID) - // The new kSigninAllowedOnNextStartup pref is only used on Desktop. - // Keep the old kSigninAllowed pref for Android until the policy is - // fully deprecated in M71 and can be removed. - prefs::kSigninAllowed, -#else - prefs::kSigninAllowedOnNextStartup, +- prefs::kSigninAllowedOnNextStartup, -#endif - base::Value(true)); -+#endif - break; - case BrowserSigninMode::kDisabled: -+#if !BUILDFLAG(IS_ANDROID) - prefs->SetValue( +- base::Value(true)); +- break; +- case BrowserSigninMode::kDisabled: +- prefs->SetValue( -#if BUILDFLAG(IS_ANDROID) - // The new kSigninAllowedOnNextStartup pref is only used on Desktop. - // Keep the old kSigninAllowed pref for Android until the policy is - // fully deprecated in M71 and can be removed. - prefs::kSigninAllowed, -#else - prefs::kSigninAllowedOnNextStartup, +- prefs::kSigninAllowedOnNextStartup, -#endif - base::Value(false)); -+#endif - break; - } +- base::Value(false)); +- break; +- } } + + } // namespace policy --- a/chrome/browser/policy/configuration_policy_handler_list_factory.cc +++ b/chrome/browser/policy/configuration_policy_handler_list_factory.cc @@ -96,14 +96,11 @@ @@ -907,7 +937,7 @@ #include "components/spellcheck/spellcheck_buildflags.h" #include "components/sync/base/pref_names.h" #include "components/sync/driver/sync_policy_handler.h" -@@ -240,9 +237,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -241,9 +238,6 @@ const PolicyToPreferenceMapEntry kSimple { key::kDefaultPopupsSetting, prefs::kManagedDefaultPopupsSetting, base::Value::Type::INTEGER }, @@ -917,20 +947,17 @@ { key::kDomainReliabilityAllowed, domain_reliability::prefs::kDomainReliabilityAllowedByPolicy, base::Value::Type::BOOLEAN }, -@@ -265,12 +259,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -266,9 +260,6 @@ const PolicyToPreferenceMapEntry kSimple prefs::kPrintingEnabled, base::Value::Type::BOOLEAN }, #endif // BUILDFLAG(ENABLE_PRINTING) - { key::kSafeBrowsingEnabled, - prefs::kSafeBrowsingEnabled, -- base::Value::Type::BOOLEAN }, -- { key::kClientSidePhishingProtectionAllowed, -- prefs::kSafeBrowsingCsdPhishingProtectionAllowedByPolicy, - base::Value::Type::BOOLEAN }, { key::kSavingBrowserHistoryDisabled, prefs::kSavingBrowserHistoryDisabled, base::Value::Type::BOOLEAN }, -@@ -353,9 +341,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -354,9 +345,6 @@ const PolicyToPreferenceMapEntry kSimple { key::kAdsSettingForIntrusiveAdsSites, prefs::kManagedDefaultAdsSetting, base::Value::Type::INTEGER }, @@ -940,7 +967,7 @@ { key::kAllowCrossOriginAuthPrompt, prefs::kAllowCrossOriginAuthPrompt, base::Value::Type::BOOLEAN }, -@@ -555,15 +540,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -556,15 +544,6 @@ const PolicyToPreferenceMapEntry kSimple { key::kPasswordDismissCompromisedAlertEnabled, password_manager::prefs::kPasswordDismissCompromisedAlertEnabled, base::Value::Type::BOOLEAN }, @@ -956,17 +983,7 @@ #if BUILDFLAG(ENABLE_PDF) { key::kPdfLocalFileAccessAllowedForDomains, prefs::kPdfLocalFileAccessAllowedForDomains, -@@ -595,9 +571,6 @@ const PolicyToPreferenceMapEntry kSimple - { key::kQuicAllowed, - prefs::kQuicAllowed, - base::Value::Type::BOOLEAN }, -- { key::kRealTimeDownloadProtectionRequestAllowed, -- prefs::kRealTimeDownloadProtectionRequestAllowedByPolicy, -- base::Value::Type::BOOLEAN }, - { key::kRelaunchNotification, - prefs::kRelaunchNotification, - base::Value::Type::INTEGER }, -@@ -610,9 +583,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -608,9 +587,6 @@ const PolicyToPreferenceMapEntry kSimple { key::kRestoreOnStartupURLs, prefs::kURLsToRestoreOnStartup, base::Value::Type::LIST }, @@ -976,7 +993,7 @@ { key::kSameOriginTabCaptureAllowedByOrigins, prefs::kSameOriginTabCaptureAllowedByOrigins, base::Value::Type::LIST }, -@@ -727,9 +697,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -725,9 +701,6 @@ const PolicyToPreferenceMapEntry kSimple { key::kAdditionalDnsQueryTypesEnabled, prefs::kAdditionalDnsQueryTypesEnabled, base::Value::Type::BOOLEAN }, @@ -986,7 +1003,7 @@ { key::kForceGoogleSafeSearch, policy_prefs::kForceGoogleSafeSearch, base::Value::Type::BOOLEAN }, -@@ -1579,9 +1546,6 @@ const PolicyToPreferenceMapEntry kSimple +@@ -1571,9 +1544,6 @@ const PolicyToPreferenceMapEntry kSimple prefs::kImportDialogAutofillFormData, base::Value::Type::BOOLEAN }, @@ -996,7 +1013,23 @@ { key::kHardwareAccelerationModeEnabled, prefs::kHardwareAccelerationModeEnabled, base::Value::Type::BOOLEAN }, -@@ -2022,12 +1986,6 @@ std::unique_ptrAddHandler( std::make_unique(chrome_schema)); -@@ -2245,24 +2203,6 @@ std::unique_ptr> signin_legacy_policies; @@ -1037,8 +1070,8 @@ --- a/chrome/browser/prefs/browser_prefs.cc +++ b/chrome/browser/prefs/browser_prefs.cc @@ -140,7 +140,6 @@ + #include "components/privacy_sandbox/privacy_sandbox_prefs.h" #include "components/proxy_config/pref_proxy_config_tracker_impl.h" - #include "components/reading_list/core/reading_list_pref_names.h" #include "components/safe_browsing/content/common/file_type_policies_prefs.h" -#include "components/safe_browsing/core/common/safe_browsing_prefs.h" #include "components/search_engines/template_url_prepopulate_data.h" @@ -1052,7 +1085,7 @@ #include "components/signin/public/identity_manager/identity_manager.h" #include "components/site_engagement/content/site_engagement_service.h" #include "components/subresource_filter/content/browser/ruleset_service.h" -@@ -1164,7 +1162,6 @@ void RegisterLocalState(PrefRegistrySimp +@@ -1169,7 +1167,6 @@ void RegisterLocalState(PrefRegistrySimp PushMessagingServiceImpl::RegisterPrefs(registry); #endif RegisterScreenshotPrefs(registry); @@ -1060,7 +1093,7 @@ secure_origin_allowlist::RegisterPrefs(registry); segmentation_platform::SegmentationPlatformService::RegisterLocalStatePrefs( registry); -@@ -1429,8 +1426,6 @@ void RegisterProfilePrefs(user_prefs::Pr +@@ -1433,8 +1430,6 @@ void RegisterProfilePrefs(user_prefs::Pr PushMessagingAppIdentifier::RegisterProfilePrefs(registry); QuietNotificationPermissionUiState::RegisterProfilePrefs(registry); RegisterBrowserUserPrefs(registry); @@ -1069,7 +1102,7 @@ SearchPrefetchService::RegisterProfilePrefs(registry); blocked_content::SafeBrowsingTriggeredPopupBlocker::RegisterProfilePrefs( registry); -@@ -2088,18 +2083,6 @@ void MigrateObsoleteProfilePrefs(Profile +@@ -2042,18 +2037,6 @@ void MigrateObsoleteProfilePrefs(Profile #endif // BUILDFLAG(IS_ANDROID) profile_prefs->ClearPref(kOriginTrialPrefKey); @@ -1163,7 +1196,7 @@ #include "components/sync_preferences/pref_service_syncable.h" #include "content/public/browser/web_contents.h" #include "content/public/test/browser_test.h" -@@ -220,9 +219,6 @@ IN_PROC_BROWSER_TEST_F(PrefsFunctionalTe +@@ -216,9 +215,6 @@ IN_PROC_BROWSER_TEST_F(PrefsFunctionalTe prefetch::SetPreloadPagesState(prefs, prefetch::PreloadPagesState::kNoPreloading); @@ -1173,7 +1206,7 @@ EXPECT_TRUE(prefs->GetBoolean(embedder_support::kAlternateErrorPagesEnabled)); prefs->SetBoolean(embedder_support::kAlternateErrorPagesEnabled, false); -@@ -236,7 +232,6 @@ IN_PROC_BROWSER_TEST_F(PrefsFunctionalTe +@@ -232,7 +228,6 @@ IN_PROC_BROWSER_TEST_F(PrefsFunctionalTe EXPECT_EQ(prefetch::PreloadPagesState::kNoPreloading, prefetch::GetPreloadPagesState(*prefs)); @@ -1211,7 +1244,7 @@ #include "components/signin/public/identity_manager/account_info.h" #include "components/supervised_user/core/common/buildflags.h" #include "third_party/abseil-cpp/absl/types/optional.h" -@@ -490,7 +489,7 @@ bool ProfileAttributesEntry::IsUsingDefa +@@ -479,7 +478,7 @@ bool ProfileAttributesEntry::IsUsingDefa } bool ProfileAttributesEntry::IsSignedInWithCredentialProvider() const { @@ -1220,7 +1253,7 @@ } size_t ProfileAttributesEntry::GetAvatarIconIndex() const { -@@ -679,7 +678,6 @@ void ProfileAttributesEntry::SetLastDown +@@ -668,7 +667,6 @@ void ProfileAttributesEntry::SetLastDown } void ProfileAttributesEntry::SetSignedInWithCredentialProvider(bool value) { @@ -1230,7 +1263,7 @@ void ProfileAttributesEntry::LockForceSigninProfile(bool is_lock) { --- a/chrome/browser/profiles/profile_attributes_storage.cc +++ b/chrome/browser/profiles/profile_attributes_storage.cc -@@ -37,7 +37,6 @@ +@@ -36,7 +36,6 @@ #include "components/prefs/scoped_user_pref_update.h" #include "components/profile_metrics/state.h" #include "components/signin/public/base/persistent_repeating_timer.h" @@ -1238,18 +1271,20 @@ #include "components/signin/public/identity_manager/account_managed_status_finder.h" #include "content/public/browser/browser_task_traits.h" #include "content/public/browser/browser_thread.h" -@@ -391,8 +390,6 @@ void ProfileAttributesStorage::AddProfil - if (params.account_id.HasAccountIdKey()) - info.SetStringKey(ProfileAttributesEntry::kAccountIdKey, - params.account_id.GetAccountIdKey()); -- info.SetBoolKey(prefs::kSignedInWithCredentialProvider, -- params.is_signed_in_with_credential_provider); - attributes.Set(key, std::move(info)); +@@ -402,9 +401,7 @@ void ProfileAttributesStorage::AddProfil + params.profile_name, + /*include_check_for_legacy_profile_name*/ false)) + // Assume newly created profiles use a default avatar. +- .Set(ProfileAttributesEntry::kIsUsingDefaultAvatarKey, true) +- .Set(prefs::kSignedInWithCredentialProvider, +- params.is_signed_in_with_credential_provider); ++ .Set(ProfileAttributesEntry::kIsUsingDefaultAvatarKey, true); - ProfileAttributesEntry* entry = InitEntryWithKey(key, params.is_omitted); + if (params.account_id.HasAccountIdKey()) { + info.Set(ProfileAttributesEntry::kAccountIdKey, --- a/chrome/browser/profiles/profile_impl.cc +++ b/chrome/browser/profiles/profile_impl.cc -@@ -147,7 +147,6 @@ +@@ -148,7 +148,6 @@ #include "components/profile_metrics/browser_profile_type.h" #include "components/safe_search_api/safe_search_util.h" #include "components/security_interstitials/content/stateful_ssl_host_state_delegate.h" @@ -1259,7 +1294,7 @@ #include "components/spellcheck/spellcheck_buildflags.h" --- a/chrome/browser/profiles/profile_manager.cc +++ b/chrome/browser/profiles/profile_manager.cc -@@ -83,7 +83,6 @@ +@@ -84,7 +84,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" @@ -1267,7 +1302,7 @@ #include "components/signin/public/identity_manager/identity_manager.h" #include "components/signin/public/identity_manager/primary_account_mutator.h" #include "components/supervised_user/core/common/buildflags.h" -@@ -1906,8 +1905,7 @@ void ProfileManager::AddProfileToStorage +@@ -1910,8 +1909,7 @@ void ProfileManager::AddProfileToStorage entry->SetAuthInfo(account_info.gaia, username, is_consented_primary_account); @@ -1277,7 +1312,7 @@ #if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CHROMEOS_ASH) // Sign out if force-sign-in policy is enabled and profile is not signed -@@ -1957,14 +1955,13 @@ void ProfileManager::AddProfileToStorage +@@ -1968,14 +1966,13 @@ void ProfileManager::AddProfileToStorage init_params.is_ephemeral = IsForceEphemeralProfilesEnabled(profile); init_params.is_signed_in_with_credential_provider = @@ -1295,7 +1330,7 @@ prefs->ClearPref(DefaultSearchManager::kDefaultSearchProviderDataPrefName); --- a/chrome/browser/profiles/profile_window.cc +++ b/chrome/browser/profiles/profile_window.cc -@@ -38,7 +38,6 @@ +@@ -39,7 +39,6 @@ #include "chrome/common/url_constants.h" #include "components/flags_ui/pref_service_flags_storage.h" #include "components/prefs/pref_service.h" @@ -1305,7 +1340,7 @@ #include "content/public/browser/browser_thread.h" --- a/chrome/browser/profiles/profiles_state.cc +++ b/chrome/browser/profiles/profiles_state.cc -@@ -44,7 +44,6 @@ +@@ -45,7 +45,6 @@ #include #include "chrome/browser/profiles/gaia_info_update_service.h" #include "chrome/browser/profiles/gaia_info_update_service_factory.h" @@ -1315,7 +1350,7 @@ #if BUILDFLAG(IS_CHROMEOS_LACROS) --- a/chrome/browser/resources/settings/privacy_page/privacy_page.html +++ b/chrome/browser/resources/settings/privacy_page/privacy_page.html -@@ -669,7 +669,7 @@ +@@ -674,7 +674,7 @@ @@ -1443,8 +1478,8 @@

$i18n{advancedPageTitle}

-@@ -253,11 +154,3 @@ - button-aria-description="$i18n{opensInNewTab}" +@@ -247,11 +148,3 @@ + on-click="onAdvancedProtectionProgramLinkClick_" external> - --- a/chrome/browser/resources/settings/privacy_page/security_page.ts +++ b/chrome/browser/resources/settings/privacy_page/security_page.ts -@@ -212,21 +212,6 @@ export class SettingsSecurityPageElement +@@ -213,21 +213,6 @@ export class SettingsSecurityPageElement override ready() { super.ready(); @@ -1479,7 +1514,7 @@ } /** -@@ -276,8 +261,7 @@ export class SettingsSecurityPageElement +@@ -277,8 +262,7 @@ export class SettingsSecurityPageElement } private getDisabledExtendedSafeBrowsing_(): boolean { @@ -1615,7 +1650,7 @@ namespace safe_browsing { --- a/chrome/browser/safe_browsing/chrome_password_protection_service.cc +++ b/chrome/browser/safe_browsing/chrome_password_protection_service.cc -@@ -66,7 +66,6 @@ +@@ -67,7 +67,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" @@ -1623,7 +1658,7 @@ #include "components/safe_browsing/core/common/safebrowsing_constants.h" #include "components/safe_browsing/core/common/utils.h" #include "components/security_interstitials/content/unsafe_resource_util.h" -@@ -1214,14 +1213,6 @@ bool ChromePasswordProtectionService::Ha +@@ -1216,14 +1215,6 @@ bool ChromePasswordProtectionService::Ha } void ChromePasswordProtectionService::OnWarningTriggerChanged() { @@ -1638,7 +1673,7 @@ // Clears captured enterprise password hashes or GSuite sync password hashes. password_manager::PasswordReuseManager* reuse_manager = GetPasswordReuseManager(); -@@ -1391,7 +1382,7 @@ PrefService* ChromePasswordProtectionSer +@@ -1393,7 +1384,7 @@ PrefService* ChromePasswordProtectionSer } bool ChromePasswordProtectionService::IsSafeBrowsingEnabled() { @@ -1647,7 +1682,7 @@ } bool ChromePasswordProtectionService::IsExtendedReporting() { -@@ -1411,39 +1402,7 @@ bool ChromePasswordProtectionService::Is +@@ -1413,39 +1404,7 @@ bool ChromePasswordProtectionService::Is bool ChromePasswordProtectionService::IsPingingEnabled( LoginReputationClientRequest::TriggerType trigger_type, ReusedPasswordAccountType password_type) { @@ -1688,7 +1723,7 @@ } RequestOutcome ChromePasswordProtectionService::GetPingNotSentReason( -@@ -1666,23 +1625,6 @@ MaybeCreateCommitDeferringCondition( +@@ -1668,23 +1627,6 @@ MaybeCreateCommitDeferringCondition( : nullptr; } @@ -2165,15 +2200,30 @@ #include "google_apis/google_api_keys.h" #if BUILDFLAG(IS_CHROMEOS_ASH) -@@ -104,7 +103,6 @@ AccountConsistencyModeManager::AccountCo - // pref. - bool signin_allowed = IsDiceSignInAllowed(entry) && - prefs->GetBoolean(prefs::kSigninAllowedOnNextStartup); +@@ -99,14 +98,6 @@ AccountConsistencyModeManager::AccountCo + ->GetProfileAttributesStorage() + .GetProfileAttributesWithPath(profile_->GetPath()) + : nullptr; +- PrefService* prefs = profile_->GetPrefs(); +- // Propagate settings changes from the previous launch to the signin-allowed +- // pref. +- bool signin_allowed = IsDiceSignInAllowed(entry) && +- prefs->GetBoolean(prefs::kSigninAllowedOnNextStartup); - prefs->SetBoolean(prefs::kSigninAllowed, signin_allowed); - - UMA_HISTOGRAM_BOOLEAN("Signin.SigninAllowed", signin_allowed); +- +- UMA_HISTOGRAM_BOOLEAN("Signin.SigninAllowed", signin_allowed); #endif -@@ -201,16 +199,7 @@ AccountConsistencyModeManager::ComputeAc + + account_consistency_ = ComputeAccountConsistencyMethod(profile_); +@@ -119,7 +110,6 @@ AccountConsistencyModeManager::~AccountC + // static + void AccountConsistencyModeManager::RegisterProfilePrefs( + user_prefs::PrefRegistrySyncable* registry) { +- registry->RegisterBooleanPref(prefs::kSigninAllowedOnNextStartup, true); + } + + // static +@@ -202,16 +192,7 @@ AccountConsistencyModeManager::ComputeAc return AccountConsistencyMethod::kMirror; #endif @@ -2192,7 +2242,7 @@ } --- a/chrome/browser/signin/account_consistency_mode_manager_unittest.cc +++ b/chrome/browser/signin/account_consistency_mode_manager_unittest.cc -@@ -19,7 +19,6 @@ +@@ -20,7 +20,6 @@ #include "components/prefs/testing_pref_store.h" #include "components/signin/public/base/account_consistency_method.h" #include "components/signin/public/base/signin_buildflags.h" @@ -2258,8 +2308,8 @@ #include "components/user_manager/user_manager.h" --- a/chrome/browser/signin/dice_browsertest.cc +++ b/chrome/browser/signin/dice_browsertest.cc -@@ -57,7 +57,6 @@ - #include "components/signin/public/base/consent_level.h" +@@ -59,7 +59,6 @@ + #include "components/signin/public/base/signin_buildflags.h" #include "components/signin/public/base/signin_client.h" #include "components/signin/public/base/signin_metrics.h" -#include "components/signin/public/base/signin_pref_names.h" @@ -2432,7 +2482,7 @@ #include "components/signin/public/identity_manager/identity_manager.h" --- a/chrome/browser/signin/signin_util_win.cc +++ b/chrome/browser/signin/signin_util_win.cc -@@ -34,7 +34,6 @@ +@@ -35,7 +35,6 @@ #include "components/prefs/pref_service.h" #include "components/signin/core/browser/about_signin_internals.h" #include "components/signin/public/base/signin_metrics.h" @@ -2440,8 +2490,8 @@ #include "components/signin/public/identity_manager/accounts_mutator.h" #include "components/signin/public/identity_manager/identity_manager.h" -@@ -134,9 +133,6 @@ void ImportCredentialsFromProvider(Profi - account_id, nullptr, profile)); +@@ -139,9 +138,6 @@ void ImportCredentialsFromProvider(Profi + account_id, profile)); } } - @@ -2450,7 +2500,7 @@ } // Extracts the |cred_provider_gaia_id| and |cred_provider_email| for the user -@@ -311,20 +307,7 @@ bool ReauthWithCredentialProviderIfPossi +@@ -316,20 +312,7 @@ bool ReauthWithCredentialProviderIfPossi // - The profile is marked as having been signed in with a system credential. // - The profile is already signed in. // - The profile is in an auth error state. @@ -2540,7 +2590,7 @@ --- a/chrome/browser/ssl/ssl_browsertest.cc +++ b/chrome/browser/ssl/ssl_browsertest.cc -@@ -92,7 +92,6 @@ +@@ -93,7 +93,6 @@ #include "components/policy/policy_constants.h" #include "components/prefs/testing_pref_service.h" #include "components/safe_browsing/core/common/features.h" @@ -2558,35 +2608,6 @@ #include "components/security_interstitials/content/content_metrics_helper.h" #include "components/security_interstitials/content/settings_page_helper.h" #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 -@@ -23,7 +23,6 @@ - #include "components/policy/core/common/policy_pref_names.h" - #include "components/prefs/pref_value_map.h" - #include "components/safe_search_api/safe_search_util.h" --#include "components/signin/public/base/signin_pref_names.h" - #include "components/signin/public/base/signin_switches.h" - #include "components/supervised_user/core/browser/supervised_user_settings_service.h" - #include "components/supervised_user/core/browser/supervised_user_url_filter.h" -@@ -60,10 +59,6 @@ SupervisedUserSettingsPrefMappingEntry k - supervised_user::kSafeSitesEnabled, - prefs::kSupervisedUserSafeSites, - }, -- { -- supervised_user::kSigninAllowed, -- prefs::kSigninAllowed, -- }, - }; - - } // namespace -@@ -126,7 +121,6 @@ void SupervisedUserPrefStore::OnNewSetti - prefs_->SetInteger(policy::policy_prefs::kForceYouTubeRestrict, - safe_search_api::YOUTUBE_RESTRICT_MODERATE); - prefs_->SetBoolean(policy::policy_prefs::kHideWebStoreIcon, false); -- prefs_->SetBoolean(prefs::kSigninAllowed, false); - prefs_->SetBoolean(feed::prefs::kEnableSnippets, false); - - #if BUILDFLAG(IS_ANDROID) --- a/chrome/browser/ui/autofill/payments/save_card_bubble_controller_impl.cc +++ b/chrome/browser/ui/autofill/payments/save_card_bubble_controller_impl.cc @@ -39,7 +39,6 @@ @@ -2599,7 +2620,7 @@ #include "components/sync/driver/sync_service.h" --- a/chrome/browser/ui/browser_command_controller.cc +++ b/chrome/browser/ui/browser_command_controller.cc -@@ -64,7 +64,6 @@ +@@ -69,7 +69,6 @@ #include "components/sessions/content/session_tab_helper.h" #include "components/sessions/core/tab_restore_service.h" #include "components/signin/public/base/signin_buildflags.h" @@ -2607,7 +2628,7 @@ #include "content/public/browser/native_web_keyboard_event.h" #include "content/public/browser/navigation_controller.h" #include "content/public/browser/navigation_entry.h" -@@ -222,10 +221,6 @@ BrowserCommandController::BrowserCommand +@@ -227,10 +226,6 @@ BrowserCommandController::BrowserCommand &BrowserCommandController::UpdateCommandsForFullscreenMode, base::Unretained(this))); #endif @@ -2618,7 +2639,7 @@ InitCommandState(); -@@ -1667,7 +1662,7 @@ void BrowserCommandController::UpdateSho +@@ -1722,7 +1717,7 @@ void BrowserCommandController::UpdateSho return; command_updater_.UpdateCommandEnabled( @@ -2629,7 +2650,7 @@ void BrowserCommandController::UpdateReloadStopState(bool is_loading, --- a/chrome/browser/ui/browser_command_controller.h +++ b/chrome/browser/ui/browser_command_controller.h -@@ -211,7 +211,6 @@ class BrowserCommandController : public +@@ -218,7 +218,6 @@ class BrowserCommandController : public PrefChangeRegistrar profile_pref_registrar_; PrefChangeRegistrar local_pref_registrar_; @@ -2639,10 +2660,10 @@ bool is_locked_fullscreen_ = false; --- a/chrome/browser/ui/browser_command_controller_unittest.cc +++ b/chrome/browser/ui/browser_command_controller_unittest.cc -@@ -29,7 +29,6 @@ - #include "chrome/test/base/testing_browser_process.h" +@@ -30,7 +30,6 @@ #include "chrome/test/base/testing_profile_manager.h" #include "components/performance_manager/public/features.h" + #include "components/policy/core/common/policy_pref_names.h" -#include "components/signin/public/base/signin_pref_names.h" #include "content/public/browser/native_web_keyboard_event.h" #include "ui/events/keycodes/dom/dom_code.h" @@ -2657,7 +2678,7 @@ #include "components/signin/public/identity_manager/identity_manager.h" #endif -@@ -614,13 +613,7 @@ void ShowBrowserSignin(Browser* browser, +@@ -626,13 +625,7 @@ void ShowBrowserSignin(Browser* browser, void ShowBrowserSigninOrSettings(Browser* browser, signin_metrics::AccessPoint access_point) { @@ -2710,15 +2731,15 @@ // this will not include content setting exceptions set via permission --- a/chrome/browser/ui/startup/first_run_service.cc +++ b/chrome/browser/ui/startup/first_run_service.cc -@@ -31,7 +31,6 @@ +@@ -33,7 +33,6 @@ #include "components/prefs/pref_registry_simple.h" #include "components/prefs/pref_service.h" #include "components/signin/public/base/consent_level.h" -#include "components/signin/public/base/signin_pref_names.h" + #include "components/signin/public/identity_manager/account_info.h" #include "components/signin/public/identity_manager/identity_manager.h" #include "content/public/browser/browser_context.h" - -@@ -106,51 +105,7 @@ enum class PolicyEffect { +@@ -109,51 +108,7 @@ enum class PolicyEffect { }; PolicyEffect ComputeDevicePolicyEffect(Profile& profile) { @@ -2770,7 +2791,7 @@ + return PolicyEffect::kDisabled; } - // These values are persisted to logs. Entries should not be renumbered and + void SetFirstRunFinished(FirstRunService::FinishedReason reason) { --- a/chrome/browser/ui/views/page_info/page_info_bubble_view_sync_browsertest.cc +++ b/chrome/browser/ui/views/page_info/page_info_bubble_view_sync_browsertest.cc @@ -19,7 +19,6 @@ @@ -2874,7 +2895,7 @@ #include "content/public/browser/render_process_host.h" --- a/chrome/browser/ui/webui/browser_command/browser_command_handler.cc +++ b/chrome/browser/ui/webui/browser_command/browser_command_handler.cc -@@ -24,7 +24,6 @@ +@@ -25,7 +25,6 @@ #include "components/performance_manager/public/features.h" #include "components/safe_browsing/content/browser/web_ui/safe_browsing_ui.h" #include "components/safe_browsing/core/common/safe_browsing_policy_handler.h" @@ -2882,7 +2903,7 @@ #include "components/search/ntp_features.h" #include "components/user_education/common/tutorial_identifier.h" #include "components/user_education/common/tutorial_service.h" -@@ -73,13 +72,6 @@ void BrowserCommandHandler::CanExecuteCo +@@ -74,13 +73,6 @@ void BrowserCommandHandler::CanExecuteCo case Command::kOpenSafetyCheck: can_execute = !chrome::enterprise_util::IsBrowserManaged(profile_); break; @@ -2909,8 +2930,8 @@ --- a/chrome/browser/ui/webui/history/history_ui.cc +++ b/chrome/browser/ui/webui/history/history_ui.cc @@ -44,7 +44,6 @@ - #include "components/image_service/image_service.h" - #include "components/image_service/image_service_handler.h" + #include "components/page_image_service/image_service.h" + #include "components/page_image_service/image_service_handler.h" #include "components/prefs/pref_service.h" -#include "components/signin/public/base/signin_pref_names.h" #include "components/signin/public/identity_manager/identity_manager.h" @@ -2933,8 +2954,8 @@ #include "chrome/common/pref_names.h" -#include "components/safe_browsing/core/common/safe_browsing_prefs.h" #include "components/strings/grit/components_strings.h" + #include "components/supervised_user/core/common/pref_names.h" #include "content/public/browser/storage_partition.h" - #include "content/public/browser/web_contents.h" --- a/chrome/browser/ui/webui/profile_info_watcher.cc +++ b/chrome/browser/ui/webui/profile_info_watcher.cc @@ -12,7 +12,6 @@ @@ -3010,7 +3031,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 -@@ -74,7 +74,6 @@ +@@ -76,7 +76,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" @@ -3018,7 +3039,7 @@ #include "components/services/screen_ai/buildflags/buildflags.h" #include "components/signin/public/base/signin_buildflags.h" #include "components/strings/grit/components_chromium_strings.h" -@@ -1717,44 +1716,6 @@ void AddPrivacyStrings(content::WebUIDat +@@ -1753,44 +1752,6 @@ void AddPrivacyStrings(content::WebUIDat {"clearBrowsingData", IDS_SETTINGS_CLEAR_BROWSING_DATA}, {"clearBrowsingDataDescription", IDS_SETTINGS_CLEAR_DATA_DESCRIPTION}, {"titleAndCount", IDS_SETTINGS_TITLE_AND_COUNT}, @@ -3063,7 +3084,7 @@ {"safeBrowsingSectionLabel", IDS_SETTINGS_SAFEBROWSING_SECTION_LABEL}, {"syncAndGoogleServicesPrivacyDescription", IDS_SETTINGS_SYNC_AND_GOOGLE_SERVICES_PRIVACY_DESC_UNIFIED_CONSENT}, -@@ -3336,11 +3297,6 @@ void AddSiteSettingsStrings(content::Web +@@ -3403,11 +3364,6 @@ void AddSiteSettingsStrings(content::Web html_source->AddLocalizedStrings(kSensorsLocalizedStrings); html_source->AddBoolean( @@ -3077,7 +3098,7 @@ --- a/chrome/browser/ui/webui/settings/settings_ui.cc +++ b/chrome/browser/ui/webui/settings/settings_ui.cc -@@ -81,7 +81,6 @@ +@@ -83,7 +83,6 @@ #include "components/prefs/pref_service.h" #include "components/privacy_sandbox/privacy_sandbox_features.h" #include "components/safe_browsing/core/common/features.h" @@ -3085,7 +3106,7 @@ #include "components/sync/base/features.h" #include "content/public/browser/url_data_source.h" #include "content/public/browser/web_contents.h" -@@ -277,9 +276,7 @@ SettingsUI::SettingsUI(content::WebUI* w +@@ -288,9 +287,7 @@ SettingsUI::SettingsUI(content::WebUI* w } #endif // BUILDFLAG(IS_WIN) && BUILDFLAG(GOOGLE_CHROME_BRANDING) @@ -3096,6 +3117,37 @@ html_source->AddBoolean( "turnOffSyncAllowedForManagedProfiles", +--- a/chrome/browser/ui/webui/side_panel/companion/signin_delegate.cc ++++ b/chrome/browser/ui/webui/side_panel/companion/signin_delegate.cc +@@ -12,7 +12,6 @@ + #include "components/prefs/pref_service.h" + #include "components/signin/public/base/consent_level.h" + #include "components/signin/public/base/signin_metrics.h" +-#include "components/signin/public/base/signin_pref_names.h" + #include "components/signin/public/identity_manager/identity_manager.h" + + namespace companion { +@@ -34,20 +33,6 @@ SigninDelegateImpl::SigninDelegateImpl(P + SigninDelegateImpl::~SigninDelegateImpl() = default; + + bool SigninDelegateImpl::AllowedSignin() { +- if (!profile_->GetPrefs()->GetBoolean(prefs::kSigninAllowed)) { +- return false; +- } +- +- if (!SyncServiceFactory::IsSyncAllowed(profile_)) { +- return false; +- } +- +- // Check if already signed in. +- auto* identity_manager = IdentityManagerFactory::GetForProfile(profile_); +- if (identity_manager->HasPrimaryAccount(signin::ConsentLevel::kSignin)) { +- return false; +- } +- + return false; + } + --- a/chrome/browser/ui/webui/signin/inline_login_handler.cc +++ b/chrome/browser/ui/webui/signin/inline_login_handler.cc @@ -28,7 +28,6 @@ @@ -3194,7 +3246,7 @@ #include "components/signin/public/identity_manager/account_managed_status_finder.h" #include "components/signin/public/identity_manager/accounts_mutator.h" #include "components/signin/public/identity_manager/identity_manager.h" -@@ -262,8 +261,7 @@ void TurnSyncOnHelper::TurnSyncOnInterna +@@ -267,8 +266,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). @@ -3270,6 +3322,45 @@ "searchSuggestEnabled": { "$ref": "types.ChromeSetting", "value": ["searchSuggestEnabled", {"type":"boolean"}], +--- a/components/feed/core/v2/feed_stream.cc ++++ b/components/feed/core/v2/feed_stream.cc +@@ -64,7 +64,6 @@ + #include "components/feed/feed_feature_list.h" + #include "components/offline_pages/task/closure_task.h" + #include "components/prefs/pref_service.h" +-#include "components/signin/public/base/signin_pref_names.h" + + namespace feed { + namespace { +@@ -172,9 +171,6 @@ FeedStream::FeedStream(RefreshTaskSchedu + articles_list_visible_.Init(prefs::kArticlesListVisible, profile_prefs, + preference_change_callback); + has_stored_data_.Init(feed::prefs::kHasStoredData, profile_prefs); +- signin_allowed_.Init( +- ::prefs::kSigninAllowed, profile_prefs, +- base::BindRepeating(&FeedStream::ClearAll, GetWeakPtr())); + web_feed_subscription_coordinator_ = + std::make_unique(delegate, this); + +--- a/components/feed/core/v2/public/feed_service.cc ++++ b/components/feed/core/v2/public/feed_service.cc +@@ -31,7 +31,6 @@ + #include "components/history/core/browser/history_types.h" + #include "components/prefs/pref_service.h" + #include "components/signin/public/base/consent_level.h" +-#include "components/signin/public/base/signin_pref_names.h" + #include "components/signin/public/identity_manager/identity_manager.h" + #include "net/base/network_change_notifier.h" + #include "services/network/public/cpp/shared_url_loader_factory.h" +@@ -169,7 +168,7 @@ class FeedService::StreamDelegateImpl : + // Returns if signin is allowed on Android. Return true on other platform so + // behavior is unchanged there. + bool IsSigninAllowed() override { +- return profile_prefs_->GetBoolean(::prefs::kSigninAllowed); ++ return false; + } + bool IsSyncOn() override { + return identity_manager_->HasPrimaryAccount(signin::ConsentLevel::kSync); --- a/components/lookalikes/core/safety_tips_config.cc +++ b/components/lookalikes/core/safety_tips_config.cc @@ -5,6 +5,7 @@ @@ -3290,7 +3381,7 @@ #include "services/network/public/cpp/shared_url_loader_factory.h" namespace password_manager { -@@ -163,28 +162,7 @@ void LeakDetectionDelegate::OnError(Leak +@@ -164,28 +163,7 @@ void LeakDetectionDelegate::OnError(Leak bool CanStartLeakCheck(const PrefService& prefs, PasswordManagerClient* client) { @@ -3494,15 +3585,15 @@ #include "content/public/test/test_renderer_host.h" --- a/components/safe_browsing/content/browser/triggers/trigger_manager.cc +++ b/components/safe_browsing/content/browser/triggers/trigger_manager.cc -@@ -13,7 +13,6 @@ - #include "components/safe_browsing/content/browser/base_ui_manager.h" +@@ -14,7 +14,6 @@ #include "components/safe_browsing/content/browser/threat_details.h" + #include "components/safe_browsing/content/browser/web_contents_key.h" #include "components/safe_browsing/core/common/features.h" -#include "components/safe_browsing/core/common/safe_browsing_prefs.h" #include "components/security_interstitials/core/unsafe_resource.h" #include "content/public/browser/browser_context.h" #include "content/public/browser/browser_thread.h" -@@ -86,16 +85,16 @@ SBErrorOptions TriggerManager::GetSBErro +@@ -87,16 +86,16 @@ SBErrorOptions TriggerManager::GetSBErro const PrefService& pref_service, content::WebContents* web_contents) { return SBErrorOptions(/*is_main_frame_load_blocked=*/false, @@ -3606,7 +3697,7 @@ #include "content/public/browser/global_routing_id.h" #include "services/network/public/mojom/cookie_manager.mojom.h" #if BUILDFLAG(FULL_SAFE_BROWSING) -@@ -1575,17 +1574,7 @@ std::string SerializeHitReport(const Hit +@@ -1636,17 +1635,7 @@ std::string SerializeHitReport(const Hit } hit_report_dict.Set("threat_source", threat_source); std::string extended_reporting_level; @@ -3624,7 +3715,7 @@ hit_report_dict.Set("extended_reporting_level", extended_reporting_level); hit_report_dict.Set("is_enhanced_protection", hit_report.is_enhanced_protection); -@@ -2481,18 +2470,13 @@ void SafeBrowsingUIHandler::GetPrefs(con +@@ -2542,18 +2531,13 @@ void SafeBrowsingUIHandler::GetPrefs(con AllowJavascript(); DCHECK(!args.empty()); std::string callback_id = args[0].GetString(); @@ -3674,7 +3765,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 -@@ -288,10 +288,9 @@ const V4LocalDatabaseManager* +@@ -293,10 +293,9 @@ const V4LocalDatabaseManager* scoped_refptr V4LocalDatabaseManager::Create( const base::FilePath& base_path, scoped_refptr ui_task_runner, @@ -3687,7 +3778,7 @@ std::move(io_task_runner), nullptr)); } -@@ -314,14 +313,12 @@ void V4LocalDatabaseManager::CollectData +@@ -319,14 +318,12 @@ void V4LocalDatabaseManager::CollectData V4LocalDatabaseManager::V4LocalDatabaseManager( const base::FilePath& base_path, @@ -3702,7 +3793,7 @@ list_infos_(GetListInfos()), task_runner_(task_runner_for_tests ? task_runner_for_tests -@@ -1064,8 +1061,7 @@ void V4LocalDatabaseManager::SetupUpdate +@@ -1073,8 +1070,7 @@ void V4LocalDatabaseManager::SetupUpdate weak_factory_.GetWeakPtr()); v4_update_protocol_manager_ = V4UpdateProtocolManager::Create( @@ -4106,7 +4197,7 @@ ScheduleNextLoggingAfterInterval(base::Days(kMetricsLoggingIntervalDay)); } -@@ -104,88 +84,16 @@ void SafeBrowsingMetricsCollector::Sched +@@ -104,76 +84,16 @@ void SafeBrowsingMetricsCollector::Sched } void SafeBrowsingMetricsCollector::LogDailyOptInMetrics() { @@ -4133,21 +4224,11 @@ - if (IsBypassEventType(event_type)) { - int bypass_count = GetEventCountSince(user_state, event_type, - base::Time::Now() - base::Days(28)); -- base::UmaHistogramCounts100("SafeBrowsing.Daily.BypassCountLast28Days." + -- GetUserStateMetricSuffix(user_state) + -- "." + -- GetEventTypeMetricSuffix(event_type), -- bypass_count); - total_bypass_count += bypass_count; - } - if (IsSecuritySensitiveEventType(event_type)) { - int security_sensitive_event_count = GetEventCountSince( - user_state, event_type, base::Time::Now() - base::Days(28)); -- base::UmaHistogramCounts100( -- "SafeBrowsing.Daily.SecuritySensitiveCountLast28Days." + -- GetUserStateMetricSuffix(user_state) + "." + -- GetEventTypeMetricSuffix(event_type), -- security_sensitive_event_count); - total_security_sensitive_event_count += security_sensitive_event_count; - } - } @@ -4165,22 +4246,20 @@ - ScopedDictPrefUpdate update(pref_service_, - prefs::kSafeBrowsingEventTimestamps); - base::Value::Dict& mutable_state_dict = update.Get(); -- -- // 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); +- size_t total_size = 0; - - for (auto state_map : mutable_state_dict) { - for (auto event_map : state_map.second.GetDict()) { +- total_size += event_map.second.GetList().size(); - event_map.second.GetList().EraseIf([&](const auto& timestamp) { - return base::Time::Now() - PrefValueToTime(timestamp) > - base::Days(kEventMaxDurationDay); - }); - } - } +- +- base::UmaHistogramCounts1000( +- "SafeBrowsing.MetricsCollectorEventCountAtCleanup", total_size); } void SafeBrowsingMetricsCollector::AddSafeBrowsingEventToPref( @@ -4195,7 +4274,7 @@ } void SafeBrowsingMetricsCollector::AddBypassEventToPref( -@@ -222,15 +130,7 @@ absl::optional +@@ -210,15 +130,7 @@ absl::optional SafeBrowsingMetricsCollector::GetLatestEventTimestamp( EventTypeFilter event_type_filter) { // Events are not logged when Safe Browsing is disabled. @@ -4211,7 +4290,7 @@ } absl::optional -@@ -242,45 +142,15 @@ SafeBrowsingMetricsCollector::GetLatestS +@@ -230,45 +142,15 @@ SafeBrowsingMetricsCollector::GetLatestS void SafeBrowsingMetricsCollector::AddSafeBrowsingEventAndUserStateToPref( UserState user_state, EventType event_type) { @@ -4258,7 +4337,7 @@ } absl::optional -@@ -441,20 +311,7 @@ int SafeBrowsingMetricsCollector::GetEve +@@ -397,20 +279,7 @@ int SafeBrowsingMetricsCollector::GetEve } UserState SafeBrowsingMetricsCollector::GetUserState() { @@ -4290,7 +4369,7 @@ #include "components/signin/public/identity_manager/access_token_info.h" #include "components/signin/public/identity_manager/identity_manager.h" #include "components/signin/public/identity_manager/primary_account_access_token_fetcher.h" -@@ -238,15 +237,6 @@ TailoredSecurityService::TailoredSecurit +@@ -237,15 +236,6 @@ TailoredSecurityService::TailoredSecurit signin::IdentityManager* identity_manager, PrefService* prefs) : identity_manager_(identity_manager), prefs_(prefs) { @@ -4306,7 +4385,7 @@ } TailoredSecurityService::~TailoredSecurityService() { -@@ -407,24 +397,6 @@ void TailoredSecurityService::MaybeNotif +@@ -406,24 +396,6 @@ void TailoredSecurityService::MaybeNotif return; } @@ -4865,7 +4944,7 @@ #include "components/signin/public/identity_manager/primary_account_mutator.h" --- a/components/signin/internal/identity_manager/account_tracker_service.cc +++ b/components/signin/internal/identity_manager/account_tracker_service.cc -@@ -35,7 +35,6 @@ +@@ -36,7 +36,6 @@ #include "components/prefs/scoped_user_pref_update.h" #include "components/signin/internal/identity_manager/account_capabilities_constants.h" #include "components/signin/internal/identity_manager/account_info_util.h" @@ -4873,7 +4952,7 @@ #include "components/signin/public/base/signin_switches.h" #include "components/signin/public/identity_manager/account_capabilities.h" #include "components/signin/public/identity_manager/tribool.h" -@@ -196,11 +195,6 @@ AccountTrackerService::~AccountTrackerSe +@@ -197,11 +196,6 @@ AccountTrackerService::~AccountTrackerSe // static void AccountTrackerService::RegisterPrefs(PrefRegistrySimple* registry) { @@ -4885,7 +4964,7 @@ } void AccountTrackerService::Initialize(PrefService* pref_service, -@@ -515,14 +509,12 @@ AccountTrackerService::ComputeNewMigrati +@@ -518,14 +512,12 @@ AccountTrackerService::ComputeNewMigrati void AccountTrackerService::SetMigrationState(AccountIdMigrationState state) { DCHECK(state != MIGRATION_DONE || AreAllAccountsMigrated()) << "state: " << state << ", accounts = " << AccountsToString(accounts_); @@ -4901,7 +4980,7 @@ } #endif // BUILDFLAG(IS_CHROMEOS_ASH) -@@ -580,26 +572,6 @@ void AccountTrackerService::OnAccountIma +@@ -583,26 +575,6 @@ void AccountTrackerService::OnAccountIma const CoreAccountId& account_id, const std::string& image_url_with_size, bool success) { @@ -4928,7 +5007,7 @@ } void AccountTrackerService::RemoveAccountImageFromDisk( -@@ -611,179 +583,16 @@ void AccountTrackerService::RemoveAccoun +@@ -614,179 +586,16 @@ void AccountTrackerService::RemoveAccoun } void AccountTrackerService::LoadFromPrefs() { @@ -5120,7 +5199,7 @@ #include "components/signin/public/identity_manager/account_capabilities.h" --- a/components/signin/internal/identity_manager/gaia_cookie_manager_service.cc +++ b/components/signin/internal/identity_manager/gaia_cookie_manager_service.cc -@@ -29,7 +29,6 @@ +@@ -31,7 +31,6 @@ #include "components/signin/internal/identity_manager/ubertoken_fetcher_impl.h" #include "components/signin/public/base/signin_buildflags.h" #include "components/signin/public/base/signin_metrics.h" @@ -5128,7 +5207,7 @@ #include "components/signin/public/identity_manager/set_accounts_in_cookie_result.h" #include "google_apis/credentials_mode.h" #include "google_apis/gaia/gaia_constants.h" -@@ -455,9 +454,7 @@ GaiaCookieManagerService::GaiaCookieMana +@@ -463,9 +462,7 @@ GaiaCookieManagerService::GaiaCookieMana listAccountsUnexpectedServerResponseRetried_(false), external_cc_result_fetched_(false), list_accounts_stale_(true) { @@ -5139,7 +5218,7 @@ if (!gaia_cookie_last_list_accounts_data.empty()) { if (!gaia::ParseListAccountsData(gaia_cookie_last_list_accounts_data, -@@ -481,8 +478,6 @@ GaiaCookieManagerService::~GaiaCookieMan +@@ -489,8 +486,6 @@ GaiaCookieManagerService::~GaiaCookieMan // static void GaiaCookieManagerService::RegisterPrefs(PrefRegistrySimple* registry) { @@ -5148,7 +5227,7 @@ } void GaiaCookieManagerService::InitCookieListener() { -@@ -898,16 +893,12 @@ void GaiaCookieManagerService::OnListAcc +@@ -922,16 +917,12 @@ void GaiaCookieManagerService::OnListAcc &signed_out_accounts_)) { listed_accounts_.clear(); signed_out_accounts_.clear(); @@ -5391,7 +5470,7 @@ #include "components/sync_preferences/testing_pref_service_syncable.h" --- a/components/signin/public/base/BUILD.gn +++ b/components/signin/public/base/BUILD.gn -@@ -36,8 +36,6 @@ static_library("base") { +@@ -37,8 +37,6 @@ static_library("base") { "signin_client.h", "signin_metrics.cc", "signin_metrics.h", @@ -5403,7 +5482,7 @@ --- a/components/signin/public/base/device_id_helper.cc +++ b/components/signin/public/base/device_id_helper.cc @@ -9,7 +9,6 @@ - #include "base/guid.h" + #include "base/uuid.h" #include "build/chromeos_buildflags.h" #include "components/prefs/pref_service.h" -#include "components/signin/public/base/signin_pref_names.h" @@ -5537,6 +5616,35 @@ #include "components/signin/public/base/signin_switches.h" #include "components/signin/public/identity_manager/identity_test_environment.h" #include "components/signin/public/identity_manager/identity_test_utils.h" +--- a/components/supervised_user/core/browser/supervised_user_pref_store.cc ++++ b/components/supervised_user/core/browser/supervised_user_pref_store.cc +@@ -22,7 +22,6 @@ + #include "components/policy/core/common/policy_pref_names.h" + #include "components/prefs/pref_value_map.h" + #include "components/safe_search_api/safe_search_util.h" +-#include "components/signin/public/base/signin_pref_names.h" + #include "components/signin/public/base/signin_switches.h" + #include "components/supervised_user/core/browser/supervised_user_settings_service.h" + #include "components/supervised_user/core/browser/supervised_user_url_filter.h" +@@ -59,10 +58,6 @@ SupervisedUserSettingsPrefMappingEntry k + supervised_user::kSafeSitesEnabled, + prefs::kSupervisedUserSafeSites, + }, +- { +- supervised_user::kSigninAllowed, +- prefs::kSigninAllowed, +- }, + }; + + } // namespace +@@ -124,7 +119,6 @@ void SupervisedUserPrefStore::OnNewSetti + prefs_->SetInteger(policy::policy_prefs::kForceYouTubeRestrict, + safe_search_api::YOUTUBE_RESTRICT_MODERATE); + prefs_->SetBoolean(policy::policy_prefs::kHideWebStoreIcon, false); +- prefs_->SetBoolean(prefs::kSigninAllowed, false); + prefs_->SetBoolean(feed::prefs::kEnableSnippets, false); + + #if BUILDFLAG(IS_ANDROID) --- a/components/sync_preferences/common_syncable_prefs_database.cc +++ b/components/sync_preferences/common_syncable_prefs_database.cc @@ -20,7 +20,6 @@ @@ -5547,7 +5655,7 @@ #include "components/search_engines/search_engines_pref_names.h" #include "components/translate/core/browser/translate_pref_names.h" #include "components/translate/core/browser/translate_prefs.h" -@@ -84,9 +83,7 @@ enum { +@@ -88,9 +87,7 @@ enum { kSyncedLastTimePasswordCheckCompleted = 43, kWasAutoSignInFirstRunExperienceShown = 44, kCanMakePaymentEnabled = 45, @@ -5557,7 +5665,7 @@ kSyncedDefaultSearchProviderGUID = 49, kPrefForceTriggerTranslateCount = 50, kPrefNeverPromptSitesDeprecated = 51, -@@ -216,13 +213,8 @@ const auto& SyncablePreferences() { +@@ -221,13 +218,8 @@ const auto& SyncablePreferences() { syncer::PRIORITY_PREFERENCES}}, {payments::kCanMakePaymentEnabled, {syncable_prefs_ids::kCanMakePaymentEnabled, syncer::PREFERENCES}}, @@ -5568,12 +5676,12 @@ {syncable_prefs_ids::kCookieControlsMode, syncer::PREFERENCES}}, - {prefs::kSafeBrowsingEnabled, - {syncable_prefs_ids::kSafeBrowsingEnabled, syncer::PREFERENCES}}, - {prefs::kSyncedDefaultSearchProviderGUID, - {syncable_prefs_ids::kSyncedDefaultSearchProviderGUID, - syncer::PREFERENCES}}, + // TODO(crbug.com/1434910): Maybe move to chrome_syncable_prefs_database.cc, + // see bug. + #if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_IOS) --- a/tools/metrics/histograms/enums.xml +++ b/tools/metrics/histograms/enums.xml -@@ -103499,7 +103499,6 @@ Full version information for the fingerp +@@ -103206,7 +103206,6 @@ Full version information for the fingerp @@ -5581,7 +5689,7 @@ -@@ -103514,10 +103513,7 @@ Full version information for the fingerp +@@ -103221,10 +103220,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 abd4d755..1febdfa7 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 @@ -12,7 +12,7 @@ - "image_url": "{google:baseSearchByImageURL}upload", - "image_translate_url": "{google:baseSearchByImageURL}upload?filtertype=tr&{imageTranslateSourceLocale}{imageTranslateTargetLocale}", - "contextual_search_url": "{google:baseURL}_/contextualsearch?{google:contextualSearchVersion}{google:contextualSearchContextData}", -- "image_url_post_params": "encoded_image={google:imageThumbnail},image_url={google:imageURL},sbisrc={google:imageSearchSource},original_width={google:imageOriginalWidth},original_height={google:imageOriginalHeight}", +- "image_url_post_params": "encoded_image={google:imageThumbnail},image_url={google:imageURL},sbisrc={google:imageSearchSource},original_width={google:imageOriginalWidth},original_height={google:imageOriginalHeight},processed_image_dimensions={google:processedImageDimensions}", - "side_search_param": "sidesearch", - "image_translate_source_language_param_key": "sourcelang", - "image_translate_target_language_param_key": "targetlang", diff --git a/patches/core/ungoogled-chromium/toggle-translation-via-switch.patch b/patches/core/ungoogled-chromium/toggle-translation-via-switch.patch index 8fae48d4..a8e0a8f2 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 -@@ -147,6 +147,7 @@ +@@ -150,6 +150,7 @@ #include "components/spellcheck/spellcheck_buildflags.h" #include "components/strings/grit/components_strings.h" #include "components/supervised_user/core/common/buildflags.h" @@ -9,7 +9,7 @@ #include "components/translate/core/browser/translate_download_manager.h" #include "components/translate/core/browser/translate_manager.h" #include "components/translate/core/browser/translate_prefs.h" -@@ -1888,6 +1889,7 @@ void RenderViewContextMenu::AppendPageIt +@@ -1902,6 +1903,7 @@ void RenderViewContextMenu::AppendPageIt menu_model_.AddSeparator(ui::NORMAL_SEPARATOR); if (CanTranslate(/*menu_logging=*/true)) { @@ -47,7 +47,7 @@ request_pending_ = true; --- a/components/translate/core/browser/translate_manager.cc +++ b/components/translate/core/browser/translate_manager.cc -@@ -849,8 +849,9 @@ void TranslateManager::FilterIsTranslate +@@ -838,8 +838,9 @@ void TranslateManager::FilterIsTranslate TriggerDecision::kDisabledOffline); } diff --git a/patches/extra/bromite/fingerprinting-flags-client-rects-and-measuretext.patch b/patches/extra/bromite/fingerprinting-flags-client-rects-and-measuretext.patch index 2175872a..7c2a6b58 100644 --- a/patches/extra/bromite/fingerprinting-flags-client-rects-and-measuretext.patch +++ b/patches/extra/bromite/fingerprinting-flags-client-rects-and-measuretext.patch @@ -19,7 +19,7 @@ "//third_party/widevine/cdm:headers", --- a/chrome/browser/about_flags.cc +++ b/chrome/browser/about_flags.cc -@@ -157,6 +157,7 @@ +@@ -158,6 +158,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 -@@ -250,6 +250,7 @@ source_set("browser") { +@@ -251,6 +251,7 @@ source_set("browser") { "//third_party/libyuv", "//third_party/re2", "//third_party/sqlite", @@ -54,7 +54,7 @@ "//third_party/zlib/google:zip", --- a/content/browser/renderer_host/render_process_host_impl.cc +++ b/content/browser/renderer_host/render_process_host_impl.cc -@@ -76,6 +76,7 @@ +@@ -75,6 +75,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/attribution_reporting/attribution_manager.h" -@@ -3386,6 +3387,8 @@ void RenderProcessHostImpl::PropagateBro +@@ -3418,6 +3419,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" -@@ -433,6 +434,10 @@ void SetRuntimeFeaturesFromCommandLine(c +@@ -439,6 +440,10 @@ void SetRuntimeFeaturesFromCommandLine(c switches::kEnableWebGPUDeveloperFeatures, true}, {wrf::EnableDirectSockets, switches::kEnableIsolatedWebAppsInRenderer, true}, @@ -124,7 +124,7 @@ #include "base/ranges/algorithm.h" #include "base/task/single_thread_task_runner.h" #include "base/time/time.h" -@@ -925,6 +926,14 @@ Range* Document::CreateRangeAdjustedToTr +@@ -940,6 +941,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(); -@@ -2271,6 +2280,15 @@ void Document::UpdateStyleAndLayoutTreeF +@@ -2286,6 +2295,15 @@ void Document::UpdateStyleAndLayoutTreeF #if DCHECK_IS_ON() AssertLayoutTreeUpdated(*this, true /* allow_dirty_container_subtrees */); #endif @@ -168,7 +168,7 @@ AtomicString visibilityState() const; bool IsPageVisible() const; bool hidden() const; -@@ -2379,6 +2383,9 @@ class CORE_EXPORT Document : public Cont +@@ -2377,6 +2381,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 -@@ -2135,6 +2135,11 @@ DOMRectList* Element::getClientRects() { +@@ -2095,6 +2095,11 @@ DOMRectList* Element::getClientRects() { DCHECK(element_layout_object); GetDocument().AdjustQuadsForScrollAndAbsoluteZoom(quads, *element_layout_object); @@ -192,7 +192,7 @@ return MakeGarbageCollected(quads); } -@@ -2162,6 +2167,9 @@ gfx::RectF Element::GetBoundingClientRec +@@ -2122,6 +2127,9 @@ gfx::RectF Element::GetBoundingClientRec DCHECK(element_layout_object); GetDocument().AdjustRectForScrollAndAbsoluteZoom(result, *element_layout_object); @@ -267,7 +267,7 @@ const TextDirection&, --- a/third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d.cc +++ b/third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d.cc -@@ -960,9 +960,15 @@ TextMetrics* CanvasRenderingContext2D::m +@@ -956,9 +956,15 @@ TextMetrics* CanvasRenderingContext2D::m TextDirection direction = ToTextDirection(GetState().GetDirection(), canvas()); @@ -286,7 +286,7 @@ void CanvasRenderingContext2D::drawFormattedText( --- a/third_party/blink/renderer/platform/BUILD.gn +++ b/third_party/blink/renderer/platform/BUILD.gn -@@ -1693,6 +1693,7 @@ component("platform") { +@@ -1686,6 +1686,7 @@ component("platform") { "//components/paint_preview/common", "//components/power_scheduler", "//components/search_engines:search_engine_utils", @@ -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 -@@ -1647,6 +1647,12 @@ +@@ -1716,6 +1716,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 caa7ae34..6b99bf12 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 -@@ -3389,6 +3389,7 @@ void RenderProcessHostImpl::PropagateBro +@@ -3421,6 +3421,7 @@ void RenderProcessHostImpl::PropagateBro switches::kFileUrlPathAlias, switches::kFingerprintingClientRectsNoise, switches::kFingerprintingCanvasMeasureTextNoise, @@ -44,7 +44,7 @@ approach to change color components. switches::kForceEnablePepperVideoDecoderDevAPI, --- a/content/child/runtime_features.cc +++ b/content/child/runtime_features.cc -@@ -438,6 +438,8 @@ void SetRuntimeFeaturesFromCommandLine(c +@@ -444,6 +444,8 @@ void SetRuntimeFeaturesFromCommandLine(c switches::kFingerprintingClientRectsNoise, true}, {wrf::EnableFingerprintingCanvasMeasureTextNoise, switches::kFingerprintingCanvasMeasureTextNoise, true}, @@ -73,7 +73,7 @@ approach to change color components. #include "third_party/blink/renderer/platform/graphics/stroke_data.h" #include "third_party/blink/renderer/platform/graphics/video_frame_image_util.h" #include "third_party/blink/renderer/platform/heap/garbage_collected.h" -@@ -2119,6 +2120,9 @@ ImageData* BaseRenderingContext2D::getIm +@@ -2125,6 +2126,9 @@ ImageData* BaseRenderingContext2D::getIm snapshot->PaintImageForCurrentFrame().GetSkImageInfo().bounds(); DCHECK(!bounds.intersect(SkIRect::MakeXYWH(sx, sy, sw, sh))); } @@ -85,7 +85,7 @@ approach to change color components. return image_data; --- a/third_party/blink/renderer/platform/BUILD.gn +++ b/third_party/blink/renderer/platform/BUILD.gn -@@ -1650,7 +1650,9 @@ component("platform") { +@@ -1642,7 +1642,9 @@ component("platform") { "//third_party/blink/renderer:non_test_config", ] @@ -118,7 +118,7 @@ approach to change color components. #include "third_party/blink/renderer/platform/graphics/static_bitmap_image.h" #include "third_party/blink/renderer/platform/image-encoders/image_encoder.h" #include "third_party/blink/renderer/platform/runtime_enabled_features.h" -@@ -145,6 +147,11 @@ bool ImageDataBuffer::EncodeImageInterna +@@ -146,6 +148,11 @@ bool ImageDataBuffer::EncodeImageInterna const SkPixmap& pixmap) const { DCHECK(is_valid_); @@ -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 -@@ -1653,6 +1653,9 @@ +@@ -1722,6 +1722,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 b59ed3ad..dba21108 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 -@@ -2141,6 +2141,7 @@ static_library("browser") { +@@ -2138,6 +2138,7 @@ static_library("browser") { "//components/net_log", "//components/network_hints/common:mojo_bindings", "//components/network_session_configurator/browser", @@ -71,7 +71,7 @@ with limited CPU/memory resources and it is disabled by default. #include "components/network_time/network_time_tracker.h" #include "components/permissions/permissions_client.h" #include "components/policy/core/common/policy_service.h" -@@ -135,6 +138,7 @@ +@@ -134,6 +137,7 @@ #include "media/media_buildflags.h" #include "mojo/public/cpp/bindings/pending_receiver.h" #include "net/log/net_log.h" @@ -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/device/public/cpp/geolocation/geolocation_manager.h" -@@ -384,6 +388,18 @@ void BrowserProcessImpl::Init() { +@@ -357,6 +361,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 -@@ -1947,6 +1947,10 @@ const char kUnthrottledNestedTimeoutDesc +@@ -2020,6 +2020,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 -@@ -1093,6 +1093,9 @@ extern const char kLogJsConsoleMessagesD +@@ -1136,6 +1136,9 @@ extern const char kLogJsConsoleMessagesD extern const char kUnthrottledNestedTimeoutName[]; extern const char kUnthrottledNestedTimeoutDescription[]; diff --git a/patches/extra/inox-patchset/0006-modify-default-prefs.patch b/patches/extra/inox-patchset/0006-modify-default-prefs.patch index ebcf3361..40280fc9 100644 --- a/patches/extra/inox-patchset/0006-modify-default-prefs.patch +++ b/patches/extra/inox-patchset/0006-modify-default-prefs.patch @@ -1,7 +1,7 @@ --- a/chrome/browser/background/background_mode_manager.cc +++ b/chrome/browser/background/background_mode_manager.cc -@@ -371,7 +371,7 @@ BackgroundModeManager::~BackgroundModeMa +@@ -363,7 +363,7 @@ BackgroundModeManager::~BackgroundModeMa // static void BackgroundModeManager::RegisterPrefs(PrefRegistrySimple* registry) { @@ -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 -@@ -1548,7 +1548,7 @@ void ChromeContentBrowserClient::Registe +@@ -1590,7 +1590,7 @@ void ChromeContentBrowserClient::Registe void ChromeContentBrowserClient::RegisterProfilePrefs( user_prefs::PrefRegistrySyncable* registry) { registry->RegisterBooleanPref(prefs::kDisable3DAPIs, false); @@ -23,7 +23,7 @@ // used for mapping the command-line flags). --- a/chrome/browser/net/profile_network_context_service.cc +++ b/chrome/browser/net/profile_network_context_service.cc -@@ -389,7 +389,7 @@ void ProfileNetworkContextService::Updat +@@ -388,7 +388,7 @@ void ProfileNetworkContextService::Updat void ProfileNetworkContextService::RegisterProfilePrefs( user_prefs::PrefRegistrySyncable* registry) { registry->RegisterBooleanPref( @@ -65,17 +65,6 @@ $i18nRaw{resetPageFeedback} ---- a/chrome/browser/signin/account_consistency_mode_manager.cc -+++ b/chrome/browser/signin/account_consistency_mode_manager.cc -@@ -117,7 +117,7 @@ AccountConsistencyModeManager::~AccountC - // static - void AccountConsistencyModeManager::RegisterProfilePrefs( - user_prefs::PrefRegistrySyncable* registry) { -- registry->RegisterBooleanPref(prefs::kSigninAllowedOnNextStartup, true); -+ registry->RegisterBooleanPref(prefs::kSigninAllowedOnNextStartup, false); - } - - // static --- a/chrome/browser/ui/browser_ui_prefs.cc +++ b/chrome/browser/ui/browser_ui_prefs.cc @@ -75,11 +75,11 @@ void RegisterBrowserUserPrefs(user_prefs @@ -94,7 +83,7 @@ registry->RegisterDictionaryPref(prefs::kAppWindowPlacement); --- a/components/autofill/core/common/autofill_prefs.cc +++ b/components/autofill/core/common/autofill_prefs.cc -@@ -109,7 +109,7 @@ const char kAutocompleteLastVersionReten +@@ -123,7 +123,7 @@ const char kAutofillPaymentMethodsMandat void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { // Synced prefs. Used for cross-device choices, e.g., credit card Autofill. registry->RegisterBooleanPref( @@ -103,7 +92,7 @@ user_prefs::PrefRegistrySyncable::SYNCABLE_PREF); registry->RegisterIntegerPref( prefs::kAutofillLastVersionDeduped, 0, -@@ -121,7 +121,7 @@ void RegisterProfilePrefs(user_prefs::Pr +@@ -135,7 +135,7 @@ void RegisterProfilePrefs(user_prefs::Pr prefs::kAutofillLastVersionDisusedAddressesDeleted, 0, user_prefs::PrefRegistrySyncable::SYNCABLE_PREF); registry->RegisterBooleanPref( @@ -136,7 +125,7 @@ --- a/components/password_manager/core/browser/password_manager.cc +++ b/components/password_manager/core/browser/password_manager.cc -@@ -256,14 +256,14 @@ base::CallbackListSubscription AddSyncEn +@@ -257,14 +257,14 @@ base::CallbackListSubscription AddSyncEn void PasswordManager::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 5ba89822..e4356b36 100644 --- a/patches/extra/inox-patchset/0008-restore-classic-ntp.patch +++ b/patches/extra/inox-patchset/0008-restore-classic-ntp.patch @@ -28,28 +28,3 @@ } const GURL url; ---- a/components/ntp_snippets/features.cc -+++ b/components/ntp_snippets/features.cc -@@ -40,7 +40,7 @@ const base::Feature* const kAllFeatures[ - - BASE_FEATURE(kArticleSuggestionsFeature, - "NTPArticleSuggestions", -- base::FEATURE_ENABLED_BY_DEFAULT); -+ base::FEATURE_DISABLED_BY_DEFAULT); - - BASE_FEATURE(kRemoteSuggestionsEmulateM58FetchingSchedule, - "RemoteSuggestionsEmulateM58FetchingSchedule", -@@ -72,11 +72,11 @@ const char kNotificationsIgnoredLimitPar - - BASE_FEATURE(kKeepPrefetchedContentSuggestions, - "KeepPrefetchedContentSuggestions", -- base::FEATURE_ENABLED_BY_DEFAULT); -+ 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/0016-chromium-sandbox-pie.patch b/patches/extra/inox-patchset/0016-chromium-sandbox-pie.patch index 68d9233b..4f27f8a9 100644 --- a/patches/extra/inox-patchset/0016-chromium-sandbox-pie.patch +++ b/patches/extra/inox-patchset/0016-chromium-sandbox-pie.patch @@ -1,6 +1,6 @@ --- a/sandbox/linux/BUILD.gn +++ b/sandbox/linux/BUILD.gn -@@ -304,6 +304,12 @@ if (is_linux || is_chromeos) { +@@ -305,6 +305,12 @@ if (is_linux || is_chromeos) { # These files have a suspicious comparison. # TODO fix this and re-enable this warning. "-Wno-sign-compare", diff --git a/patches/extra/iridium-browser/Remove-EV-certificates.patch b/patches/extra/iridium-browser/Remove-EV-certificates.patch index 17ec59c9..2c801e93 100644 --- a/patches/extra/iridium-browser/Remove-EV-certificates.patch +++ b/patches/extra/iridium-browser/Remove-EV-certificates.patch @@ -10,7 +10,7 @@ Instead, let them appear just like regular ones. --- a/net/cert/ev_root_ca_metadata.cc +++ b/net/cert/ev_root_ca_metadata.cc -@@ -40,7 +40,17 @@ struct EVMetadata { +@@ -36,7 +36,17 @@ struct EVMetadata { const base::StringPiece policy_oids[kMaxOIDsPerCA]; }; 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 13dc2bf2..e3c7fde4 100644 --- a/patches/extra/iridium-browser/browser-disable-profile-auto-import-on-first-run.patch +++ b/patches/extra/iridium-browser/browser-disable-profile-auto-import-on-first-run.patch @@ -5,7 +5,7 @@ Subject: [PATCH 56/66] browser: disable profile auto-import on first run --- a/chrome/browser/chrome_browser_main.cc +++ b/chrome/browser/chrome_browser_main.cc -@@ -1617,11 +1617,6 @@ int ChromeBrowserMainParts::PreMainMessa +@@ -1638,11 +1638,6 @@ int ChromeBrowserMainParts::PreMainMessa // and preferences have been registered since some of the import code depends // on preferences. if (first_run::IsChromeFirstRun()) { diff --git a/patches/extra/ungoogled-chromium/add-flag-for-close-confirmation.patch b/patches/extra/ungoogled-chromium/add-flag-for-close-confirmation.patch index 667d048d..50a34bcc 100644 --- a/patches/extra/ungoogled-chromium/add-flag-for-close-confirmation.patch +++ b/patches/extra/ungoogled-chromium/add-flag-for-close-confirmation.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/ui/browser.cc +++ b/chrome/browser/ui/browser.cc -@@ -137,6 +137,8 @@ +@@ -138,6 +138,8 @@ #include "chrome/browser/ui/tabs/tab_strip_model.h" #include "chrome/browser/ui/tabs/tab_utils.h" #include "chrome/browser/ui/ui_features.h" @@ -9,7 +9,7 @@ #include "chrome/browser/ui/web_applications/app_browser_controller.h" #include "chrome/browser/ui/web_applications/web_app_launch_utils.h" #include "chrome/browser/ui/webui/signin/login_ui_service.h" -@@ -474,6 +476,7 @@ Browser::Browser(const CreateParams& par +@@ -475,6 +477,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), -@@ -837,6 +840,7 @@ Browser::WarnBeforeClosingResult Browser +@@ -845,6 +848,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_) -@@ -871,6 +875,7 @@ bool Browser::TryToCloseWindow( +@@ -879,6 +883,7 @@ bool Browser::TryToCloseWindow( void Browser::ResetTryToCloseWindow() { cancel_download_confirmation_state_ = NOT_PROMPTED; @@ -33,7 +33,7 @@ unload_controller_.ResetTryToCloseWindow(); } -@@ -2815,6 +2820,62 @@ bool Browser::CanCloseWithInProgressDown +@@ -2825,6 +2830,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; -@@ -2833,6 +2894,22 @@ void Browser::InProgressDownloadResponse +@@ -2843,6 +2904,22 @@ void Browser::InProgressDownloadResponse std::move(warn_before_closing_callback_) .Run(WarnBeforeClosingResult::kDoNotClose); @@ -147,7 +147,7 @@ // Called when all warnings have completed when attempting to close the // browser directly (e.g. via hotkey, close button, terminate signal, etc.) // Used as a WarnBeforeClosingCallback by ShouldCloseWindow(). -@@ -1243,6 +1249,8 @@ class Browser : public TabStripModelObse +@@ -1251,6 +1257,8 @@ class Browser : public TabStripModelObse // when the browser is closed with in-progress downloads. CancelDownloadConfirmationState cancel_download_confirmation_state_; diff --git a/patches/extra/ungoogled-chromium/add-flag-for-custom-ntp.patch b/patches/extra/ungoogled-chromium/add-flag-for-custom-ntp.patch index 1748c3a0..50823f57 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 -@@ -861,10 +861,14 @@ bool HandleNewTabPageLocationOverride( +@@ -877,10 +877,14 @@ bool HandleNewTabPageLocationOverride( // Don't change the URL when incognito mode. if (profile->IsOffTheRecord()) @@ -28,7 +28,7 @@ #endif // CHROME_BROWSER_UNGOOGLED_FLAG_ENTRIES_H_ --- a/components/flags_ui/flags_state.cc +++ b/components/flags_ui/flags_state.cc -@@ -220,6 +220,7 @@ std::string GetCombinedOriginListValue(c +@@ -221,6 +221,7 @@ std::string GetCombinedOriginListValue(c command_line.GetSwitchValueASCII(command_line_switch); const std::string new_value = flags_storage.GetOriginListFlag(internal_entry_name); @@ -36,7 +36,7 @@ return CombineAndSanitizeOriginLists(existing_value, new_value); } -@@ -416,6 +417,7 @@ void FlagsState::SetOriginListFlag(const +@@ -417,6 +418,7 @@ void FlagsState::SetOriginListFlag(const const std::string& value, FlagsStorage* flags_storage) { const std::string new_value = diff --git a/patches/extra/ungoogled-chromium/add-flag-for-disabling-link-drag.patch b/patches/extra/ungoogled-chromium/add-flag-for-disabling-link-drag.patch index ef3c5268..ba3911d1 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,8 +11,8 @@ #endif // CHROME_BROWSER_UNGOOGLED_FLAG_ENTRIES_H_ --- a/third_party/blink/common/features.cc +++ b/third_party/blink/common/features.cc -@@ -39,6 +39,8 @@ BASE_FEATURE(kAutofillDetectRemovedFormC - "AutofillDetectRemovedFormControls", +@@ -40,6 +40,8 @@ BASE_FEATURE(kAutofillSendUnidentifiedKe + "AutofillSendUnidentifiedKeyAfterFill", base::FEATURE_DISABLED_BY_DEFAULT); +BASE_FEATURE(kDisableLinkDrag, "DisableLinkDrag", base::FEATURE_DISABLED_BY_DEFAULT); @@ -22,15 +22,15 @@ BASE_FEATURE(kAutomaticLazyFrameLoadingToAds, --- a/third_party/blink/public/common/features.h +++ b/third_party/blink/public/common/features.h -@@ -18,6 +18,8 @@ +@@ -20,6 +20,8 @@ namespace blink { namespace features { +BLINK_COMMON_EXPORT BASE_DECLARE_FEATURE(kDisableLinkDrag); + BLINK_COMMON_EXPORT BASE_DECLARE_FEATURE(kAnonymousIframeOriginTrial); - BLINK_COMMON_EXPORT BASE_DECLARE_FEATURE(kAttributionReportingCrossAppWeb); BLINK_COMMON_EXPORT + BASE_DECLARE_FEATURE(kAutofillDetectRemovedFormControls); --- a/third_party/blink/renderer/core/editing/selection_controller.cc +++ b/third_party/blink/renderer/core/editing/selection_controller.cc @@ -1396,10 +1396,14 @@ FrameSelection& SelectionController::Sel diff --git a/patches/extra/ungoogled-chromium/add-flag-for-incognito-themes.patch b/patches/extra/ungoogled-chromium/add-flag-for-incognito-themes.patch index a37a9204..d8e53e63 100644 --- a/patches/extra/ungoogled-chromium/add-flag-for-incognito-themes.patch +++ b/patches/extra/ungoogled-chromium/add-flag-for-incognito-themes.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/ui/views/frame/browser_frame.cc +++ b/chrome/browser/ui/views/frame/browser_frame.cc -@@ -489,5 +489,7 @@ bool BrowserFrame::RegenerateFrameOnThem +@@ -503,5 +503,7 @@ bool BrowserFrame::RegenerateFrameOnThem } bool BrowserFrame::ShouldUseDarkTheme() const { 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 61815af7..0143ac20 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,9 +42,9 @@ #include "base/feature_list.h" #include "base/format_macros.h" #include "base/functional/bind.h" -@@ -350,6 +352,15 @@ AutocompleteController::AutocompleteCont - search_service_worker_signal_sent_(false), - template_url_service_(provider_client_->GetTemplateURLService()) { +@@ -355,6 +357,15 @@ AutocompleteController::AutocompleteCont + triggered_feature_service_( + provider_client_->GetOmniboxTriggeredFeatureService()) { provider_types &= ~OmniboxFieldTrial::GetDisabledProviderTypes(); + if (base::CommandLine::ForCurrentProcess()->HasSwitch("omnibox-autocomplete-filtering")) { + const std::string flag_value = base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII("omnibox-autocomplete-filtering"); @@ -60,7 +60,7 @@ // so their async requests can be kicked off before waiting a few milliseconds --- a/components/omnibox/browser/history_url_provider.cc +++ b/components/omnibox/browser/history_url_provider.cc -@@ -474,6 +474,9 @@ void HistoryURLProvider::Start(const Aut +@@ -478,6 +478,9 @@ void HistoryURLProvider::Start(const Aut if (fixed_up_input.type() != metrics::OmniboxInputType::QUERY) matches_.push_back(what_you_typed_match); @@ -80,7 +80,7 @@ #include "base/feature_list.h" #include "base/functional/bind.h" #include "base/functional/callback.h" -@@ -655,6 +656,9 @@ void SearchProvider::Run(bool query_is_p +@@ -649,6 +650,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 57cbac5f..74e1c34f 100644 --- a/patches/extra/ungoogled-chromium/add-flag-for-qr-generator.patch +++ b/patches/extra/ungoogled-chromium/add-flag-for-qr-generator.patch @@ -27,7 +27,7 @@ return true; --- a/chrome/browser/ui/views/location_bar/location_bar_view.cc +++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc -@@ -304,7 +304,8 @@ void LocationBarView::Init() { +@@ -305,7 +305,8 @@ void LocationBarView::Init() { params.types_enabled.push_back(PageActionIconType::kSendTabToSelf); params.types_enabled.push_back(PageActionIconType::kClickToCall); 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 a8cb57f4..c85665fb 100644 --- a/patches/extra/ungoogled-chromium/add-flag-for-search-engine-collection.patch +++ b/patches/extra/ungoogled-chromium/add-flag-for-search-engine-collection.patch @@ -13,7 +13,7 @@ #endif // CHROME_BROWSER_UNGOOGLED_FLAG_ENTRIES_H_ --- a/chrome/renderer/chrome_render_frame_observer.cc +++ b/chrome/renderer/chrome_render_frame_observer.cc -@@ -252,14 +252,16 @@ void ChromeRenderFrameObserver::DidFinis +@@ -253,14 +253,16 @@ void ChromeRenderFrameObserver::DidFinis if (frame->Parent() || frame->IsInFencedFrameTree()) return; @@ -101,7 +101,7 @@ return true; --- a/components/search_engines/template_url_service.h +++ b/components/search_engines/template_url_service.h -@@ -769,6 +769,8 @@ class TemplateURLService : public WebDat +@@ -772,6 +772,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 2442ec37..912db71a 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/functional/bind.h" #include "base/i18n/rtl.h" -@@ -641,6 +642,8 @@ void Tab::OnGestureEvent(ui::GestureEven +@@ -642,6 +643,8 @@ void Tab::OnGestureEvent(ui::GestureEven } std::u16string Tab::GetTooltipText(const gfx::Point& p) const { @@ -27,7 +27,7 @@ #include "base/compiler_specific.h" #include "base/containers/adapters.h" #include "base/containers/contains.h" -@@ -1622,6 +1623,8 @@ void TabStrip::OnMouseEventInTab(views:: +@@ -1629,6 +1630,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 022c8e2a..692e3211 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 -@@ -1232,7 +1232,8 @@ void BrowserCommandController::InitComma +@@ -1276,7 +1276,8 @@ void BrowserCommandController::InitComma command_updater_.UpdateCommandEnabled(IDC_WINDOW_CLOSE_OTHER_TABS, normal_window); diff --git a/patches/extra/ungoogled-chromium/add-flag-to-change-http-accept-header.patch b/patches/extra/ungoogled-chromium/add-flag-to-change-http-accept-header.patch index ed471a42..d63798a1 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-change-http-accept-header.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-change-http-accept-header.patch @@ -11,7 +11,7 @@ #endif // CHROME_BROWSER_UNGOOGLED_FLAG_ENTRIES_H_ --- a/components/flags_ui/flags_state.cc +++ b/components/flags_ui/flags_state.cc -@@ -221,6 +221,7 @@ std::string GetCombinedOriginListValue(c +@@ -222,6 +222,7 @@ std::string GetCombinedOriginListValue(c const std::string new_value = flags_storage.GetOriginListFlag(internal_entry_name); if (command_line_switch == "custom-ntp") return existing_value.empty() ? new_value : existing_value; @@ -19,7 +19,7 @@ return CombineAndSanitizeOriginLists(existing_value, new_value); } -@@ -418,6 +419,7 @@ void FlagsState::SetOriginListFlag(const +@@ -419,6 +420,7 @@ void FlagsState::SetOriginListFlag(const FlagsStorage* flags_storage) { const std::string new_value = internal_name == "custom-ntp" ? value : diff --git a/patches/extra/ungoogled-chromium/add-flag-to-clear-data-on-exit.patch b/patches/extra/ungoogled-chromium/add-flag-to-clear-data-on-exit.patch index b915788c..1e71c60a 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-clear-data-on-exit.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-clear-data-on-exit.patch @@ -1,14 +1,14 @@ --- a/chrome/browser/browsing_data/chrome_browsing_data_lifetime_manager.cc +++ b/chrome/browser/browsing_data/chrome_browsing_data_lifetime_manager.cc -@@ -24,6 +24,7 @@ - #include "chrome/browser/lifetime/browser_shutdown.h" +@@ -25,6 +25,7 @@ #include "chrome/browser/profiles/profile.h" #include "chrome/browser/sync/sync_service_factory.h" + #include "components/browsing_data/core/browsing_data_policies_utils.h" +#include "components/browsing_data/core/features.h" #include "components/browsing_data/core/pref_names.h" #include "components/keep_alive_registry/keep_alive_types.h" #include "components/keep_alive_registry/scoped_keep_alive.h" -@@ -156,6 +157,21 @@ class BrowsingDataRemoverObserver +@@ -157,6 +158,21 @@ class BrowsingDataRemoverObserver #endif }; @@ -30,7 +30,7 @@ uint64_t GetOriginTypeMask(const base::Value::List& data_types) { uint64_t result = 0; for (const auto& data_type : data_types) { -@@ -304,7 +320,8 @@ void ChromeBrowsingDataLifetimeManager:: +@@ -288,7 +304,8 @@ void ChromeBrowsingDataLifetimeManager:: bool keep_browser_alive) { const base::Value::List& data_types = profile_->GetPrefs()->GetList( browsing_data::prefs::kClearBrowsingDataOnExitList); @@ -40,7 +40,7 @@ profile_->GetPrefs()->SetBoolean( browsing_data::prefs::kClearBrowsingDataOnExitDeletionPending, true); auto* remover = profile_->GetBrowsingDataRemover(); -@@ -315,8 +332,8 @@ void ChromeBrowsingDataLifetimeManager:: +@@ -299,8 +316,8 @@ void ChromeBrowsingDataLifetimeManager:: DCHECK(keep_browser_alive); #endif remover->RemoveAndReply(base::Time(), base::Time::Max(), 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 8e0359e8..3b646a0b 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 @@ -1,6 +1,6 @@ --- a/chrome/browser/ui/tabs/tab_strip_model.cc +++ b/chrome/browser/ui/tabs/tab_strip_model.cc -@@ -10,6 +10,7 @@ +@@ -12,6 +12,7 @@ #include #include "base/auto_reset.h" @@ -8,7 +8,7 @@ #include "base/containers/adapters.h" #include "base/containers/contains.h" #include "base/containers/flat_map.h" -@@ -1834,6 +1835,10 @@ bool TabStripModel::CloseTabs(base::span +@@ -1852,6 +1853,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 599f5bf8..bda9d9fd 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 -@@ -1192,10 +1192,12 @@ DownloadConfirmationReason DownloadTarge +@@ -1189,10 +1189,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 aa1e80bf..ef45a59e 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 -@@ -1162,6 +1162,8 @@ WindowOpenDisposition NavigationPolicyTo +@@ -1171,6 +1171,8 @@ WindowOpenDisposition NavigationPolicyTo case blink::kWebNavigationPolicyNewWindow: return WindowOpenDisposition::NEW_WINDOW; case blink::kWebNavigationPolicyNewPopup: diff --git a/patches/extra/ungoogled-chromium/add-flag-to-disable-beforeunload.patch b/patches/extra/ungoogled-chromium/add-flag-to-disable-beforeunload.patch index 27c69381..016f5c5c 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-disable-beforeunload.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-disable-beforeunload.patch @@ -21,7 +21,7 @@ #include "base/functional/bind.h" #include "base/i18n/rtl.h" #include "base/metrics/histogram_macros.h" -@@ -196,7 +197,8 @@ void AppModalDialogManager::RunBeforeUnl +@@ -194,7 +195,8 @@ void AppModalDialogManager::RunBeforeUnl ChromeJavaScriptDialogExtraData* extra_data = &javascript_dialog_extra_data_[web_contents]; 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 d78c5ca5..8d5ca122 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,13 +21,13 @@ #include "base/compiler_specific.h" #include "base/containers/flat_set.h" #include "base/feature_list.h" -@@ -1187,7 +1188,8 @@ void HistoryBackend::InitImpl( +@@ -1304,7 +1305,8 @@ void HistoryBackend::InitImpl( db_->GetStartDate(&first_recorded_time_); // Start expiring old stuff. - expirer_.StartExpiringOldStuff(base::Days(kExpireDaysThreshold)); + if (!base::CommandLine::ForCurrentProcess()->HasSwitch("keep-old-history")) + expirer_.StartExpiringOldStuff(base::Days(kExpireDaysThreshold)); - - LOCAL_HISTOGRAM_TIMES("History.InitTime", TimeTicks::Now() - beginning_time); } + + void HistoryBackend::OnMemoryPressure( diff --git a/patches/extra/ungoogled-chromium/add-flag-to-disable-tls-grease.patch b/patches/extra/ungoogled-chromium/add-flag-to-disable-tls-grease.patch index c38272ee..50912830 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-disable-tls-grease.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-disable-tls-grease.patch @@ -11,7 +11,7 @@ #endif // CHROME_BROWSER_UNGOOGLED_FLAG_ENTRIES_H_ --- a/net/socket/ssl_client_socket_impl.cc +++ b/net/socket/ssl_client_socket_impl.cc -@@ -310,7 +310,8 @@ class SSLClientSocketImpl::SSLContext { +@@ -298,7 +298,8 @@ class SSLClientSocketImpl::SSLContext { SSL_CTX_sess_set_new_cb(ssl_ctx_.get(), NewSessionCallback); SSL_CTX_set_timeout(ssl_ctx_.get(), 1 * 60 * 60 /* one hour */); diff --git a/patches/extra/ungoogled-chromium/add-flag-to-hide-extensions-menu.patch b/patches/extra/ungoogled-chromium/add-flag-to-hide-extensions-menu.patch index 64f8dcfb..a8e2032b 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 @@ -16,7 +16,7 @@ #include "extensions/common/extension_features.h" #include "ui/base/dragdrop/drag_drop_types.h" #include "ui/base/dragdrop/mojom/drag_drop_types.mojom-shared.h" -@@ -349,6 +351,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(); } -@@ -857,6 +870,9 @@ void ExtensionsToolbarContainer::UpdateC +@@ -862,6 +875,9 @@ void ExtensionsToolbarContainer::UpdateC } bool ExtensionsToolbarContainer::ShouldContainerBeVisible() const { diff --git a/patches/extra/ungoogled-chromium/add-flag-to-hide-fullscreen-exit-ui.patch b/patches/extra/ungoogled-chromium/add-flag-to-hide-fullscreen-exit-ui.patch index c4dc931a..bf9f8a00 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-hide-fullscreen-exit-ui.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-hide-fullscreen-exit-ui.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/ui/views/frame/browser_view.cc +++ b/chrome/browser/ui/views/frame/browser_view.cc -@@ -1738,6 +1738,10 @@ void BrowserView::UpdateExclusiveAccessE +@@ -1741,6 +1741,10 @@ void BrowserView::UpdateExclusiveAccessE ExclusiveAccessBubbleHideCallback bubble_first_hide_callback, bool notify_download, bool force_update) { 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 47d32dd6..19a4b3a3 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,15 +1,15 @@ --- a/chrome/browser/ui/views/toolbar/toolbar_view.cc +++ b/chrome/browser/ui/views/toolbar/toolbar_view.cc -@@ -283,7 +283,8 @@ void ToolbarView::Init() { +@@ -314,7 +314,8 @@ void ToolbarView::Init() { std::unique_ptr side_panel_button; std::unique_ptr side_panel_toolbar_container; - if (browser_view_->unified_side_panel()) { + if (browser_view_->unified_side_panel() && + !base::CommandLine::ForCurrentProcess()->HasSwitch("hide-sidepanel-button")) { - if (base::FeatureList::IsEnabled(features::kSidePanelCompanion)) { + if (base::FeatureList::IsEnabled( + companion::features::kSidePanelCompanion)) { side_panel_toolbar_container = - std::make_unique(browser_view_); --- a/chrome/browser/ungoogled_flag_entries.h +++ b/chrome/browser/ungoogled_flag_entries.h @@ -100,4 +100,8 @@ 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 294062d0..1305d288 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 -@@ -990,7 +990,11 @@ void Tab::UpdateIconVisibility() { +@@ -993,7 +993,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; -@@ -1011,6 +1015,8 @@ void Tab::UpdateIconVisibility() { +@@ -1014,6 +1018,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 12621797..467225ed 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 -@@ -367,6 +367,17 @@ void ToolbarView::Init() { +@@ -396,6 +396,17 @@ void ToolbarView::Init() { #elif BUILDFLAG(IS_CHROMEOS_LACROS) show_avatar_toolbar_button = !profiles::IsPublicSession(); #endif diff --git a/patches/extra/ungoogled-chromium/add-flags-for-referrer-customization.patch b/patches/extra/ungoogled-chromium/add-flags-for-referrer-customization.patch index c2adc83b..37ecaa9a 100644 --- a/patches/extra/ungoogled-chromium/add-flags-for-referrer-customization.patch +++ b/patches/extra/ungoogled-chromium/add-flags-for-referrer-customization.patch @@ -38,7 +38,7 @@ if (enable_pdf) { --- a/chrome/common/chrome_features.cc +++ b/chrome/common/chrome_features.cc -@@ -842,6 +842,14 @@ BASE_FEATURE(kNewMacNotificationAPI, +@@ -850,6 +850,14 @@ BASE_FEATURE(kNewMacNotificationAPI, // referrers instead of their ordinary behavior. BASE_FEATURE(kNoReferrers, "NoReferrers", base::FEATURE_DISABLED_BY_DEFAULT); @@ -55,7 +55,7 @@ // on-screen until dismissed, they are instead shown for a very long time. --- a/chrome/common/chrome_features.h +++ b/chrome/common/chrome_features.h -@@ -497,6 +497,10 @@ COMPONENT_EXPORT(CHROME_FEATURES) BASE_D +@@ -501,6 +501,10 @@ COMPONENT_EXPORT(CHROME_FEATURES) BASE_D COMPONENT_EXPORT(CHROME_FEATURES) BASE_DECLARE_FEATURE(kNoReferrers); @@ -152,15 +152,15 @@ +#endif // CHROME_COMMON_REFERRER_SANITIZER_H_ --- a/content/browser/renderer_host/navigation_request.cc +++ b/content/browser/renderer_host/navigation_request.cc -@@ -39,6 +39,7 @@ - #include "base/types/pass_key.h" +@@ -41,6 +41,7 @@ #include "build/build_config.h" + #include "build/buildflag.h" #include "build/chromeos_buildflags.h" +#include "chrome/common/referrer_sanitizer.h" - #include "components/attribution_reporting/os_registration.h" - #include "components/attribution_reporting/os_support.mojom.h" - #include "content/browser/attribution_reporting/attribution_manager.h" -@@ -425,10 +426,10 @@ void AddAdditionalRequestHeaders( + #include "content/browser/blob_storage/chrome_blob_storage_context.h" + #include "content/browser/browsing_topics/header_util.h" + #include "content/browser/child_process_security_policy_impl.h" +@@ -407,10 +408,10 @@ void AddAdditionalRequestHeaders( net::HttpRequestHeaders::kUserAgent, ComputeUserAgentValue(*headers, user_agent_override, browser_context)); @@ -177,7 +177,7 @@ if (NeedsHTTPOrigin(headers, method)) { --- a/content/renderer/render_frame_impl.cc +++ b/content/renderer/render_frame_impl.cc -@@ -52,6 +52,7 @@ +@@ -51,6 +51,7 @@ #include "build/chromeos_buildflags.h" #include "cc/base/switches.h" #include "cc/trees/ukm_manager.h" @@ -185,7 +185,7 @@ #include "content/common/associated_interfaces.mojom.h" #include "content/common/content_navigation_policy.h" #include "content/common/content_switches_internal.h" -@@ -4249,10 +4250,13 @@ void RenderFrameImpl::WillSendRequestInt +@@ -4291,10 +4292,13 @@ void RenderFrameImpl::WillSendRequestInt request.SetHasUserGesture(frame_->HasTransientUserActivation()); @@ -274,7 +274,7 @@ #include "services/network/public/cpp/wrapper_shared_url_loader_factory.h" #include "third_party/blink/public/common/features.h" #include "third_party/blink/public/common/loader/loader_constants.h" -@@ -21,6 +22,7 @@ +@@ -22,6 +23,7 @@ #include "third_party/blink/public/platform/modules/service_worker/web_service_worker_provider_context.h" #include "third_party/blink/public/platform/platform.h" #include "third_party/blink/public/platform/resource_load_info_notifier_wrapper.h" @@ -282,7 +282,7 @@ #include "third_party/blink/public/platform/url_loader_throttle_provider.h" #include "third_party/blink/public/platform/weak_wrapper_resource_load_info_notifier.h" #include "third_party/blink/public/platform/web_code_cache_loader.h" -@@ -400,10 +402,13 @@ void DedicatedOrSharedWorkerFetchContext +@@ -402,10 +404,13 @@ void DedicatedOrSharedWorkerFetchContext if (g_rewrite_url) request.SetUrl(g_rewrite_url(request.Url().GetString().Utf8(), false)); diff --git a/patches/extra/ungoogled-chromium/add-ipv6-probing-option.patch b/patches/extra/ungoogled-chromium/add-ipv6-probing-option.patch index caa372d7..1f2fdbf8 100644 --- a/patches/extra/ungoogled-chromium/add-ipv6-probing-option.patch +++ b/patches/extra/ungoogled-chromium/add-ipv6-probing-option.patch @@ -35,7 +35,7 @@ // https://vasilvv.github.io/httpbis-alps/draft-vvv-httpbis-alps.html. --- a/net/dns/host_resolver_manager.cc +++ b/net/dns/host_resolver_manager.cc -@@ -155,11 +155,6 @@ const unsigned kMinimumTTLSeconds = kCac +@@ -156,11 +156,6 @@ const unsigned kMinimumTTLSeconds = kCac // cached. const int kIPv6ProbePeriodMs = 1000; @@ -47,12 +47,41 @@ // ICANN uses this localhost address to indicate a name collision. // // The policy in Chromium is to fail host resolving if it resolves to -@@ -3759,7 +3754,7 @@ bool HostResolverManager::IsIPv6Reachabl - (tick_clock_->NowTicks() - last_ipv6_probe_time_).InMilliseconds() > - kIPv6ProbePeriodMs) { - SetLastIPv6ProbeResult( -- IsGloballyReachable(IPAddress(kIPv6ProbeAddress), net_log)); -+ !base::FeatureList::IsEnabled(features::kSetIpv6ProbeFalse)); - cached = false; +@@ -3945,33 +3940,10 @@ int HostResolverManager::StartIPv6Reacha + return OK; } - net_log.AddEvent( + +- if (probing_ipv6_) { +- ipv6_request_callbacks_.push_back(std::move(callback)); +- return ERR_IO_PENDING; +- } +- // Cache the result for kIPv6ProbePeriodMs (measured from after +- // StartGloballyReachableCheck() completes). +- int rv = OK; +- bool cached = true; +- if (last_ipv6_probe_time_.is_null() || +- (tick_clock_->NowTicks() - last_ipv6_probe_time_).InMilliseconds() > +- kIPv6ProbePeriodMs) { +- probing_ipv6_ = true; +- rv = StartGloballyReachableCheck( +- IPAddress(kIPv6ProbeAddress), net_log, +- base::BindOnce(&HostResolverManager::FinishIPv6ReachabilityCheck, +- weak_ptr_factory_.GetWeakPtr(), std::move(callback))); +- if (rv != ERR_IO_PENDING) { +- SetLastIPv6ProbeResult((rv == OK) ? true : false); +- rv = OK; +- } +- cached = false; +- } +- net_log.AddEvent( +- NetLogEventType::HOST_RESOLVER_MANAGER_IPV6_REACHABILITY_CHECK, [&] { +- return NetLogIPv6AvailableParams(last_ipv6_probe_result_, cached); +- }); +- return rv; ++ probing_ipv6_ = false; ++ last_ipv6_probe_result_ = !base::FeatureList::IsEnabled(features::kSetIpv6ProbeFalse); ++ last_ipv6_probe_time_ = base::TimeTicks(); ++ return OK; + } + + void HostResolverManager::SetLastIPv6ProbeResult(bool last_ipv6_probe_result) { diff --git a/patches/extra/ungoogled-chromium/add-suggestions-url-field.patch b/patches/extra/ungoogled-chromium/add-suggestions-url-field.patch index 12464688..99cea2a4 100644 --- a/patches/extra/ungoogled-chromium/add-suggestions-url-field.patch +++ b/patches/extra/ungoogled-chromium/add-suggestions-url-field.patch @@ -68,7 +68,7 @@ private cancel_() { @@ -134,7 +142,8 @@ export class SettingsSearchEngineEditDia - private onActionButtonTap_() { + private onActionButtonClick_() { this.browserProxy_.searchEngineEditCompleted( - this.searchEngine_, this.keyword_, this.queryUrl_); + this.searchEngine_, this.keyword_, this.queryUrl_, @@ -447,7 +447,7 @@ } --- a/components/search_engines/template_url_service.h +++ b/components/search_engines/template_url_service.h -@@ -263,7 +263,8 @@ class TemplateURLService : public WebDat +@@ -266,7 +266,8 @@ class TemplateURLService : public WebDat void ResetTemplateURL(TemplateURL* url, const std::u16string& title, const std::u16string& keyword, diff --git a/patches/extra/ungoogled-chromium/add-ungoogled-flag-headers.patch b/patches/extra/ungoogled-chromium/add-ungoogled-flag-headers.patch index 942f0fbf..592320e3 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 -@@ -3470,7 +3470,13 @@ const FeatureEntry::FeatureVariation kVc +@@ -3567,7 +3567,13 @@ const FeatureEntry::FeatureVariation kVc // 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 e723a3af..3dd92ff8 100644 --- a/patches/extra/ungoogled-chromium/disable-remote-optimization-guide.patch +++ b/patches/extra/ungoogled-chromium/disable-remote-optimization-guide.patch @@ -1,6 +1,6 @@ --- a/components/optimization_guide/core/optimization_guide_features.cc +++ b/components/optimization_guide/core/optimization_guide_features.cc -@@ -84,7 +84,7 @@ BASE_FEATURE(kOptimizationHints, +@@ -86,7 +86,7 @@ BASE_FEATURE(kOptimizationHints, // Enables fetching from a remote Optimization Guide Service. BASE_FEATURE(kRemoteOptimizationGuideFetching, "OptimizationHintsFetching", diff --git a/patches/extra/ungoogled-chromium/disable-webgl-renderer-info.patch b/patches/extra/ungoogled-chromium/disable-webgl-renderer-info.patch index 35d536e2..1d5c689c 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 -@@ -3767,8 +3767,7 @@ ScriptValue WebGLRenderingContextBase::g +@@ -3768,8 +3768,7 @@ ScriptValue WebGLRenderingContextBase::g pname, IdentifiabilityBenignStringToken( String(ContextGL()->GetString(GL_RENDERER)))); } @@ -13,7 +13,7 @@ } SynthesizeGLError( GL_INVALID_ENUM, "getParameter", -@@ -3782,8 +3781,7 @@ ScriptValue WebGLRenderingContextBase::g +@@ -3783,8 +3782,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 175e5983..5e5b071f 100644 --- a/patches/extra/ungoogled-chromium/enable-default-prefetch-privacy-changes.patch +++ b/patches/extra/ungoogled-chromium/enable-default-prefetch-privacy-changes.patch @@ -2,7 +2,7 @@ --- a/third_party/blink/common/features.cc +++ b/third_party/blink/common/features.cc -@@ -534,7 +534,7 @@ BASE_FEATURE(kAllowSyncXHRInPageDismissa +@@ -528,7 +528,7 @@ BASE_FEATURE(kAllowSyncXHRInPageDismissa // crbug.com/988956. BASE_FEATURE(kPrefetchPrivacyChanges, "PrefetchPrivacyChanges", 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 1a1b21c6..ce1a801b 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 -@@ -84,7 +84,7 @@ bool ReloadButton::GetMenuEnabled() cons +@@ -85,7 +85,7 @@ bool ReloadButton::GetMenuEnabled() cons } void ReloadButton::SetMenuEnabled(bool enable) { diff --git a/patches/extra/ungoogled-chromium/enable-page-saving-on-more-pages.patch b/patches/extra/ungoogled-chromium/enable-page-saving-on-more-pages.patch index 2c5025cd..8f22431d 100644 --- a/patches/extra/ungoogled-chromium/enable-page-saving-on-more-pages.patch +++ b/patches/extra/ungoogled-chromium/enable-page-saving-on-more-pages.patch @@ -2,7 +2,7 @@ --- a/chrome/browser/ui/browser_commands.cc +++ b/chrome/browser/ui/browser_commands.cc -@@ -479,10 +479,6 @@ int GetContentRestrictions(const Browser +@@ -484,10 +484,6 @@ int GetContentRestrictions(const Browser CoreTabHelper* core_tab_helper = CoreTabHelper::FromWebContents(current_tab); content_restrictions = core_tab_helper->content_restrictions(); @@ -13,7 +13,7 @@ } return content_restrictions; } -@@ -1448,8 +1444,7 @@ bool CanSavePage(const Browser* browser) +@@ -1519,8 +1515,7 @@ bool CanSavePage(const Browser* browser) DownloadPrefs::DownloadRestriction::ALL_FILES) { return false; } @@ -36,7 +36,7 @@ OfflinePageModel::OfflinePageModel() = default; --- a/content/common/url_schemes.cc +++ b/content/common/url_schemes.cc -@@ -24,13 +24,22 @@ namespace { +@@ -24,13 +24,21 @@ namespace { bool g_registered_url_schemes = false; const char* const kDefaultSavableSchemes[] = { @@ -55,7 +55,6 @@ + url::kMailToScheme, + url::kWsScheme, + url::kWssScheme, -+ kGuestScheme, + kViewSourceScheme }; 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 a3a81757..1151e78c 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 @@ -1,6 +1,6 @@ --- a/chrome/browser/ui/views/tabs/new_tab_button.cc +++ b/chrome/browser/ui/views/tabs/new_tab_button.cc -@@ -61,10 +61,8 @@ NewTabButton::NewTabButton(TabStrip* tab +@@ -62,10 +62,8 @@ NewTabButton::NewTabButton(TabStrip* tab SetAnimateOnStateChange(true); // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch // of lacros-chrome is complete. @@ -9,11 +9,11 @@ ui::EF_MIDDLE_MOUSE_BUTTON); -#endif - ink_drop_container_ = - AddChildView(std::make_unique()); + if (features::IsChromeRefresh2023()) { + foreground_frame_active_color_id_ = --- a/chrome/browser/ui/views/tabs/tab_strip.cc +++ b/chrome/browser/ui/views/tabs/tab_strip.cc -@@ -1867,8 +1867,6 @@ void TabStrip::NewTabButtonPressed(const +@@ -1874,8 +1874,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; -@@ -1876,7 +1874,6 @@ void TabStrip::NewTabButtonPressed(const +@@ -1883,7 +1881,6 @@ void TabStrip::NewTabButtonPressed(const /* data_dst = */ nullptr, &clipboard_text); if (!clipboard_text.empty()) controller_->CreateNewTabWithLocation(clipboard_text); diff --git a/patches/extra/ungoogled-chromium/keep-expired-flags.patch b/patches/extra/ungoogled-chromium/keep-expired-flags.patch index 81b8b8c1..7724ece4 100644 --- a/patches/extra/ungoogled-chromium/keep-expired-flags.patch +++ b/patches/extra/ungoogled-chromium/keep-expired-flags.patch @@ -1,6 +1,6 @@ --- a/components/flags_ui/flags_state.cc +++ b/components/flags_ui/flags_state.cc -@@ -23,6 +23,7 @@ +@@ -24,6 +24,7 @@ #include "base/strings/utf_string_conversions.h" #include "base/values.h" #include "build/build_config.h" @@ -8,7 +8,7 @@ #include "components/flags_ui/feature_entry.h" #include "components/flags_ui/flags_storage.h" #include "components/flags_ui/flags_ui_switches.h" -@@ -591,13 +592,17 @@ void FlagsState::GetFlagFeatureEntries( +@@ -592,13 +593,17 @@ void FlagsState::GetFlagFeatureEntries( int current_platform = GetCurrentPlatform(); for (const FeatureEntry& entry : feature_entries_) { @@ -27,7 +27,7 @@ base::Value::List supported_platforms; AddOsStrings(entry.supported_platforms, &supported_platforms); -@@ -977,6 +982,7 @@ bool FlagsState::IsSupportedFeature(cons +@@ -978,6 +983,7 @@ bool FlagsState::IsSupportedFeature(cons if (!entry.InternalNameMatches(name)) continue; if (delegate_ && delegate_->ShouldExcludeFlag(storage, entry)) 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 3959d2e9..0a82eaa2 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 -@@ -63,7 +63,6 @@ static const char* kBadFlags[] = { +@@ -64,7 +64,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 47d1e6e7..09fed7a0 100644 --- a/patches/extra/ungoogled-chromium/remove-uneeded-ui.patch +++ b/patches/extra/ungoogled-chromium/remove-uneeded-ui.patch @@ -30,7 +30,7 @@ -
-- +- - $i18nRaw{noExtensionsOrApps} - -
@@ -46,7 +46,7 @@ -
-
- +- href="$i18n{getMoreExtensionsUrl}" on-click="onMoreExtensionsClick_"> - $i18n{openChromeWebStore} -
- @@ -82,7 +82,7 @@
$i18nRaw{incognitoTabFeatures}
--- a/chrome/browser/resources/settings/a11y_page/a11y_page.html +++ b/chrome/browser/resources/settings/a11y_page/a11y_page.html -@@ -24,7 +24,7 @@ +@@ -26,7 +26,7 @@ external$="[[captionSettingsOpensExternally_]]"> @@ -91,7 +91,7 @@ @@ -105,20 +105,19 @@ -- -