OLD | NEW |
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 "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/i18n/icu_util.h" | 9 #include "base/i18n/icu_util.h" |
10 #include "base/message_loop/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
11 #include "base/run_loop.h" | 11 #include "base/run_loop.h" |
| 12 #include "build/build_config.h" |
12 #include "net/socket/ssl_server_socket.h" | 13 #include "net/socket/ssl_server_socket.h" |
13 #include "remoting/base/breakpad.h" | 14 #include "remoting/base/breakpad.h" |
14 #include "remoting/host/chromoting_host_context.h" | 15 #include "remoting/host/chromoting_host_context.h" |
15 #include "remoting/host/host_exit_codes.h" | 16 #include "remoting/host/host_exit_codes.h" |
16 #include "remoting/host/it2me/it2me_native_messaging_host.h" | 17 #include "remoting/host/it2me/it2me_native_messaging_host.h" |
17 #include "remoting/host/logging.h" | 18 #include "remoting/host/logging.h" |
18 #include "remoting/host/native_messaging/native_messaging_pipe.h" | 19 #include "remoting/host/native_messaging/native_messaging_pipe.h" |
19 #include "remoting/host/native_messaging/pipe_messaging_channel.h" | 20 #include "remoting/host/native_messaging/pipe_messaging_channel.h" |
20 #include "remoting/host/resources.h" | 21 #include "remoting/host/resources.h" |
21 #include "remoting/host/usage_stats_consent.h" | 22 #include "remoting/host/usage_stats_consent.h" |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 // This object instance is required by Chrome code (such as MessageLoop). | 144 // This object instance is required by Chrome code (such as MessageLoop). |
144 base::AtExitManager exit_manager; | 145 base::AtExitManager exit_manager; |
145 | 146 |
146 base::CommandLine::Init(argc, argv); | 147 base::CommandLine::Init(argc, argv); |
147 remoting::InitHostLogging(); | 148 remoting::InitHostLogging(); |
148 | 149 |
149 return StartIt2MeNativeMessagingHost(); | 150 return StartIt2MeNativeMessagingHost(); |
150 } | 151 } |
151 | 152 |
152 } // namespace remoting | 153 } // namespace remoting |
OLD | NEW |