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

Unified Diff: net/socket/ssl_client_socket_unittest.cc

Issue 1783008: Cleanup: Remove the implicit constructor for BoundNetLog that allowed passing... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Sync Created 10 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
« no previous file with comments | « net/socket/socks_client_socket_pool_unittest.cc ('k') | net/socket/ssl_test_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/ssl_client_socket_unittest.cc
===================================================================
--- net/socket/ssl_client_socket_unittest.cc (revision 45843)
+++ net/socket/ssl_client_socket_unittest.cc (working copy)
@@ -65,7 +65,7 @@
TestCompletionCallback callback;
net::HostResolver::RequestInfo info(server_.kHostName, server_.kOKHTTPSPort);
- int rv = resolver_->Resolve(info, &addr, NULL, NULL, NULL);
+ int rv = resolver_->Resolve(info, &addr, NULL, NULL, net::BoundNetLog());
EXPECT_EQ(net::OK, rv);
net::CapturingNetLog log(net::CapturingNetLog::kUnbounded);
@@ -109,7 +109,7 @@
TestCompletionCallback callback;
net::HostResolver::RequestInfo info(server_.kHostName, server_.kBadHTTPSPort);
- int rv = resolver_->Resolve(info, &addr, NULL, NULL, NULL);
+ int rv = resolver_->Resolve(info, &addr, NULL, NULL, net::BoundNetLog());
EXPECT_EQ(net::OK, rv);
net::CapturingNetLog log(net::CapturingNetLog::kUnbounded);
@@ -154,7 +154,7 @@
net::HostResolver::RequestInfo info(server_.kMismatchedHostName,
server_.kOKHTTPSPort);
- int rv = resolver_->Resolve(info, &addr, NULL, NULL, NULL);
+ int rv = resolver_->Resolve(info, &addr, NULL, NULL, net::BoundNetLog());
EXPECT_EQ(net::OK, rv);
net::CapturingNetLog log(net::CapturingNetLog::kUnbounded);
@@ -203,7 +203,7 @@
TestCompletionCallback callback;
net::HostResolver::RequestInfo info(server_.kHostName, server_.kOKHTTPSPort);
- int rv = resolver_->Resolve(info, &addr, &callback, NULL, NULL);
+ int rv = resolver_->Resolve(info, &addr, &callback, NULL, net::BoundNetLog());
EXPECT_EQ(net::ERR_IO_PENDING, rv);
rv = callback.WaitForResult();
@@ -265,7 +265,7 @@
TestCompletionCallback callback2; // Used for Write only.
net::HostResolver::RequestInfo info(server_.kHostName, server_.kOKHTTPSPort);
- int rv = resolver_->Resolve(info, &addr, &callback, NULL, NULL);
+ int rv = resolver_->Resolve(info, &addr, &callback, NULL, net::BoundNetLog());
EXPECT_EQ(net::ERR_IO_PENDING, rv);
rv = callback.WaitForResult();
@@ -327,7 +327,7 @@
TestCompletionCallback callback;
net::HostResolver::RequestInfo info(server_.kHostName, server_.kOKHTTPSPort);
- int rv = resolver_->Resolve(info, &addr, NULL, NULL, NULL);
+ int rv = resolver_->Resolve(info, &addr, NULL, NULL, net::BoundNetLog());
EXPECT_EQ(net::OK, rv);
net::ClientSocket* transport = new net::TCPClientSocket(addr, NULL);
@@ -381,7 +381,7 @@
TestCompletionCallback callback;
net::HostResolver::RequestInfo info(server_.kHostName, server_.kOKHTTPSPort);
- int rv = resolver_->Resolve(info, &addr, NULL, NULL, NULL);
+ int rv = resolver_->Resolve(info, &addr, NULL, NULL, net::BoundNetLog());
EXPECT_EQ(net::OK, rv);
net::ClientSocket* transport = new net::TCPClientSocket(addr, NULL);
« no previous file with comments | « net/socket/socks_client_socket_pool_unittest.cc ('k') | net/socket/ssl_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698