Index: chrome/browser/prefs/browser_prefs.cc |
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc |
index ee136d2b1e606bc518e261d6bf98394761d5b77d..34970fc2f44e4d4e241640eb8ce203e6088c375f 100644 |
--- a/chrome/browser/prefs/browser_prefs.cc |
+++ b/chrome/browser/prefs/browser_prefs.cc |
@@ -242,6 +242,9 @@ const char kURLsToRestoreOnStartupOld[] = "session.urls_to_restore_on_startup"; |
const char kRestoreStartupURLsMigrationTime[] = |
"session.startup_urls_migration_time"; |
+// Deprecated 12/2015. |
+const char kRestoreOnStartupMigrated[] = "session.restore_on_startup_migrated"; |
+ |
} // namespace |
namespace chrome { |
@@ -530,6 +533,7 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { |
registry->RegisterListPref(kURLsToRestoreOnStartupOld); |
registry->RegisterInt64Pref(kRestoreStartupURLsMigrationTime, 0); |
+ registry->RegisterBooleanPref(kRestoreOnStartupMigrated, false); |
} |
void RegisterUserProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { |
@@ -581,6 +585,9 @@ void MigrateObsoleteProfilePrefs(Profile* profile) { |
// Added 12/1015. |
profile_prefs->ClearPref(kURLsToRestoreOnStartupOld); |
profile_prefs->ClearPref(kRestoreStartupURLsMigrationTime); |
+ |
+ // Added 12/2015. |
+ profile_prefs->ClearPref(kRestoreOnStartupMigrated); |
} |
} // namespace chrome |