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 |