Index: content/browser/frame_host/navigator.h |
diff --git a/content/browser/frame_host/navigator.h b/content/browser/frame_host/navigator.h |
index b47654839f0f9d70b0729f2c6284d931e1a4ed7b..973b6fb850f679dcb833491e4923a3eb6f39df4b 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,11 @@ class CONTENT_EXPORT Navigator : public base::RefCounted<Navigator> { |
virtual void CommitNavigation(RenderFrameHostImpl* render_frame_host, |
const NavigationBeforeCommitInfo& info) {}; |
+ // PlzNavigate |
+ // Called from the IO thread when the first resource request for a given |
davidben
2014/09/19 21:52:45
Nit: I would maybe say 'Called from the loader whe
carlosk
2014/09/23 17:02:56
Done.
|
+ // navigation is executed so that we can time it. |
+ virtual void LogResourceRequestTime(base::TimeTicks timestamp, GURL url) {}; |
clamy
2014/09/19 14:56:03
Make it a const GURL& .
carlosk
2014/09/23 17:02:56
Done.
|
+ |
protected: |
friend class base::RefCounted<Navigator>; |
virtual ~Navigator() {} |