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

Unified Diff: net/http/http_net_log_params.h

Issue 3013048: Convert src/net to use std::string/char* for DictionaryValue keys. (Closed)
Patch Set: fix for windows Created 10 years, 5 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/base/transport_security_state.cc ('k') | net/proxy/proxy_resolver_js_bindings.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 639d959546ad0351892ea322fc915f4f9d0b4d79..4b419da7ee047d9dc22c37d41bb7c8014775978c 100644
--- a/net/http/http_net_log_params.h
+++ b/net/http/http_net_log_params.h
@@ -28,7 +28,7 @@ class NetLogHttpRequestParameter : public NetLog::EventParameters {
Value* ToValue() const {
DictionaryValue* dict = new DictionaryValue();
- dict->SetString(L"line", line_);
+ dict->SetString("line", line_);
ListValue* headers = new ListValue();
HttpRequestHeaders::Iterator iterator(headers_);
while (iterator.GetNext()) {
@@ -37,7 +37,7 @@ class NetLogHttpRequestParameter : public NetLog::EventParameters {
iterator.name().c_str(),
iterator.value().c_str())));
}
- dict->Set(L"headers", headers);
+ dict->Set("headers", headers);
return dict;
}
@@ -67,7 +67,7 @@ class NetLogHttpResponseParameter : public NetLog::EventParameters {
headers->Append(
new StringValue(StringPrintf("%s: %s", name.c_str(), value.c_str())));
}
- dict->Set(L"headers", headers);
+ dict->Set("headers", headers);
return dict;
}
« no previous file with comments | « net/base/transport_security_state.cc ('k') | net/proxy/proxy_resolver_js_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698