Files
brave-core/patches/chrome-browser-prefs-browser_prefs.cc.patch
T

37 lines
1.6 KiB
Diff

diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
index 4c7ad0aaa2347e87fd2dcb0027659afe06ab8566..c4695c015ea1ed8331ebcaa08b1086c8c967f458 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -1664,6 +1664,7 @@ void RegisterLocalState(PrefRegistrySimple* registry) {
false);
// This is intentionally last.
+ brave::RegisterLocalStatePrefs(registry);
RegisterLocalStatePrefsForMigration(registry);
}
@@ -2172,6 +2173,7 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry,
#endif // BUILDFLAG(IS_ANDROID)
registry->RegisterBooleanPref(prefs::kStaticStorageQuotaEnabled, false);
+ brave::RegisterProfilePrefs(registry);
}
void RegisterUserProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
@@ -2527,6 +2529,7 @@ void MigrateObsoleteProfilePrefs(PrefService* profile_prefs,
profile_prefs->ClearPref(kObsoletePasswordsUseUPMLocalAndSeparateStores);
profile_prefs->ClearPref(kObsoleteEmptyProfileStoreLoginDatabase);
profile_prefs->ClearPref(kObsoleteUpmAutoExportCsvNeedsDeletion);
+#if 0
base::DeleteFile(profile_path.Append(FILE_PATH_LITERAL("Login Data")));
base::DeleteFile(
profile_path.Append(FILE_PATH_LITERAL("Login Data For Account")));
@@ -2534,6 +2537,7 @@ void MigrateObsoleteProfilePrefs(PrefService* profile_prefs,
profile_path.Append(FILE_PATH_LITERAL("Login Data-journal")));
base::DeleteFile(
profile_path.Append(FILE_PATH_LITERAL("Login Data For Account-journal")));
+#endif
#endif // BUILDFLAG(IS_ANDROID)
// Added 09/2025.