| 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 <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 Loading... |
| 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 |
| OLD | NEW |