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

Unified Diff: webkit/glue/webthread_impl.h

Issue 9167034: Add support for Run + Quit to WebKit::WebThread (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: uses MessageLoop::current and restores MessageLoopProxy, removes OVERRIDE Created 8 years, 11 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 | webkit/glue/webthread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webthread_impl.h
diff --git a/webkit/glue/webthread_impl.h b/webkit/glue/webthread_impl.h
index e39d6bf65afdd87608b46dd3922877092349741c..72efc57d09a73cb1f9b9be5230b562e179f49374 100644
--- a/webkit/glue/webthread_impl.h
+++ b/webkit/glue/webthread_impl.h
@@ -37,8 +37,11 @@ class WebThreadImpl : public WebThreadBase {
WEBKIT_GLUE_EXPORT explicit WebThreadImpl(const char* name);
WEBKIT_GLUE_EXPORT virtual ~WebThreadImpl();
- virtual void postTask(Task* task) OVERRIDE;
- virtual void postDelayedTask(Task* task, long long delay_ms) OVERRIDE;
+ virtual void postTask(Task* task);
+ virtual void postDelayedTask(Task* task, long long delay_ms);
+
+ virtual void enterRunLoop();
+ virtual void exitRunLoop();
MessageLoop* message_loop() const { return thread_->message_loop(); }
@@ -52,8 +55,11 @@ class WebThreadImplForMessageLoop : public WebThreadBase {
explicit WebThreadImplForMessageLoop(base::MessageLoopProxy* message_loop);
virtual ~WebThreadImplForMessageLoop();
- virtual void postTask(Task* task) OVERRIDE;
- virtual void postDelayedTask(Task* task, long long delay_ms) OVERRIDE;
+ virtual void postTask(Task* task);
+ virtual void postDelayedTask(Task* task, long long delay_ms);
+
+ virtual void enterRunLoop();
+ virtual void exitRunLoop();
private:
virtual bool IsCurrentThread() const OVERRIDE;
« no previous file with comments | « no previous file | webkit/glue/webthread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698