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

Unified Diff: remoting/protocol/jingle_channel_connector.h

Issue 8604001: Move SSL layer initialization into ChannelAuthenticator implementations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 years, 1 month 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/jingle_channel_connector.h
diff --git a/remoting/protocol/jingle_channel_connector.h b/remoting/protocol/jingle_channel_connector.h
index 8327ebfe1305d14703bcd846d04b104a4ff929be..40493bb0e9b2a783397511b3a34600d156fd356f 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 connection process for the channel. Takes ownership of
Wez 2011/11/22 22:29:48 nit: Starts _the_ connection process ...
Sergey Ulanov 2011/11/23 01:23:42 Done.
+ // |authenticator|.
+ virtual void Connect(ChannelAuthenticator* authenticator,
cricket::TransportChannel* raw_channel) = 0;
protected:

Powered by Google App Engine
This is Rietveld 408576698