Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Side by Side Diff: remoting/host/jingle_session_manager_factory.h

Issue 10538091: [Chromoting] Make ChromotingHost's dependency on libjingle injected, instead of hard-coded. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix remoting.gyp. Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698