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 "base/memory/scoped_ptr.h" | |
9 #include "net/url_request/url_request_context_getter.h" | |
10 #include "remoting/protocol/session_manager.h" | |
11 | |
12 namespace remoting { | |
13 | |
14 struct NetworkSettings; | |
15 | |
16 // A factory for Jingle-protocol session managers. | |
17 class JingleSessionManagerFactory { | |
Wez
2012/06/12 21:20:10
There's really no need for this class now that the
simonmorris
2012/06/13 16:26:33
Done.
| |
18 public: | |
19 static scoped_ptr<protocol::SessionManager> CreateSessionManager( | |
Wez
2012/06/12 21:20:10
This factory function creates a SessionManager bas
Sergey Ulanov
2012/06/13 01:57:19
I think it might be better to move it to JinlgeSes
simonmorris
2012/06/13 16:26:33
Done.
simonmorris
2012/06/13 16:26:33
JingleSessionManager is in remoting/protocol, so s
| |
20 const NetworkSettings& network_settings, | |
21 const scoped_refptr<net::URLRequestContextGetter>& | |
22 url_request_context_getter) OVERRIDE; | |
23 | |
24 private: | |
25 DISALLOW_COPY_AND_ASSIGN(JingleSessionManagerFactory); | |
26 }; | |
27 | |
28 } // namespace remoting | |
29 | |
30 #endif // REMOTING_HOST_JINGLE_SESSION_MANAGER_FACTORY_H_ | |
OLD | NEW |