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

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

Issue 10035043: Update RestoreOnStartupPolicyHandler to translate to the correct preferences (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: \n Created 8 years, 8 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 4914e2fc6c58530584b4cc6a18452c0591d95995..11c4180f8f34d111712ec3ecd1f822930d43a4a1 100644
--- a/chrome/browser/prefs/session_startup_pref.h
+++ b/chrome/browser/prefs/session_startup_pref.h
@@ -34,6 +34,13 @@ struct SessionStartupPref {
TYPE_COUNT
};
+ // For historical reasons the enum and value registered in the prefs don't
+ // line up. These are the values registered in prefs.
+ static const int kPrefValueHomePage = 0; // Deprecated
+ static const int kPrefValueLast = 1;
+ static const int kPrefValueURLs = 4;
+ static const int kPrefValueNewTab = 5;
+
static void RegisterUserPrefs(PrefService* prefs);
// Returns the default value for |type|.
« no previous file with comments | « chrome/browser/policy/configuration_policy_reader_unittest.cc ('k') | chrome/browser/prefs/session_startup_pref.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698