| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // This file implements a standalone host process for Me2Me. | 5 // This file implements a standalone host process for Me2Me. |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/at_exit.h" | 9 #include "base/at_exit.h" |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 #include "remoting/host/host_event_logger.h" | 50 #include "remoting/host/host_event_logger.h" |
| 51 #include "remoting/host/host_exit_codes.h" | 51 #include "remoting/host/host_exit_codes.h" |
| 52 #include "remoting/host/host_main.h" | 52 #include "remoting/host/host_main.h" |
| 53 #include "remoting/host/ipc_constants.h" | 53 #include "remoting/host/ipc_constants.h" |
| 54 #include "remoting/host/ipc_desktop_environment.h" | 54 #include "remoting/host/ipc_desktop_environment.h" |
| 55 #include "remoting/host/ipc_host_event_logger.h" | 55 #include "remoting/host/ipc_host_event_logger.h" |
| 56 #include "remoting/host/json_host_config.h" | 56 #include "remoting/host/json_host_config.h" |
| 57 #include "remoting/host/log_to_server.h" | 57 #include "remoting/host/log_to_server.h" |
| 58 #include "remoting/host/logging.h" | 58 #include "remoting/host/logging.h" |
| 59 #include "remoting/host/me2me_desktop_environment.h" | 59 #include "remoting/host/me2me_desktop_environment.h" |
| 60 #include "remoting/host/network_settings.h" | |
| 61 #include "remoting/host/policy_hack/policy_watcher.h" | 60 #include "remoting/host/policy_hack/policy_watcher.h" |
| 62 #include "remoting/host/service_urls.h" | 61 #include "remoting/host/service_urls.h" |
| 63 #include "remoting/host/session_manager_factory.h" | 62 #include "remoting/host/session_manager_factory.h" |
| 64 #include "remoting/host/signaling_connector.h" | 63 #include "remoting/host/signaling_connector.h" |
| 65 #include "remoting/host/token_validator_factory_impl.h" | 64 #include "remoting/host/token_validator_factory_impl.h" |
| 66 #include "remoting/host/ui_strings.h" | 65 #include "remoting/host/ui_strings.h" |
| 67 #include "remoting/host/usage_stats_consent.h" | 66 #include "remoting/host/usage_stats_consent.h" |
| 67 #include "remoting/jingle_glue/network_settings.h" |
| 68 #include "remoting/jingle_glue/xmpp_signal_strategy.h" | 68 #include "remoting/jingle_glue/xmpp_signal_strategy.h" |
| 69 #include "remoting/protocol/me2me_host_authenticator_factory.h" | 69 #include "remoting/protocol/me2me_host_authenticator_factory.h" |
| 70 #include "remoting/protocol/pairing_registry.h" | 70 #include "remoting/protocol/pairing_registry.h" |
| 71 | 71 |
| 72 #if defined(OS_POSIX) | 72 #if defined(OS_POSIX) |
| 73 #include <signal.h> | 73 #include <signal.h> |
| 74 #include <sys/types.h> | 74 #include <sys/types.h> |
| 75 #include <unistd.h> | 75 #include <unistd.h> |
| 76 #include "base/file_descriptor_posix.h" | 76 #include "base/file_descriptor_posix.h" |
| 77 #include "remoting/host/pam_authorization_factory_posix.h" | 77 #include "remoting/host/pam_authorization_factory_posix.h" |
| (...skipping 1023 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1101 return exit_code; | 1101 return exit_code; |
| 1102 } | 1102 } |
| 1103 | 1103 |
| 1104 } // namespace remoting | 1104 } // namespace remoting |
| 1105 | 1105 |
| 1106 #if !defined(OS_WIN) | 1106 #if !defined(OS_WIN) |
| 1107 int main(int argc, char** argv) { | 1107 int main(int argc, char** argv) { |
| 1108 return remoting::HostMain(argc, argv); | 1108 return remoting::HostMain(argc, argv); |
| 1109 } | 1109 } |
| 1110 #endif // !defined(OS_WIN) | 1110 #endif // !defined(OS_WIN) |
| OLD | NEW |