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_ |