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..ab7ad785cf2edb1916f7ea6a3f6ec8ac48812ff9 100644 |
--- a/third_party/WebKit/public/web/WebDataSource.h |
+++ b/third_party/WebKit/public/web/WebDataSource.h |
@@ -104,6 +104,12 @@ public: |
// 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 reported monotonicallyIncreasingTime format |
+ // rather than the epoch time reported by WebPerformance, or they want the |
+ // value they set in setNavigationStartTime. |
+ virtual double getNavigationStartTime() = 0; |
+ |
protected: |
~WebDataSource() { } |
}; |