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

Side by Side Diff: remoting/host/it2me/it2me_native_messaging_host_main.cc

Issue 2153313002: Refactoring Me2MeNativeMessagingHost to implement NativeMessageHost interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@process_helper
Patch Set: Addressing CR feedback Created 4 years, 4 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
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/it2me/it2me_native_messaging_host_main.h" 5 #include "remoting/host/it2me/it2me_native_messaging_host_main.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/at_exit.h" 9 #include "base/at_exit.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/i18n/icu_util.h" 11 #include "base/i18n/icu_util.h"
12 #include "base/message_loop/message_loop.h" 12 #include "base/message_loop/message_loop.h"
13 #include "base/run_loop.h" 13 #include "base/run_loop.h"
14 #include "build/build_config.h" 14 #include "build/build_config.h"
15 #include "net/socket/ssl_server_socket.h" 15 #include "net/socket/ssl_server_socket.h"
16 #include "remoting/base/auto_thread_task_runner.h"
16 #include "remoting/base/breakpad.h" 17 #include "remoting/base/breakpad.h"
17 #include "remoting/host/chromoting_host_context.h" 18 #include "remoting/host/chromoting_host_context.h"
18 #include "remoting/host/host_exit_codes.h" 19 #include "remoting/host/host_exit_codes.h"
19 #include "remoting/host/it2me/it2me_native_messaging_host.h" 20 #include "remoting/host/it2me/it2me_native_messaging_host.h"
20 #include "remoting/host/logging.h" 21 #include "remoting/host/logging.h"
21 #include "remoting/host/native_messaging/native_messaging_pipe.h" 22 #include "remoting/host/native_messaging/native_messaging_pipe.h"
22 #include "remoting/host/native_messaging/pipe_messaging_channel.h" 23 #include "remoting/host/native_messaging/pipe_messaging_channel.h"
23 #include "remoting/host/resources.h" 24 #include "remoting/host/resources.h"
24 #include "remoting/host/usage_stats_consent.h" 25 #include "remoting/host/usage_stats_consent.h"
25 26
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 // This object instance is required by Chrome code (such as MessageLoop). 147 // This object instance is required by Chrome code (such as MessageLoop).
147 base::AtExitManager exit_manager; 148 base::AtExitManager exit_manager;
148 149
149 base::CommandLine::Init(argc, argv); 150 base::CommandLine::Init(argc, argv);
150 remoting::InitHostLogging(); 151 remoting::InitHostLogging();
151 152
152 return StartIt2MeNativeMessagingHost(); 153 return StartIt2MeNativeMessagingHost();
153 } 154 }
154 155
155 } // namespace remoting 156 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/it2me/it2me_native_messaging_host.cc ('k') | remoting/host/setup/me2me_native_messaging_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698