Index: remoting/protocol/transport.h |
diff --git a/remoting/protocol/transport.h b/remoting/protocol/transport.h |
index 47de7de0199b3389cd8137f559e66031753fd94a..251724cda28e8a19b3bf4d1189b43e74e6f19f52 100644 |
--- a/remoting/protocol/transport.h |
+++ b/remoting/protocol/transport.h |
@@ -91,7 +91,6 @@ class Transport : public base::NonThreadSafe { |
// Intialize the transport with the specified parameters. |
// |authenticator| is used to secure and authenticate the connection. |
virtual void Initialize(const std::string& name, |
- const TransportConfig& config, |
Transport::EventHandler* event_handler, |
scoped_ptr<ChannelAuthenticator> authenticator) = 0; |
@@ -141,6 +140,9 @@ class TransportFactory { |
TransportFactory() { } |
virtual ~TransportFactory() { } |
+ // Sets configuration for the transports created by this factory. |
+ virtual void SetTransportConfig(const TransportConfig& config) = 0; |
+ |
virtual scoped_ptr<StreamTransport> CreateStreamTransport() = 0; |
virtual scoped_ptr<DatagramTransport> CreateDatagramTransport() = 0; |