Index: net/http/http_network_transaction_unittest.cc |
diff --git a/net/http/http_network_transaction_unittest.cc b/net/http/http_network_transaction_unittest.cc |
index fb65846782a989cf59b6552d355c0dcf11ba9b53..a9c568ecf0694eaaca58dfe76153249028098e4c 100644 |
--- a/net/http/http_network_transaction_unittest.cc |
+++ b/net/http/http_network_transaction_unittest.cc |
@@ -10628,7 +10628,7 @@ TEST_P(HttpNetworkTransactionTest, MultiRoundAuth) { |
session_deps_.host_resolver->set_synchronous_mode(true); |
HttpAuthHandlerMock* auth_handler(new HttpAuthHandlerMock()); |
- auth_handler->set_connection_based(true); |
+ auth_handler->set_expect_multiple_challenges(true); |
std::string auth_challenge = "Mock realm=server"; |
GURL origin("http://www.example.com"); |
HttpAuthChallengeTokenizer tokenizer(auth_challenge.begin(), |
@@ -14608,9 +14608,9 @@ TEST_P(HttpNetworkTransactionTest, ProxyHeadersNotSentOverWsTunnel) { |
arraysize(data_writes)); |
session_deps_.socket_factory->AddSocketDataProvider(&data); |
- session->http_auth_cache()->Add( |
- GURL("http://myproxy:70/"), "MyRealm1", HttpAuth::AUTH_SCHEME_BASIC, |
- "Basic realm=MyRealm1", AuthCredentials(kFoo, kBar), "/"); |
+ session->http_auth_cache()->Add(GURL("http://myproxy:70/"), "MyRealm1", |
+ "basic", "Basic realm=MyRealm1", |
+ AuthCredentials(kFoo, kBar), "/"); |
scoped_ptr<HttpTransaction> trans( |
new HttpNetworkTransaction(DEFAULT_PRIORITY, session.get())); |