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

Unified Diff: remoting/protocol/jingle_stream_connector.h

Issue 8527018: Refactor ChannelAuthenticator so that it can be used with Authenticator. (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
« no previous file with comments | « remoting/protocol/jingle_session_unittest.cc ('k') | remoting/protocol/jingle_stream_connector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/jingle_stream_connector.h
diff --git a/remoting/protocol/jingle_stream_connector.h b/remoting/protocol/jingle_stream_connector.h
index d443ffd2c9aea5fb9f7d263fc968b1d91315951e..39342d7d49c32c03ee88253f5f3d6266c73bb282 100644
--- a/remoting/protocol/jingle_stream_connector.h
+++ b/remoting/protocol/jingle_stream_connector.h
@@ -22,8 +22,7 @@ class TransportChannelSocketAdapter;
namespace net {
class CertVerifier;
class StreamSocket;
-class SSLClientSocket;
-class SSLServerSocket;
+class SSLSocket;
} // namespace net
namespace remoting {
@@ -76,11 +75,8 @@ class JingleStreamConnector : public JingleChannelConnector {
crypto::RSAPrivateKey* local_private_key_;
cricket::TransportChannel* raw_channel_;
- scoped_ptr<net::StreamSocket> socket_;
-
- // TODO(wez): Ugly up-casts needed so we can fetch SSL keying material.
- net::SSLClientSocket* ssl_client_socket_;
- net::SSLServerSocket* ssl_server_socket_;
+ scoped_ptr<net::StreamSocket> tcp_socket_;
+ scoped_ptr<net::SSLSocket> socket_;
// Used to verify the certificate received in SSLClientSocket.
scoped_ptr<net::CertVerifier> cert_verifier_;
« no previous file with comments | « remoting/protocol/jingle_session_unittest.cc ('k') | remoting/protocol/jingle_stream_connector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698