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

Unified Diff: extensions/browser/extension_host.h

Issue 902963002: Replace the ExtensionHost load UMAs (Extensions.BackgroundPageLoadTime and friends) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ready Created 5 years, 10 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 | extensions/browser/extension_host.cc » ('j') | tools/metrics/histograms/histograms.xml » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/extension_host.h
diff --git a/extensions/browser/extension_host.h b/extensions/browser/extension_host.h
index 567499ba06ff4a3c8c3cca1eeb420eba9159eb41..cd7e6ae78e4818ee7fc67133f7e4c2471512c802 100644
--- a/extensions/browser/extension_host.h
+++ b/extensions/browser/extension_host.h
@@ -197,8 +197,8 @@ class ExtensionHost : public content::WebContentsDelegate,
// The type of view being hosted.
ViewType extension_host_type_;
- // Used to measure how long it's been since the host was created.
- base::ElapsedTimer since_created_;
+ // Measures how long since the initial URL started loading.
+ scoped_ptr<base::ElapsedTimer> load_start_;
ObserverList<ExtensionHostObserver> observer_list_;
« no previous file with comments | « no previous file | extensions/browser/extension_host.cc » ('j') | tools/metrics/histograms/histograms.xml » ('J')

Powered by Google App Engine
This is Rietveld 408576698