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

Unified Diff: remoting/host/desktop_process_main.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/desktop_process.cc ('k') | remoting/host/desktop_process_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/desktop_process_main.cc
diff --git a/remoting/host/desktop_process_main.cc b/remoting/host/desktop_process_main.cc
index 966acb8d869aeea977619d0a7197bb493664a354..a4ed9430f1bb8e0b25f2ec754de220780343c2ae 100644
--- a/remoting/host/desktop_process_main.cc
+++ b/remoting/host/desktop_process_main.cc
@@ -31,7 +31,7 @@ int DesktopProcessMain() {
if (channel_name.empty())
return kUsageExitCode;
- MessageLoop message_loop(MessageLoop::TYPE_UI);
+ base::MessageLoop message_loop(base::MessageLoop::TYPE_UI);
base::RunLoop run_loop;
scoped_refptr<AutoThreadTaskRunner> ui_task_runner =
new AutoThreadTaskRunner(message_loop.message_loop_proxy(),
@@ -39,8 +39,8 @@ int DesktopProcessMain() {
// Launch the input thread.
scoped_refptr<AutoThreadTaskRunner> input_task_runner =
- AutoThread::CreateWithType("Input thread", ui_task_runner,
- MessageLoop::TYPE_IO);
+ AutoThread::CreateWithType(
+ "Input thread", ui_task_runner, base::MessageLoop::TYPE_IO);
DesktopProcess desktop_process(ui_task_runner,
input_task_runner,
« no previous file with comments | « remoting/host/desktop_process.cc ('k') | remoting/host/desktop_process_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698