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

Unified Diff: chrome/browser/browser_main.cc

Issue 6340013: Add histogram to track prerender sessions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_main.cc
diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc
index 38e9d337971a565056a5dcc3ee3f5f28a554ff1c..a64a6906b2502eba6a59d0a4fde0d296df5df2c1 100644
--- a/chrome/browser/browser_main.cc
+++ b/chrome/browser/browser_main.cc
@@ -1581,6 +1581,10 @@ int BrowserMain(const MainFunctionParams& parameters) {
RecordBreakpadStatusUMA(metrics);
about_flags::RecordUMAStatistics(user_prefs);
+ UMA_HISTOGRAM_ENUMERATION(
cbentzel 2011/01/23 12:32:47 Could you put this in PrefetchFieldTrial so it's m
+ "Prerender.Sessions",
+ parsed_command_line.HasSwitch(switches::kEnablePagePrerender), 2);
cbentzel 2011/01/23 12:32:47 Eventually I think this histogram will want more b
jar (doing other things) 2011/01/23 20:15:53 I think HasSwitch returns a boolean, but the HISTO
gavinp 2011/01/24 06:01:46 OK, I've now created an enumeration (which I put i
+
// Stat the directory with the inspector's files so that we can know if we
// should display the entry in the context menu or not.
browser_process->CheckForInspectorFiles();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698