| 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_host.h" | 5 #include "remoting/host/it2me/it2me_host.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <utility> | 9 #include <utility> |
| 10 | 10 |
| 11 #include "base/bind.h" | 11 #include "base/bind.h" |
| 12 #include "base/callback_helpers.h" | 12 #include "base/callback_helpers.h" |
| 13 #include "base/memory/ptr_util.h" | 13 #include "base/memory/ptr_util.h" |
| 14 #include "base/strings/string_util.h" | 14 #include "base/strings/string_util.h" |
| 15 #include "base/threading/platform_thread.h" | 15 #include "base/threading/platform_thread.h" |
| 16 #include "components/policy/policy_constants.h" |
| 16 #include "net/socket/client_socket_factory.h" | 17 #include "net/socket/client_socket_factory.h" |
| 17 #include "net/url_request/url_request_context_getter.h" | 18 #include "net/url_request/url_request_context_getter.h" |
| 18 #include "policy/policy_constants.h" | |
| 19 #include "remoting/base/auto_thread.h" | 19 #include "remoting/base/auto_thread.h" |
| 20 #include "remoting/base/chromium_url_request.h" | 20 #include "remoting/base/chromium_url_request.h" |
| 21 #include "remoting/base/logging.h" | 21 #include "remoting/base/logging.h" |
| 22 #include "remoting/base/rsa_key_pair.h" | 22 #include "remoting/base/rsa_key_pair.h" |
| 23 #include "remoting/host/chromoting_host.h" | 23 #include "remoting/host/chromoting_host.h" |
| 24 #include "remoting/host/chromoting_host_context.h" | 24 #include "remoting/host/chromoting_host_context.h" |
| 25 #include "remoting/host/host_event_logger.h" | 25 #include "remoting/host/host_event_logger.h" |
| 26 #include "remoting/host/host_secret.h" | 26 #include "remoting/host/host_secret.h" |
| 27 #include "remoting/host/host_status_logger.h" | 27 #include "remoting/host/host_status_logger.h" |
| 28 #include "remoting/host/it2me/it2me_confirmation_dialog.h" | 28 #include "remoting/host/it2me/it2me_confirmation_dialog.h" |
| (...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 523 std::unique_ptr<It2MeConfirmationDialogFactory> confirmation_dialog_factory( | 523 std::unique_ptr<It2MeConfirmationDialogFactory> confirmation_dialog_factory( |
| 524 new It2MeConfirmationDialogFactory()); | 524 new It2MeConfirmationDialogFactory()); |
| 525 std::unique_ptr<PolicyWatcher> policy_watcher = | 525 std::unique_ptr<PolicyWatcher> policy_watcher = |
| 526 PolicyWatcher::Create(policy_service_, context->file_task_runner()); | 526 PolicyWatcher::Create(policy_service_, context->file_task_runner()); |
| 527 return new It2MeHost(std::move(context), std::move(policy_watcher), | 527 return new It2MeHost(std::move(context), std::move(policy_watcher), |
| 528 std::move(confirmation_dialog_factory), observer, | 528 std::move(confirmation_dialog_factory), observer, |
| 529 xmpp_server_config, directory_bot_jid); | 529 xmpp_server_config, directory_bot_jid); |
| 530 } | 530 } |
| 531 | 531 |
| 532 } // namespace remoting | 532 } // namespace remoting |
| OLD | NEW |