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 <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <cstdint> | 9 #include <cstdint> |
10 #include <memory> | 10 #include <memory> |
(...skipping 29 matching lines...) Expand all Loading... |
40 #include "net/base/url_util.h" | 40 #include "net/base/url_util.h" |
41 #include "net/socket/client_socket_factory.h" | 41 #include "net/socket/client_socket_factory.h" |
42 #include "net/url_request/url_fetcher.h" | 42 #include "net/url_request/url_fetcher.h" |
43 #include "remoting/base/auto_thread_task_runner.h" | 43 #include "remoting/base/auto_thread_task_runner.h" |
44 #include "remoting/base/breakpad.h" | 44 #include "remoting/base/breakpad.h" |
45 #include "remoting/base/chromium_url_request.h" | 45 #include "remoting/base/chromium_url_request.h" |
46 #include "remoting/base/constants.h" | 46 #include "remoting/base/constants.h" |
47 #include "remoting/base/logging.h" | 47 #include "remoting/base/logging.h" |
48 #include "remoting/base/oauth_token_getter_impl.h" | 48 #include "remoting/base/oauth_token_getter_impl.h" |
49 #include "remoting/base/rsa_key_pair.h" | 49 #include "remoting/base/rsa_key_pair.h" |
| 50 #include "remoting/base/service_urls.h" |
50 #include "remoting/base/util.h" | 51 #include "remoting/base/util.h" |
51 #include "remoting/host/branding.h" | 52 #include "remoting/host/branding.h" |
52 #include "remoting/host/chromoting_host.h" | 53 #include "remoting/host/chromoting_host.h" |
53 #include "remoting/host/chromoting_host_context.h" | 54 #include "remoting/host/chromoting_host_context.h" |
54 #include "remoting/host/chromoting_messages.h" | 55 #include "remoting/host/chromoting_messages.h" |
55 #include "remoting/host/config_file_watcher.h" | 56 #include "remoting/host/config_file_watcher.h" |
56 #include "remoting/host/config_watcher.h" | 57 #include "remoting/host/config_watcher.h" |
57 #include "remoting/host/desktop_environment.h" | 58 #include "remoting/host/desktop_environment.h" |
58 #include "remoting/host/desktop_environment_options.h" | 59 #include "remoting/host/desktop_environment_options.h" |
59 #include "remoting/host/desktop_session_connector.h" | 60 #include "remoting/host/desktop_session_connector.h" |
(...skipping 11 matching lines...) Expand all Loading... |
71 #include "remoting/host/input_injector.h" | 72 #include "remoting/host/input_injector.h" |
72 #include "remoting/host/ipc_desktop_environment.h" | 73 #include "remoting/host/ipc_desktop_environment.h" |
73 #include "remoting/host/ipc_host_event_logger.h" | 74 #include "remoting/host/ipc_host_event_logger.h" |
74 #include "remoting/host/logging.h" | 75 #include "remoting/host/logging.h" |
75 #include "remoting/host/me2me_desktop_environment.h" | 76 #include "remoting/host/me2me_desktop_environment.h" |
76 #include "remoting/host/pairing_registry_delegate.h" | 77 #include "remoting/host/pairing_registry_delegate.h" |
77 #include "remoting/host/pin_hash.h" | 78 #include "remoting/host/pin_hash.h" |
78 #include "remoting/host/policy_watcher.h" | 79 #include "remoting/host/policy_watcher.h" |
79 #include "remoting/host/security_key/security_key_auth_handler.h" | 80 #include "remoting/host/security_key/security_key_auth_handler.h" |
80 #include "remoting/host/security_key/security_key_extension.h" | 81 #include "remoting/host/security_key/security_key_extension.h" |
81 #include "remoting/host/service_urls.h" | |
82 #include "remoting/host/shutdown_watchdog.h" | 82 #include "remoting/host/shutdown_watchdog.h" |
83 #include "remoting/host/signaling_connector.h" | 83 #include "remoting/host/signaling_connector.h" |
84 #include "remoting/host/single_window_desktop_environment.h" | 84 #include "remoting/host/single_window_desktop_environment.h" |
85 #include "remoting/host/switches.h" | 85 #include "remoting/host/switches.h" |
86 #include "remoting/host/third_party_auth_config.h" | 86 #include "remoting/host/third_party_auth_config.h" |
87 #include "remoting/host/token_validator_factory_impl.h" | 87 #include "remoting/host/token_validator_factory_impl.h" |
88 #include "remoting/host/usage_stats_consent.h" | 88 #include "remoting/host/usage_stats_consent.h" |
89 #include "remoting/host/username.h" | 89 #include "remoting/host/username.h" |
90 #include "remoting/protocol/authenticator.h" | 90 #include "remoting/protocol/authenticator.h" |
91 #include "remoting/protocol/channel_authenticator.h" | 91 #include "remoting/protocol/channel_authenticator.h" |
(...skipping 1576 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1668 // Run the main (also UI) message loop until the host no longer needs it. | 1668 // Run the main (also UI) message loop until the host no longer needs it. |
1669 base::RunLoop().Run(); | 1669 base::RunLoop().Run(); |
1670 | 1670 |
1671 // Block until tasks blocking shutdown have completed their execution. | 1671 // Block until tasks blocking shutdown have completed their execution. |
1672 base::TaskScheduler::GetInstance()->Shutdown(); | 1672 base::TaskScheduler::GetInstance()->Shutdown(); |
1673 | 1673 |
1674 return exit_code; | 1674 return exit_code; |
1675 } | 1675 } |
1676 | 1676 |
1677 } // namespace remoting | 1677 } // namespace remoting |
OLD | NEW |