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> |
| 8 |
7 #include "base/bind.h" | 9 #include "base/bind.h" |
8 #include "base/callback_helpers.h" | 10 #include "base/callback_helpers.h" |
9 #include "base/strings/string_util.h" | 11 #include "base/strings/string_util.h" |
10 #include "base/threading/platform_thread.h" | 12 #include "base/threading/platform_thread.h" |
11 #include "net/socket/client_socket_factory.h" | 13 #include "net/socket/client_socket_factory.h" |
12 #include "net/url_request/url_request_context_getter.h" | 14 #include "net/url_request/url_request_context_getter.h" |
13 #include "policy/policy_constants.h" | 15 #include "policy/policy_constants.h" |
14 #include "remoting/base/auto_thread.h" | 16 #include "remoting/base/auto_thread.h" |
15 #include "remoting/base/logging.h" | 17 #include "remoting/base/logging.h" |
16 #include "remoting/base/rsa_key_pair.h" | 18 #include "remoting/base/rsa_key_pair.h" |
(...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
489 scoped_ptr<It2MeConfirmationDialogFactory> confirmation_dialog_factory( | 491 scoped_ptr<It2MeConfirmationDialogFactory> confirmation_dialog_factory( |
490 new It2MeConfirmationDialogFactory()); | 492 new It2MeConfirmationDialogFactory()); |
491 scoped_ptr<PolicyWatcher> policy_watcher = | 493 scoped_ptr<PolicyWatcher> policy_watcher = |
492 PolicyWatcher::Create(policy_service_, context->file_task_runner()); | 494 PolicyWatcher::Create(policy_service_, context->file_task_runner()); |
493 return new It2MeHost(context.Pass(), policy_watcher.Pass(), | 495 return new It2MeHost(context.Pass(), policy_watcher.Pass(), |
494 confirmation_dialog_factory.Pass(), | 496 confirmation_dialog_factory.Pass(), |
495 observer, xmpp_server_config, directory_bot_jid); | 497 observer, xmpp_server_config, directory_bot_jid); |
496 } | 498 } |
497 | 499 |
498 } // namespace remoting | 500 } // namespace remoting |
OLD | NEW |