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

Unified Diff: remoting/host/remoting_me2me_host.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/host/register_support_host_request_unittest.cc ('k') | remoting/host/setup/start_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/remoting_me2me_host.cc
diff --git a/remoting/host/remoting_me2me_host.cc b/remoting/host/remoting_me2me_host.cc
index a6c10c78995eb0058de816cd593f1ef4e9a08715..b083e7bdb20387748659196f25ceb76c6d9c0716 100644
--- a/remoting/host/remoting_me2me_host.cc
+++ b/remoting/host/remoting_me2me_host.cc
@@ -104,8 +104,8 @@ const char kApplicationName[] = "chromoting";
// linux.
const char kAudioPipeSwitchName[] = "audio-pipe-name";
-void QuitMessageLoop(MessageLoop* message_loop) {
- message_loop->PostTask(FROM_HERE, MessageLoop::QuitClosure());
+void QuitMessageLoop(base::MessageLoop* message_loop) {
+ message_loop->PostTask(FROM_HERE, base::MessageLoop::QuitClosure());
}
} // namespace
@@ -1135,11 +1135,10 @@ int HostProcessMain() {
net::EnableSSLServerSockets();
// Create the main message loop and start helper threads.
- MessageLoop message_loop(MessageLoop::TYPE_UI);
+ base::MessageLoop message_loop(base::MessageLoop::TYPE_UI);
scoped_ptr<ChromotingHostContext> context =
- ChromotingHostContext::Create(
- new AutoThreadTaskRunner(message_loop.message_loop_proxy(),
- MessageLoop::QuitClosure()));
+ ChromotingHostContext::Create(new AutoThreadTaskRunner(
+ message_loop.message_loop_proxy(), base::MessageLoop::QuitClosure()));
if (!context)
return kInitializationFailed;
« no previous file with comments | « remoting/host/register_support_host_request_unittest.cc ('k') | remoting/host/setup/start_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698