diff --git a/build/cromite_patches_list.txt b/build/cromite_patches_list.txt index c5502cf9..f9e830cc 100644 --- a/build/cromite_patches_list.txt +++ b/build/cromite_patches_list.txt @@ -293,6 +293,7 @@ Close-Sessions-On-Ip-Change.patch Ask-for-restart-on-connection-change.patch Bubble-Locking-on-UI-DevTools.patch Add-a-GN-flag-to-disable-trybot-verification.patch +Override-the-MV2-deprecation.patch # temporary or wip patches Temp-PerformanceNavigationTiming-privacy-fix.patch diff --git a/build/patches/Override-the-MV2-deprecation.patch b/build/patches/Override-the-MV2-deprecation.patch new file mode 100644 index 00000000..9b8d0864 --- /dev/null +++ b/build/patches/Override-the-MV2-deprecation.patch @@ -0,0 +1,24 @@ +From: uazo +Date: Mon, 2 Sep 2024 07:04:11 +0000 +Subject: Override the MV2 deprecation + +Uses the flag used in tests to forcibly enable MV2 + +License: GPL-2.0-or-later - https://spdx.org/licenses/GPL-2.0-or-later.html +--- + chrome/browser/extensions/manifest_v2_experiment_manager.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/chrome/browser/extensions/manifest_v2_experiment_manager.cc b/chrome/browser/extensions/manifest_v2_experiment_manager.cc +--- a/chrome/browser/extensions/manifest_v2_experiment_manager.cc ++++ b/chrome/browser/extensions/manifest_v2_experiment_manager.cc +@@ -32,7 +32,7 @@ namespace extensions { + namespace { + + // Whether to override the MV2 deprecation for testing purposes. +-bool g_allow_mv2_for_testing = false; ++bool g_allow_mv2_for_testing = true; + + // Returns the suffix to use for histograms related to the manifest location + // grouping. +--