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

Unified 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: Patch for Windows build. 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 side-by-side diff with in-line comments
Download patch
Index: remoting/host/jingle_session_manager_factory.h
diff --git a/remoting/host/jingle_session_manager_factory.h b/remoting/host/jingle_session_manager_factory.h
new file mode 100644
index 0000000000000000000000000000000000000000..25422feeedd56bcd41576cb50631c28f8ef96f51
--- /dev/null
+++ b/remoting/host/jingle_session_manager_factory.h
@@ -0,0 +1,31 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef REMOTING_HOST_JINGLE_SESSION_MANAGER_FACTORY_H_
+#define REMOTING_HOST_JINGLE_SESSION_MANAGER_FACTORY_H_
+
+#include "remoting/host/session_manager_factory.h"
+
+namespace remoting {
+
+struct NetworkSettings;
+
+// A SessionManagerFactory that creates Jingle-protocol session managers.
+class JingleSessionManagerFactory : public SessionManagerFactory {
+ public:
+ JingleSessionManagerFactory();
+ virtual ~JingleSessionManagerFactory();
+
+ virtual scoped_ptr<protocol::SessionManager> CreateSessionManager(
+ const NetworkSettings& network_settings,
+ const scoped_refptr<net::URLRequestContextGetter>&
+ url_request_context_getter) OVERRIDE;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(JingleSessionManagerFactory);
+};
+
+} // namespace remoting
+
+#endif // REMOTING_HOST_JINGLE_SESSION_MANAGER_FACTORY_H_

Powered by Google App Engine
This is Rietveld 408576698