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

Unified Diff: src/default-platform.h

Issue 97073004: Make Time functions go through the Platform layer. (Closed) Base URL: git://github.com/v8/v8.git@bleeding_edge
Patch Set: Created 7 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
« no previous file with comments | « include/v8-platform.h ('k') | src/platform/default-platform-time.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/default-platform.h
diff --git a/src/default-platform.h b/src/default-platform.h
index fe1bf8e2d64e57349309fdab70c973af2fb99eb9..ee89b6fa60dcdf5b267054b0e6e5fcfb432b391d 100644
--- a/src/default-platform.h
+++ b/src/default-platform.h
@@ -43,6 +43,11 @@ class DefaultPlatform : public Platform {
Task *task, ExpectedRuntime expected_runtime) V8_OVERRIDE;
virtual void CallOnForegroundThread(v8::Isolate *isolate,
Task *task) V8_OVERRIDE;
+ virtual int64_t CurrentTime() V8_OVERRIDE;
+ virtual int64_t CurrentTimeFromSystemTime() V8_OVERRIDE;
+ virtual int64_t TimeTicksNow() V8_OVERRIDE;
+ virtual int64_t TimeTicksHighResNow() V8_OVERRIDE;
+ virtual bool TimeTicksHasHighRes() V8_OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(DefaultPlatform);
« no previous file with comments | « include/v8-platform.h ('k') | src/platform/default-platform-time.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698