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

Unified Diff: webkit/glue/webthread_impl.h

Issue 8228025: Implement WebKitPlatformSupport::currentThread (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 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
Index: webkit/glue/webthread_impl.h
diff --git a/webkit/glue/webthread_impl.h b/webkit/glue/webthread_impl.h
index 50869d612ffcd3c18b673fd3531bd044b3a823f9..0a32bc0bf922e1c8188bae0ff06c3daa470e3e5d 100644
--- a/webkit/glue/webthread_impl.h
+++ b/webkit/glue/webthread_impl.h
@@ -28,6 +28,22 @@ class WebThreadImpl : public WebKit::WebThread {
scoped_ptr<base::Thread> thread_;
};
+class WebThreadImplForMessageLoop : public WebKit::WebThread {
+ public:
+ WebThreadImplForMessageLoop(base::MessageLoopProxy* message_loop);
+ virtual ~WebThreadImplForMessageLoop();
+
+ virtual void postTask(Task* task);
+#ifdef WEBTHREAD_HAS_LONGLONG_CHANGE
+ virtual void postDelayedTask(Task* task, long long delay_ms);
+#else
+ virtual void postDelayedTask(Task* task, int64 delay_ms);
+#endif
+
+ protected:
+ scoped_refptr<base::MessageLoopProxy> message_loop_;
+};
+
} // namespace webkit_glue
#endif

Powered by Google App Engine
This is Rietveld 408576698