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_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 class JingleSessionManagerFactory : public SessionManagerFactory { | |
|
Wez
2012/06/11 22:17:06
Add a brief comment explaining what this factory m
simonmorris
2012/06/11 23:08:59
Done.
| |
| 15 public: | |
| 16 JingleSessionManagerFactory(); | |
| 17 virtual ~JingleSessionManagerFactory() OVERRIDE; | |
|
Wez
2012/06/11 22:17:06
You don't need OVERRIDE on dtors.
simonmorris
2012/06/11 23:08:59
Done.
| |
| 18 | |
| 19 virtual scoped_ptr<protocol::SessionManager> MakeSessionManager( | |
|
Wez
2012/06/11 22:17:06
nit: CreateSessionManager is more in keeping with
simonmorris
2012/06/11 23:08:59
Done.
| |
| 20 const NetworkSettings& network_settings, | |
| 21 const scoped_refptr<net::URLRequestContextGetter>& | |
| 22 url_request_context_getter) OVERRIDE; | |
|
Wez
2012/06/11 22:17:06
You're missing the disallow-copy-and-assign macro
simonmorris
2012/06/11 23:08:59
Done.
| |
| 23 }; | |
| 24 | |
| 25 } // namespace remoting | |
| 26 | |
| 27 #endif // REMOTING_HOST_JINGLE_SESSION_MANAGER_FACTORY_H_ | |
| OLD | NEW |