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

Unified Diff: third_party/WebKit/public/web/WebDataSource.h

Issue 1425823002: (DEPRECATED) Send navigation_start to browser process in DidStartProvisionalLoad (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Name change + blink layering 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: third_party/WebKit/public/web/WebDataSource.h
diff --git a/third_party/WebKit/public/web/WebDataSource.h b/third_party/WebKit/public/web/WebDataSource.h
index 29d725fdae621a256d9ec0b7c39442f81e9a456c..18f183a71ab9b8da8f2bc4689bf4a225ad0ccb3f 100644
--- a/third_party/WebKit/public/web/WebDataSource.h
+++ b/third_party/WebKit/public/web/WebDataSource.h
@@ -103,6 +103,10 @@ public:
// Calling it later may confuse users, because JavaScript may have run and
// the user may have already recorded the original value.
virtual void setNavigationStartTime(double) = 0;
+ // Gets the navigation start time. Useful if the embedder wants the
+ // navigation start time in the same format they set it in, rather than the
+ // wall time that WebPerformance reports.
+ virtual double getNavigationStartTime() = 0;
clamy 2015/10/28 12:40:01 What is the issue with getting the time back as a
Charlie Harrison 2015/10/28 14:45:00 DocumentLoadTiming stores the timing as TimeTicks
protected:
~WebDataSource() { }
« content/renderer/render_frame_impl.cc ('K') | « third_party/WebKit/public/platform/WebURLRequest.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698