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

Unified Diff: remoting/protocol/session_manager_factory.h

Issue 17101034: Add static Create method to LibjingleTransportFactory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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/protocol/session_manager_factory.h
diff --git a/remoting/protocol/session_manager_factory.h b/remoting/protocol/session_manager_factory.h
new file mode 100644
index 0000000000000000000000000000000000000000..85ee4204f96b30dbafb4b0c5e67a00990525f0ca
--- /dev/null
+++ b/remoting/protocol/session_manager_factory.h
@@ -0,0 +1,37 @@
+// 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_PROTOCOL_SESSION_MANAGER_FACTORY_H_
+#define REMOTING_PROTOCOL_SESSION_MANAGER_FACTORY_H_
+
+#include "base/memory/scoped_ptr.h"
+#include "net/url_request/url_request_context_getter.h"
+
+namespace net {
+class URLRequestContextGetter;
+} // namespace net
+
+namespace remoting {
+
+struct NetworkSettings;
+
+namespace protocol {
+class SessionManager;
+class TransportFactory;
+
+scoped_ptr<protocol::TransportFactory> CreateNativeTransportFactory(
+ const NetworkSettings& network_settings,
+ const scoped_refptr<net::URLRequestContextGetter>&
+ url_request_context_getter);
+
+scoped_ptr<protocol::SessionManager> CreateNativeSessionManager(
+ const NetworkSettings& network_settings,
+ const scoped_refptr<net::URLRequestContextGetter>&
+ url_request_context_getter);
+
+} // namespace protocol
+
+} // namespace remoting
+
+#endif // REMOTING_HOST_SESSION_MANAGER_FACTORY_H_

Powered by Google App Engine
This is Rietveld 408576698