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() { } |