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

Unified Diff: net/http/http_auth.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.cc
diff --git a/net/http/http_auth.cc b/net/http/http_auth.cc
index 4c6d3e8dda309e7d29484a16e413767dfa8cb201..0a389ba25b20a1f2a89d7e1941cc2476f9916747 100644
--- a/net/http/http_auth.cc
+++ b/net/http/http_auth.cc
@@ -19,7 +19,8 @@
namespace net {
-HttpAuth::Identity::Identity() : source(IDENT_SRC_NONE), invalid(true) {}
+HttpAuth::Identity::Identity() : source(IDENT_SRC_NONE), invalid(true) {
+}
// static
void HttpAuth::ChooseBestChallenge(
@@ -43,8 +44,8 @@ void HttpAuth::ChooseBestChallenge(
int rv = http_auth_handler_factory->CreateAuthHandlerFromString(
cur_challenge, target, origin, net_log, &cur);
if (rv != OK) {
- VLOG(1) << "Unable to create AuthHandler. Status: "
- << ErrorToString(rv) << " Challenge: " << cur_challenge;
+ VLOG(1) << "Unable to create AuthHandler. Status: " << ErrorToString(rv)
+ << " Challenge: " << cur_challenge;
continue;
}
if (cur.get() && (!best.get() || best->score() < cur->score()) &&
@@ -130,12 +131,7 @@ std::string HttpAuth::GetAuthTargetString(Target target) {
// static
const char* HttpAuth::SchemeToString(Scheme scheme) {
static const char* const kSchemeNames[] = {
- "basic",
- "digest",
- "ntlm",
- "negotiate",
- "spdyproxy",
- "mock",
+ "basic", "digest", "ntlm", "negotiate", "spdyproxy", "mock",
};
COMPILE_ASSERT(arraysize(kSchemeNames) == AUTH_SCHEME_MAX,
http_auth_scheme_names_incorrect_size);

Powered by Google App Engine
This is Rietveld 408576698