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

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

Issue 684813003: Remove wtf/Functional.h (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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 | « sky/engine/platform/heap/Handle.h ('k') | sky/engine/wtf/BUILD.gn » ('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 9ebeb49893da2eccb9580274fee967744f544947..9351aaa530decb6e5903d4fa02829ffcf9ef12f2 100644
--- a/sky/engine/public/platform/Platform.h
+++ b/sky/engine/public/platform/Platform.h
@@ -47,6 +47,10 @@
class GrContext;
+namespace base {
+class SingleThreadTaskRunner;
+}
+
namespace mojo {
class NetworkService;
}
@@ -256,6 +260,7 @@ public:
// Callable from a background WebKit thread.
virtual void callOnMainThread(void (*func)(void*), void* context) { }
+ virtual base::SingleThreadTaskRunner* mainThreadTaskRunner() { return 0; }
// Vibration -----------------------------------------------------------
« no previous file with comments | « sky/engine/platform/heap/Handle.h ('k') | sky/engine/wtf/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698