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

Unified Diff: content/child/blink_platform_impl.cc

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: content/child/blink_platform_impl.cc
diff --git a/content/child/blink_platform_impl.cc b/content/child/blink_platform_impl.cc
index 0c2cadbca9b5693024e9f5ee7e5dfadf1e4d04f1..a7593efee65c8004b93808c6c6acfb0ca3706530 100644
--- a/content/child/blink_platform_impl.cc
+++ b/content/child/blink_platform_impl.cc
@@ -1078,19 +1078,6 @@ WebString BlinkPlatformImpl::queryLocalizedString(
GetContentClient()->GetLocalizedString(message_id), values, NULL);
}
-double BlinkPlatformImpl::currentTimeSeconds() {
- return base::Time::Now().ToDoubleT();
-}
-
-double BlinkPlatformImpl::monotonicallyIncreasingTimeSeconds() {
- return base::TimeTicks::Now().ToInternalValue() /
- static_cast<double>(base::Time::kMicrosecondsPerSecond);
-}
-
-double BlinkPlatformImpl::systemTraceTime() {
- return (base::TimeTicks::Now() - base::TimeTicks()).InSecondsF();
-}
-
void BlinkPlatformImpl::cryptographicallyRandomValues(
unsigned char* buffer, size_t length) {
base::RandBytes(buffer, length);

Powered by Google App Engine
This is Rietveld 408576698