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

Unified Diff: remoting/protocol/connection_tester.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
Index: remoting/protocol/connection_tester.cc
diff --git a/remoting/protocol/connection_tester.cc b/remoting/protocol/connection_tester.cc
index 1e87b8f2191340555bd11c553660e147f525f59f..1e8c2c394a817f57b86dfb8844956e640960a05f 100644
--- a/remoting/protocol/connection_tester.cc
+++ b/remoting/protocol/connection_tester.cc
@@ -18,7 +18,7 @@ StreamConnectionTester::StreamConnectionTester(net::StreamSocket* client_socket,
net::StreamSocket* host_socket,
int message_size,
int message_count)
- : message_loop_(MessageLoop::current()),
+ : message_loop_(base::MessageLoop::current()),
host_socket_(host_socket),
client_socket_(client_socket),
message_size_(message_size),
@@ -52,7 +52,7 @@ void StreamConnectionTester::CheckResults() {
void StreamConnectionTester::Done() {
done_ = true;
- message_loop_->PostTask(FROM_HERE, MessageLoop::QuitClosure());
+ message_loop_->PostTask(FROM_HERE, base::MessageLoop::QuitClosure());
}
void StreamConnectionTester::InitBuffers() {
@@ -130,7 +130,7 @@ DatagramConnectionTester::DatagramConnectionTester(net::Socket* client_socket,
int message_size,
int message_count,
int delay_ms)
- : message_loop_(MessageLoop::current()),
+ : message_loop_(base::MessageLoop::current()),
host_socket_(host_socket),
client_socket_(client_socket),
message_size_(message_size),
@@ -167,7 +167,7 @@ void DatagramConnectionTester::CheckResults() {
void DatagramConnectionTester::Done() {
done_ = true;
- message_loop_->PostTask(FROM_HERE, MessageLoop::QuitClosure());
+ message_loop_->PostTask(FROM_HERE, base::MessageLoop::QuitClosure());
}
void DatagramConnectionTester::DoWrite() {
« no previous file with comments | « remoting/protocol/channel_multiplexer_unittest.cc ('k') | remoting/protocol/connection_to_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698