summaryrefslogtreecommitdiffstats
path: root/net/proxy/proxy_resolver_js_bindings.cc
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-31 06:28:20 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-31 06:28:20 +0000
commitccaff65dbdd32a73f588ff5766f29910a8097d2a (patch)
tree31bb657f82eca6d679a0e72a6df5a4b0a37827be /net/proxy/proxy_resolver_js_bindings.cc
parentf706b19cc858ede2ba8be3b36122f84019e9ed35 (diff)
downloadchromium_src-ccaff65dbdd32a73f588ff5766f29910a8097d2a.zip
chromium_src-ccaff65dbdd32a73f588ff5766f29910a8097d2a.tar.gz
chromium_src-ccaff65dbdd32a73f588ff5766f29910a8097d2a.tar.bz2
Convert src/net to use std::string/char* for DictionaryValue keys.
Hopefully I got them all. BUG=23581 TEST=net_unittests Review URL: http://codereview.chromium.org/3013048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54433 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/proxy/proxy_resolver_js_bindings.cc')
-rw-r--r--net/proxy/proxy_resolver_js_bindings.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/proxy/proxy_resolver_js_bindings.cc b/net/proxy/proxy_resolver_js_bindings.cc
index 56604cd..95ccdb5 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;
}