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

Unified Diff: net/socket/ssl_client_socket_openssl.h

Issue 5004001: Fix openssl build: convert hostname_ and port_ to HostPortPair (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 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 | « no previous file | net/socket/ssl_client_socket_openssl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/ssl_client_socket_openssl.h
diff --git a/net/socket/ssl_client_socket_openssl.h b/net/socket/ssl_client_socket_openssl.h
index da55017838c1f30236173938ab7dbdb2400e2aaa..783132d4a9f8e8ef92688d6949883770797b8d76 100644
--- a/net/socket/ssl_client_socket_openssl.h
+++ b/net/socket/ssl_client_socket_openssl.h
@@ -32,8 +32,7 @@ class SSLClientSocketOpenSSL : public SSLClientSocket {
// certificate during the SSL handshake. ssl_config specifies the SSL
// settings.
SSLClientSocketOpenSSL(ClientSocketHandle* transport_socket,
- const std::string& hostname,
- uint16 port,
+ const HostPortPair& host_and_port,
const SSLConfig& ssl_config);
~SSLClientSocketOpenSSL();
@@ -126,8 +125,7 @@ class SSLClientSocketOpenSSL : public SSLClientSocket {
BIO* transport_bio_;
scoped_ptr<ClientSocketHandle> transport_;
- std::string hostname_;
- uint16 port_;
+ const HostPortPair host_and_port_;
SSLConfig ssl_config_;
bool completed_handshake_;
« no previous file with comments | « no previous file | net/socket/ssl_client_socket_openssl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698