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

Unified Diff: net/http/http_auth_handler_mock.cc

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
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);
}

Powered by Google App Engine
This is Rietveld 408576698