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

Unified Diff: chrome/browser/extensions/api/metrics_private/metrics_private_api.cc

Issue 252653002: Rename (Chrome)SyncExtensionFunction::RunImpl to RunSync so that the RunImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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
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());

Powered by Google App Engine
This is Rietveld 408576698