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 #ifndef REMOTING_HOST_SESSION_MANAGER_FACTORY_H_ | 5 #ifndef REMOTING_HOST_SESSION_MANAGER_FACTORY_H_ |
6 #define REMOTING_HOST_SESSION_MANAGER_FACTORY_H_ | 6 #define REMOTING_HOST_SESSION_MANAGER_FACTORY_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "net/url_request/url_request_context_getter.h" | 9 #include "net/url_request/url_request_context_getter.h" |
10 #include "remoting/protocol/session_manager.h" | 10 |
| 11 namespace net { |
| 12 class URLRequestContextGetter; |
| 13 } // namespace net |
11 | 14 |
12 namespace remoting { | 15 namespace remoting { |
13 | 16 |
14 struct NetworkSettings; | 17 struct NetworkSettings; |
15 | 18 |
| 19 namespace protocol { |
| 20 class SessionManager; |
| 21 } // namespace protocol |
| 22 |
16 scoped_ptr<protocol::SessionManager> CreateHostSessionManager( | 23 scoped_ptr<protocol::SessionManager> CreateHostSessionManager( |
17 const NetworkSettings& network_settings, | 24 const NetworkSettings& network_settings, |
18 const scoped_refptr<net::URLRequestContextGetter>& | 25 const scoped_refptr<net::URLRequestContextGetter>& |
19 url_request_context_getter); | 26 url_request_context_getter); |
20 | 27 |
21 } // namespace remoting | 28 } // namespace remoting |
22 | 29 |
23 #endif // REMOTING_HOST_SESSION_MANAGER_FACTORY_H_ | 30 #endif // REMOTING_HOST_SESSION_MANAGER_FACTORY_H_ |
OLD | NEW |