Index: remoting/protocol/jingle_channel_connector.h |
diff --git a/remoting/protocol/jingle_channel_connector.h b/remoting/protocol/jingle_channel_connector.h |
index 8327ebfe1305d14703bcd846d04b104a4ff929be..09c815091cc64d60abf5785abfc987c19535aa30 100644 |
--- a/remoting/protocol/jingle_channel_connector.h |
+++ b/remoting/protocol/jingle_channel_connector.h |
@@ -21,15 +21,16 @@ class RSAPrivateKey; |
namespace remoting { |
namespace protocol { |
+class ChannelAuthenticator; |
+ |
class JingleChannelConnector : public base::NonThreadSafe { |
public: |
JingleChannelConnector() { } |
virtual ~JingleChannelConnector() { } |
- virtual void Connect(bool initiator, |
- const std::string& local_cert, |
- const std::string& remote_cert, |
- crypto::RSAPrivateKey* local_private_key, |
+ // Starts the connection process for the channel. Takes ownership of |
+ // |authenticator|. |
+ virtual void Connect(ChannelAuthenticator* authenticator, |
cricket::TransportChannel* raw_channel) = 0; |
protected: |