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

Unified Diff: net/proxy/proxy_resolver_js_bindings.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/http/http_net_log_params.h ('k') | net/spdy/spdy_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/proxy/proxy_resolver_js_bindings.cc
diff --git a/net/proxy/proxy_resolver_js_bindings.cc b/net/proxy/proxy_resolver_js_bindings.cc
index 56604cda4da25240df5e07a2258da3e82474ee04..95ccdb519b4a12e982cc42f51ebdbe48dc5ebf90 100644
--- a/net/proxy/proxy_resolver_js_bindings.cc
+++ b/net/proxy/proxy_resolver_js_bindings.cc
@@ -31,8 +31,8 @@ class ErrorNetlogParams : public NetLog::EventParameters {
virtual Value* ToValue() const {
DictionaryValue* dict = new DictionaryValue();
- dict->SetInteger(L"line_number", line_number_);
- dict->SetStringFromUTF16(L"message", message_);
+ dict->SetInteger("line_number", line_number_);
+ dict->SetStringFromUTF16("message", message_);
return dict;
}
@@ -51,7 +51,7 @@ class AlertNetlogParams : public NetLog::EventParameters {
virtual Value* ToValue() const {
DictionaryValue* dict = new DictionaryValue();
- dict->SetStringFromUTF16(L"message", message_);
+ dict->SetStringFromUTF16("message", message_);
return dict;
}
« no previous file with comments | « net/http/http_net_log_params.h ('k') | net/spdy/spdy_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698