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

Unified Diff: net/http/http_network_transaction_spdy3_unittest.cc

Issue 13145003: Rewrite std::string("") to std::string(), Linux edition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ugh Created 7 years, 8 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
Index: net/http/http_network_transaction_spdy3_unittest.cc
diff --git a/net/http/http_network_transaction_spdy3_unittest.cc b/net/http/http_network_transaction_spdy3_unittest.cc
index 30763261e3530fe3ff518d62558e27d7d0f33594..8a90c7b16c4b36e8adae35e0df0b5600b9156970 100644
--- a/net/http/http_network_transaction_spdy3_unittest.cc
+++ b/net/http/http_network_transaction_spdy3_unittest.cc
@@ -461,12 +461,24 @@ CaptureGroupNameHttpProxySocketPool::CaptureGroupNameSocketPool(
CertVerifier* /* cert_verifier */)
: HttpProxyClientSocketPool(0, 0, NULL, host_resolver, NULL, NULL, NULL) {}
-template<>
+template <>
CaptureGroupNameSSLSocketPool::CaptureGroupNameSocketPool(
HostResolver* host_resolver,
CertVerifier* cert_verifier)
- : SSLClientSocketPool(0, 0, NULL, host_resolver, cert_verifier, NULL,
- NULL, "", NULL, NULL, NULL, NULL, NULL, NULL) {}
+ : SSLClientSocketPool(0,
+ 0,
+ NULL,
+ host_resolver,
+ cert_verifier,
+ NULL,
+ NULL,
+ std::string(),
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL) {}
//-----------------------------------------------------------------------------
@@ -8827,7 +8839,10 @@ TEST_F(HttpNetworkTransactionSpdy3Test,
SSLClientSocketContext context;
context.cert_verifier = session_deps.cert_verifier.get();
ssl_connection->set_socket(session_deps.socket_factory->CreateSSLClientSocket(
- connection.release(), HostPortPair("" , 443), ssl_config, context));
+ connection.release(),
+ HostPortPair(std::string(), 443),
+ ssl_config,
+ context));
EXPECT_EQ(ERR_IO_PENDING,
ssl_connection->socket()->Connect(callback.callback()));
EXPECT_EQ(OK, callback.WaitForResult());
« no previous file with comments | « net/http/http_network_transaction_spdy2_unittest.cc ('k') | net/http/http_proxy_client_socket_pool_spdy2_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698