Index: content/browser/frame_host/navigator.h |
diff --git a/content/browser/frame_host/navigator.h b/content/browser/frame_host/navigator.h |
index af8e71ec151a6eb8f33b8e916dc8b3c380096fa3..feda9382f4ca2ca82fd47233cf4bdd8068d527f9 100644 |
--- a/content/browser/frame_host/navigator.h |
+++ b/content/browser/frame_host/navigator.h |
@@ -6,6 +6,7 @@ |
#define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_H_ |
#include "base/memory/ref_counted.h" |
+#include "base/time/time.h" |
#include "content/common/content_export.h" |
#include "content/public/browser/navigation_controller.h" |
#include "ui/base/window_open_disposition.h" |
@@ -126,6 +127,12 @@ class CONTENT_EXPORT Navigator : public base::RefCounted<Navigator> { |
virtual void CommitNavigation(RenderFrameHostImpl* render_frame_host, |
const NavigationBeforeCommitInfo& info) {}; |
+ // PlzNavigate |
clamy
2014/09/26 14:48:32
nit: This not PlzNavigate specific, so I think you
carlosk
2014/09/26 15:50:25
Done.
|
+ // Called when the first resource request for a given navigation is executed |
+ // so that we can time it. |
clamy
2014/09/26 14:48:32
nit: Avoid using we in a comment.
carlosk
2014/09/26 15:50:25
Done.
|
+ virtual void LogResourceRequestTime( |
+ base::TimeTicks timestamp, const GURL& url) {}; |
+ |
protected: |
friend class base::RefCounted<Navigator>; |
virtual ~Navigator() {} |