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

Unified Diff: components/page_load_metrics/browser/metrics_web_contents_observer.h

Issue 1473443002: Bucket FirstContentfulPaint timing into High/Low res clock buckets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge histogram suffixes Created 5 years, 1 month 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 | components/page_load_metrics/browser/metrics_web_contents_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/page_load_metrics/browser/metrics_web_contents_observer.h
diff --git a/components/page_load_metrics/browser/metrics_web_contents_observer.h b/components/page_load_metrics/browser/metrics_web_contents_observer.h
index 1c8a4e5d8484b9edd34034c39906a9713e598174..d80b8569920effb4cb66d0f1fbe4ebdbf24903eb 100644
--- a/components/page_load_metrics/browser/metrics_web_contents_observer.h
+++ b/components/page_load_metrics/browser/metrics_web_contents_observer.h
@@ -60,6 +60,11 @@ const char kBackgroundHistogramFirstImagePaint[] =
const char kBackgroundHistogramFirstContentfulPaint[] =
"PageLoad.Timing2.NavigationToFirstContentfulPaint.Background";
+const char kHistogramFirstContentfulPaintHigh[] =
+ "PageLoad.Timing2.NavigationToFirstContentfulPaint.HighResolutionClock";
+const char kHistogramFirstContentfulPaintLow[] =
+ "PageLoad.Timing2.NavigationToFirstContentfulPaint.LowResolutionClock";
+
const char kHistogramFirstBackground[] =
"PageLoad.Timing2.NavigationToFirstBackground";
const char kHistogramFirstForeground[] =
« no previous file with comments | « no previous file | components/page_load_metrics/browser/metrics_web_contents_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698