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

Unified Diff: third_party/WebKit/public/platform/Platform.h

Issue 1550563002: Blink Platform: Remove time functions from Platform. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/platform/Platform.h
diff --git a/third_party/WebKit/public/platform/Platform.h b/third_party/WebKit/public/platform/Platform.h
index 95cfc0285be6be9238c50dba05bbd7d8322650a1..148d550f842a62160b0e13dd073b27ad639c4182 100644
--- a/third_party/WebKit/public/platform/Platform.h
+++ b/third_party/WebKit/public/platform/Platform.h
@@ -418,18 +418,6 @@ public:
// Returns a value such as "en-US".
virtual WebString defaultLocale() { return WebString(); }
- // Wall clock time in seconds since the epoch.
- virtual double currentTimeSeconds() { return 0; }
-
- // Monotonically increasing time in seconds from an arbitrary fixed point in the past.
- // This function is expected to return at least millisecond-precision values. For this reason,
- // it is recommended that the fixed point be no further in the past than the epoch.
- virtual double monotonicallyIncreasingTimeSeconds() { return 0; }
-
- // System trace time in seconds. For example, on Chrome OS, this timestamp should be
- // synchronized with ftrace timestamps.
- virtual double systemTraceTime() { return 0; }
-
// WebKit clients must implement this funcion if they use cryptographic randomness.
virtual void cryptographicallyRandomValues(unsigned char* buffer, size_t length) = 0;

Powered by Google App Engine
This is Rietveld 408576698