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

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

Issue 2103153004: Add a histogram for delay between first paint and client side redirects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: histogram xml fix Created 4 years, 6 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 | 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 dee13cbd092303adb4215e68fe72b96bb8c9f222..2334223f46abbb1460b45f2d6494c1f3239aaab0 100644
--- a/components/page_load_metrics/browser/metrics_web_contents_observer.h
+++ b/components/page_load_metrics/browser/metrics_web_contents_observer.h
@@ -135,6 +135,8 @@ class PageLoadTracker {
void OnInputEvent(const blink::WebInputEvent& event);
+ void NotifyClientRedirectTo(const PageLoadTracker& destination);
+
// Returns true if the timing was successfully updated.
bool UpdateTiming(const PageLoadTiming& timing,
const PageLoadMetadata& metadata);
@@ -181,6 +183,8 @@ class PageLoadTracker {
return url_;
}
+ base::TimeTicks navigation_start() const { return navigation_start_; }
+
PageLoadExtraInfo ComputePageLoadExtraInfo();
private:
« 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