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

Unified Diff: remoting/host/desktop_process_main.cc

Issue 12096071: Adding a unit test to verify the IPC channel between the network and desktop processes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix posix #2 Created 7 years, 10 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/daemon_process_win.cc ('k') | remoting/host/desktop_session_agent.h » ('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 141d747fb4f74f5865bb1501851be99455107fd6..b1a7433ed0fe19cb2720ada15f74af7d2ec75f08 100644
--- a/remoting/host/desktop_process_main.cc
+++ b/remoting/host/desktop_process_main.cc
@@ -123,13 +123,9 @@ int DesktopProcessMain(int argc, char** argv) {
MessageLoop message_loop(MessageLoop::TYPE_UI);
base::RunLoop run_loop;
- base::Closure quit_ui_task_runner = base::Bind(
- base::IgnoreResult(&base::SingleThreadTaskRunner::PostTask),
- message_loop.message_loop_proxy(),
- FROM_HERE, run_loop.QuitClosure());
scoped_refptr<AutoThreadTaskRunner> ui_task_runner =
new AutoThreadTaskRunner(message_loop.message_loop_proxy(),
- quit_ui_task_runner);
+ run_loop.QuitClosure());
DesktopProcess desktop_process(ui_task_runner, channel_name);
« no previous file with comments | « remoting/host/daemon_process_win.cc ('k') | remoting/host/desktop_session_agent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698