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

Unified Diff: chrome/renderer/page_load_histograms.cc

Issue 16115002: Delete long-expired GlobalSdch field trial. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 7 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 | « chrome/browser/chrome_browser_main.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/page_load_histograms.cc
===================================================================
--- chrome/renderer/page_load_histograms.cc (revision 202453)
+++ chrome/renderer/page_load_histograms.cc (working copy)
@@ -416,34 +416,28 @@
static const bool use_sdch_histogram =
base::FieldTrialList::TrialExists("GlobalSdch");
if (use_sdch_histogram) {
- UMA_HISTOGRAM_ENUMERATION(
- base::FieldTrial::MakeName("PLT.LoadType", "GlobalSdch"),
- load_type, DocumentState::kLoadTypeMax);
+ UMA_HISTOGRAM_ENUMERATION("PLT.LoadType", load_type,
+ DocumentState::kLoadTypeMax);
switch (load_type) {
case DocumentState::NORMAL_LOAD:
- PLT_HISTOGRAM(base::FieldTrial::MakeName(
- "PLT.BeginToFinish_NormalLoad", "GlobalSdch"),
- begin_to_finish_all_loads);
+ PLT_HISTOGRAM("PLT.BeginToFinish_NormalLoad",
jar (doing other things) 2013/05/28 18:35:02 You'll notice that this exact histogram is already
Alexei Svitkine (slow) 2013/05/28 18:48:58 Ah, you're absolutely right! Done.
+ begin_to_finish_all_loads);
break;
case DocumentState::LINK_LOAD_NORMAL:
- PLT_HISTOGRAM(base::FieldTrial::MakeName(
- "PLT.BeginToFinish_LinkLoadNormal", "GlobalSdch"),
- begin_to_finish_all_loads);
+ PLT_HISTOGRAM("PLT.BeginToFinish_LinkLoadNormal",
+ begin_to_finish_all_loads);
break;
case DocumentState::LINK_LOAD_RELOAD:
- PLT_HISTOGRAM(base::FieldTrial::MakeName(
- "PLT.BeginToFinish_LinkLoadReload", "GlobalSdch"),
- begin_to_finish_all_loads);
+ PLT_HISTOGRAM("PLT.BeginToFinish_LinkLoadReload",
+ begin_to_finish_all_loads);
break;
case DocumentState::LINK_LOAD_CACHE_STALE_OK:
- PLT_HISTOGRAM(base::FieldTrial::MakeName(
- "PLT.BeginToFinish_LinkLoadStaleOk", "GlobalSdch"),
- begin_to_finish_all_loads);
+ PLT_HISTOGRAM("PLT.BeginToFinish_LinkLoadStaleOk",
+ begin_to_finish_all_loads);
break;
case DocumentState::LINK_LOAD_CACHE_ONLY:
- PLT_HISTOGRAM(base::FieldTrial::MakeName(
- "PLT.BeginToFinish_LinkLoadCacheOnly", "GlobalSdch"),
- begin_to_finish_all_loads);
+ PLT_HISTOGRAM("PLT.BeginToFinish_LinkLoadCacheOnly",
+ begin_to_finish_all_loads);
break;
default:
break;
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698