Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(448)

Unified Diff: chrome/browser/prefs/session_startup_pref.h

Issue 1312693005: Remove migration of obsolete value for "session.restore_on_startup". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@url-to-restore-on-startup
Patch Set: Remove unused free function Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 0a7aeec08663caaa04295421c18279985cf68cdc..209c9deec6a2ac5cb70789a4d15da3ae8fd3af2a 100644
--- a/chrome/browser/prefs/session_startup_pref.h
+++ b/chrome/browser/prefs/session_startup_pref.h
@@ -23,9 +23,6 @@ struct SessionStartupPref {
// Indicates the user wants to open the New Tab page.
DEFAULT,
- // Deprecated. See comment in session_startup_pref.cc
- HOMEPAGE,
-
// Indicates the user wants to restore the last session.
LAST,
@@ -41,7 +38,6 @@ struct SessionStartupPref {
// line up. These are the values registered in prefs.
// The values are also recorded in Settings.StartupPageLoadSettings histogram,
// so make sure to update histograms.xml if you change these.
- static const int kPrefValueHomePage = 0; // Deprecated
bartfab (slow) 2015/08/31 15:36:43 +asvitkine@chromium.org Your advice is needed is n
static const int kPrefValueLast = 1;
static const int kPrefValueURLs = 4;
static const int kPrefValueNewTab = 5;
@@ -59,11 +55,6 @@ 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);

Powered by Google App Engine
This is Rietveld 408576698