Index: net/http/http_auth_handler_unittest.cc |
diff --git a/net/http/http_auth_handler_unittest.cc b/net/http/http_auth_handler_unittest.cc |
index 9b3de57604738afdc12d260317491c20739de684..8fc6d68caa355edfd0a35701d3ad7687d295d986 100644 |
--- a/net/http/http_auth_handler_unittest.cc |
+++ b/net/http/http_auth_handler_unittest.cc |
@@ -20,8 +20,7 @@ TEST(HttpAuthHandlerTest, NetLog) { |
NetLog::Source source; |
GURL origin("http://www.example.com"); |
std::string challenge = "Mock asdf"; |
- string16 username = ASCIIToUTF16("user"); |
- string16 password = ASCIIToUTF16("pass"); |
+ AuthCredentials credentials(ASCIIToUTF16("user"), ASCIIToUTF16("pass")); |
std::string auth_token; |
HttpRequestInfo request; |
@@ -44,7 +43,7 @@ TEST(HttpAuthHandlerTest, NetLog) { |
mock_handler.InitFromChallenge(&tokenizer, target, |
origin, bound_net_log); |
mock_handler.SetGenerateExpectation(async, rv); |
- mock_handler.GenerateAuthToken(&username, &password, &request, |
+ mock_handler.GenerateAuthToken(&credentials, &request, |
&test_callback, &auth_token); |
if (async) |
test_callback.WaitForResult(); |