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

Unified Diff: net/socket/ssl_client_socket_openssl_unittest.cc

Issue 22794008: Remove deprecated functions that take StreamSockets instead of handles (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Android for reals Created 7 years, 4 months 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 | « net/socket/socks_client_socket_unittest.cc ('k') | net/socket/ssl_client_socket_unittest.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_unittest.cc
diff --git a/net/socket/ssl_client_socket_openssl_unittest.cc b/net/socket/ssl_client_socket_openssl_unittest.cc
index 7a37cdc11872c13fd242c9cb9c73cda1aa0fcf3e..7da8625bfab626a3217cfbe749dac9f2695f708a 100644
--- a/net/socket/ssl_client_socket_openssl_unittest.cc
+++ b/net/socket/ssl_client_socket_openssl_unittest.cc
@@ -111,7 +111,9 @@ class SSLClientSocketOpenSSLClientAuthTest : public PlatformTest {
StreamSocket* transport_socket,
const HostPortPair& host_and_port,
const SSLConfig& ssl_config) {
- return socket_factory_->CreateSSLClientSocket(transport_socket,
+ scoped_ptr<ClientSocketHandle> connection(new ClientSocketHandle);
+ connection->set_socket(transport_socket);
+ return socket_factory_->CreateSSLClientSocket(connection.release(),
host_and_port,
ssl_config,
context_);
« no previous file with comments | « net/socket/socks_client_socket_unittest.cc ('k') | net/socket/ssl_client_socket_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698