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

Unified Diff: net/http/http_auth.cc

Issue 13145003: Rewrite std::string("") to std::string(), Linux edition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ugh Created 7 years, 8 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/ftp/ftp_util.cc ('k') | net/http/http_auth_cache_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_auth.cc
diff --git a/net/http/http_auth.cc b/net/http/http_auth.cc
index fb7fc5dc2cf1dd8901413644a774f8ef668c5580..9e9410b6e8bf287a66ebeab4022847efd1537f27 100644
--- a/net/http/http_auth.cc
+++ b/net/http/http_auth.cc
@@ -146,7 +146,7 @@ std::string HttpAuth::GetChallengeHeaderName(Target target) {
return "WWW-Authenticate";
default:
NOTREACHED();
- return "";
+ return std::string();
}
}
@@ -159,7 +159,7 @@ std::string HttpAuth::GetAuthorizationHeaderName(Target target) {
return HttpRequestHeaders::kAuthorization;
default:
NOTREACHED();
- return "";
+ return std::string();
}
}
@@ -172,7 +172,7 @@ std::string HttpAuth::GetAuthTargetString(Target target) {
return "server";
default:
NOTREACHED();
- return "";
+ return std::string();
}
}
« no previous file with comments | « net/ftp/ftp_util.cc ('k') | net/http/http_auth_cache_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698