summaryrefslogtreecommitdiff
path: root/metrics_utils.h
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2017-09-05 13:42:45 -0700
committerTianjie Xu <xunchang@google.com>2017-09-20 18:26:39 +0000
commit282aa1f89de19d7052d844b0f7c53fedc04b802e (patch)
tree20be6df4c40e3ffc41454fa5bd0a694525980621 /metrics_utils.h
parent7f92e2b7060cb35719acf96ef96a4e273e165bc5 (diff)
Move metrics from namespace to class
Add a new metrics reporter interface to handle the current metrics report for omaha (with metricsd). This helps to add metrics logging for android phone devices (using other libraries) in the future. Also change the unit tests accordingly. Test: unit tests pass for pico Change-Id: I703c8b6353e4b38bc89d6a71f01623978cf7a549
Diffstat (limited to 'metrics_utils.h')
-rw-r--r--metrics_utils.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/metrics_utils.h b/metrics_utils.h
index d9826c14..2d62dc07 100644
--- a/metrics_utils.h
+++ b/metrics_utils.h
@@ -17,8 +17,11 @@
#ifndef UPDATE_ENGINE_METRICS_UTILS_H_
#define UPDATE_ENGINE_METRICS_UTILS_H_
+#include <base/time/time.h>
+
+#include "update_engine/common/error_code.h"
#include "update_engine/connection_utils.h"
-#include "update_engine/metrics.h"
+#include "update_engine/metrics_constants.h"
namespace chromeos_update_engine {