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

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

Issue 21121007: Add histograms for session startup enum and number of URLs to open. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mpearson comments Created 7 years, 5 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 75ea9d3027ab22b7e77087207ec572a615dcf72d..f278e10ab03628855982d0fe52401cdd5e1d52a6 100644
--- a/chrome/browser/prefs/session_startup_pref.h
+++ b/chrome/browser/prefs/session_startup_pref.h
@@ -39,10 +39,13 @@ struct SessionStartupPref {
// For historical reasons the enum and value registered in the prefs don't
// line up. These are the values registered in prefs.
+ // The values are also recorded in Settings.StartupPageLoadSettings histogram,
+ // so make sure to update the histogram enum if you change these.
Mark P 2013/07/30 17:56:57 nit: the histogram enum -> histograms.xml (that's
meacer 2013/07/30 18:41:50 Done.
static const int kPrefValueHomePage = 0; // Deprecated
static const int kPrefValueLast = 1;
static const int kPrefValueURLs = 4;
static const int kPrefValueNewTab = 5;
+ static const int kPrefValueMax = 6;
static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);

Powered by Google App Engine
This is Rietveld 408576698