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

Unified Diff: remoting/protocol/jingle_session.cc

Issue 7633009: Use MessageLoopProxy for network message loop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - 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
« no previous file with comments | « remoting/protocol/input_sender.cc ('k') | remoting/protocol/jingle_session_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/jingle_session.cc
diff --git a/remoting/protocol/jingle_session.cc b/remoting/protocol/jingle_session.cc
index 3354ae034677e33a7aefa169919ef52a1f736c9f..ae0539a6eac2cb167afbbea4a30c1025e6647766 100644
--- a/remoting/protocol/jingle_session.cc
+++ b/remoting/protocol/jingle_session.cc
@@ -5,7 +5,7 @@
#include "remoting/protocol/jingle_session.h"
#include "base/bind.h"
-#include "base/message_loop.h"
+#include "base/message_loop_proxy.h"
#include "base/rand_util.h"
#include "base/stl_util.h"
#include "crypto/hmac.h"
@@ -317,11 +317,11 @@ void JingleSession::OnInitiate() {
// P2PTransportChannel is created only after we return from this
// method.
// TODO(sergeyu): Add set_incoming_only() in TransportChannelProxy.
- MessageLoop::current()->PostTask(
+ jingle_session_manager_->message_loop_->PostTask(
FROM_HERE, task_factory_.NewRunnableMethod(
&JingleSession::SetState, CONNECTING));
} else {
- MessageLoop::current()->PostTask(
+ jingle_session_manager_->message_loop_->PostTask(
FROM_HERE, task_factory_.NewRunnableMethod(
&JingleSession::AcceptConnection));
}
« no previous file with comments | « remoting/protocol/input_sender.cc ('k') | remoting/protocol/jingle_session_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698