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

Unified Diff: net/spdy/spdy_session.cc

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/proxy/proxy_resolver_js_bindings.cc ('k') | net/url_request/url_request_netlog_params.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_session.cc
diff --git a/net/spdy/spdy_session.cc b/net/spdy/spdy_session.cc
index 9f2b82fc76748608d1a800c218236fcf7ed6baae..ae282ec13764478eacc9d59a1ad339903a5c85dd 100644
--- a/net/spdy/spdy_session.cc
+++ b/net/spdy/spdy_session.cc
@@ -86,11 +86,11 @@ class NetLogSpdySynParameter : public NetLog::EventParameters {
DictionaryValue* headers_dict = new DictionaryValue();
for (spdy::SpdyHeaderBlock::const_iterator it = headers_->begin();
it != headers_->end(); ++it) {
- headers_dict->SetString(ASCIIToWide(it->first), it->second);
+ headers_dict->SetString(it->first, it->second);
}
- dict->SetInteger(L"flags", flags_);
- dict->Set(L"headers", headers_dict);
- dict->SetInteger(L"id", id_);
+ dict->SetInteger("flags", flags_);
+ dict->Set("headers", headers_dict);
+ dict->SetInteger("id", id_);
return dict;
}
@@ -117,7 +117,7 @@ class NetLogSpdySettingsParameter : public NetLog::EventParameters {
settings->Append(new StringValue(
StringPrintf("[%u:%u]", it->first.id(), it->second)));
}
- dict->Set(L"settings", settings);
+ dict->Set("settings", settings);
return dict;
}
« no previous file with comments | « net/proxy/proxy_resolver_js_bindings.cc ('k') | net/url_request/url_request_netlog_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698