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

Unified Diff: remoting/protocol/jingle_session_unittest.cc

Issue 14314026: remoting: Use base::MessageLoop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 8 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/fake_session.cc ('k') | remoting/protocol/message_reader_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/jingle_session_unittest.cc
diff --git a/remoting/protocol/jingle_session_unittest.cc b/remoting/protocol/jingle_session_unittest.cc
index 76aee23fdd08a15b73f850242e97d5f14eb4ed50..91b78c63da6e20ca55a28ab7b8743ab692ad65cd 100644
--- a/remoting/protocol/jingle_session_unittest.cc
+++ b/remoting/protocol/jingle_session_unittest.cc
@@ -49,7 +49,8 @@ const int kMessages = 100;
const char kChannelName[] = "test_channel";
void QuitCurrentThread() {
- MessageLoop::current()->PostTask(FROM_HERE, MessageLoop::QuitClosure());
+ base::MessageLoop::current()->PostTask(FROM_HERE,
+ base::MessageLoop::QuitClosure());
}
ACTION(QuitThread) {
@@ -88,7 +89,7 @@ class MockStreamChannelCallback {
class JingleSessionTest : public testing::Test {
public:
JingleSessionTest() {
- message_loop_.reset(new MessageLoopForIO());
+ message_loop_.reset(new base::MessageLoopForIO());
}
// Helper method that handles OnIncomingSession().
@@ -256,7 +257,7 @@ class JingleSessionTest : public testing::Test {
.Times(AtLeast(1));
}
- scoped_ptr<MessageLoopForIO> message_loop_;
+ scoped_ptr<base::MessageLoopForIO> message_loop_;
scoped_ptr<FakeSignalStrategy> host_signal_strategy_;
scoped_ptr<FakeSignalStrategy> client_signal_strategy_;
« no previous file with comments | « remoting/protocol/fake_session.cc ('k') | remoting/protocol/message_reader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698