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

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: Stop calling didCreateDataSource for same-page navs Created 5 years, 1 month 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..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() { }
};
« content/renderer/render_frame_impl.cc ('K') | « third_party/WebKit/Source/web/WebDataSourceImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698