+
+
+-
++
+
+
+
+@@ -33,7 +33,7 @@
+ routes_.SAFETY_HUB, currentRoute, inSearchMode)]]"
+ update-when-false>
+
+-
+
diff --git a/vanadium_patches/0017-disable-seed-based-field-trials.patch b/vanadium_patches/0025-disable-seed-based-field-trials.patch
similarity index 93%
rename from vanadium_patches/0017-disable-seed-based-field-trials.patch
rename to vanadium_patches/0025-disable-seed-based-field-trials.patch
index 9e00b527..19f5f177 100644
--- a/vanadium_patches/0017-disable-seed-based-field-trials.patch
+++ b/vanadium_patches/0025-disable-seed-based-field-trials.patch
@@ -73,10 +73,10 @@ index 9be541d64491c..b7487efe50add 100644
source_set("unit_tests") {
diff --git a/components/variations/service/variations_field_trial_creator.cc b/components/variations/service/variations_field_trial_creator.cc
-index 5e7adcc2611f9..32992839a4966 100644
+index 2c19f7689baf0..09dff12dd5799 100644
--- a/components/variations/service/variations_field_trial_creator.cc
+++ b/components/variations/service/variations_field_trial_creator.cc
-@@ -35,6 +35,7 @@
+@@ -36,6 +36,7 @@
#include "components/metrics/metrics_state_manager.h"
#include "components/prefs/pref_service.h"
#include "components/variations/active_field_trials.h"
@@ -84,14 +84,14 @@ index 5e7adcc2611f9..32992839a4966 100644
#include "components/variations/entropy_provider.h"
#include "components/variations/field_trial_config/field_trial_util.h"
#include "components/variations/platform_field_trials.h"
-@@ -247,9 +248,15 @@ bool VariationsFieldTrialCreator::SetUpFieldTrials(
+@@ -250,9 +251,15 @@ bool VariationsFieldTrialCreator::SetUpFieldTrials(
// Force the variation ids selected in chrome://flags and/or specified using
// the command-line flag.
+#if BUILDFLAG(FIELDTRIAL_SEED_ENABLED)
auto result = http_header_provider->ForceVariationIds(
- base::PassKey(),
- variation_ids, command_line_variation_ids);
+ base::PassKey(), variation_ids,
+ command_line->GetSwitchValueASCII(switches::kForceVariationIds));
+#else
+ // Pretend that it was successful without acutally forcing
+ // variation ids and command line variation ids
@@ -100,7 +100,7 @@ index 5e7adcc2611f9..32992839a4966 100644
switch (result) {
case VariationsIdsProvider::ForceIdsResult::INVALID_SWITCH_ENTRY:
-@@ -314,26 +321,34 @@ bool VariationsFieldTrialCreator::SetUpFieldTrials(
+@@ -330,27 +337,35 @@ bool VariationsFieldTrialCreator::SetUpFieldTrials(
CreateTrialsResult create_trials_result = {.applied_seed = false};
if (!used_testing_config && client_filterable_state) {
@@ -115,6 +115,7 @@ index 5e7adcc2611f9..32992839a4966 100644
+#if BUILDFLAG(FIELDTRIAL_SEED_ENABLED)
FieldTrialsProvider::UpdateAppliedSeedHasActiveLimitedLayer(
create_trials_result.seed_has_active_limited_layer.value_or(false));
+ variations_source_.type = VariationsSourceType::kVariationsServer;
+#endif // BUILDFLAG(FIELDTRIAL_SEED_ENABLED)
}
diff --git a/vanadium_patches/0021-disable-navigation-error-correction-by-default.patch b/vanadium_patches/0029-disable-navigation-error-correction-by-default.patch
similarity index 90%
rename from vanadium_patches/0021-disable-navigation-error-correction-by-default.patch
rename to vanadium_patches/0029-disable-navigation-error-correction-by-default.patch
index 42afc7a5..bad642ec 100644
--- a/vanadium_patches/0021-disable-navigation-error-correction-by-default.patch
+++ b/vanadium_patches/0029-disable-navigation-error-correction-by-default.patch
@@ -8,10 +8,10 @@ Subject: [PATCH] disable navigation error correction by default
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/browser/net/profile_network_context_service.cc b/chrome/browser/net/profile_network_context_service.cc
-index 226a3863950c1..f406adbc4d6c2 100644
+index 7fed54f2fd078..34099919961da 100644
--- a/chrome/browser/net/profile_network_context_service.cc
+++ b/chrome/browser/net/profile_network_context_service.cc
-@@ -613,7 +613,7 @@ void ProfileNetworkContextService::ConfigureNetworkContextParams(
+@@ -626,7 +626,7 @@ void ProfileNetworkContextService::ConfigureNetworkContextParams(
void ProfileNetworkContextService::RegisterProfilePrefs(
user_prefs::PrefRegistrySyncable* registry) {
registry->RegisterBooleanPref(embedder_support::kAlternateErrorPagesEnabled,
diff --git a/vanadium_patches/0023-disable-network-prediction-by-default.patch b/vanadium_patches/0031-disable-network-prediction-by-default.patch
similarity index 94%
rename from vanadium_patches/0023-disable-network-prediction-by-default.patch
rename to vanadium_patches/0031-disable-network-prediction-by-default.patch
index dcb7db0e..6e47c969 100644
--- a/vanadium_patches/0023-disable-network-prediction-by-default.patch
+++ b/vanadium_patches/0031-disable-network-prediction-by-default.patch
@@ -8,7 +8,7 @@ Subject: [PATCH] disable network prediction by default
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/browser/preloading/preloading_prefs.h b/chrome/browser/preloading/preloading_prefs.h
-index 20d7692b46deb..11632e3994c52 100644
+index 0c128f1c54383..62051e917d2cd 100644
--- a/chrome/browser/preloading/preloading_prefs.h
+++ b/chrome/browser/preloading/preloading_prefs.h
@@ -23,7 +23,7 @@ enum class NetworkPredictionOptions {
diff --git a/vanadium_patches/0025-disable-hyperlink-auditing-by-default.patch b/vanadium_patches/0033-disable-hyperlink-auditing-by-default.patch
similarity index 90%
rename from vanadium_patches/0025-disable-hyperlink-auditing-by-default.patch
rename to vanadium_patches/0033-disable-hyperlink-auditing-by-default.patch
index f0377a06..ad5ca332 100644
--- a/vanadium_patches/0025-disable-hyperlink-auditing-by-default.patch
+++ b/vanadium_patches/0033-disable-hyperlink-auditing-by-default.patch
@@ -8,10 +8,10 @@ Subject: [PATCH] disable hyperlink auditing by default
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
-index 25458578a8306..faa4727bdec35 100644
+index f823433796c5c..7823de2ba399c 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
-@@ -1499,7 +1499,7 @@ void ChromeContentBrowserClient::RegisterLocalStatePrefs(
+@@ -1541,7 +1541,7 @@ void ChromeContentBrowserClient::RegisterLocalStatePrefs(
void ChromeContentBrowserClient::RegisterProfilePrefs(
user_prefs::PrefRegistrySyncable* registry) {
registry->RegisterBooleanPref(prefs::kDisable3DAPIs, false);
diff --git a/vanadium_patches/0026-disable-showing-popular-sites-by-default.patch b/vanadium_patches/0034-disable-showing-popular-sites-by-default.patch
similarity index 90%
rename from vanadium_patches/0026-disable-showing-popular-sites-by-default.patch
rename to vanadium_patches/0034-disable-showing-popular-sites-by-default.patch
index 3d09d55d..c452051e 100644
--- a/vanadium_patches/0026-disable-showing-popular-sites-by-default.patch
+++ b/vanadium_patches/0034-disable-showing-popular-sites-by-default.patch
@@ -9,7 +9,7 @@ Subject: [PATCH] disable showing popular sites by default
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/components/ntp_tiles/features.cc b/components/ntp_tiles/features.cc
-index 540e0b04c06c5..569b304845767 100644
+index 5885dde354d76..3782fbc69b542 100644
--- a/components/ntp_tiles/features.cc
+++ b/components/ntp_tiles/features.cc
@@ -15,7 +15,7 @@ const char kPopularSitesFieldTrialName[] = "NTPPopularSites";
@@ -22,7 +22,7 @@ index 540e0b04c06c5..569b304845767 100644
BASE_FEATURE(kNtpMostLikelyFaviconsFromServerFeature,
"NTPMostLikelyFaviconsFromServer",
diff --git a/components/ntp_tiles/most_visited_sites.cc b/components/ntp_tiles/most_visited_sites.cc
-index 077078b7ca92c..881537df544fb 100644
+index 4f707dab25b8f..a1bd42e0b6954 100644
--- a/components/ntp_tiles/most_visited_sites.cc
+++ b/components/ntp_tiles/most_visited_sites.cc
@@ -280,9 +280,11 @@ void MostVisitedSites::AddMostVisitedURLsObserver(
@@ -37,7 +37,7 @@ index 077078b7ca92c..881537df544fb 100644
}
if (top_sites_) {
-@@ -654,6 +656,7 @@ MostVisitedSites::CreatePopularSitesSections(
+@@ -657,6 +659,7 @@ MostVisitedSites::CreatePopularSitesSections(
return sections;
}
@@ -45,7 +45,7 @@ index 077078b7ca92c..881537df544fb 100644
const std::set no_hosts;
for (const auto& section_type_and_sites : popular_sites()->sections()) {
SectionType type = section_type_and_sites.first;
-@@ -671,6 +674,7 @@ MostVisitedSites::CreatePopularSitesSections(
+@@ -674,6 +677,7 @@ MostVisitedSites::CreatePopularSitesSections(
/*num_max_tiles=*/GetMaxNumSites());
}
}
diff --git a/vanadium_patches/0027-disable-article-suggestions-feature-by-default.patch b/vanadium_patches/0035-disable-article-suggestions-feature-by-default.patch
similarity index 100%
rename from vanadium_patches/0027-disable-article-suggestions-feature-by-default.patch
rename to vanadium_patches/0035-disable-article-suggestions-feature-by-default.patch
diff --git a/vanadium_patches/0028-disable-content-feed-suggestions-by-default.patch b/vanadium_patches/0036-disable-content-feed-suggestions-by-default.patch
similarity index 89%
rename from vanadium_patches/0028-disable-content-feed-suggestions-by-default.patch
rename to vanadium_patches/0036-disable-content-feed-suggestions-by-default.patch
index 7aaead59..f084050e 100644
--- a/vanadium_patches/0028-disable-content-feed-suggestions-by-default.patch
+++ b/vanadium_patches/0036-disable-content-feed-suggestions-by-default.patch
@@ -8,10 +8,10 @@ Subject: [PATCH] disable content feed suggestions by default
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/feed/feed_feature_list.cc b/components/feed/feed_feature_list.cc
-index b11f3a2bf3691..148694a491e83 100644
+index 0267d795b9ede..2ab4e941570d0 100644
--- a/components/feed/feed_feature_list.cc
+++ b/components/feed/feed_feature_list.cc
-@@ -25,7 +25,7 @@ const char kFeedHeaderRemovalTreatmentValue2[] = "none";
+@@ -21,7 +21,7 @@ namespace feed {
// InterestFeedV2 takes precedence over InterestFeedContentSuggestions.
// InterestFeedV2 is cached in ChromeCachedFlags. If the default value here is
// changed, please update the cached one's default value in CachedFeatureFlags.
diff --git a/vanadium_patches/0029-disable-sensors-access-by-default.patch b/vanadium_patches/0037-disable-sensors-access-by-default.patch
similarity index 96%
rename from vanadium_patches/0029-disable-sensors-access-by-default.patch
rename to vanadium_patches/0037-disable-sensors-access-by-default.patch
index b7eb056f..6458eef9 100644
--- a/vanadium_patches/0029-disable-sensors-access-by-default.patch
+++ b/vanadium_patches/0037-disable-sensors-access-by-default.patch
@@ -8,7 +8,7 @@ Subject: [PATCH] disable sensors access by default
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/content_settings/core/browser/content_settings_registry.cc b/components/content_settings/core/browser/content_settings_registry.cc
-index 8adb55497b971..463127f0a8a23 100644
+index 73701662ea02a..b135d39e3b796 100644
--- a/components/content_settings/core/browser/content_settings_registry.cc
+++ b/components/content_settings/core/browser/content_settings_registry.cc
@@ -359,7 +359,7 @@ void ContentSettingsRegistry::Init() {
diff --git a/vanadium_patches/0031-disable-third-party-cookies-by-default.patch b/vanadium_patches/0039-disable-third-party-cookies-by-default.patch
similarity index 95%
rename from vanadium_patches/0031-disable-third-party-cookies-by-default.patch
rename to vanadium_patches/0039-disable-third-party-cookies-by-default.patch
index 347b2387..27b0f0a5 100644
--- a/vanadium_patches/0031-disable-third-party-cookies-by-default.patch
+++ b/vanadium_patches/0039-disable-third-party-cookies-by-default.patch
@@ -8,7 +8,7 @@ Subject: [PATCH] disable third party cookies by default
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/content_settings/core/browser/cookie_settings.cc b/components/content_settings/core/browser/cookie_settings.cc
-index 6c12fac586091..73149e1a5f772 100644
+index 1bb51ad9d1aa0..e0e3c8375ce08 100644
--- a/components/content_settings/core/browser/cookie_settings.cc
+++ b/components/content_settings/core/browser/cookie_settings.cc
@@ -83,7 +83,7 @@ void CookieSettings::RegisterProfilePrefs(
diff --git a/vanadium_patches/0032-disable-background-sync-by-default.patch b/vanadium_patches/0040-disable-background-sync-by-default.patch
similarity index 96%
rename from vanadium_patches/0032-disable-background-sync-by-default.patch
rename to vanadium_patches/0040-disable-background-sync-by-default.patch
index 145f62eb..ba6d6f88 100644
--- a/vanadium_patches/0032-disable-background-sync-by-default.patch
+++ b/vanadium_patches/0040-disable-background-sync-by-default.patch
@@ -8,7 +8,7 @@ Subject: [PATCH] disable background sync by default
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/content_settings/core/browser/content_settings_registry.cc b/components/content_settings/core/browser/content_settings_registry.cc
-index f229e952f95bd..1e67686fe511c 100644
+index 7378a0e6dbddc..625d38d8eee31 100644
--- a/components/content_settings/core/browser/content_settings_registry.cc
+++ b/components/content_settings/core/browser/content_settings_registry.cc
@@ -244,7 +244,7 @@ void ContentSettingsRegistry::Init() {
diff --git a/vanadium_patches/0033-disable-payment-support-by-default.patch b/vanadium_patches/0041-disable-payment-support-by-default.patch
similarity index 100%
rename from vanadium_patches/0033-disable-payment-support-by-default.patch
rename to vanadium_patches/0041-disable-payment-support-by-default.patch
diff --git a/vanadium_patches/0034-disable-media-router-media-remoting-by-default.patch b/vanadium_patches/0042-disable-media-router-media-remoting-by-default.patch
similarity index 100%
rename from vanadium_patches/0034-disable-media-router-media-remoting-by-default.patch
rename to vanadium_patches/0042-disable-media-router-media-remoting-by-default.patch
diff --git a/vanadium_patches/0035-disable-media-router-by-default.patch b/vanadium_patches/0043-disable-media-router-by-default.patch
similarity index 93%
rename from vanadium_patches/0035-disable-media-router-by-default.patch
rename to vanadium_patches/0043-disable-media-router-by-default.patch
index 6e08600f..ed0adb7a 100644
--- a/vanadium_patches/0035-disable-media-router-by-default.patch
+++ b/vanadium_patches/0043-disable-media-router-by-default.patch
@@ -22,10 +22,10 @@ index 064f07eb017df..faf6fd36320d7 100644
#if !BUILDFLAG(IS_ANDROID) || BUILDFLAG(ENABLE_DESKTOP_ANDROID_EXTENSIONS)
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
-index db97dc1e4813e..2c15bc10ab4cb 100644
+index 6bb023367ec70..39a69b5397635 100644
--- a/chrome/browser/profiles/profile_impl.cc
+++ b/chrome/browser/profiles/profile_impl.cc
-@@ -425,7 +425,7 @@ void ProfileImpl::RegisterProfilePrefs(
+@@ -430,7 +430,7 @@ void ProfileImpl::RegisterProfilePrefs(
#endif
registry->RegisterBooleanPref(prefs::kForceEphemeralProfiles, false);
diff --git a/vanadium_patches/0037-disable-browser-sign-in-feature-by-default.patch b/vanadium_patches/0045-disable-browser-sign-in-feature-by-default.patch
similarity index 94%
rename from vanadium_patches/0037-disable-browser-sign-in-feature-by-default.patch
rename to vanadium_patches/0045-disable-browser-sign-in-feature-by-default.patch
index 46fb1a21..fb99e9c5 100644
--- a/vanadium_patches/0037-disable-browser-sign-in-feature-by-default.patch
+++ b/vanadium_patches/0045-disable-browser-sign-in-feature-by-default.patch
@@ -22,10 +22,10 @@ index f11db47c92ff8..bf766b1131039 100644
// static
diff --git a/components/signin/internal/identity_manager/primary_account_manager.cc b/components/signin/internal/identity_manager/primary_account_manager.cc
-index de62411e006a1..adf1448ef69e6 100644
+index e77b1917b6b5b..6a11f2d57ece2 100644
--- a/components/signin/internal/identity_manager/primary_account_manager.cc
+++ b/components/signin/internal/identity_manager/primary_account_manager.cc
-@@ -388,7 +388,7 @@ void PrimaryAccountManager::RegisterProfilePrefs(PrefRegistrySimple* registry) {
+@@ -363,7 +363,7 @@ void PrimaryAccountManager::RegisterProfilePrefs(PrefRegistrySimple* registry) {
prefs::kGoogleServicesSyncingUsernameMigratedToSignedIn, std::string());
registry->RegisterIntegerPref(prefs::kGoogleServicesSyncingUserMigrationType,
/*SyncToSigninMigrationType::kUnknown=*/0);
diff --git a/vanadium_patches/0038-disable-safe-browsing-reporting-opt-in-by-default.patch b/vanadium_patches/0046-disable-safe-browsing-reporting-opt-in-by-default.patch
similarity index 100%
rename from vanadium_patches/0038-disable-safe-browsing-reporting-opt-in-by-default.patch
rename to vanadium_patches/0046-disable-safe-browsing-reporting-opt-in-by-default.patch
diff --git a/vanadium_patches/0039-disable-unused-safe-browsing-option-by-default.patch b/vanadium_patches/0047-disable-unused-safe-browsing-option-by-default.patch
similarity index 100%
rename from vanadium_patches/0039-disable-unused-safe-browsing-option-by-default.patch
rename to vanadium_patches/0047-disable-unused-safe-browsing-option-by-default.patch
diff --git a/vanadium_patches/0040-disable-media-DRM-preprovisioning-by-default.patch b/vanadium_patches/0048-disable-media-DRM-preprovisioning-by-default.patch
similarity index 91%
rename from vanadium_patches/0040-disable-media-DRM-preprovisioning-by-default.patch
rename to vanadium_patches/0048-disable-media-DRM-preprovisioning-by-default.patch
index b9f7d2e1..748849ee 100644
--- a/vanadium_patches/0040-disable-media-DRM-preprovisioning-by-default.patch
+++ b/vanadium_patches/0048-disable-media-DRM-preprovisioning-by-default.patch
@@ -10,10 +10,10 @@ support is enabled.
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media/base/media_switches.cc b/media/base/media_switches.cc
-index 052258ead7125..f2dcfc1d644f1 100644
+index 1cdacae4522fe..204cce8d516c8 100644
--- a/media/base/media_switches.cc
+++ b/media/base/media_switches.cc
-@@ -1073,7 +1073,7 @@ BASE_FEATURE(kMediaDrmPersistentLicense, base::FEATURE_ENABLED_BY_DEFAULT);
+@@ -1108,7 +1108,7 @@ BASE_FEATURE(kMediaDrmPersistentLicense, base::FEATURE_ENABLED_BY_DEFAULT);
// Enables MediaDrmOriginIdManager to provide preprovisioned origin IDs for
// MediaDrmBridge. If disabled, MediaDrmBridge will get unprovisioned origin IDs
// which will trigger provisioning process after MediaDrmBridge is created.
diff --git a/vanadium_patches/0041-disable-autofill-server-communication-by-default.patch b/vanadium_patches/0049-disable-autofill-server-communication-by-default.patch
similarity index 91%
rename from vanadium_patches/0041-disable-autofill-server-communication-by-default.patch
rename to vanadium_patches/0049-disable-autofill-server-communication-by-default.patch
index 8499c900..10d29eb2 100644
--- a/vanadium_patches/0041-disable-autofill-server-communication-by-default.patch
+++ b/vanadium_patches/0049-disable-autofill-server-communication-by-default.patch
@@ -8,10 +8,10 @@ Subject: [PATCH] disable autofill server communication by default
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/autofill/core/common/autofill_debug_features.cc b/components/autofill/core/common/autofill_debug_features.cc
-index 50fdb872e42d0..024c2a07705eb 100644
+index 428e403f2cd4f..5eb048571c578 100644
--- a/components/autofill/core/common/autofill_debug_features.cc
+++ b/components/autofill/core/common/autofill_debug_features.cc
-@@ -110,7 +110,7 @@ BASE_FEATURE_PARAM(std::string,
+@@ -114,7 +114,7 @@ BASE_FEATURE_PARAM(std::string,
// autofill server API url up to the parent "directory" of the "query" and
// "upload" resources.
// i.e., https://other.autofill.server:port/tbproxy/af/
diff --git a/vanadium_patches/0042-disable-component-updater-pings-by-default.patch b/vanadium_patches/0050-disable-component-updater-pings-by-default.patch
similarity index 100%
rename from vanadium_patches/0042-disable-component-updater-pings-by-default.patch
rename to vanadium_patches/0050-disable-component-updater-pings-by-default.patch
diff --git a/vanadium_patches/0044-disable-trivial-subdomain-hiding.patch b/vanadium_patches/0052-disable-trivial-subdomain-hiding.patch
similarity index 100%
rename from vanadium_patches/0044-disable-trivial-subdomain-hiding.patch
rename to vanadium_patches/0052-disable-trivial-subdomain-hiding.patch
diff --git a/vanadium_patches/0047-disable-GaiaAuthFetcher-code-due-to-upstream-bug.patch b/vanadium_patches/0055-disable-GaiaAuthFetcher-code-due-to-upstream-bug.patch
similarity index 84%
rename from vanadium_patches/0047-disable-GaiaAuthFetcher-code-due-to-upstream-bug.patch
rename to vanadium_patches/0055-disable-GaiaAuthFetcher-code-due-to-upstream-bug.patch
index ab53fab8..bf81f5f8 100644
--- a/vanadium_patches/0047-disable-GaiaAuthFetcher-code-due-to-upstream-bug.patch
+++ b/vanadium_patches/0055-disable-GaiaAuthFetcher-code-due-to-upstream-bug.patch
@@ -9,10 +9,10 @@ https://bugs.chromium.org/p/chromium/issues/detail?id=1150817
1 file changed, 2 insertions(+)
diff --git a/google_apis/gaia/gaia_auth_fetcher.cc b/google_apis/gaia/gaia_auth_fetcher.cc
-index 3e6b282606c42..f8fad23c854ef 100644
+index cf58904d0f7f6..d8a5d26bf649d 100644
--- a/google_apis/gaia/gaia_auth_fetcher.cc
+++ b/google_apis/gaia/gaia_auth_fetcher.cc
-@@ -237,6 +237,7 @@ void GaiaAuthFetcher::CreateAndStartGaiaFetcher(
+@@ -241,6 +241,7 @@ void GaiaAuthFetcher::CreateAndStartGaiaFetcher(
const net::NetworkTrafficAnnotationTag& traffic_annotation) {
DCHECK(!fetch_pending_) << "Tried to fetch two things at once!";
@@ -20,7 +20,7 @@ index 3e6b282606c42..f8fad23c854ef 100644
auto resource_request = std::make_unique();
resource_request->url = gaia_gurl;
original_url_ = gaia_gurl;
-@@ -291,6 +292,7 @@ void GaiaAuthFetcher::CreateAndStartGaiaFetcher(
+@@ -295,6 +296,7 @@ void GaiaAuthFetcher::CreateAndStartGaiaFetcher(
base::Unretained(this)),
// Limit to 1 MiB.
1024 * 1024);
diff --git a/vanadium_patches/0049-Disable-newer-privacy-sandbox-features-by-default.patch b/vanadium_patches/0057-Disable-newer-privacy-sandbox-features-by-default.patch
similarity index 93%
rename from vanadium_patches/0049-Disable-newer-privacy-sandbox-features-by-default.patch
rename to vanadium_patches/0057-Disable-newer-privacy-sandbox-features-by-default.patch
index d3dca537..9a4db874 100644
--- a/vanadium_patches/0049-Disable-newer-privacy-sandbox-features-by-default.patch
+++ b/vanadium_patches/0057-Disable-newer-privacy-sandbox-features-by-default.patch
@@ -10,7 +10,7 @@ Subject: [PATCH] Disable newer privacy sandbox features by default
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/components/privacy_sandbox/privacy_sandbox_features.cc b/components/privacy_sandbox/privacy_sandbox_features.cc
-index ec0638c8b118e..e89bf0092113a 100644
+index 3ecbd8bfcfc12..4b1e096494d79 100644
--- a/components/privacy_sandbox/privacy_sandbox_features.cc
+++ b/components/privacy_sandbox/privacy_sandbox_features.cc
@@ -8,7 +8,7 @@
@@ -23,10 +23,10 @@ index ec0638c8b118e..e89bf0092113a 100644
const char kPrivacySandboxSettings4ConsentRequiredName[] = "consent-required";
const char kPrivacySandboxSettings4NoticeRequiredName[] = "notice-required";
diff --git a/services/network/public/cpp/features.cc b/services/network/public/cpp/features.cc
-index 382416fa6faf8..318c405a96888 100644
+index 857ae4f2f13ff..24bf98d83521a 100644
--- a/services/network/public/cpp/features.cc
+++ b/services/network/public/cpp/features.cc
-@@ -463,7 +463,7 @@ BASE_FEATURE(kUpdateRequestForCorsRedirect, base::FEATURE_ENABLED_BY_DEFAULT);
+@@ -438,7 +438,7 @@ BASE_FEATURE(kUpdateRequestForCorsRedirect, base::FEATURE_ENABLED_BY_DEFAULT);
// https://github.com/patcg-individual-drafts/topics
// Kill switch for the Topics API.
@@ -36,7 +36,7 @@ index 382416fa6faf8..318c405a96888 100644
// Enable the shared storage API. Note that enabling this feature does not
// automatically expose this API to the web, it only allows the element to be
diff --git a/third_party/blink/common/features.cc b/third_party/blink/common/features.cc
-index 59243b9eae100..32343a2a72d74 100644
+index d6348e10bb171..24ac495a7ee6d 100644
--- a/third_party/blink/common/features.cc
+++ b/third_party/blink/common/features.cc
@@ -222,11 +222,11 @@ BASE_FEATURE(kBrowsingTopicsBypassIPIsPubliclyRoutableCheck,
diff --git a/vanadium_patches/0053-mark-non-secure-origins-as-dangerous.patch b/vanadium_patches/0061-mark-non-secure-origins-as-dangerous.patch
similarity index 87%
rename from vanadium_patches/0053-mark-non-secure-origins-as-dangerous.patch
rename to vanadium_patches/0061-mark-non-secure-origins-as-dangerous.patch
index be3ff5b8..1a5f138f 100644
--- a/vanadium_patches/0053-mark-non-secure-origins-as-dangerous.patch
+++ b/vanadium_patches/0061-mark-non-secure-origins-as-dangerous.patch
@@ -8,10 +8,10 @@ Subject: [PATCH] mark non-secure origins as dangerous
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/security_state/core/security_state.cc b/components/security_state/core/security_state.cc
-index 16da2d3f268d9..60c7097250c08 100644
+index 434d829186822..388e901a13c4d 100644
--- a/components/security_state/core/security_state.cc
+++ b/components/security_state/core/security_state.cc
-@@ -133,7 +133,7 @@ SecurityLevel GetSecurityLevel(
+@@ -132,7 +132,7 @@ SecurityLevel GetSecurityLevel(
return NONE;
}
#endif // !BUILDFLAG(IS_ANDROID)
diff --git a/vanadium_patches/0055-stub-out-the-battery-status-API.patch b/vanadium_patches/0063-stub-out-the-battery-status-API.patch
similarity index 100%
rename from vanadium_patches/0055-stub-out-the-battery-status-API.patch
rename to vanadium_patches/0063-stub-out-the-battery-status-API.patch
diff --git a/vanadium_patches/0058-disable-trials-of-privacy-aware-analytics-advertisin.patch b/vanadium_patches/0066-disable-trials-of-privacy-aware-analytics-advertisin.patch
similarity index 90%
rename from vanadium_patches/0058-disable-trials-of-privacy-aware-analytics-advertisin.patch
rename to vanadium_patches/0066-disable-trials-of-privacy-aware-analytics-advertisin.patch
index 7003076b..1f681cd3 100644
--- a/vanadium_patches/0058-disable-trials-of-privacy-aware-analytics-advertisin.patch
+++ b/vanadium_patches/0066-disable-trials-of-privacy-aware-analytics-advertisin.patch
@@ -8,10 +8,10 @@ Subject: [PATCH] disable trials of privacy-aware analytics/advertising APIs
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/privacy_sandbox/privacy_sandbox_prefs.cc b/components/privacy_sandbox/privacy_sandbox_prefs.cc
-index 8ab71fe63cbc0..b9395cca9b63a 100644
+index b9474e91953b7..ed68d86d46987 100644
--- a/components/privacy_sandbox/privacy_sandbox_prefs.cc
+++ b/components/privacy_sandbox/privacy_sandbox_prefs.cc
-@@ -49,7 +49,7 @@ void RegisterProfilePrefs(PrefRegistrySimple* registry) {
+@@ -51,7 +51,7 @@ void RegisterProfilePrefs(PrefRegistrySimple* registry) {
prefs::kPrivacySandboxRelatedWebsiteSetsDataAccessAllowedInitialized,
false);
registry->RegisterBooleanPref(
diff --git a/vanadium_patches/0060-disable-appending-variations-header.patch b/vanadium_patches/0068-disable-appending-variations-header.patch
similarity index 100%
rename from vanadium_patches/0060-disable-appending-variations-header.patch
rename to vanadium_patches/0068-disable-appending-variations-header.patch
diff --git a/vanadium_patches/0061-Disable-detailed-language-settings-by-default.patch b/vanadium_patches/0069-Disable-detailed-language-settings-by-default.patch
similarity index 100%
rename from vanadium_patches/0061-Disable-detailed-language-settings-by-default.patch
rename to vanadium_patches/0069-Disable-detailed-language-settings-by-default.patch
diff --git a/vanadium_patches/0062-disable-fetching-optimization-guides-by-default.patch b/vanadium_patches/0070-disable-fetching-optimization-guides-by-default.patch
similarity index 90%
rename from vanadium_patches/0062-disable-fetching-optimization-guides-by-default.patch
rename to vanadium_patches/0070-disable-fetching-optimization-guides-by-default.patch
index 16bc8cf7..eaaf75d9 100644
--- a/vanadium_patches/0062-disable-fetching-optimization-guides-by-default.patch
+++ b/vanadium_patches/0070-disable-fetching-optimization-guides-by-default.patch
@@ -8,10 +8,10 @@ Subject: [PATCH] disable fetching optimization guides by default
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/optimization_guide/core/optimization_guide_features.cc b/components/optimization_guide/core/optimization_guide_features.cc
-index 17763e9edf54d..b17bed92d5424 100644
+index 8eca79812bde7..753176349a627 100644
--- a/components/optimization_guide/core/optimization_guide_features.cc
+++ b/components/optimization_guide/core/optimization_guide_features.cc
-@@ -77,7 +77,7 @@ BASE_FEATURE(kOverrideNumThreadsForModelExecution,
+@@ -78,7 +78,7 @@ BASE_FEATURE(kOverrideNumThreadsForModelExecution,
// Service.
BASE_FEATURE(kOptimizationGuideFetchingForSRP,
"OptimizationHintsFetchingSRP",
diff --git a/vanadium_patches/0064-disable-fetching-optimization-hints-by-default.patch b/vanadium_patches/0072-disable-fetching-optimization-hints-by-default.patch
similarity index 90%
rename from vanadium_patches/0064-disable-fetching-optimization-hints-by-default.patch
rename to vanadium_patches/0072-disable-fetching-optimization-hints-by-default.patch
index 6c8e03ba..19fb96a8 100644
--- a/vanadium_patches/0064-disable-fetching-optimization-hints-by-default.patch
+++ b/vanadium_patches/0072-disable-fetching-optimization-hints-by-default.patch
@@ -8,10 +8,10 @@ Subject: [PATCH] disable fetching optimization hints by default
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/optimization_guide/core/optimization_guide_features.cc b/components/optimization_guide/core/optimization_guide_features.cc
-index b17bed92d5424..026d5b30ada43 100644
+index 753176349a627..8598fa51eb2c0 100644
--- a/components/optimization_guide/core/optimization_guide_features.cc
+++ b/components/optimization_guide/core/optimization_guide_features.cc
-@@ -52,7 +52,7 @@ constexpr auto enabled_by_default_mobile_only =
+@@ -53,7 +53,7 @@ constexpr auto enabled_by_default_mobile_only =
// Enables the syncing of the Optimization Hints component, which provides
// hints for what optimizations can be applied on a page load.
diff --git a/vanadium_patches/0065-disable-more-optimization-guides-features-by-default.patch b/vanadium_patches/0073-disable-more-optimization-guides-features-by-default.patch
similarity index 93%
rename from vanadium_patches/0065-disable-more-optimization-guides-features-by-default.patch
rename to vanadium_patches/0073-disable-more-optimization-guides-features-by-default.patch
index 74139515..de89f50b 100644
--- a/vanadium_patches/0065-disable-more-optimization-guides-features-by-default.patch
+++ b/vanadium_patches/0073-disable-more-optimization-guides-features-by-default.patch
@@ -43,10 +43,10 @@ index 9cdbdaf60fca9..3ec0fd72478f1 100644
ChromePredictionManager::~ChromePredictionManager() = default;
diff --git a/components/optimization_guide/core/optimization_guide_features.cc b/components/optimization_guide/core/optimization_guide_features.cc
-index 026d5b30ada43..74051602ce591 100644
+index 8598fa51eb2c0..e876c86d956e7 100644
--- a/components/optimization_guide/core/optimization_guide_features.cc
+++ b/components/optimization_guide/core/optimization_guide_features.cc
-@@ -57,6 +57,10 @@ BASE_FEATURE(kOptimizationHints, base::FEATURE_DISABLED_BY_DEFAULT);
+@@ -58,6 +58,10 @@ BASE_FEATURE(kOptimizationHints, base::FEATURE_DISABLED_BY_DEFAULT);
// Enables the prediction of optimization targets.
BASE_FEATURE(kOptimizationTargetPrediction, base::FEATURE_ENABLED_BY_DEFAULT);
@@ -57,7 +57,7 @@ index 026d5b30ada43..74051602ce591 100644
// This feature flag does not turn off any behavior, it is only used for
// experiment parameters.
BASE_FEATURE(kPageTextExtraction,
-@@ -360,6 +364,10 @@ base::TimeDelta ModelExecutionWatchdogDefaultTimeout() {
+@@ -365,6 +369,10 @@ base::TimeDelta ModelExecutionWatchdogDefaultTimeout() {
));
}
@@ -69,10 +69,10 @@ index 026d5b30ada43..74051602ce591 100644
DCHECK(base::FeatureList::IsEnabled(kOptimizationGuideMetadataValidation));
return GetFieldTrialParamByFeatureAsBool(kOptimizationGuideMetadataValidation,
diff --git a/components/optimization_guide/core/optimization_guide_features.h b/components/optimization_guide/core/optimization_guide_features.h
-index 293b083c7e8ef..fa393dae65309 100644
+index de1bc30a78dc0..d97293249a0a8 100644
--- a/components/optimization_guide/core/optimization_guide_features.h
+++ b/components/optimization_guide/core/optimization_guide_features.h
-@@ -40,6 +40,8 @@ BASE_DECLARE_FEATURE(kOptimizationGuideFetchingForSRP);
+@@ -55,6 +55,8 @@ BASE_DECLARE_FEATURE(kOptimizationGuideFetchingForSRP);
COMPONENT_EXPORT(OPTIMIZATION_GUIDE_FEATURES)
BASE_DECLARE_FEATURE(kOptimizationTargetPrediction);
COMPONENT_EXPORT(OPTIMIZATION_GUIDE_FEATURES)
@@ -81,7 +81,7 @@ index 293b083c7e8ef..fa393dae65309 100644
BASE_DECLARE_FEATURE(kPageTextExtraction);
COMPONENT_EXPORT(OPTIMIZATION_GUIDE_FEATURES)
BASE_DECLARE_FEATURE(kPushNotifications);
-@@ -250,6 +252,10 @@ bool IsModelExecutionWatchdogEnabled();
+@@ -265,6 +267,10 @@ bool IsModelExecutionWatchdogEnabled();
COMPONENT_EXPORT(OPTIMIZATION_GUIDE_FEATURES)
base::TimeDelta ModelExecutionWatchdogDefaultTimeout();
diff --git a/vanadium_patches/0071-require-HTTPS-for-component-updates.patch b/vanadium_patches/0079-require-HTTPS-for-component-updates.patch
similarity index 100%
rename from vanadium_patches/0071-require-HTTPS-for-component-updates.patch
rename to vanadium_patches/0079-require-HTTPS-for-component-updates.patch
diff --git a/vanadium_patches/0074-enable-split-cache-by-default.patch b/vanadium_patches/0082-enable-split-cache-by-default.patch
similarity index 90%
rename from vanadium_patches/0074-enable-split-cache-by-default.patch
rename to vanadium_patches/0082-enable-split-cache-by-default.patch
index 955fbc54..605f33ca 100644
--- a/vanadium_patches/0074-enable-split-cache-by-default.patch
+++ b/vanadium_patches/0082-enable-split-cache-by-default.patch
@@ -8,10 +8,10 @@ Subject: [PATCH] enable split cache by default
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/net/base/features.cc b/net/base/features.cc
-index 44a1513d0cfce..f76c969e0e72c 100644
+index 8a36dd64ad8b7..eb109544ad2b7 100644
--- a/net/base/features.cc
+++ b/net/base/features.cc
-@@ -117,13 +117,13 @@ const base::FeatureParam
+@@ -120,13 +120,13 @@ const base::FeatureParam
"EffectiveConnectionTypeRecomputationInterval", base::Seconds(10)};
BASE_FEATURE(kSplitCacheByIncludeCredentials,
diff --git a/vanadium_patches/0075-enable-partitioning-connections-by-default.patch b/vanadium_patches/0083-enable-partitioning-connections-by-default.patch
similarity index 74%
rename from vanadium_patches/0075-enable-partitioning-connections-by-default.patch
rename to vanadium_patches/0083-enable-partitioning-connections-by-default.patch
index 7ddb3f3a..eec646db 100644
--- a/vanadium_patches/0075-enable-partitioning-connections-by-default.patch
+++ b/vanadium_patches/0083-enable-partitioning-connections-by-default.patch
@@ -8,15 +8,15 @@ Subject: [PATCH] enable partitioning connections by default
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/base/features.cc b/net/base/features.cc
-index f76c969e0e72c..4a04bc53bd722 100644
+index eb109544ad2b7..745a899cee83d 100644
--- a/net/base/features.cc
+++ b/net/base/features.cc
-@@ -126,7 +126,7 @@ BASE_FEATURE(kSplitCodeCacheByNetworkIsolationKey,
+@@ -129,7 +129,7 @@ BASE_FEATURE(kSplitCodeCacheByNetworkIsolationKey,
base::FEATURE_ENABLED_BY_DEFAULT);
BASE_FEATURE(kPartitionConnectionsByNetworkIsolationKey,
- base::FEATURE_DISABLED_BY_DEFAULT);
+ base::FEATURE_ENABLED_BY_DEFAULT);
- BASE_FEATURE(kSearchEnginePreconnectInterval,
- base::FEATURE_DISABLED_BY_DEFAULT);
+ BASE_FEATURE(kSplitHostCacheByNetworkAnonymizationKey,
+ base::FEATURE_ENABLED_BY_DEFAULT);
diff --git a/vanadium_patches/0076-enable-dubious-Do-Not-Track-feature-by-default.patch b/vanadium_patches/0084-enable-dubious-Do-Not-Track-feature-by-default.patch
similarity index 90%
rename from vanadium_patches/0076-enable-dubious-Do-Not-Track-feature-by-default.patch
rename to vanadium_patches/0084-enable-dubious-Do-Not-Track-feature-by-default.patch
index 9e4fdd00..4faab452 100644
--- a/vanadium_patches/0076-enable-dubious-Do-Not-Track-feature-by-default.patch
+++ b/vanadium_patches/0084-enable-dubious-Do-Not-Track-feature-by-default.patch
@@ -8,10 +8,10 @@ Subject: [PATCH] enable dubious Do Not Track feature by default
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/browser/ui/browser_ui_prefs.cc b/chrome/browser/ui/browser_ui_prefs.cc
-index 2fd65c802a271..ea315042948f2 100644
+index ee7309754abd2..224ac664e51a4 100644
--- a/chrome/browser/ui/browser_ui_prefs.cc
+++ b/chrome/browser/ui/browser_ui_prefs.cc
-@@ -138,7 +138,7 @@ void RegisterBrowserUserPrefs(user_prefs::PrefRegistrySyncable* registry) {
+@@ -140,7 +140,7 @@ void RegisterBrowserUserPrefs(user_prefs::PrefRegistrySyncable* registry) {
registry->RegisterDictionaryPref(prefs::kBrowserWindowPlacementPopup);
registry->RegisterDictionaryPref(prefs::kAppWindowPlacement);
registry->RegisterBooleanPref(
diff --git a/vanadium_patches/0078-Enable-strict-origin-isolation-by-default.patch b/vanadium_patches/0086-Enable-strict-origin-isolation-by-default.patch
similarity index 91%
rename from vanadium_patches/0078-Enable-strict-origin-isolation-by-default.patch
rename to vanadium_patches/0086-Enable-strict-origin-isolation-by-default.patch
index e792ad19..8595659d 100644
--- a/vanadium_patches/0078-Enable-strict-origin-isolation-by-default.patch
+++ b/vanadium_patches/0086-Enable-strict-origin-isolation-by-default.patch
@@ -15,10 +15,10 @@ for more detail.
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc
-index 13aa82963b0c5..da82af5949667 100644
+index 1a2cdc34fd052..05927c2acc1ea 100644
--- a/content/public/common/content_features.cc
+++ b/content/public/common/content_features.cc
-@@ -1029,7 +1029,7 @@ BASE_FEATURE(kSpareRendererForSitePerProcess, base::FEATURE_ENABLED_BY_DEFAULT);
+@@ -1022,7 +1022,7 @@ BASE_FEATURE(kSpareRendererForSitePerProcess, base::FEATURE_ENABLED_BY_DEFAULT);
// Controls whether site isolation should use origins instead of scheme and
// eTLD+1.
diff --git a/vanadium_patches/0079-Enable-reduce-accept-language-header-by-default.patch b/vanadium_patches/0087-Enable-reduce-accept-language-header-by-default.patch
similarity index 86%
rename from vanadium_patches/0079-Enable-reduce-accept-language-header-by-default.patch
rename to vanadium_patches/0087-Enable-reduce-accept-language-header-by-default.patch
index ce428841..3df76c90 100644
--- a/vanadium_patches/0079-Enable-reduce-accept-language-header-by-default.patch
+++ b/vanadium_patches/0087-Enable-reduce-accept-language-header-by-default.patch
@@ -8,10 +8,10 @@ Subject: [PATCH] Enable reduce accept language header by default
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/services/network/public/cpp/features.cc b/services/network/public/cpp/features.cc
-index 318c405a96888..31b5688992f52 100644
+index 24bf98d83521a..19746a6518d00 100644
--- a/services/network/public/cpp/features.cc
+++ b/services/network/public/cpp/features.cc
-@@ -196,7 +196,7 @@ BASE_FEATURE(kOmitCorsClientCert, base::FEATURE_DISABLED_BY_DEFAULT);
+@@ -201,7 +201,7 @@ BASE_FEATURE(kIgnoreCorsPreflightPolicy, base::FEATURE_ENABLED_BY_DEFAULT);
// Enables support for the `Variants` response header and reduce
// accept-language. https://github.com/Tanych/accept-language
diff --git a/vanadium_patches/0080-use-Google-Chrome-branding-for-client-hints.patch b/vanadium_patches/0088-use-Google-Chrome-branding-for-client-hints.patch
similarity index 100%
rename from vanadium_patches/0080-use-Google-Chrome-branding-for-client-hints.patch
rename to vanadium_patches/0088-use-Google-Chrome-branding-for-client-hints.patch
diff --git a/vanadium_patches/0116-Derive-high-entropy-client-hints-with-reduced-user-a.patch b/vanadium_patches/0123-Derive-high-entropy-client-hints-with-reduced-user-a.patch
similarity index 93%
rename from vanadium_patches/0116-Derive-high-entropy-client-hints-with-reduced-user-a.patch
rename to vanadium_patches/0123-Derive-high-entropy-client-hints-with-reduced-user-a.patch
index e069f74b..2a7c1bc1 100644
--- a/vanadium_patches/0116-Derive-high-entropy-client-hints-with-reduced-user-a.patch
+++ b/vanadium_patches/0123-Derive-high-entropy-client-hints-with-reduced-user-a.patch
@@ -54,7 +54,7 @@ index 2501b590a5318..a30eabb6c8f7e 100644
return metadata;
}
diff --git a/content/browser/client_hints/client_hints.cc b/content/browser/client_hints/client_hints.cc
-index 8246d97469b40..278892b2facb3 100644
+index b1778eb659172..746c38a05f370 100644
--- a/content/browser/client_hints/client_hints.cc
+++ b/content/browser/client_hints/client_hints.cc
@@ -860,6 +860,20 @@ void AddRequestClientHintsHeaders(
@@ -79,10 +79,10 @@ index 8246d97469b40..278892b2facb3 100644
if (ShouldAddClientHint(data, WebClientHintsType::kDeviceMemory_DEPRECATED)) {
AddDeviceMemoryHeader(headers, /*use_deprecated_version*/ true);
diff --git a/third_party/blink/common/features.cc b/third_party/blink/common/features.cc
-index 32343a2a72d74..90f9f0ac31ec2 100644
+index 24ac495a7ee6d..fb092973bd451 100644
--- a/third_party/blink/common/features.cc
+++ b/third_party/blink/common/features.cc
-@@ -387,6 +387,14 @@ BASE_FEATURE(kCanvas2DHibernationReleaseTransferMemory,
+@@ -389,6 +389,14 @@ BASE_FEATURE(kCapStringBuilderLengthTo1GiB, base::FEATURE_ENABLED_BY_DEFAULT);
// of the renderer eviction reasons for Back/Forward Cache.
BASE_FEATURE(kCaptureJSExecutionLocation, base::FEATURE_ENABLED_BY_DEFAULT);
@@ -98,10 +98,10 @@ index 32343a2a72d74..90f9f0ac31ec2 100644
base::FEATURE_ENABLED_BY_DEFAULT);
diff --git a/third_party/blink/public/common/features.h b/third_party/blink/public/common/features.h
-index a60e7dc1fe899..2059afa730bd9 100644
+index 0345abb5a0cf1..410cfebcb4ca1 100644
--- a/third_party/blink/public/common/features.h
+++ b/third_party/blink/public/common/features.h
-@@ -238,6 +238,9 @@ BLINK_COMMON_EXPORT BASE_DECLARE_FEATURE(
+@@ -240,6 +240,9 @@ BLINK_COMMON_EXPORT BASE_DECLARE_FEATURE(kCapStringBuilderLengthTo1GiB);
BLINK_COMMON_EXPORT BASE_DECLARE_FEATURE(kCaptureJSExecutionLocation);
diff --git a/vanadium_patches/0121-Use-local-list-of-supported-languages-for-Language-s.patch b/vanadium_patches/0128-Use-local-list-of-supported-languages-for-Language-s.patch
similarity index 52%
rename from vanadium_patches/0121-Use-local-list-of-supported-languages-for-Language-s.patch
rename to vanadium_patches/0128-Use-local-list-of-supported-languages-for-Language-s.patch
index 8f158b94..54a0493f 100644
--- a/vanadium_patches/0121-Use-local-list-of-supported-languages-for-Language-s.patch
+++ b/vanadium_patches/0128-Use-local-list-of-supported-languages-for-Language-s.patch
@@ -5,30 +5,19 @@ Subject: [PATCH] Use local list of supported languages for Language settings
Disable requests or connections to fetch language list from server
---
- .../translate/core/browser/translate_language_list.cc | 6 +++++-
- 1 file changed, 5 insertions(+), 1 deletion(-)
+ components/translate/core/browser/translate_language_list.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/translate/core/browser/translate_language_list.cc b/components/translate/core/browser/translate_language_list.cc
-index 3bb6ec843b56f..25b7c6b888b4c 100644
+index 296e7cd2a66e4..d7270810b00b8 100644
--- a/components/translate/core/browser/translate_language_list.cc
+++ b/components/translate/core/browser/translate_language_list.cc
-@@ -308,7 +308,7 @@ const char* const kDefaultSupportedPartialTranslateLanguages[] = {
- const char kLanguageListFetchPath[] = "translate_a/l?client=chrome";
+@@ -311,7 +311,7 @@ constexpr std::string_view kLanguageListFetchPath =
+ "translate_a/l?client=chrome";
// Represent if the language list updater is disabled.
-bool update_is_disabled = false;
+bool update_is_disabled = true;
// Retry parameter for fetching.
- const int kMaxRetryOn5xx = 5;
-@@ -392,6 +392,10 @@ GURL TranslateLanguageList::TranslateLanguageUrl() {
- }
-
- void TranslateLanguageList::RequestLanguageList() {
-+ if (update_is_disabled) {
-+ return;
-+ }
-+
- // If resource requests are not allowed, we'll get a callback when they are.
- if (!resource_requests_allowed_) {
- request_pending_ = true;
+ constexpr int kMaxRetryOn5xx = 5;
diff --git a/vanadium_patches/0153-enable-subresource-filter-on-all-sites.patch b/vanadium_patches/0160-enable-subresource-filter-on-all-sites.patch
similarity index 100%
rename from vanadium_patches/0153-enable-subresource-filter-on-all-sites.patch
rename to vanadium_patches/0160-enable-subresource-filter-on-all-sites.patch
diff --git a/vanadium_patches/0168-Isolate-sandboxed-iframes-per-site-by-default.patch b/vanadium_patches/0175-Isolate-sandboxed-iframes-per-site-by-default.patch
similarity index 89%
rename from vanadium_patches/0168-Isolate-sandboxed-iframes-per-site-by-default.patch
rename to vanadium_patches/0175-Isolate-sandboxed-iframes-per-site-by-default.patch
index 7a678ade..847d642f 100644
--- a/vanadium_patches/0168-Isolate-sandboxed-iframes-per-site-by-default.patch
+++ b/vanadium_patches/0175-Isolate-sandboxed-iframes-per-site-by-default.patch
@@ -8,10 +8,10 @@ Subject: [PATCH] Isolate sandboxed iframes per site by default
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/third_party/blink/common/features.cc b/third_party/blink/common/features.cc
-index 90f9f0ac31ec2..a1c9891286fa6 100644
+index fb092973bd451..a5f9726f27f88 100644
--- a/third_party/blink/common/features.cc
+++ b/third_party/blink/common/features.cc
-@@ -1086,7 +1086,7 @@ BASE_FEATURE_ENUM_PARAM(IsolateSandboxedIframesGrouping,
+@@ -1112,7 +1112,7 @@ BASE_FEATURE_ENUM_PARAM(IsolateSandboxedIframesGrouping,
kIsolateSandboxedIframesGroupingParam,
&kIsolateSandboxedIframes,
"grouping",
diff --git a/vanadium_patches/0172-Support-restriction-of-dynamic-code.patch b/vanadium_patches/0179-Support-restriction-of-dynamic-code.patch
similarity index 100%
rename from vanadium_patches/0172-Support-restriction-of-dynamic-code.patch
rename to vanadium_patches/0179-Support-restriction-of-dynamic-code.patch
diff --git a/vanadium_patches/0173-Restriction-of-dynamic-code-execution-via-seccomp-bp.patch b/vanadium_patches/0180-Restriction-of-dynamic-code-execution-via-seccomp-bp.patch
similarity index 99%
rename from vanadium_patches/0173-Restriction-of-dynamic-code-execution-via-seccomp-bp.patch
rename to vanadium_patches/0180-Restriction-of-dynamic-code-execution-via-seccomp-bp.patch
index 2589149f..2eaa18b5 100644
--- a/vanadium_patches/0173-Restriction-of-dynamic-code-execution-via-seccomp-bp.patch
+++ b/vanadium_patches/0180-Restriction-of-dynamic-code-execution-via-seccomp-bp.patch
@@ -72,10 +72,10 @@ index 6486ffd030869..c4979e5c68c29 100644
starter.set_policy(
std::make_unique(options));
diff --git a/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc b/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
-index 56ba083eb81f8..2057bba81de3e 100644
+index 4a7d0aca03d40..0cfb856da3e97 100644
--- a/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
+++ b/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
-@@ -261,18 +261,18 @@ ResultExpr EvaluateSyscallImpl(int fs_denied_errno,
+@@ -262,18 +262,18 @@ ResultExpr EvaluateSyscallImpl(int fs_denied_errno,
#if defined(__i386__) || defined(__x86_64__) || defined(__mips__) || \
defined(__aarch64__)
if (sysno == __NR_mmap)
diff --git a/vanadium_patches/0178-Enable-HSTS-upgrades-for-top-level-navigation-only-b.patch b/vanadium_patches/0185-Enable-HSTS-upgrades-for-top-level-navigation-only-b.patch
similarity index 88%
rename from vanadium_patches/0178-Enable-HSTS-upgrades-for-top-level-navigation-only-b.patch
rename to vanadium_patches/0185-Enable-HSTS-upgrades-for-top-level-navigation-only-b.patch
index d12dc101..7e114d6b 100644
--- a/vanadium_patches/0178-Enable-HSTS-upgrades-for-top-level-navigation-only-b.patch
+++ b/vanadium_patches/0185-Enable-HSTS-upgrades-for-top-level-navigation-only-b.patch
@@ -8,10 +8,10 @@ Subject: [PATCH] Enable HSTS upgrades for top-level navigation only by default
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/base/features.cc b/net/base/features.cc
-index 4a04bc53bd722..5d0f97a4106bf 100644
+index 745a899cee83d..43c8d60f28870 100644
--- a/net/base/features.cc
+++ b/net/base/features.cc
-@@ -548,7 +548,7 @@ const base::FeatureParam
+@@ -555,7 +555,7 @@ const base::FeatureParam
/*name=*/"SimpleCachePrioritizedCachingPrioritizationPeriod",
/*default_value=*/base::Days(1)};
diff --git a/vanadium_patches/0196-enable-more-Local-Network-Access-coverage-checks-by-.patch b/vanadium_patches/0196-enable-more-Local-Network-Access-coverage-checks-by-.patch
deleted file mode 100644
index 7b654de7..00000000
--- a/vanadium_patches/0196-enable-more-Local-Network-Access-coverage-checks-by-.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: quh4gko8 <88831734+quh4gko8@users.noreply.github.com>
-Date: Wed, 4 Jun 2025 06:35:07 +0000
-Subject: [PATCH] enable more Local Network Access coverage checks by default
-
----
- services/network/public/cpp/features.cc | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/services/network/public/cpp/features.cc b/services/network/public/cpp/features.cc
-index 31b5688992f52..89419762f295e 100644
---- a/services/network/public/cpp/features.cc
-+++ b/services/network/public/cpp/features.cc
-@@ -244,7 +244,7 @@ BASE_FEATURE_PARAM(bool,
- //
- // Spec: https://wicg.github.io/local-network-access/
- BASE_FEATURE(kLocalNetworkAccessChecksWebRTC,
-- base::FEATURE_DISABLED_BY_DEFAULT);
-+ base::FEATURE_ENABLED_BY_DEFAULT);
-
- // Enables the Network Service to use an existing Mojo data pipe producer
- // handle for the response body, instead of creating its own. This is primarily
diff --git a/vanadium_patches/0193-Further-disable-password-leak-detection-checks.patch b/vanadium_patches/0200-Further-disable-password-leak-detection-checks.patch
similarity index 100%
rename from vanadium_patches/0193-Further-disable-password-leak-detection-checks.patch
rename to vanadium_patches/0200-Further-disable-password-leak-detection-checks.patch
diff --git a/vanadium_patches/0195-enable-certificate-transparency-feature-by-default-f.patch b/vanadium_patches/0202-enable-certificate-transparency-feature-by-default-f.patch
similarity index 90%
rename from vanadium_patches/0195-enable-certificate-transparency-feature-by-default-f.patch
rename to vanadium_patches/0202-enable-certificate-transparency-feature-by-default-f.patch
index 72bdcfad..63f71fdd 100644
--- a/vanadium_patches/0195-enable-certificate-transparency-feature-by-default-f.patch
+++ b/vanadium_patches/0202-enable-certificate-transparency-feature-by-default-f.patch
@@ -9,10 +9,10 @@ Subject: [PATCH] enable certificate transparency feature by default for
1 file changed, 4 deletions(-)
diff --git a/chrome/browser/browser_features.cc b/chrome/browser/browser_features.cc
-index b0e531abd06ce..d8bff41257894 100644
+index 0f63c883ad8d9..a26eea0595c71 100644
--- a/chrome/browser/browser_features.cc
+++ b/chrome/browser/browser_features.cc
-@@ -49,11 +49,7 @@ BASE_FEATURE(kBookmarkTriggerForPrefetch, base::FEATURE_DISABLED_BY_DEFAULT);
+@@ -45,11 +45,7 @@ BASE_FEATURE(kBookmarkTriggerForPrefetch, base::FEATURE_DISABLED_BY_DEFAULT);
// On builds where CT is enabled, this flag is also used as an emergency kill
// switch.
BASE_FEATURE(kCertificateTransparencyAskBeforeEnabling,
diff --git a/vanadium_patches/0203-enable-more-Local-Network-Access-coverage-checks-by-.patch b/vanadium_patches/0203-enable-more-Local-Network-Access-coverage-checks-by-.patch
new file mode 100644
index 00000000..c3920964
--- /dev/null
+++ b/vanadium_patches/0203-enable-more-Local-Network-Access-coverage-checks-by-.patch
@@ -0,0 +1,40 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: quh4gko8 <88831734+quh4gko8@users.noreply.github.com>
+Date: Wed, 4 Jun 2025 06:35:07 +0000
+Subject: [PATCH] enable more Local Network Access coverage checks by default
+
+---
+ services/network/public/cpp/features.cc | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/services/network/public/cpp/features.cc b/services/network/public/cpp/features.cc
+index 19746a6518d00..39a0dca70ab61 100644
+--- a/services/network/public/cpp/features.cc
++++ b/services/network/public/cpp/features.cc
+@@ -249,7 +249,7 @@ BASE_FEATURE_PARAM(bool,
+ //
+ // Spec: https://wicg.github.io/local-network-access/
+ BASE_FEATURE(kLocalNetworkAccessChecksWebRTC,
+- base::FEATURE_DISABLED_BY_DEFAULT);
++ base::FEATURE_ENABLED_BY_DEFAULT);
+
+ // Enables the Network Service to use an existing Mojo data pipe producer
+ // handle for the response body, instead of creating its own. This is primarily
+@@ -271,7 +271,7 @@ BASE_FEATURE_PARAM(bool,
+ //
+ // Spec: https://wicg.github.io/local-network-access/
+ BASE_FEATURE(kLocalNetworkAccessChecksWebSockets,
+- base::FEATURE_ENABLED_BY_DEFAULT);
++ base::FEATURE_ENABLED_BY_DEFAULT); // guard for test
+
+ // Enables Local Network Access checks for WebTransport.
+ // Blocks local network requests without user permission to prevent exploitation
+@@ -279,7 +279,7 @@ BASE_FEATURE(kLocalNetworkAccessChecksWebSockets,
+ //
+ // Spec: https://wicg.github.io/local-network-access/
+ BASE_FEATURE(kLocalNetworkAccessChecksWebTransport,
+- base::FEATURE_ENABLED_BY_DEFAULT);
++ base::FEATURE_ENABLED_BY_DEFAULT); // guard for test
+
+ // Splits the Local Network Access permission into 2 permissions. See
+ // crbug.com/465491626.
diff --git a/vanadium_patches/0219-Enable-origin-keyed-process-isolation-by-default.patch b/vanadium_patches/0225-Enable-origin-keyed-process-isolation-by-default.patch
similarity index 90%
rename from vanadium_patches/0219-Enable-origin-keyed-process-isolation-by-default.patch
rename to vanadium_patches/0225-Enable-origin-keyed-process-isolation-by-default.patch
index 8c048018..fc36f67b 100644
--- a/vanadium_patches/0219-Enable-origin-keyed-process-isolation-by-default.patch
+++ b/vanadium_patches/0225-Enable-origin-keyed-process-isolation-by-default.patch
@@ -8,10 +8,10 @@ Subject: [PATCH] Enable origin-keyed process isolation by default.
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc
-index da82af5949667..485aebdb8a61a 100644
+index 05927c2acc1ea..0f64a0db39258 100644
--- a/content/public/common/content_features.cc
+++ b/content/public/common/content_features.cc
-@@ -732,7 +732,7 @@ BASE_FEATURE(kProcessSelectionDeferringConditions,
+@@ -737,7 +737,7 @@ BASE_FEATURE(kProcessSelectionDeferringConditions,
// Origin-Agent-Cluster: ?0. This feature only takes effect if the Blink feature
// OriginAgentClusterDefaultEnable is enabled, since origin-keyed processes
// require origin-agent-clusters.