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

Unified Diff: net/websockets/websocket_handshake_stream_create_helper_test.cc

Issue 2351513002: net: rename BoundNetLog to NetLogWithSource (Closed)
Patch Set: one more fix, content bound_net_log_ Created 4 years, 3 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/websockets/websocket_handshake_stream_create_helper_test.cc
diff --git a/net/websockets/websocket_handshake_stream_create_helper_test.cc b/net/websockets/websocket_handshake_stream_create_helper_test.cc
index f19fddc65ad9d32d69e450326bcb8bf0b14f8b46..01550259dfda592b1d4e6de1cc2fb35c51be6105 100644
--- a/net/websockets/websocket_handshake_stream_create_helper_test.cc
+++ b/net/websockets/websocket_handshake_stream_create_helper_test.cc
@@ -49,7 +49,7 @@ class MockClientSocketHandleFactory {
std::unique_ptr<ClientSocketHandle> socket_handle(new ClientSocketHandle);
socket_handle->Init("a", scoped_refptr<MockTransportSocketParams>(), MEDIUM,
ClientSocketPool::RespectLimits::ENABLED,
- CompletionCallback(), &pool_, BoundNetLog());
+ CompletionCallback(), &pool_, NetLogWithSource());
return socket_handle;
}
@@ -119,8 +119,9 @@ class WebSocketHandshakeStreamCreateHelperTest : public ::testing::Test {
request_info.url = GURL("ws://localhost/");
request_info.method = "GET";
request_info.load_flags = LOAD_DISABLE_CACHE;
- int rv = handshake->InitializeStream(
- &request_info, DEFAULT_PRIORITY, BoundNetLog(), CompletionCallback());
+ int rv =
+ handshake->InitializeStream(&request_info, DEFAULT_PRIORITY,
+ NetLogWithSource(), CompletionCallback());
EXPECT_THAT(rv, IsOk());
HttpRequestHeaders headers;

Powered by Google App Engine
This is Rietveld 408576698