summaryrefslogtreecommitdiffstats
path: root/metricsd/c_metrics_library.cc
diff options
context:
space:
mode:
authorBertrand SIMONNET <bsimonnet@google.com>2015-12-02 15:52:26 -0800
committerBertrand SIMONNET <bsimonnet@google.com>2015-12-04 13:04:23 -0800
commitf2297eeb1f6ceb7242f26d2e365031c317e42040 (patch)
treeedf507f54d50ab1dc1cf1a995cbcfa3e28914322 /metricsd/c_metrics_library.cc
parentc5e921fe529260db515d66184027e5631b172d45 (diff)
downloadcore-f2297eeb1f6ceb7242f26d2e365031c317e42040.tar.gz
core-f2297eeb1f6ceb7242f26d2e365031c317e42040.tar.bz2
core-f2297eeb1f6ceb7242f26d2e365031c317e42040.zip
metrics: Remove user action logic.
User actions are no longer reported anywhere, we can remove the logic. Bug: 25818567 Change-Id: Ie8fee841bda6503a3f5781d73b0f879babe99b03
Diffstat (limited to 'metricsd/c_metrics_library.cc')
-rw-r--r--metricsd/c_metrics_library.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/metricsd/c_metrics_library.cc b/metricsd/c_metrics_library.cc
index 05038766c..47a543e45 100644
--- a/metricsd/c_metrics_library.cc
+++ b/metricsd/c_metrics_library.cc
@@ -66,14 +66,6 @@ extern "C" int CMetricsLibrarySendSparseToUMA(CMetricsLibrary handle,
return lib->SendSparseToUMA(std::string(name), sample);
}
-extern "C" int CMetricsLibrarySendUserActionToUMA(CMetricsLibrary handle,
- const char* action) {
- MetricsLibrary* lib = reinterpret_cast<MetricsLibrary*>(handle);
- if (lib == NULL)
- return 0;
- return lib->SendUserActionToUMA(std::string(action));
-}
-
extern "C" int CMetricsLibrarySendCrashToUMA(CMetricsLibrary handle,
const char* crash_kind) {
MetricsLibrary* lib = reinterpret_cast<MetricsLibrary*>(handle);