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

Unified Diff: net/http/http_auth_unittest.cc

Issue 1414313002: Allow dynamic updating of authentication policies (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix missing Chromeos includes Created 5 years, 1 month 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 a81a409f06461acf07abd8cea5f0792bd84bf4b5..c85332dcb52fdfd554b7efb917090303f18f9952 100644
--- a/net/http/http_auth_unittest.cc
+++ b/net/http/http_auth_unittest.cc
@@ -125,8 +125,8 @@ TEST(HttpAuthTest, ChooseBestChallenge) {
scoped_ptr<HostResolver> host_resolver(new MockHostResolver());
scoped_ptr<HttpAuthHandlerRegistryFactory> http_auth_handler_factory(
HttpAuthHandlerFactory::CreateDefault(host_resolver.get()));
- http_auth_handler_factory->SetURLSecurityManager(
- "negotiate", &url_security_manager);
+ http_auth_handler_factory->SetURLSecurityManager(kNegotiateAuthScheme,
+ &url_security_manager);
for (size_t i = 0; i < arraysize(tests); ++i) {
// Make a HttpResponseHeaders object.

Powered by Google App Engine
This is Rietveld 408576698