Index: net/http/http_auth_handler_mock.cc |
diff --git a/net/http/http_auth_handler_mock.cc b/net/http/http_auth_handler_mock.cc |
index 52990eef923ab6ba7ece9f67b4dd7d3a753a749c..3b873a8e75606a178b84c3e0154ff029cedfc367 100644 |
--- a/net/http/http_auth_handler_mock.cc |
+++ b/net/http/http_auth_handler_mock.cc |
@@ -15,15 +15,15 @@ |
namespace net { |
HttpAuthHandlerMock::HttpAuthHandlerMock() |
- : resolve_(RESOLVE_INIT), |
- weak_factory_(this), |
- generate_async_(false), |
- generate_rv_(OK), |
- auth_token_(NULL), |
- first_round_(true), |
- connection_based_(false), |
- allows_default_credentials_(false), |
- allows_explicit_credentials_(true) { |
+ : resolve_(RESOLVE_INIT), |
+ weak_factory_(this), |
+ generate_async_(false), |
+ generate_rv_(OK), |
+ auth_token_(NULL), |
+ first_round_(true), |
+ connection_based_(false), |
+ allows_default_credentials_(false), |
+ allows_explicit_credentials_(true) { |
} |
HttpAuthHandlerMock::~HttpAuthHandlerMock() { |
@@ -49,7 +49,8 @@ bool HttpAuthHandlerMock::NeedsCanonicalName() { |
} |
int HttpAuthHandlerMock::ResolveCanonicalName( |
- HostResolver* host_resolver, const CompletionCallback& callback) { |
+ HostResolver* host_resolver, |
+ const CompletionCallback& callback) { |
EXPECT_NE(RESOLVE_TESTED, resolve_); |
int rv = OK; |
switch (resolve_) { |
@@ -151,16 +152,15 @@ void HttpAuthHandlerMock::OnGenerateAuthToken() { |
callback.Run(generate_rv_); |
} |
-HttpAuthHandlerMock::Factory::Factory() |
- : do_init_from_challenge_(false) { |
+HttpAuthHandlerMock::Factory::Factory() : do_init_from_challenge_(false) { |
// TODO(cbentzel): Default do_init_from_challenge_ to true. |
} |
HttpAuthHandlerMock::Factory::~Factory() { |
} |
-void HttpAuthHandlerMock::Factory::AddMockHandler( |
- HttpAuthHandler* handler, HttpAuth::Target target) { |
+void HttpAuthHandlerMock::Factory::AddMockHandler(HttpAuthHandler* handler, |
+ HttpAuth::Target target) { |
handlers_[target].push_back(handler); |
} |