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

Unified Diff: net/http/http_auth_unittest.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/http/http_auth_unittest.cc
diff --git a/net/http/http_auth_unittest.cc b/net/http/http_auth_unittest.cc
index ca9410fb4a447b75379e66b141783d35dccb7603..e0935885d15faa9ced3f940ce52a29f23feb6730 100644
--- a/net/http/http_auth_unittest.cc
+++ b/net/http/http_auth_unittest.cc
@@ -36,8 +36,9 @@ HttpAuthHandlerMock* CreateMockHandler(bool connection_based) {
challenge_text.end());
GURL origin("www.example.com");
SSLInfo null_ssl_info;
- EXPECT_TRUE(auth_handler->InitFromChallenge(
- &challenge, HttpAuth::AUTH_SERVER, null_ssl_info, origin, BoundNetLog()));
+ EXPECT_TRUE(auth_handler->InitFromChallenge(&challenge, HttpAuth::AUTH_SERVER,
+ null_ssl_info, origin,
+ NetLogWithSource()));
return auth_handler;
}
@@ -138,7 +139,8 @@ TEST(HttpAuthTest, ChooseBestChallenge) {
std::unique_ptr<HttpAuthHandler> handler;
HttpAuth::ChooseBestChallenge(http_auth_handler_factory.get(), *headers,
null_ssl_info, HttpAuth::AUTH_SERVER, origin,
- disabled_schemes, BoundNetLog(), &handler);
+ disabled_schemes, NetLogWithSource(),
+ &handler);
if (handler.get()) {
EXPECT_EQ(tests[i].challenge_scheme, handler->auth_scheme());

Powered by Google App Engine
This is Rietveld 408576698