Skip to content

Commit

Permalink
[REBASE] Patches for 131.0.6778.70
Browse files Browse the repository at this point in the history
  • Loading branch information
uazo committed Nov 14, 2024
1 parent 3c8e496 commit cfd9beb
Show file tree
Hide file tree
Showing 30 changed files with 119 additions and 111 deletions.
2 changes: 1 addition & 1 deletion build/patches/AImageReader-CFI-crash-mitigations.patch
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ diff --git a/base/android/android_image_reader_compat.h b/base/android/android_i
diff --git a/chrome/browser/flag-metadata.json b/chrome/browser/flag-metadata.json
--- a/chrome/browser/flag-metadata.json
+++ b/chrome/browser/flag-metadata.json
@@ -3401,6 +3401,10 @@
@@ -3408,6 +3408,10 @@
"name": "enable-identity-in-auth-error",
"owners": [ "[email protected]", "[email protected]" ],
"expiry_milestone": 135
Expand Down
4 changes: 2 additions & 2 deletions build/patches/Add-a-flag-to-disable-GamePad-API.patch
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ License: GPL-2.0-or-later - https://spdx.org/licenses/GPL-2.0-or-later.html
diff --git a/chrome/browser/flag-metadata.json b/chrome/browser/flag-metadata.json
--- a/chrome/browser/flag-metadata.json
+++ b/chrome/browser/flag-metadata.json
@@ -7800,9 +7800,9 @@
@@ -7807,9 +7807,9 @@
"expiry_milestone" : 130
},
{
Expand All @@ -29,7 +29,7 @@ diff --git a/chrome/browser/flag-metadata.json b/chrome/browser/flag-metadata.js
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
--- a/chrome/browser/flag_descriptions.cc
+++ b/chrome/browser/flag_descriptions.cc
@@ -3321,7 +3321,7 @@ const char kResetShortcutCustomizationsDescription[] =
@@ -3331,7 +3331,7 @@ const char kResetShortcutCustomizationsDescription[] =

const char kRestrictGamepadAccessName[] = "Restrict gamepad access";
const char kRestrictGamepadAccessDescription[] =
Expand Down
4 changes: 2 additions & 2 deletions build/patches/Add-bookmark-import-export-actions.patch
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,7 @@ diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
"bookmarks/chrome_bookmark_client.cc",
"bookmarks/chrome_bookmark_client.h",
"bookmarks/managed_bookmark_service_factory.cc",
@@ -1704,6 +1706,13 @@ static_library("browser") {
@@ -1707,6 +1709,13 @@ static_library("browser") {
"webid/identity_provider_permission_request.h",
]

Expand All @@ -837,7 +837,7 @@ diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
configs += [
"//build/config/compiler:wexit_time_destructors",
"//build/config:precompiled_headers",
@@ -3505,8 +3514,6 @@ static_library("browser") {
@@ -3508,8 +3517,6 @@ static_library("browser") {
"bookmarks/bookmark_expanded_state_tracker.h",
"bookmarks/bookmark_expanded_state_tracker_factory.cc",
"bookmarks/bookmark_expanded_state_tracker_factory.h",
Expand Down
4 changes: 2 additions & 2 deletions build/patches/Add-cromite-flags-support.patch
Original file line number Diff line number Diff line change
Expand Up @@ -1911,7 +1911,7 @@ diff --git a/net/base/features.h b/net/base/features.h
diff --git a/services/network/public/cpp/features.cc b/services/network/public/cpp/features.cc
--- a/services/network/public/cpp/features.cc
+++ b/services/network/public/cpp/features.cc
@@ -489,4 +489,5 @@ BASE_FEATURE(kStorageAccessHeadersTrial,
@@ -515,4 +515,5 @@ BASE_FEATURE(kStorageAccessHeadersTrial,
"StorageAccessHeadersTrial",
base::FEATURE_ENABLED_BY_DEFAULT);

Expand All @@ -1920,7 +1920,7 @@ diff --git a/services/network/public/cpp/features.cc b/services/network/public/c
diff --git a/services/network/public/cpp/features.h b/services/network/public/cpp/features.h
--- a/services/network/public/cpp/features.h
+++ b/services/network/public/cpp/features.h
@@ -195,6 +195,7 @@ COMPONENT_EXPORT(NETWORK_CPP) BASE_DECLARE_FEATURE(kStorageAccessHeaders);
@@ -204,6 +204,7 @@ COMPONENT_EXPORT(NETWORK_CPP) BASE_DECLARE_FEATURE(kStorageAccessHeaders);
// Enables the Storage Access Headers Origin Trial.
COMPONENT_EXPORT(NETWORK_CPP) BASE_DECLARE_FEATURE(kStorageAccessHeadersTrial);

Expand Down
2 changes: 1 addition & 1 deletion build/patches/Add-flag-to-disable-IPv6-probes.patch
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ new file mode 100644
diff --git a/net/BUILD.gn b/net/BUILD.gn
--- a/net/BUILD.gn
+++ b/net/BUILD.gn
@@ -1099,6 +1099,7 @@ component("net") {
@@ -1101,6 +1101,7 @@ component("net") {
"//components/miracle_parameter/common",
"//components/network_time/time_tracker",
"//net/http:transport_security_state_generated_files",
Expand Down
6 changes: 3 additions & 3 deletions build/patches/Add-support-to-jxl.patch
Original file line number Diff line number Diff line change
Expand Up @@ -2215,7 +2215,7 @@ diff --git a/third_party/blink/tools/commit_stats/git-dirs.txt b/third_party/bli
diff --git a/third_party/blink/web_tests/TestExpectations b/third_party/blink/web_tests/TestExpectations
--- a/third_party/blink/web_tests/TestExpectations
+++ b/third_party/blink/web_tests/TestExpectations
@@ -4837,6 +4837,12 @@ crbug.com/1199522 http/tests/devtools/layers/layers-3d-view-hit-testing.js [ Fai
@@ -4851,6 +4851,12 @@ crbug.com/1199522 http/tests/devtools/layers/layers-3d-view-hit-testing.js [ Fai
# Started failing after rolling new version of check-layout-th.js
css3/flexbox/perpendicular-writing-modes-inside-flex-item.html [ Failure ]

Expand All @@ -2231,7 +2231,7 @@ diff --git a/third_party/blink/web_tests/TestExpectations b/third_party/blink/we
diff --git a/third_party/blink/web_tests/VirtualTestSuites b/third_party/blink/web_tests/VirtualTestSuites
--- a/third_party/blink/web_tests/VirtualTestSuites
+++ b/third_party/blink/web_tests/VirtualTestSuites
@@ -471,6 +471,15 @@
@@ -489,6 +489,15 @@
"args": ["--enable-blink-features=FractionalScrollOffsets"],
"expires": "Jun 1, 2025"
},
Expand Down Expand Up @@ -2646,7 +2646,7 @@ new file mode 100644
diff --git a/tools/metrics/histograms/enums.xml b/tools/metrics/histograms/enums.xml
--- a/tools/metrics/histograms/enums.xml
+++ b/tools/metrics/histograms/enums.xml
@@ -20744,6 +20744,7 @@ from previous Chrome versions.
@@ -20745,6 +20745,7 @@ from previous Chrome versions.
<int value="188610022" label="NewMessageListView:enabled"/>
<int value="189728101" label="FasterLocationReload:disabled"/>
<int value="189777537" label="DisableInitialMostVisitedFadeIn:enabled"/>
Expand Down
2 changes: 1 addition & 1 deletion build/patches/Block-qjz9zk-or-trk-requests.patch
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ diff --git a/content/browser/child_process_security_policy_impl.cc b/content/bro
diff --git a/net/BUILD.gn b/net/BUILD.gn
--- a/net/BUILD.gn
+++ b/net/BUILD.gn
@@ -1065,6 +1065,8 @@ component("net") {
@@ -1067,6 +1067,8 @@ component("net") {
"url_request/url_request_http_job.cc",
"url_request/url_request_http_job.h",
"url_request/url_request_interceptor.cc",
Expand Down
2 changes: 1 addition & 1 deletion build/patches/Bromite-auto-updater.patch
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ new file mode 100644
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -2517,6 +2517,12 @@ static_library("browser") {
@@ -2520,6 +2520,12 @@ static_library("browser") {
}

if (is_android) {
Expand Down
2 changes: 1 addition & 1 deletion build/patches/Cromite-Branding.patch
Original file line number Diff line number Diff line change
Expand Up @@ -13153,7 +13153,7 @@ e)fqMZZ`3a)Ds&5H<cfp<0000<MNUMnLSTYHt&Yn8
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -1849,6 +1849,7 @@ static_library("browser") {
@@ -1852,6 +1852,7 @@ static_library("browser") {
"//build:chromeos_buildflags",
"//build/config/chromebox_for_meetings:buildflags",
"//build/config/compiler:compiler_buildflags",
Expand Down
6 changes: 3 additions & 3 deletions build/patches/Disable-Compose-feature.patch
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ License: GPL-2.0-or-later - https://spdx.org/licenses/GPL-2.0-or-later.html
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -8386,6 +8386,12 @@ static_library("browser") {
@@ -8389,6 +8389,12 @@ static_library("browser") {
deps += [ "//components/segmentation_platform/internal:optimization_guide_segmentation_handler" ]
}

Expand All @@ -26,15 +26,15 @@ diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
if (enable_compose) {
sources += [
"compose/chrome_compose_client.cc",
@@ -8401,7 +8407,6 @@ static_library("browser") {
@@ -8404,7 +8410,6 @@ static_library("browser") {
]

deps += [
- ":compose_optimization_guide_proto",
"//chrome/common/compose",
"//chrome/common/compose:mojo_bindings",
"//components/autofill/content/browser:browser",
@@ -8842,7 +8847,7 @@ source_set("font_pref") {
@@ -8845,7 +8850,7 @@ source_set("font_pref") {
deps = [ "//chrome/common" ]
}

Expand Down
2 changes: 1 addition & 1 deletion build/patches/Disable-safety-check.patch
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/settings/Settin
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -3298,7 +3298,6 @@ static_library("browser") {
@@ -3301,7 +3301,6 @@ static_library("browser") {
"//chrome/browser/reading_list/android",
"//chrome/browser/recent_tabs:jni_headers",
"//chrome/browser/safe_browsing/android:safe_browsing_enums",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html
diff --git a/chrome/browser/flag-metadata.json b/chrome/browser/flag-metadata.json
--- a/chrome/browser/flag-metadata.json
+++ b/chrome/browser/flag-metadata.json
@@ -1955,9 +1955,9 @@
@@ -1962,9 +1962,9 @@
"expiry_milestone": -1
},
{
Expand Down
4 changes: 2 additions & 2 deletions build/patches/Enable-native-Android-autofill.patch
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ diff --git a/chrome/browser/autofill/android/java/src/org/chromium/chrome/browse
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
--- a/chrome/browser/flag_descriptions.cc
+++ b/chrome/browser/flag_descriptions.cc
@@ -795,12 +795,6 @@ const char kAutofillVcnEnrollRequestTimeoutDescription[] =
@@ -805,12 +805,6 @@ const char kAutofillVcnEnrollRequestTimeoutDescription[] =
"VCN enrollment request. Upon timeout, the client will terminate the VCN "
"enrollment UI, but the request may still succeed server-side.";

Expand All @@ -387,7 +387,7 @@ diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descripti
diff --git a/chrome/browser/flag_descriptions.h b/chrome/browser/flag_descriptions.h
--- a/chrome/browser/flag_descriptions.h
+++ b/chrome/browser/flag_descriptions.h
@@ -454,9 +454,6 @@ extern const char kAutofillUpstreamUpdatedUiDescription[];
@@ -457,9 +457,6 @@ extern const char kAutofillUpstreamUpdatedUiDescription[];
extern const char kAutofillVcnEnrollRequestTimeoutName[];
extern const char kAutofillVcnEnrollRequestTimeoutDescription[];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ new file mode 100644
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -3498,6 +3498,9 @@ static_library("browser") {
@@ -3501,6 +3501,9 @@ static_library("browser") {
"//components/user_scripts/android",
]
}
Expand Down
2 changes: 1 addition & 1 deletion build/patches/Experimental-user-scripts-support.patch
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ diff --git a/chrome/android/java_sources.gni b/chrome/android/java_sources.gni
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -3482,6 +3482,13 @@ static_library("browser") {
@@ -3485,6 +3485,13 @@ static_library("browser") {
]
deps += [ "//chrome/android/modules/dev_ui/provider:native" ]
}
Expand Down
2 changes: 1 addition & 1 deletion build/patches/Fix-chromium-build-bugs.patch
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ diff --git a/content/browser/browser_interface_binders.cc b/content/browser/brow
diff --git a/net/BUILD.gn b/net/BUILD.gn
--- a/net/BUILD.gn
+++ b/net/BUILD.gn
@@ -1720,6 +1720,7 @@ component("net") {
@@ -1722,6 +1722,7 @@ component("net") {
if (!is_cronet_build) {
deps += [ "//mojo/public/cpp/bindings:default_construct_tag" ]
}
Expand Down
4 changes: 2 additions & 2 deletions build/patches/Internal-firewall.patch
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ License: GPL-2.0-or-later - https://spdx.org/licenses/GPL-2.0-or-later.html
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -2423,6 +2423,7 @@ static_library("browser") {
@@ -2426,6 +2426,7 @@ static_library("browser") {
"//third_party/ungoogled:switches",
"//services/device/public/mojom",
"//services/device/public/mojom:usb",
Expand Down Expand Up @@ -289,7 +289,7 @@ new file mode 100644
diff --git a/net/BUILD.gn b/net/BUILD.gn
--- a/net/BUILD.gn
+++ b/net/BUILD.gn
@@ -1101,6 +1101,7 @@ component("net") {
@@ -1103,6 +1103,7 @@ component("net") {
"//components/miracle_parameter/common",
"//components/network_time/time_tracker",
"//net/http:transport_security_state_generated_files",
Expand Down
2 changes: 1 addition & 1 deletion build/patches/Keep-disabled-FetchLaterAPI.patch
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ diff --git a/third_party/blink/renderer/platform/loader/child_url_loader_factory
diff --git a/third_party/blink/renderer/platform/loader/fetch/resource_fetcher.cc b/third_party/blink/renderer/platform/loader/fetch/resource_fetcher.cc
--- a/third_party/blink/renderer/platform/loader/fetch/resource_fetcher.cc
+++ b/third_party/blink/renderer/platform/loader/fetch/resource_fetcher.cc
@@ -2939,7 +2939,7 @@ void ResourceFetcher::PrepareForLeakDetection() {
@@ -2950,7 +2950,7 @@ void ResourceFetcher::PrepareForLeakDetection() {
void ResourceFetcher::StopFetchingInternal(StopFetchingTarget target) {
// TODO(toyoshim): May want to suspend scheduler while canceling loaders so
// that the cancellations below do not awake unnecessary scheduling.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ diff --git a/chrome/android/java/src/org/chromium/chrome/browser/incognito/Incog
diff --git a/chrome/browser/flag-metadata.json b/chrome/browser/flag-metadata.json
--- a/chrome/browser/flag-metadata.json
+++ b/chrome/browser/flag-metadata.json
@@ -5336,9 +5336,9 @@
@@ -5343,9 +5343,9 @@
"expiry_milestone": 120
},
{
Expand Down
4 changes: 2 additions & 2 deletions build/patches/Move-navigation-bar-to-bottom.patch
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html
diff --git a/cc/base/features.cc b/cc/base/features.cc
--- a/cc/base/features.cc
+++ b/cc/base/features.cc
@@ -38,6 +38,14 @@ BASE_FEATURE(kSynchronizedScrolling,
@@ -45,6 +45,14 @@ BASE_FEATURE(kSynchronizedScrolling,
base::FEATURE_ENABLED_BY_DEFAULT);
#endif

Expand All @@ -116,7 +116,7 @@ diff --git a/cc/base/features.cc b/cc/base/features.cc
diff --git a/cc/base/features.h b/cc/base/features.h
--- a/cc/base/features.h
+++ b/cc/base/features.h
@@ -17,6 +17,8 @@ namespace features {
@@ -18,6 +18,8 @@ CC_BASE_EXPORT BASE_DECLARE_FEATURE(kAlignSurfaceLayerImplToPixelGrid);
CC_BASE_EXPORT BASE_DECLARE_FEATURE(kAnimatedImageResume);
CC_BASE_EXPORT extern bool IsImpulseScrollAnimationEnabled();
CC_BASE_EXPORT BASE_DECLARE_FEATURE(kSynchronizedScrolling);
Expand Down
2 changes: 1 addition & 1 deletion build/patches/Multiple-fingerprinting-mitigations.patch
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -2403,6 +2403,7 @@ static_library("browser") {
@@ -2406,6 +2406,7 @@ static_library("browser") {
"//services/device/public/cpp:device_features",
"//services/device/public/cpp/geolocation",
"//services/device/public/cpp/usb",
Expand Down
Loading

0 comments on commit cfd9beb

Please sign in to comment.