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

Unified Diff: net/http/http_auth_controller_unittest.cc

Issue 7477055: Change HttpAuthHandlerMock to accept and return more than one (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 | « no previous file | net/http/http_auth_handler_mock.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_auth_controller_unittest.cc
===================================================================
--- net/http/http_auth_controller_unittest.cc (revision 95261)
+++ net/http/http_auth_controller_unittest.cc (working copy)
@@ -58,7 +58,7 @@
HttpAuthHandlerMock* auth_handler = new HttpAuthHandlerMock();
auth_handler->SetGenerateExpectation((run_mode == RUN_HANDLER_ASYNC),
handler_rv);
- auth_handler_factory.set_mock_handler(auth_handler, HttpAuth::AUTH_PROXY);
+ auth_handler_factory.AddMockHandler(auth_handler, HttpAuth::AUTH_PROXY);
auth_handler_factory.set_do_init_from_challenge(true);
scoped_refptr<HttpAuthController> controller(
« no previous file with comments | « no previous file | net/http/http_auth_handler_mock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698