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

Unified Diff: content/browser/frame_host/navigator.h

Issue 874353003: New TimeToFirstURLJob* navigation metrics now work with PlzNavigate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: content/browser/frame_host/navigator.h
diff --git a/content/browser/frame_host/navigator.h b/content/browser/frame_host/navigator.h
index 191a58366227634b7e51db019cc8cdf6f5453019..2b81bc17c5733784279643a276b0821bbba8e0b7 100644
--- a/content/browser/frame_host/navigator.h
+++ b/content/browser/frame_host/navigator.h
@@ -143,6 +143,12 @@ class CONTENT_EXPORT Navigator : public base::RefCounted<Navigator> {
virtual void LogResourceRequestTime(
base::TimeTicks timestamp, const GURL& url) {};
+ // PlzNavigate
+ // Called when ResourceDispacherHostImpl is about to begin working on a
clamy 2015/01/27 12:35:04 s/is about to begin working/has started working
carlosk 2015/01/27 17:12:03 Done.
+ // navigation request, right before the first network request is made so that
+ // the timestamp can be recorded into an histogram.
+ virtual void LogAboutToBeginNavigation(base::TimeTicks timestamp) {};
carlosk 2015/01/26 19:54:01 I switched the method name here, adding the Log pr
clamy 2015/01/27 12:35:03 Acknowledged.
+
// Called to record the time it took to execute the before unload hook for the
// current navigation.
virtual void LogBeforeUnloadTime(

Powered by Google App Engine
This is Rietveld 408576698