From 1b0dd2435fa013c8a56b2acb549900d07962eb2e Mon Sep 17 00:00:00 2001 From: mkarolin Date: Thu, 26 Mar 2020 17:50:01 -0400 Subject: [PATCH 001/161] Upgrade patches from Chromium 81.0.4044.138 to Chromium 83.0.4093.3. --- ...id_webview-browser-cookie_manager.cc.patch | 6 +-- patches/build-android-bytecode-BUILD.gn.patch | 4 +- ...mium-bytecode-ByteCodeProcessor.java.patch | 2 +- patches/build-config-BUILDCONFIG.gn.patch | 2 +- patches/build-config-android-BUILD.gn.patch | 2 +- patches/build-config-android-config.gni.patch | 2 +- patches/build-config-android-rules.gni.patch | 6 +-- patches/chrome-BUILD.gn.patch | 24 +++++----- patches/chrome-VERSION.patch | 8 ++-- ...rome-android-chrome_java_sources.gni.patch | 4 +- ...e-android-chrome_public_apk_tmpl.gni.patch | 4 +- ...ome-android-java-AndroidManifest.xml.patch | 13 ++--- ...s-layout-bottom_toolbar_browsing.xml.patch | 4 +- ...a-res-layout-custom_tabs_toolbar.xml.patch | 2 +- ...d-java-res-layout-toolbar_tablet.xml.patch | 2 +- ...word_preferences_action_bar_menu.xml.patch | 2 +- ...hromium-chrome-browser-AppHooks.java.patch | 4 +- ...s-BookmarkAddEditFolderActivity.java.patch | 4 +- ...browser-bookmarks-BookmarkModel.java.patch | 2 +- ...ions-NotificationPlatformBridge.java.patch | 2 +- ...me-browser-ntp-NewTabPageLayout.java.patch | 10 ++-- ...rome-browser-ntp-NewTabPageView.java.patch | 4 +- ...rcustomizations-HomepageManager.java.patch | 4 +- ...e-browser-settings-MainSettings.java.patch | 4 +- ...tings-homepage-HomepageSettings.java.patch | 4 +- ...e-browser-toolbar-ToolbarColors.java.patch | 4 +- ...er-toolbar-top-CustomTabToolbar.java.patch | 4 +- ...lbar-top-TabSwitcherModeTTPhone.java.patch | 4 +- ...rowser-toolbar-top-ToolbarPhone.java.patch | 16 +++---- ...owser-toolbar-top-ToolbarTablet.java.patch | 8 ++-- patches/chrome-android-java_sources.gni.patch | 4 +- patches/chrome-app-BUILD.gn.patch | 2 +- patches/chrome-browser-BUILD.gn.patch | 4 +- patches/chrome-browser-about_flags.cc.patch | 6 +-- ...hrome-browser-browser_process_impl.h.patch | 4 +- ...wser-chrome_content_browser_client.h.patch | 4 +- ...host_content_settings_map_factory.cc.patch | 6 +-- ...ngs-tab_specific_content_settings.cc.patch | 2 +- ...wser-devtools-devtools_ui_bindings.h.patch | 4 +- ...owser-download-download_item_model.h.patch | 2 +- ...rowser-extensions-component_loader.h.patch | 6 +-- ...tensions-extension_install_prompt.cc.patch | 6 +-- ...owser-extensions-extension_service.h.patch | 4 +- ...ser-extensions-extension_tab_util.cc.patch | 4 +- ...rotocol-external_protocol_handler.cc.patch | 2 +- ...me-browser-importer-importer_list.cc.patch | 4 +- ...-media-webrtc-webrtc_log_uploader.cc.patch | 2 +- ...e_metrics_services_manager_client.cc.patch | 2 +- ...et-system_network_context_manager.cc.patch | 4 +- ...notification_display_service_impl.cc.patch | 4 +- ...hrome-browser-prefs-browser_prefs.cc.patch | 6 +-- .../chrome-browser-profiles-profile.cc.patch | 4 +- ...profiles-profile_avatar_icon_util.cc.patch | 8 ++-- ...ome-browser-profiles-profile_impl.cc.patch | 4 +- ...rome-browser-profiles-profile_impl.h.patch | 4 +- ...-browser-profiles-profile_io_data.cc.patch | 4 +- ...e-browser-profiles-profile_manager.h.patch | 4 +- ...iles-profile_shortcut_manager_win.cc.patch | 4 +- ...me-browser-profiles-profile_window.h.patch | 6 +-- ...browser-profiles-renderer_updater.cc.patch | 2 +- ...text_menu-render_view_context_menu.h.patch | 4 +- ...rowser-resources-extensions-BUILD.gn.patch | 2 +- ...-resources-history-history_item.html.patch | 2 +- ...-browser-resources-optimize_webui.py.patch | 2 +- ...-browser-resources-settings-BUILD.gn.patch | 6 +-- ...-settings-about_page-about_page.html.patch | 4 +- ...appearance_page-appearance_page.html.patch | 8 ++-- ...s-settings-lifetime_browser_proxy.js.patch | 6 +-- ...ources-settings-page_visibility.html.patch | 6 +-- ...ettings-people_page-people_page.html.patch | 4 +- ...cy_page-personalization_options.html.patch | 12 ++--- ...vacy_page-personalization_options.js.patch | 2 +- ...-browser-resources-settings-route.js.patch | 6 +-- ...ettings-settings_ui-settings_ui.html.patch | 4 +- ...settings-category_default_setting.js.patch | 2 +- ...-settings-site_settings-constants.js.patch | 4 +- ...ings-site_settings-site_details.html.patch | 4 +- ...browsing-client_side_model_loader.cc.patch | 4 +- ...e-browser-shell_integration_linux.cc.patch | 4 +- ...-account_consistency_mode_manager.cc.patch | 4 +- ...er-spellcheck_hunspell_dictionary.cc.patch | 4 +- ...sync-profile_sync_service_factory.cc.patch | 4 +- ...er-tracing-crash_service_uploader.cc.patch | 4 +- patches/chrome-browser-ui-BUILD.gn.patch | 6 +-- ...-save_card_bubble_controller_impl.cc.patch | 4 +- patches/chrome-browser-ui-browser.h.patch | 4 +- ...rome-browser-ui-browser_navigator.cc.patch | 6 +-- ...ings-content_setting_bubble_model.cc.patch | 4 +- ...tings-content_setting_image_model.cc.patch | 4 +- ...-extension_action_view_controller.cc.patch | 2 +- ...s-extension_action_view_controller.h.patch | 8 ++-- ...browser-ui-page_info-page_info_ui.cc.patch | 10 ++-- ...rtup-startup_browser_creator_impl.cc.patch | 4 +- ...ws-bookmarks-bookmark_bubble_view.cc.patch | 2 +- ...-views-download-download_item_view.h.patch | 2 +- ...-views-extensions-extension_popup.cc.patch | 2 +- ...ws-location_bar-location_bar_view.cc.patch | 6 +-- ...ews-location_bar-location_bar_view.h.patch | 10 ++-- ...iews-outdated_upgrade_bubble_view.cc.patch | 4 +- ...ble-permission_prompt_bubble_view.cc.patch | 4 +- ...ws-profiles-avatar_toolbar_button.cc.patch | 4 +- ...ews-profiles-avatar_toolbar_button.h.patch | 4 +- ...i-views-profiles-profile_menu_view.h.patch | 6 +-- ...ws-profiles-profile_menu_view_base.h.patch | 4 +- ...me-browser-ui-views-tabs-tab_icon.cc.patch | 4 +- ...ser-ui-views-tabs-tab_style_views.cc.patch | 4 +- ...s-toolbar-browser_app_menu_button.cc.patch | 4 +- ...ser-ui-views-toolbar-toolbar_view.cc.patch | 4 +- ...wser-ui-views-toolbar-toolbar_view.h.patch | 10 ++-- ...s-translate-translate_bubble_view.cc.patch | 2 +- ...ews-update_recommended_message_box.h.patch | 2 +- ...-chrome_web_ui_controller_factory.cc.patch | 4 +- ...r-ui-webui-downloads-downloads_ui.cc.patch | 2 +- ...ui-webui-extensions-extensions_ui.cc.patch | 4 +- ...ebui-settings-import_data_handler.cc.patch | 4 +- ...ttings_localized_strings_provider.cc.patch | 4 +- ...s-components-web_app_shortcut_mac.mm.patch | 4 +- .../chrome-chrome_repack_locales.gni.patch | 2 +- patches/chrome-common-BUILD.gn.patch | 8 ++-- ...ommon-importer-importer_data_types.h.patch | 4 +- patches/chrome-installer-linux-BUILD.gn.patch | 8 ++-- ...rome-installer-linux-debian-build.sh.patch | 6 +-- .../chrome-installer-linux-rpm-build.sh.patch | 2 +- patches/chrome-installer-mac-BUILD.gn.patch | 2 +- ...me-installer-mac-signing-pipeline.py.patch | 4 +- ...me-installer-mini_installer-BUILD.gn.patch | 2 +- ...taller-mini_installer-chrome.release.patch | 4 +- patches/chrome-installer-util-BUILD.gn.patch | 4 +- ...aller-util-google_update_settings.cc.patch | 6 +-- patches/chrome-renderer-BUILD.gn.patch | 4 +- ...er-chrome_content_renderer_client.cc.patch | 4 +- ...rer-chrome_content_renderer_client.h.patch | 4 +- patches/chrome-test-BUILD.gn.patch | 4 +- patches/chrome-utility-BUILD.gn.patch | 2 +- ...s-bookmarks-browser-bookmark_model.h.patch | 4 +- ...t-android-java-res-values-dimens.xml.patch | 4 +- ...ntent_settings-core-browser-BUILD.gn.patch | 4 +- ...re-browser-content_settings_utils.cc.patch | 4 +- ...ings-core-common-content_settings.cc.patch | 4 +- ...tings-core-common-content_settings.h.patch | 2 +- ...-crash-content-app-breakpad_linux.cc.patch | 2 +- ...nternal-common-download_item_impl.cc.patch | 4 +- ...lidation-impl-fcm_network_handler.cc.patch | 4 +- ...network_time-network_time_tracker.cc.patch | 2 +- .../components-omnibox-browser-BUILD.gn.patch | 6 +-- ...ox-browser-autocomplete_controller.h.patch | 4 +- ...mnibox-browser-omnibox_edit_model.cc.patch | 2 +- ...licy-tools-generate_policy_source.py.patch | 2 +- ...-core-db-v4_protocol_manager_util.cc.patch | 2 +- ...-sync-driver-glue-sync_engine_impl.h.patch | 4 +- ...s-sync-driver-profile_sync_service.h.patch | 4 +- ...components-sync-engine-sync_engine.h.patch | 2 +- ...ync-engine_impl-sync_manager_impl.cc.patch | 4 +- ...c-engine_impl-sync_scheduler_impl.cc.patch | 4 +- ...nc-engine_impl-sync_scheduler_impl.h.patch | 2 +- ...s-bookmark_remote_updates_handler.cc.patch | 12 ++--- .../content-browser-browser_main_loop.h.patch | 4 +- ...s-devtools_url_loader_interceptor.cc.patch | 4 +- ...e_host-navigation_controller_impl.cc.patch | 4 +- ...ser-frame_host-navigation_request.cc.patch | 4 +- ...ssions-permission_controller_impl.cc.patch | 4 +- .../content-child-child_thread_impl.cc.patch | 2 +- patches/content-common-BUILD.gn.patch | 2 +- ...lic-browser-content_browser_client.h.patch | 4 +- ...ent-public-browser-permission_type.h.patch | 6 +-- ...nt-public-browser-url_data_source.cc.patch | 2 +- ...nt-public-test-browser_test_utils.cc.patch | 4 +- ...ntent-renderer-render_thread_impl.cc.patch | 4 +- patches/extensions-browser-BUILD.gn.patch | 2 +- ...r-api-web_request-web_request_api.cc.patch | 4 +- ...nsions-browser-sandboxed_unpacker.cc.patch | 4 +- ...ns-browser-updater-update_service.cc.patch | 4 +- ...r-native_extension_bindings_system.h.patch | 2 +- patches/google_apis-gaia-gaia_urls.cc.patch | 2 +- ...-blink-key_system_config_selector.cc.patch | 6 +-- ...-chromium_bindings_configuration.gni.patch | 6 +-- patches/net-BUILD.gn.patch | 4 +- patches/net-cookies-canonical_cookie.cc.patch | 2 +- ...services-network-public-cpp-BUILD.gn.patch | 4 +- ...e_manager-sandbox-win-sandbox_win.cc.patch | 4 +- ...ygote-host-zygote_host_impl_linux.cc.patch | 2 +- ...d_party-blink-renderer-core-BUILD.gn.patch | 8 ++-- ...nk-renderer-core-frame-navigator.idl.patch | 2 +- ...-canvas-canvas_async_blob_creator.cc.patch | 4 +- ...e-html-canvas-html_canvas_element.cc.patch | 4 +- ...r-core-html-media-autoplay_policy.cc.patch | 4 +- ...arty-blink-renderer-modules-BUILD.gn.patch | 2 +- ...anvas2d-base_rendering_context_2d.cc.patch | 6 +-- ...canvas2d-base_rendering_context_2d.h.patch | 2 +- ...vas2d-canvas_rendering_context_2d.cc.patch | 4 +- ...r_request_media_key_system_access.cc.patch | 2 +- ...modules-mediastream-media_devices.cc.patch | 2 +- ...eerconnection-rtc_peer_connection.cc.patch | 18 +++---- ...er-modules-webaudio-analyser_node.cc.patch | 2 +- ...rer-modules-webaudio-audio_buffer.cc.patch | 10 ++-- ...erer-modules-webaudio-audio_buffer.h.patch | 2 +- ...bgl-webgl2_rendering_context_base.cc.patch | 8 ++-- ...ebgl-webgl_rendering_context_base.cc.patch | 48 +++++++++---------- ...tools-gritsettings-resource_ids.spec.patch | 4 +- ..._schema_compiler-feature_compiler.py.patch | 4 +- ...ls-metrics-histograms-histograms.xml.patch | 4 +- patches/ui-base-BUILD.gn.patch | 4 +- patches/ui-native_theme-native_theme.h.patch | 4 +- .../ui-native_theme-native_theme_mac.mm.patch | 4 +- .../ui-native_theme-native_theme_win.cc.patch | 4 +- .../ui-native_theme-native_theme_win.h.patch | 4 +- ...ews-controls-button-md_text_button.h.patch | 2 +- ...es-cr_elements-shared_style_css.html.patch | 2 +- ...ces-cr_elements-shared_vars_css.html.patch | 2 +- 209 files changed, 473 insertions(+), 472 deletions(-) diff --git a/patches/android_webview-browser-cookie_manager.cc.patch b/patches/android_webview-browser-cookie_manager.cc.patch index 411fd9fccbaa..8cc65abc6144 100644 --- a/patches/android_webview-browser-cookie_manager.cc.patch +++ b/patches/android_webview-browser-cookie_manager.cc.patch @@ -1,8 +1,8 @@ diff --git a/android_webview/browser/cookie_manager.cc b/android_webview/browser/cookie_manager.cc -index 984dc5b55e1d75e2e408c4108baf1fd98d927de6..b092a1ff66365ff41485baa9f209ee38262eaf58 100644 +index 4344f15143f75d56a2253586792f7b644eaf25c4..9245d3e8dd35f5172f93fca36c6155e30a8a44bc 100644 --- a/android_webview/browser/cookie_manager.cc +++ b/android_webview/browser/cookie_manager.cc -@@ -438,7 +438,7 @@ void CookieManager::SetCookieHelper(const GURL& host, +@@ -478,7 +478,7 @@ void CookieManager::SetCookieHelper(const GURL& host, net::CanonicalCookie::CookieInclusionStatus status; std::unique_ptr cc( @@ -10,4 +10,4 @@ index 984dc5b55e1d75e2e408c4108baf1fd98d927de6..b092a1ff66365ff41485baa9f209ee38 + net::CanonicalCookie::Create(BRAVE_SETCOOKIEHELPER, new_host, value, base::Time::Now(), base::nullopt /* server_time */, &status)); - if (!cc) { + if (!cc || !should_allow_cookie) { diff --git a/patches/build-android-bytecode-BUILD.gn.patch b/patches/build-android-bytecode-BUILD.gn.patch index a819071a212d..f1bf94db307f 100644 --- a/patches/build-android-bytecode-BUILD.gn.patch +++ b/patches/build-android-bytecode-BUILD.gn.patch @@ -1,5 +1,5 @@ diff --git a/build/android/bytecode/BUILD.gn b/build/android/bytecode/BUILD.gn -index 742a46b2ee7a1edb0f3e0be7db25e1486f3dde9a..4dbd10595f0eb0a94e2d373d224e4d13e1aa8cac 100644 +index 5d651d29e795f8116fedcf6b7370bcdcefef0ee9..9e3546ada8e63301a91bfaf0699f50fd860bff52 100644 --- a/build/android/bytecode/BUILD.gn +++ b/build/android/bytecode/BUILD.gn @@ -16,6 +16,7 @@ java_binary("java_bytecode_rewriter") { @@ -9,4 +9,4 @@ index 742a46b2ee7a1edb0f3e0be7db25e1486f3dde9a..4dbd10595f0eb0a94e2d373d224e4d13 + sources += brave_java_bytecode_files main_class = "org.chromium.bytecode.ByteCodeProcessor" deps = [ - "//third_party/ow2_asm:asm_java", + "//third_party/android_deps:org_ow2_asm_asm_java", diff --git a/patches/build-android-bytecode-java-org-chromium-bytecode-ByteCodeProcessor.java.patch b/patches/build-android-bytecode-java-org-chromium-bytecode-ByteCodeProcessor.java.patch index 880174c6ca7d..b0a9038d742e 100644 --- a/patches/build-android-bytecode-java-org-chromium-bytecode-ByteCodeProcessor.java.patch +++ b/patches/build-android-bytecode-java-org-chromium-bytecode-ByteCodeProcessor.java.patch @@ -1,5 +1,5 @@ diff --git a/build/android/bytecode/java/org/chromium/bytecode/ByteCodeProcessor.java b/build/android/bytecode/java/org/chromium/bytecode/ByteCodeProcessor.java -index 4a56332c061a775dae854a1d2946c855c2f4f66c..682225913081bafd1f393ed8327240012304dfc6 100644 +index 2a4d08a8269b678e778f8d80b408368872d3f43e..7a3c9f97274da574987b47928411927b482c49f9 100644 --- a/build/android/bytecode/java/org/chromium/bytecode/ByteCodeProcessor.java +++ b/build/android/bytecode/java/org/chromium/bytecode/ByteCodeProcessor.java @@ -136,6 +136,7 @@ class ByteCodeProcessor { diff --git a/patches/build-config-BUILDCONFIG.gn.patch b/patches/build-config-BUILDCONFIG.gn.patch index 2b56d4b0c1ec..b2fe83a5847a 100644 --- a/patches/build-config-BUILDCONFIG.gn.patch +++ b/patches/build-config-BUILDCONFIG.gn.patch @@ -1,5 +1,5 @@ diff --git a/build/config/BUILDCONFIG.gn b/build/config/BUILDCONFIG.gn -index f89e7e831b79f82bd11a5dd8cee6ab49d8de724e..cfb776d73e625810a7f3a526ce512c6fdbbdafd8 100644 +index 11e0a21820f34ac99bc2e9322e0c8bd1314045c3..00551aeda7608149bfeff95587fb1cb7c8cc0b85 100644 --- a/build/config/BUILDCONFIG.gn +++ b/build/config/BUILDCONFIG.gn @@ -419,6 +419,7 @@ set_sources_assignment_filter(sources_assignment_filter) diff --git a/patches/build-config-android-BUILD.gn.patch b/patches/build-config-android-BUILD.gn.patch index 41bc4576ee28..d46d5254b133 100644 --- a/patches/build-config-android-BUILD.gn.patch +++ b/patches/build-config-android-BUILD.gn.patch @@ -1,5 +1,5 @@ diff --git a/build/config/android/BUILD.gn b/build/config/android/BUILD.gn -index 6d8bec8e71f0d80d6829fbe8a372abc01d691a81..9fcb132b0c37d4be5ce0430faafb815317e9812a 100644 +index 51230609a4d4e76d00ad629e2f4a1b2def019a9c..57f9ae3eefa3634b9e42706da506c403f654341c 100644 --- a/build/config/android/BUILD.gn +++ b/build/config/android/BUILD.gn @@ -46,6 +46,7 @@ config("compiler") { diff --git a/patches/build-config-android-config.gni.patch b/patches/build-config-android-config.gni.patch index c6de9ed90084..574fe434b241 100644 --- a/patches/build-config-android-config.gni.patch +++ b/patches/build-config-android-config.gni.patch @@ -1,5 +1,5 @@ diff --git a/build/config/android/config.gni b/build/config/android/config.gni -index 5946af5ac7fe76098791770799c9386e860dfb9f..9ab07bdbbe29cd823d29e0005e9e8e96971109fd 100644 +index ccec0f165678faf53471eeef4bd223146a0c5593..d527eb75806d260cb5131ad593b78eaa18d8d37d 100644 --- a/build/config/android/config.gni +++ b/build/config/android/config.gni @@ -3,6 +3,7 @@ diff --git a/patches/build-config-android-rules.gni.patch b/patches/build-config-android-rules.gni.patch index 32233f25e9e6..9730d048f55c 100644 --- a/patches/build-config-android-rules.gni.patch +++ b/patches/build-config-android-rules.gni.patch @@ -1,8 +1,8 @@ diff --git a/build/config/android/rules.gni b/build/config/android/rules.gni -index 50ca3ee5362e2e3f3a3ae295b757386ce3952a5b..7e5741e4ceee409d46d4e42874eda4018ac45180 100644 +index 899444d305628ff802bd24e647b907feefcce17a..9c587fe3e7c4a5132748187d304902b7f6f52eb1 100644 --- a/build/config/android/rules.gni +++ b/build/config/android/rules.gni -@@ -512,6 +512,7 @@ if (enable_java_templates) { +@@ -513,6 +513,7 @@ if (enable_java_templates) { # } template("java_cpp_enum") { set_sources_assignment_filter([]) @@ -10,7 +10,7 @@ index 50ca3ee5362e2e3f3a3ae295b757386ce3952a5b..7e5741e4ceee409d46d4e42874eda401 action_with_pydeps(target_name) { forward_variables_from(invoker, [ -@@ -630,6 +631,7 @@ if (enable_java_templates) { +@@ -631,6 +632,7 @@ if (enable_java_templates) { # output = "$target_gen_dir/AndroidManifest.xml" # } template("jinja_template") { diff --git a/patches/chrome-BUILD.gn.patch b/patches/chrome-BUILD.gn.patch index c54c72d967e1..605035444283 100644 --- a/patches/chrome-BUILD.gn.patch +++ b/patches/chrome-BUILD.gn.patch @@ -1,8 +1,8 @@ diff --git a/chrome/BUILD.gn b/chrome/BUILD.gn -index fe09f99a91e3b1d2abfb335ec2771d1ed8592d87..a486a9238b6a1b7d935faefab2345922092cc864 100644 +index dc1faa8f3a75fa958201372f2df674c44a94b4e0..5d46f1c78ea615c0727d80b65fab54c9144ac718 100644 --- a/chrome/BUILD.gn +++ b/chrome/BUILD.gn -@@ -184,6 +184,10 @@ if (!is_android && !is_mac) { +@@ -169,6 +169,10 @@ if (!is_android && !is_mac) { "common/crash_keys.cc", "common/crash_keys.h", ] @@ -13,7 +13,7 @@ index fe09f99a91e3b1d2abfb335ec2771d1ed8592d87..a486a9238b6a1b7d935faefab2345922 deps += [ ":chrome_dll", -@@ -533,11 +537,12 @@ if (is_win) { +@@ -511,11 +515,12 @@ if (is_win) { "--bundle_id=$chrome_mac_bundle_id", ] } @@ -27,7 +27,7 @@ index fe09f99a91e3b1d2abfb335ec2771d1ed8592d87..a486a9238b6a1b7d935faefab2345922 extra_substitutions = [ "CHROMIUM_BUNDLE_ID=$chrome_mac_bundle_id", "CHROMIUM_SHORT_NAME=$chrome_product_short_name", -@@ -555,6 +560,7 @@ if (is_win) { +@@ -533,6 +538,7 @@ if (is_win) { "//chrome/common:buildflags", "//chrome/common:version_header", ] @@ -35,7 +35,7 @@ index fe09f99a91e3b1d2abfb335ec2771d1ed8592d87..a486a9238b6a1b7d935faefab2345922 if (enable_stripping) { # At link time, preserve the global symbols specified in the .exports -@@ -602,7 +608,7 @@ if (is_win) { +@@ -580,7 +586,7 @@ if (is_win) { args = [ "-b", @@ -44,7 +44,7 @@ index fe09f99a91e3b1d2abfb335ec2771d1ed8592d87..a486a9238b6a1b7d935faefab2345922 "-v", rebase_path(chrome_version_file, root_build_dir), "-g", -@@ -671,6 +677,7 @@ if (is_win) { +@@ -649,6 +655,7 @@ if (is_win) { # this dependency directly copies the file into the framework's # resources directory. public_deps += [ ":chrome_framework_widevine_signature" ] @@ -52,7 +52,7 @@ index fe09f99a91e3b1d2abfb335ec2771d1ed8592d87..a486a9238b6a1b7d935faefab2345922 } } -@@ -707,6 +714,7 @@ if (is_win) { +@@ -685,6 +692,7 @@ if (is_win) { "--scm=0", ] } @@ -60,7 +60,7 @@ index fe09f99a91e3b1d2abfb335ec2771d1ed8592d87..a486a9238b6a1b7d935faefab2345922 compile_entitlements("entitlements") { entitlements_templates = [ "app/app-entitlements.plist" ] -@@ -725,7 +733,7 @@ if (is_win) { +@@ -703,7 +711,7 @@ if (is_win) { output_name = chrome_helper_name + invoker.helper_name_suffix @@ -69,7 +69,7 @@ index fe09f99a91e3b1d2abfb335ec2771d1ed8592d87..a486a9238b6a1b7d935faefab2345922 extra_substitutions = [ "CHROMIUM_BUNDLE_ID=$chrome_mac_bundle_id", "CHROMIUM_SHORT_NAME=$chrome_product_short_name", -@@ -1115,6 +1123,10 @@ if (is_win) { +@@ -1098,6 +1106,10 @@ if (is_win) { if (is_chrome_branded) { deps += [ ":default_apps" ] } @@ -80,7 +80,7 @@ index fe09f99a91e3b1d2abfb335ec2771d1ed8592d87..a486a9238b6a1b7d935faefab2345922 ldflags = [ "-Wl,-install_name,@executable_path/../Frameworks/$chrome_framework_name.framework/Versions/$chrome_version_full/$chrome_framework_name" ] -@@ -1272,6 +1284,7 @@ if (is_win) { +@@ -1255,6 +1267,7 @@ if (is_win) { group("browser_dependencies") { public_deps = [ @@ -88,7 +88,7 @@ index fe09f99a91e3b1d2abfb335ec2771d1ed8592d87..a486a9238b6a1b7d935faefab2345922 "//chrome/browser", "//chrome/common", "//components/gwp_asan/buildflags", -@@ -1344,12 +1357,13 @@ group("child_dependencies") { +@@ -1327,12 +1340,13 @@ group("child_dependencies") { # this is OK because all of content is linked into one library. "//content/browser", ] @@ -103,7 +103,7 @@ index fe09f99a91e3b1d2abfb335ec2771d1ed8592d87..a486a9238b6a1b7d935faefab2345922 output = "$target_gen_dir/chrome_exe_version.rc" } -@@ -1403,6 +1417,7 @@ group("resources") { +@@ -1386,6 +1400,7 @@ group("resources") { "//chrome/browser:resources", "//chrome/common:resources", "//chrome/renderer:resources", diff --git a/patches/chrome-VERSION.patch b/patches/chrome-VERSION.patch index 1d3bf60e2810..976adb2c4aa4 100644 --- a/patches/chrome-VERSION.patch +++ b/patches/chrome-VERSION.patch @@ -1,12 +1,12 @@ diff --git a/chrome/VERSION b/chrome/VERSION -index 4e235daa9ab5dda573e2d67d6c325547a43f40d9..4540e6500b67891f9772e359179b2219d6559383 100644 +index 6a560f9868c252f53eb02043e4112492e44c9a8d..074a8f25c9a0607f9b39303d5395a290b4e0fa37 100644 --- a/chrome/VERSION +++ b/chrome/VERSION @@ -1,4 +1,4 @@ - MAJOR=81 + MAJOR=83 -MINOR=0 --BUILD=4044 --PATCH=138 +-BUILD=4093 +-PATCH=3 +MINOR=1 +BUILD=11 +PATCH=28 diff --git a/patches/chrome-android-chrome_java_sources.gni.patch b/patches/chrome-android-chrome_java_sources.gni.patch index c3a3de7dbc36..f6e97c7e2641 100644 --- a/patches/chrome-android-chrome_java_sources.gni.patch +++ b/patches/chrome-android-chrome_java_sources.gni.patch @@ -1,8 +1,8 @@ diff --git a/chrome/android/chrome_java_sources.gni b/chrome/android/chrome_java_sources.gni -index 607431cbd9701a79ff0754e023e0c476e5677794..608186a05013f09a6286fcaa85c1648dce75fa98 100644 +index 35a702981dfb70eea12b112afa569cc2bbfb2c70..85d51e01dff87b6dd0cd2fae356f8bf0149b2264 100644 --- a/chrome/android/chrome_java_sources.gni +++ b/chrome/android/chrome_java_sources.gni -@@ -1876,3 +1876,4 @@ chrome_java_sources = [ +@@ -1875,3 +1875,4 @@ chrome_java_sources = [ "java/src/org/chromium/chrome/browser/widget/bottomsheet/EmptyBottomSheetObserver.java", "java/src/org/chromium/chrome/browser/widget/bottomsheet/TouchRestrictingFrameLayout.java", ] diff --git a/patches/chrome-android-chrome_public_apk_tmpl.gni.patch b/patches/chrome-android-chrome_public_apk_tmpl.gni.patch index d3ae1a6dac22..05b49efd03e8 100644 --- a/patches/chrome-android-chrome_public_apk_tmpl.gni.patch +++ b/patches/chrome-android-chrome_public_apk_tmpl.gni.patch @@ -1,8 +1,8 @@ diff --git a/chrome/android/chrome_public_apk_tmpl.gni b/chrome/android/chrome_public_apk_tmpl.gni -index ccd57898df6b2c6c21f7838042da13d7a321a945..2969814626c0cb859fb75b691816b96842bfbd39 100644 +index a270ad9afc748f710582866a3c8018690d528722..467160e51d92be444d275a0bc77d7d4ceb4b4228 100644 --- a/chrome/android/chrome_public_apk_tmpl.gni +++ b/chrome/android/chrome_public_apk_tmpl.gni -@@ -253,6 +253,7 @@ template("chrome_public_common_apk_or_module_tmpl") { +@@ -258,6 +258,7 @@ template("chrome_public_common_apk_or_module_tmpl") { if (!defined(proguard_configs)) { proguard_configs = [] } diff --git a/patches/chrome-android-java-AndroidManifest.xml.patch b/patches/chrome-android-java-AndroidManifest.xml.patch index ce5b3b2e53e1..47d72c8c9238 100644 --- a/patches/chrome-android-java-AndroidManifest.xml.patch +++ b/patches/chrome-android-java-AndroidManifest.xml.patch @@ -1,5 +1,5 @@ diff --git a/chrome/android/java/AndroidManifest.xml b/chrome/android/java/AndroidManifest.xml -index 16820374338adc755e4795c1a8a07997cd620bac..a3c4d705ff3e338c7c8f0ae5f0f3cc5ef19e4653 100644 +index a18cd3d5572951b7bada82907e9eb48df5b47a3c..4aa022393170dee6afac8353fcf54cb0cb6c77d3 100644 --- a/chrome/android/java/AndroidManifest.xml +++ b/chrome/android/java/AndroidManifest.xml @@ -34,7 +34,9 @@ by a child template that "extends" this file. @@ -12,7 +12,7 @@ index 16820374338adc755e4795c1a8a07997cd620bac..a3c4d705ff3e338c7c8f0ae5f0f3cc5e -@@ -43,22 +45,32 @@ by a child template that "extends" this file. +@@ -43,23 +45,33 @@ by a child template that "extends" this file. {% if target_sdk_version|int > 27 or target_sdk_version == "Q" %} {% endif %} @@ -35,6 +35,7 @@ index 16820374338adc755e4795c1a8a07997cd620bac..a3c4d705ff3e338c7c8f0ae5f0f3cc5e + + @@ -45,7 +46,7 @@ index 16820374338adc755e4795c1a8a07997cd620bac..a3c4d705ff3e338c7c8f0ae5f0f3cc5e {% set enable_vr = enable_vr|default(0) %} {% if enable_vr == "true" %} -@@ -99,7 +111,9 @@ by a child template that "extends" this file. +@@ -100,7 +112,9 @@ by a child template that "extends" this file. @@ -55,7 +56,7 @@ index 16820374338adc755e4795c1a8a07997cd620bac..a3c4d705ff3e338c7c8f0ae5f0f3cc5e {% block extra_uses_permissions %} {% endblock %} -@@ -125,6 +139,7 @@ by a child template that "extends" this file. +@@ -126,6 +140,7 @@ by a child template that "extends" this file. @@ -71,7 +72,7 @@ index 16820374338adc755e4795c1a8a07997cd620bac..a3c4d705ff3e338c7c8f0ae5f0f3cc5e {% endif %} -@@ -1290,6 +1306,7 @@ android:value="true" /> +@@ -1295,6 +1311,7 @@ android:value="true" /> {% endif %} diff --git a/patches/chrome-android-java-res-layout-bottom_toolbar_browsing.xml.patch b/patches/chrome-android-java-res-layout-bottom_toolbar_browsing.xml.patch index bffb34e7851e..5901ab082ecf 100644 --- a/patches/chrome-android-java-res-layout-bottom_toolbar_browsing.xml.patch +++ b/patches/chrome-android-java-res-layout-bottom_toolbar_browsing.xml.patch @@ -1,5 +1,5 @@ diff --git a/chrome/android/java/res/layout/bottom_toolbar_browsing.xml b/chrome/android/java/res/layout/bottom_toolbar_browsing.xml -index 76d517641db816c12bd35ae6497cd172eea71fd0..4eec0ef3fc85ebd5f604d5869f86827f38afab64 100644 +index 341f1563bd43eeb18d0b79a0d024613ae6e42643..97b06f3285973c08a13c1c4e195717d6237c5321 100644 --- a/chrome/android/java/res/layout/bottom_toolbar_browsing.xml +++ b/chrome/android/java/res/layout/bottom_toolbar_browsing.xml @@ -16,9 +16,9 @@ @@ -12,7 +12,7 @@ index 76d517641db816c12bd35ae6497cd172eea71fd0..4eec0ef3fc85ebd5f604d5869f86827f -