Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef REMOTING_HOST_SESSION_MANAGER_FACTORY_H_ | |
| 6 #define REMOTING_HOST_SESSION_MANAGER_FACTORY_H_ | |
|
Wez
2012/06/11 22:17:06
Since this is a factory for remoting::protocol::Se
simonmorris
2012/06/11 23:08:59
That's where I put it to begin with, but NetworkSe
| |
| 7 | |
| 8 #include "base/memory/scoped_ptr.h" | |
| 9 #include "remoting/protocol/session_manager.h" | |
| 10 | |
| 11 namespace net { | |
| 12 class URLRequestContextGetter; | |
| 13 } // namespace net | |
| 14 | |
| 15 namespace remoting { | |
| 16 | |
| 17 struct NetworkSettings; | |
| 18 | |
| 19 class SessionManagerFactory { | |
| 20 public: | |
| 21 virtual ~SessionManagerFactory() {}; | |
| 22 | |
| 23 virtual scoped_ptr<protocol::SessionManager> MakeSessionManager( | |
| 24 const NetworkSettings& network_settings, | |
| 25 const scoped_refptr<net::URLRequestContextGetter>& | |
| 26 url_request_context_getter) = 0; | |
| 27 }; | |
| 28 | |
| 29 } // namespace remoting | |
| 30 | |
| 31 #endif // REMOTING_HOST_SESSION_MANAGER_FACTORY_H_ | |
| OLD | NEW |