| Index: chrome/browser/extensions/api/metrics_private/metrics_private_api.cc
|
| diff --git a/chrome/browser/extensions/api/metrics_private/metrics_private_api.cc b/chrome/browser/extensions/api/metrics_private/metrics_private_api.cc
|
| index 6493f4246fe8d28a3094933904ff465d73e5aeea..431a9840e84d564ac80912b6d984ff65330b1880 100644
|
| --- a/chrome/browser/extensions/api/metrics_private/metrics_private_api.cc
|
| +++ b/chrome/browser/extensions/api/metrics_private/metrics_private_api.cc
|
| @@ -39,13 +39,13 @@ const size_t kMaxBuckets = 10000; // We don't ever want more than these many
|
| // and would cause crazy memory usage
|
| } // namespace
|
|
|
| -bool MetricsPrivateGetIsCrashReportingEnabledFunction::RunImpl() {
|
| +bool MetricsPrivateGetIsCrashReportingEnabledFunction::RunSync() {
|
| SetResult(new base::FundamentalValue(
|
| MetricsServiceHelper::IsCrashReportingEnabled()));
|
| return true;
|
| }
|
|
|
| -bool MetricsPrivateGetFieldTrialFunction::RunImpl() {
|
| +bool MetricsPrivateGetFieldTrialFunction::RunSync() {
|
| std::string name;
|
| EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &name));
|
|
|
| @@ -53,7 +53,7 @@ bool MetricsPrivateGetFieldTrialFunction::RunImpl() {
|
| return true;
|
| }
|
|
|
| -bool MetricsPrivateGetVariationParamsFunction::RunImpl() {
|
| +bool MetricsPrivateGetVariationParamsFunction::RunSync() {
|
| scoped_ptr<GetVariationParams::Params> params(
|
| GetVariationParams::Params::Create(*args_));
|
| EXTENSION_FUNCTION_VALIDATE(params.get());
|
| @@ -69,7 +69,7 @@ bool MetricsPrivateGetVariationParamsFunction::RunImpl() {
|
| return true;
|
| }
|
|
|
| -bool MetricsPrivateRecordUserActionFunction::RunImpl() {
|
| +bool MetricsPrivateRecordUserActionFunction::RunSync() {
|
| scoped_ptr<RecordUserAction::Params> params(
|
| RecordUserAction::Params::Create(*args_));
|
| EXTENSION_FUNCTION_VALIDATE(params.get());
|
|
|