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

Unified Diff: net/http/http_request_headers.cc

Issue 4974001: base: Get rid of 'using' declaration of StringAppendF. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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_request_headers.cc
diff --git a/net/http/http_request_headers.cc b/net/http/http_request_headers.cc
index 9f2eb90b4b979b5d2d19bed7f25d1c953179f5c3..61d9e00fb7994dbaae8c745a6a4ec9564bbbc1e7 100644
--- a/net/http/http_request_headers.cc
+++ b/net/http/http_request_headers.cc
@@ -161,9 +161,10 @@ std::string HttpRequestHeaders::ToString() const {
for (HeaderVector::const_iterator it = headers_.begin();
it != headers_.end(); ++it) {
if (!it->value.empty())
brettw 2010/11/15 00:09:23 also {} on both the if (because it's >1 line) and
tfarina 2010/11/15 01:21:25 Done.
- StringAppendF(&output, "%s: %s\r\n", it->key.c_str(), it->value.c_str());
+ base::StringAppendF(&output, "%s: %s\r\n",
+ it->key.c_str(), it->value.c_str());
else
- StringAppendF(&output, "%s:\r\n", it->key.c_str());
+ base::StringAppendF(&output, "%s:\r\n", it->key.c_str());
}
output.append("\r\n");
return output;

Powered by Google App Engine
This is Rietveld 408576698