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

Unified Diff: net/http/http_auth_handler_unittest.cc

Issue 1383613002: [net/http auth] Cleanup. Method names, and constness. Base URL: https://chromium.googlesource.com/chromium/src.git@mock-auth-handler-generalization
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_auth_handler_ntlm_win.cc ('k') | net/http/http_auth_multi_round_parse.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5757bb65c84d37411ae2720df16c6dbcdf95fa47..eb1efb350b44e4ac3dbf71b84b7dd4ce7ad88024 100644
--- a/net/http/http_auth_handler_unittest.cc
+++ b/net/http/http_auth_handler_unittest.cc
@@ -43,10 +43,10 @@ TEST(HttpAuthHandlerTest, NetLog) {
BoundNetLog bound_net_log(
BoundNetLog::Make(&test_net_log, NetLog::SOURCE_NONE));
- mock_handler.InitFromChallenge(&tokenizer, target,
- origin, bound_net_log);
+ mock_handler.HandleInitialChallenge(tokenizer, target, origin,
+ bound_net_log);
mock_handler.SetGenerateExpectation(async, rv);
- mock_handler.GenerateAuthToken(&credentials, &request,
+ mock_handler.GenerateAuthToken(&credentials, request,
test_callback.callback(), &auth_token);
if (async)
test_callback.WaitForResult();
« no previous file with comments | « net/http/http_auth_handler_ntlm_win.cc ('k') | net/http/http_auth_multi_round_parse.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698