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

Side by Side Diff: remoting/host/setup/native_messaging_host_main.cc

Issue 19574007: Use a direct include of the message_loop header in remoting/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "remoting/host/setup/native_messaging_host.h" 5 #include "remoting/host/setup/native_messaging_host.h"
6 6
7 #include "base/at_exit.h" 7 #include "base/at_exit.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/run_loop.h" 10 #include "base/run_loop.h"
11 #include "remoting/host/logging.h" 11 #include "remoting/host/logging.h"
12 #include "remoting/host/pairing_registry_delegate.h" 12 #include "remoting/host/pairing_registry_delegate.h"
13 #include "remoting/protocol/pairing_registry.h" 13 #include "remoting/protocol/pairing_registry.h"
14 14
15 #if defined(OS_POSIX) 15 #if defined(OS_POSIX)
16 #include <unistd.h> 16 #include <unistd.h>
17 #endif 17 #endif
18 18
19 using remoting::protocol::PairingRegistry; 19 using remoting::protocol::PairingRegistry;
(...skipping 21 matching lines...) Expand all
41 remoting::CreatePairingRegistry(message_loop.message_loop_proxy()); 41 remoting::CreatePairingRegistry(message_loop.message_loop_proxy());
42 remoting::NativeMessagingHost host(remoting::DaemonController::Create(), 42 remoting::NativeMessagingHost host(remoting::DaemonController::Create(),
43 pairing_registry, 43 pairing_registry,
44 read_file, write_file, 44 read_file, write_file,
45 message_loop.message_loop_proxy(), 45 message_loop.message_loop_proxy(),
46 run_loop.QuitClosure()); 46 run_loop.QuitClosure());
47 host.Start(); 47 host.Start();
48 run_loop.Run(); 48 run_loop.Run();
49 return 0; 49 return 0;
50 } 50 }
OLDNEW
« no previous file with comments | « remoting/host/setup/daemon_installer_win.cc ('k') | remoting/host/setup/native_messaging_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698