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

Unified Diff: components/web_view/pending_web_view_load.h

Issue 1391963004: Correctly record and pass around navigation start time. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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: components/web_view/pending_web_view_load.h
diff --git a/components/web_view/pending_web_view_load.h b/components/web_view/pending_web_view_load.h
index b2a11217803bbc42ef4743e127fba35a15c4e0a9..b7070bd0c2cd400d69639037276e2cffc20f3efb 100644
--- a/components/web_view/pending_web_view_load.h
+++ b/components/web_view/pending_web_view_load.h
@@ -8,6 +8,7 @@
#include <string>
#include "base/memory/scoped_ptr.h"
+#include "base/time/time.h"
#include "mojo/services/network/public/interfaces/url_loader.mojom.h"
#include "url/gurl.h"
@@ -35,6 +36,10 @@ class PendingWebViewLoad {
const GURL& pending_url() const { return pending_url_; }
+ base::TimeTicks navigation_start_time() const {
+ return navigation_start_time_;
+ }
+
private:
void OnGotContentHandlerID();
@@ -45,6 +50,8 @@ class PendingWebViewLoad {
scoped_ptr<FrameConnection> frame_connection_;
+ base::TimeTicks navigation_start_time_;
+
DISALLOW_COPY_AND_ASSIGN(PendingWebViewLoad);
};

Powered by Google App Engine
This is Rietveld 408576698