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

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

Issue 10581013: Make the default startup pref to be NTP also on Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: oops Created 8 years, 6 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 e1885aa988033ed25c69d2aa74876129e1406f89..48e2e1146a02af196330d13b5769a5a76bf1a7ff 100644
--- a/chrome/browser/prefs/session_startup_pref.h
+++ b/chrome/browser/prefs/session_startup_pref.h
@@ -58,6 +58,10 @@ struct SessionStartupPref {
// the same effect.
static void MigrateIfNecessary(PrefService* prefs);
+ // The default startup pref for Mac used to be LAST, now it's DEFAULT. This
+ // migrates old users by writing out the preference explicitly.
+ static void MigrateMacDefaultPrefIfNecessary(PrefService* prefs);
+
// Whether the startup type and URLs are managed via policy.
static bool TypeIsManaged(PrefService* prefs);
static bool URLsAreManaged(PrefService* prefs);
« no previous file with comments | « no previous file | chrome/browser/prefs/session_startup_pref.cc » ('j') | chrome/browser/prefs/session_startup_pref.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698