summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_metrics_module.cc
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-14 16:29:42 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-14 16:29:42 +0000
commit88dc06904f5ebf68d962ac3e5c7a77ca64ac4ec0 (patch)
tree136274bffa099a690e9195c7ba9c271bd90cf085 /chrome/browser/extensions/extension_metrics_module.cc
parentb1d08c68cf8cc377fa6250642cf668dc67bda05d (diff)
downloadchromium_src-88dc06904f5ebf68d962ac3e5c7a77ca64ac4ec0.zip
chromium_src-88dc06904f5ebf68d962ac3e5c7a77ca64ac4ec0.tar.gz
chromium_src-88dc06904f5ebf68d962ac3e5c7a77ca64ac4ec0.tar.bz2
Convert more wide strings in browser/extensions.
I think this kills off the remaining uses of the now-deprecated wstring DictionaryValue methods. BUG=23581 TEST=builds and passes tests Review URL: http://codereview.chromium.org/3125010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56141 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_metrics_module.cc')
-rw-r--r--chrome/browser/extensions/extension_metrics_module.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/extensions/extension_metrics_module.cc b/chrome/browser/extensions/extension_metrics_module.cc
index 380cf0af..4368c86 100644
--- a/chrome/browser/extensions/extension_metrics_module.cc
+++ b/chrome/browser/extensions/extension_metrics_module.cc
@@ -82,11 +82,11 @@ bool MetricsRecordValueFunction::RunImpl() {
int min;
int max;
int buckets;
- EXTENSION_FUNCTION_VALIDATE(metric_type->GetString(L"metricName", &name));
- EXTENSION_FUNCTION_VALIDATE(metric_type->GetString(L"type", &type));
- EXTENSION_FUNCTION_VALIDATE(metric_type->GetInteger(L"min", &min));
- EXTENSION_FUNCTION_VALIDATE(metric_type->GetInteger(L"max", &max));
- EXTENSION_FUNCTION_VALIDATE(metric_type->GetInteger(L"buckets", &buckets));
+ EXTENSION_FUNCTION_VALIDATE(metric_type->GetString("metricName", &name));
+ EXTENSION_FUNCTION_VALIDATE(metric_type->GetString("type", &type));
+ EXTENSION_FUNCTION_VALIDATE(metric_type->GetInteger("min", &min));
+ EXTENSION_FUNCTION_VALIDATE(metric_type->GetInteger("max", &max));
+ EXTENSION_FUNCTION_VALIDATE(metric_type->GetInteger("buckets", &buckets));
Histogram::ClassType histogram_type(type == "histogram-linear" ?
Histogram::LINEAR_HISTOGRAM : Histogram::HISTOGRAM);