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

Unified Diff: remoting/jingle_glue/jingle_thread.h

Issue 7635030: Add PluginMessageLoopProxy and use it for Host plugin UI thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix clang Created 9 years, 4 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: remoting/jingle_glue/jingle_thread.h
diff --git a/remoting/jingle_glue/jingle_thread.h b/remoting/jingle_glue/jingle_thread.h
index 80924a21b4bba7010c539b723c291a2daa0e813c..35b46f2da8e379e7034effca79b4658c51e0feaa 100644
--- a/remoting/jingle_glue/jingle_thread.h
+++ b/remoting/jingle_glue/jingle_thread.h
@@ -12,13 +12,9 @@
#include "third_party/libjingle/source/talk/base/taskrunner.h"
#include "third_party/libjingle/source/talk/base/thread.h"
-namespace base {
-class MessageLoopProxy;
-} // namespace base
-
namespace buzz {
class XmppClient;
-} // namespace buzz
+}
namespace remoting {
@@ -60,8 +56,9 @@ class JingleThread : public talk_base::Thread {
virtual void Stop();
// Returns Chromiums message loop for this thread.
+ // TODO(sergeyu): remove this method when we use base::Thread instead of
+ // talk_base::Thread
MessageLoop* message_loop();
- base::MessageLoopProxy* message_loop_proxy();
// Returns task pump if the thread is running, otherwise NULL is returned.
TaskPump* task_pump();
@@ -71,7 +68,6 @@ class JingleThread : public talk_base::Thread {
base::WaitableEvent started_event_;
base::WaitableEvent stopped_event_;
MessageLoop* message_loop_;
- scoped_refptr<base::MessageLoopProxy> message_loop_proxy_;
DISALLOW_COPY_AND_ASSIGN(JingleThread);
};

Powered by Google App Engine
This is Rietveld 408576698