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

Unified Diff: net/http/http_net_log_params.h

Issue 3390026: net: Append base:: in the StringPrintf calls. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: fix include order Created 10 years, 3 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/http/http_cache_unittest.cc ('k') | net/http/http_network_transaction.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_net_log_params.h
diff --git a/net/http/http_net_log_params.h b/net/http/http_net_log_params.h
index a1d3db8a10f477ed4515fe0dabfa1f8f6880a405..5a5e84b917b328c1973601a43555e3645e84532d 100644
--- a/net/http/http_net_log_params.h
+++ b/net/http/http_net_log_params.h
@@ -10,6 +10,7 @@
#include "base/basictypes.h"
#include "base/ref_counted.h"
+#include "base/stringprintf.h"
#include "base/values.h"
#include "net/base/net_log.h"
#include "net/http/http_request_headers.h"
@@ -32,9 +33,9 @@ class NetLogHttpRequestParameter : public NetLog::EventParameters {
HttpRequestHeaders::Iterator iterator(headers_);
while (iterator.GetNext()) {
headers->Append(
- new StringValue(StringPrintf("%s: %s",
- iterator.name().c_str(),
- iterator.value().c_str())));
+ new StringValue(base::StringPrintf("%s: %s",
+ iterator.name().c_str(),
+ iterator.value().c_str())));
}
dict->Set("headers", headers);
return dict;
@@ -64,7 +65,8 @@ class NetLogHttpResponseParameter : public NetLog::EventParameters {
std::string value;
while (headers_->EnumerateHeaderLines(&iterator, &name, &value)) {
headers->Append(
- new StringValue(StringPrintf("%s: %s", name.c_str(), value.c_str())));
+ new StringValue(base::StringPrintf("%s: %s", name.c_str(),
+ value.c_str())));
}
dict->Set("headers", headers);
return dict;
« no previous file with comments | « net/http/http_cache_unittest.cc ('k') | net/http/http_network_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698