Chromium Code Reviews| 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; |