Index: chrome/browser/prefs/session_startup_pref.h |
diff --git a/chrome/browser/prefs/session_startup_pref.h b/chrome/browser/prefs/session_startup_pref.h |
index 11c4180f8f34d111712ec3ecd1f822930d43a4a1..9bae9b9f30ac4f798cd6f93ab5f5c44e9badaf67 100644 |
--- a/chrome/browser/prefs/session_startup_pref.h |
+++ b/chrome/browser/prefs/session_startup_pref.h |
@@ -53,6 +53,11 @@ struct SessionStartupPref { |
static SessionStartupPref GetStartupPref(Profile* profile); |
static SessionStartupPref GetStartupPref(PrefService* prefs); |
+ // If the user had the "restore on startup" property set to the deprecated |
+ // "Open the home page" value, this migrates them to a value that will have |
+ // the same effect. |
+ static void MigrateIfNecessary(PrefService* prefs); |
+ |
// Whether the startup type and URLs are managed via policy. |
static bool TypeIsManaged(PrefService* prefs); |
static bool URLsAreManaged(PrefService* prefs); |