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

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: Simple->V1 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
« no previous file with comments | « remoting/protocol/connection_to_host.cc ('k') | remoting/protocol/jingle_datagram_connector.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
« no previous file with comments | « remoting/protocol/connection_to_host.cc ('k') | remoting/protocol/jingle_datagram_connector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698