Index: content/browser/loader/navigation_url_loader_delegate.h |
diff --git a/content/browser/loader/navigation_url_loader_delegate.h b/content/browser/loader/navigation_url_loader_delegate.h |
index 199f48a2a984b238f4f2f0f49f287bcc88352a9f..4ea2c6b0d36bef178bf37627f6ece05e9e79ea8a 100644 |
--- a/content/browser/loader/navigation_url_loader_delegate.h |
+++ b/content/browser/loader/navigation_url_loader_delegate.h |
@@ -39,6 +39,12 @@ class CONTENT_EXPORT NavigationURLLoaderDelegate { |
// network error code for the failure. |
virtual void OnRequestFailed(int net_error) = 0; |
+ // Called after the network request has begun on the IO thread at time |
+ // |timestamp|. This is just a thread hop but is used to compare timing |
+ // against the pre-PlzNavigate codepath which didn't start the network request |
+ // until after the renderer was initialized. |
+ virtual void OnRequestHandled(base::TimeTicks timestamp) = 0; |
+ |
protected: |
NavigationURLLoaderDelegate() {} |
virtual ~NavigationURLLoaderDelegate() {} |