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

Unified Diff: sky/engine/public/platform/Platform.h

Issue 892053002: Cleanup unused #includes and declarations in PlatformImpl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Leave locale Created 5 years, 11 months 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
« no previous file with comments | « no previous file | sky/engine/testing/platform/platform_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/public/platform/Platform.h
diff --git a/sky/engine/public/platform/Platform.h b/sky/engine/public/platform/Platform.h
index 8d3ac0d24bf0797bbb8841b4033d3b8f2e838126..e39689508c05dcec27e1f0b1bdf822ed90e2365e 100644
--- a/sky/engine/public/platform/Platform.h
+++ b/sky/engine/public/platform/Platform.h
@@ -189,20 +189,6 @@ public:
// Returns a value such as "en-US".
virtual WebString defaultLocale() { return WebString(); }
- // Wall clock time in seconds since the epoch.
- virtual double currentTime() { 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 monotonicallyIncreasingTime() { return 0; }
-
- // Delayed work is driven by a shared timer.
- typedef void (*SharedTimerFunction)();
- virtual void setSharedTimerFiredFunction(SharedTimerFunction timerFunction) { }
- virtual void setSharedTimerFireInterval(double) { }
- virtual void stopSharedTimer() { }
-
virtual base::SingleThreadTaskRunner* mainThreadTaskRunner() { return 0; }
« no previous file with comments | « no previous file | sky/engine/testing/platform/platform_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698