| 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;
|
|
|