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

Unified Diff: net/http/http_proxy_client_socket_pool_unittest.cc

Issue 1157333005: [net/http auth] Use strings to identify authentication schemes. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/http/http_network_transaction_unittest.cc ('k') | net/log/net_log_event_type_list.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_proxy_client_socket_pool_unittest.cc
diff --git a/net/http/http_proxy_client_socket_pool_unittest.cc b/net/http/http_proxy_client_socket_pool_unittest.cc
index 6b44dbbee495857cc6cba401724eb66d474e751a..cdbc3356cdfaafc828bf8aa02b601594ba15b4fe 100644
--- a/net/http/http_proxy_client_socket_pool_unittest.cc
+++ b/net/http/http_proxy_client_socket_pool_unittest.cc
@@ -189,12 +189,9 @@ class HttpProxyClientSocketPoolTest
GURL proxy_url(GetParam().proxy_type == HTTP ?
(std::string("http://") + kHttpProxyHost) :
(std::string("https://") + kHttpsProxyHost));
- session_->http_auth_cache()->Add(proxy_url,
- "MyRealm1",
- HttpAuth::AUTH_SCHEME_BASIC,
+ session_->http_auth_cache()->Add(proxy_url, "MyRealm1", "basic",
"Basic realm=MyRealm1",
- AuthCredentials(kFoo, kBar),
- "/");
+ AuthCredentials(kFoo, kBar), "/");
}
scoped_refptr<TransportSocketParams> CreateHttpProxyParams() const {
« no previous file with comments | « net/http/http_network_transaction_unittest.cc ('k') | net/log/net_log_event_type_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698