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

Unified Diff: chrome/browser/extensions/extension_metrics_module.h

Issue 8548013: Moving experimental.metrics API to metricsPrivate (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Rebase Created 9 years, 1 month 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/extension_metrics_module.h
diff --git a/chrome/browser/extensions/extension_metrics_module.h b/chrome/browser/extensions/extension_metrics_module.h
index e2a98902ad56a67d02c207ae711268afdd95a2a8..8c1ffa4865a4fa89f537562ac0045a32e10a62d7 100644
--- a/chrome/browser/extensions/extension_metrics_module.h
+++ b/chrome/browser/extensions/extension_metrics_module.h
@@ -11,21 +11,9 @@
#include "base/metrics/histogram.h"
#include "chrome/browser/extensions/extension_function.h"
-class MetricsSetEnabledFunction : public SyncExtensionFunction {
- DECLARE_EXTENSION_FUNCTION_NAME("experimental.metrics.setEnabled")
- protected:
- virtual bool RunImpl() OVERRIDE;
-};
-
-class MetricsGetEnabledFunction : public SyncExtensionFunction {
- DECLARE_EXTENSION_FUNCTION_NAME("experimental.metrics.getEnabled")
- protected:
- virtual bool RunImpl() OVERRIDE;
-};
-
class MetricsRecordUserActionFunction : public SyncExtensionFunction {
virtual bool RunImpl() OVERRIDE;
- DECLARE_EXTENSION_FUNCTION_NAME("experimental.metrics.recordUserAction")
+ DECLARE_EXTENSION_FUNCTION_NAME("metricsPrivate.recordUserAction")
};
class MetricsHistogramHelperFunction : public SyncExtensionFunction {
@@ -38,42 +26,42 @@ class MetricsHistogramHelperFunction : public SyncExtensionFunction {
class MetricsRecordValueFunction : public MetricsHistogramHelperFunction {
virtual bool RunImpl() OVERRIDE;
- DECLARE_EXTENSION_FUNCTION_NAME("experimental.metrics.recordValue")
+ DECLARE_EXTENSION_FUNCTION_NAME("metricsPrivate.recordValue")
};
class MetricsRecordPercentageFunction : public MetricsHistogramHelperFunction {
virtual bool RunImpl() OVERRIDE;
- DECLARE_EXTENSION_FUNCTION_NAME("experimental.metrics.recordPercentage")
+ DECLARE_EXTENSION_FUNCTION_NAME("metricsPrivate.recordPercentage")
};
class MetricsRecordCountFunction : public MetricsHistogramHelperFunction {
virtual bool RunImpl() OVERRIDE;
- DECLARE_EXTENSION_FUNCTION_NAME("experimental.metrics.recordCount")
+ DECLARE_EXTENSION_FUNCTION_NAME("metricsPrivate.recordCount")
};
class MetricsRecordSmallCountFunction : public MetricsHistogramHelperFunction {
virtual bool RunImpl() OVERRIDE;
- DECLARE_EXTENSION_FUNCTION_NAME("experimental.metrics.recordSmallCount")
+ DECLARE_EXTENSION_FUNCTION_NAME("metricsPrivate.recordSmallCount")
};
class MetricsRecordMediumCountFunction : public MetricsHistogramHelperFunction {
virtual bool RunImpl() OVERRIDE;
- DECLARE_EXTENSION_FUNCTION_NAME("experimental.metrics.recordMediumCount")
+ DECLARE_EXTENSION_FUNCTION_NAME("metricsPrivate.recordMediumCount")
};
class MetricsRecordTimeFunction : public MetricsHistogramHelperFunction {
virtual bool RunImpl() OVERRIDE;
- DECLARE_EXTENSION_FUNCTION_NAME("experimental.metrics.recordTime")
+ DECLARE_EXTENSION_FUNCTION_NAME("metricsPrivate.recordTime")
};
class MetricsRecordMediumTimeFunction : public MetricsHistogramHelperFunction {
virtual bool RunImpl() OVERRIDE;
- DECLARE_EXTENSION_FUNCTION_NAME("experimental.metrics.recordMediumTime")
+ DECLARE_EXTENSION_FUNCTION_NAME("metricsPrivate.recordMediumTime")
};
class MetricsRecordLongTimeFunction : public MetricsHistogramHelperFunction {
virtual bool RunImpl() OVERRIDE;
- DECLARE_EXTENSION_FUNCTION_NAME("experimental.metrics.recordLongTime")
+ DECLARE_EXTENSION_FUNCTION_NAME("metricsPrivate.recordLongTime")
};
#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_METRICS_MODULE_H__
« no previous file with comments | « chrome/browser/extensions/extension_metrics_apitest.cc ('k') | chrome/browser/extensions/extension_metrics_module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698