27 lines
1.2 KiB
Diff
27 lines
1.2 KiB
Diff
diff --git a/ios/chrome/browser/prefs/browser_prefs.mm b/ios/chrome/browser/prefs/browser_prefs.mm
|
|
index 2c80c4a63d8f9342c712968866175871e933ee44..b9683670dc6c04733cb402710577978324847193 100644
|
|
--- a/ios/chrome/browser/prefs/browser_prefs.mm
|
|
+++ b/ios/chrome/browser/prefs/browser_prefs.mm
|
|
@@ -194,6 +194,7 @@ void RegisterLocalStatePrefs(PrefRegistrySimple* registry) {
|
|
// times a user should see autofill branding animation after installation.
|
|
registry->RegisterIntegerPref(
|
|
prefs::kAutofillBrandingIconAnimationRemainingCountPrefName, 2);
|
|
+ BRAVE_REGISTER_LOCAL_STATE_PREFS
|
|
}
|
|
|
|
void RegisterBrowserStatePrefs(user_prefs::PrefRegistrySyncable* registry) {
|
|
@@ -312,6 +313,7 @@ void RegisterBrowserStatePrefs(user_prefs::PrefRegistrySyncable* registry) {
|
|
PrefRegistry::LOSSY_PREF);
|
|
|
|
registry->RegisterDictionaryPref(kPrefPromoObject);
|
|
+ BRAVE_REGISTER_BROWSER_STATE_PREFS
|
|
}
|
|
|
|
// This method should be periodically pruned of year+ old migrations.
|
|
@@ -362,4 +364,5 @@ void MigrateObsoleteBrowserStatePrefs(PrefService* prefs) {
|
|
|
|
// Added 09/2022
|
|
prefs->ClearPref(kDataSaverEnabled);
|
|
+ BRAVE_MIGRATE_OBSOLETE_BROWSER_STATE_PREFS
|
|
}
|