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

Unified Diff: remoting/protocol/connection_to_host.h

Issue 1521883006: Add TransportContext class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « remoting/protocol/chromium_port_allocator_factory.cc ('k') | remoting/protocol/connection_to_host_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/connection_to_host.h
diff --git a/remoting/protocol/connection_to_host.h b/remoting/protocol/connection_to_host.h
index ad9c8bafd30bd30cbc7399ca7ea99014757ad362..f5c8c8207f20aa95056abf06f336328d57071af3 100644
--- a/remoting/protocol/connection_to_host.h
+++ b/remoting/protocol/connection_to_host.h
@@ -27,7 +27,7 @@ class ExtensionMessage;
class HostStub;
class InputStub;
class SessionConfig;
-class TransportFactory;
+class TransportContext;
struct TransportRoute;
class VideoStub;
@@ -92,7 +92,7 @@ class ConnectionToHost {
// and must outlive the ConnectionToHost.
// Caller must set stubs (see below) before calling Connect.
virtual void Connect(SignalStrategy* signal_strategy,
- scoped_ptr<TransportFactory> transport_factory,
+ scoped_refptr<TransportContext> transport_context,
scoped_ptr<Authenticator> authenticator,
const std::string& host_jid,
HostEventCallback* event_callback) = 0;
« no previous file with comments | « remoting/protocol/chromium_port_allocator_factory.cc ('k') | remoting/protocol/connection_to_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698