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

Unified Diff: net/url_request/url_request_context_builder_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/url_request/url_request_context_builder_unittest.cc
diff --git a/net/url_request/url_request_context_builder_unittest.cc b/net/url_request/url_request_context_builder_unittest.cc
index 1834961898aba29aacc54359aae507d88cf8d034..cbccbfe54bcd058b2750c423b7877c9aa0e3c4b7 100644
--- a/net/url_request/url_request_context_builder_unittest.cc
+++ b/net/url_request/url_request_context_builder_unittest.cc
@@ -41,7 +41,7 @@ class MockHttpAuthHandlerFactory : public HttpAuthHandlerFactory {
const GURL& origin,
CreateReason reason,
int nonce_count,
- const BoundNetLog& net_log,
+ const NetLogWithSource& net_log,
std::unique_ptr<HttpAuthHandler>* handler) override {
handler->reset();
@@ -109,7 +109,7 @@ TEST_F(URLRequestContextBuilderTest, DefaultHttpAuthHandlerFactory) {
EXPECT_EQ(OK,
context->http_auth_handler_factory()->CreateAuthHandlerFromString(
"basic", HttpAuth::AUTH_SERVER, null_ssl_info, gurl,
- BoundNetLog(), &handler));
+ NetLogWithSource(), &handler));
}
TEST_F(URLRequestContextBuilderTest, CustomHttpAuthHandlerFactory) {
@@ -125,19 +125,19 @@ TEST_F(URLRequestContextBuilderTest, CustomHttpAuthHandlerFactory) {
EXPECT_EQ(kBasicReturnCode,
context->http_auth_handler_factory()->CreateAuthHandlerFromString(
"ExtraScheme", HttpAuth::AUTH_SERVER, null_ssl_info, gurl,
- BoundNetLog(), &handler));
+ NetLogWithSource(), &handler));
// Verify that the default basic handler isn't present
EXPECT_EQ(ERR_UNSUPPORTED_AUTH_SCHEME,
context->http_auth_handler_factory()->CreateAuthHandlerFromString(
"basic", HttpAuth::AUTH_SERVER, null_ssl_info, gurl,
- BoundNetLog(), &handler));
+ NetLogWithSource(), &handler));
// Verify that a handler isn't returned for a bogus scheme.
EXPECT_EQ(ERR_UNSUPPORTED_AUTH_SCHEME,
context->http_auth_handler_factory()->CreateAuthHandlerFromString(
"Bogus", HttpAuth::AUTH_SERVER, null_ssl_info, gurl,
- BoundNetLog(), &handler));
+ NetLogWithSource(), &handler));
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698