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_JINGLE_SESSION_MANAGER_FACTORY_H_ |
| 6 #define REMOTING_HOST_JINGLE_SESSION_MANAGER_FACTORY_H_ |
| 7 |
| 8 #include "remoting/host/session_manager_factory.h" |
| 9 |
| 10 namespace remoting { |
| 11 |
| 12 struct NetworkSettings; |
| 13 |
| 14 // A SessionManagerFactory that creates Jingle-protocol session managers. |
| 15 class JingleSessionManagerFactory : public SessionManagerFactory { |
| 16 public: |
| 17 JingleSessionManagerFactory(); |
| 18 virtual ~JingleSessionManagerFactory(); |
| 19 |
| 20 virtual scoped_ptr<protocol::SessionManager> CreateSessionManager( |
| 21 const NetworkSettings& network_settings, |
| 22 const scoped_refptr<net::URLRequestContextGetter>& |
| 23 url_request_context_getter) OVERRIDE; |
| 24 |
| 25 private: |
| 26 DISALLOW_COPY_AND_ASSIGN(JingleSessionManagerFactory); |
| 27 }; |
| 28 |
| 29 } // namespace remoting |
| 30 |
| 31 #endif // REMOTING_HOST_JINGLE_SESSION_MANAGER_FACTORY_H_ |
OLD | NEW |