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

Unified Diff: gin/public/v8_platform.h

Issue 1181113003: Implement V8Platform::CallDelayedOnForegroundThread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 6 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 | gin/v8_platform.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gin/public/v8_platform.h
diff --git a/gin/public/v8_platform.h b/gin/public/v8_platform.h
index a4fc28a9bc32cf394af4027cddfc116a85219fd1..3e90059cb792202c9a62fa0153fa2d01ef694a54 100644
--- a/gin/public/v8_platform.h
+++ b/gin/public/v8_platform.h
@@ -23,6 +23,11 @@ class GIN_EXPORT V8Platform : public NON_EXPORTED_BASE(v8::Platform) {
v8::Task* task,
v8::Platform::ExpectedRuntime expected_runtime) override;
void CallOnForegroundThread(v8::Isolate* isolate, v8::Task* task) override;
+ // TODO(ulan): Replace 'virtual' with 'override' once the corresponding change
+ // in V8 rolls in chromium.
+ virtual void CallDelayedOnForegroundThread(v8::Isolate* isolate,
+ v8::Task* task,
+ double delay_in_seconds);
double MonotonicallyIncreasingTime() override;
private:
« no previous file with comments | « no previous file | gin/v8_platform.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698