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

Unified Diff: content/browser/loader/navigation_url_loader_impl.h

Issue 874353003: New TimeToFirstURLJob* navigation metrics now work with PlzNavigate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changes from latest round of CR comments 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/loader/navigation_url_loader_impl.h
diff --git a/content/browser/loader/navigation_url_loader_impl.h b/content/browser/loader/navigation_url_loader_impl.h
index ecfd2382e8e9d3b33a7f1161795f3535b2489aae..60e622c2021ab08604a216cf9d95d4aa34e2386a 100644
--- a/content/browser/loader/navigation_url_loader_impl.h
+++ b/content/browser/loader/navigation_url_loader_impl.h
@@ -9,6 +9,7 @@
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
+#include "base/time/time.h"
#include "content/browser/loader/navigation_url_loader.h"
namespace net {
@@ -50,6 +51,10 @@ class NavigationURLLoaderImpl : public NavigationURLLoader {
// Notifies the delegate the request failed to return a response.
void NotifyRequestFailed(int net_error);
+ // Notifies the delegate the begin navigation request was handled and a
+ // potential first network request is about to be made.
+ void NavigationRequested(base::TimeTicks timestamp);
nasko 2015/02/02 18:28:53 nit: NotifyNavigationRequested?
carlosk 2015/02/03 11:00:04 This method was removed.
+
NavigationURLLoaderDelegate* delegate_;
// |core_| is deleted on the IO thread in a subsequent task when the

Powered by Google App Engine
This is Rietveld 408576698