summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/extensions/extension_process_bindings.cc
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-31 23:19:58 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-31 23:19:58 +0000
commit8098d41c3e482b7ae94ad37a9a0155a9536383e1 (patch)
tree94c6458908ce7b68e4feba6408d7e7d0e056febf /chrome/renderer/extensions/extension_process_bindings.cc
parent5461d9de823901b0b4413b175e970aa23763056f (diff)
downloadchromium_src-8098d41c3e482b7ae94ad37a9a0155a9536383e1.zip
chromium_src-8098d41c3e482b7ae94ad37a9a0155a9536383e1.tar.gz
chromium_src-8098d41c3e482b7ae94ad37a9a0155a9536383e1.tar.bz2
Convert wstring/wchar_t* in chrome/renderer to std::string/char* or string16.
These were (mostly) made possible by the change in DictionaryValue's keys to std::string. BUG=23581 TEST=unit tests Review URL: http://codereview.chromium.org/3057027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54483 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/extensions/extension_process_bindings.cc')
-rw-r--r--chrome/renderer/extensions/extension_process_bindings.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/renderer/extensions/extension_process_bindings.cc b/chrome/renderer/extensions/extension_process_bindings.cc
index 828aabc..8057e67 100644
--- a/chrome/renderer/extensions/extension_process_bindings.cc
+++ b/chrome/renderer/extensions/extension_process_bindings.cc
@@ -295,7 +295,7 @@ class ExtensionImpl : public ExtensionBase {
if (viewtype_to_find != ViewType::EXTENSION_POPUP &&
viewtype_to_find != ViewType::EXTENSION_TOOLSTRIP) {
- NOTREACHED() << L"Requesting invalid view type.";
+ NOTREACHED() << "Requesting invalid view type.";
}
// Disallow searching for a host view if we are a popup view, and likewise
@@ -527,10 +527,10 @@ class ExtensionImpl : public ExtensionBase {
static_cast<const char*>(bitmap_pickle.data()), bitmap_pickle.size());
DictionaryValue* dict = new DictionaryValue();
- dict->Set(L"imageData", bitmap_value);
+ dict->Set("imageData", bitmap_value);
if (details->Has(v8::String::New("tabId"))) {
- dict->SetInteger(L"tabId",
+ dict->SetInteger("tabId",
details->Get(v8::String::New("tabId"))->Int32Value());
}