Index: ash/periodic_metrics_recorder.h |
diff --git a/ash/periodic_metrics_recorder.h b/ash/periodic_metrics_recorder.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d302e9955ca658be6d9a63932c53f5da26d60bd3 |
--- /dev/null |
+++ b/ash/periodic_metrics_recorder.h |
@@ -0,0 +1,25 @@ |
+// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef ASH_PERIODIC_METRICS_RECORDER_H_ |
+#define ASH_PERIODIC_METRICS_RECORDER_H_ |
+ |
+#include "base/timer/timer.h" |
+ |
+namespace ash { |
+ |
+class AshPeriodicMetricsRecorder { |
James Cook
2013/11/01 05:06:28
Just call it PeriodicMetricsRecorder since it is a
|
+ public: |
+ AshPeriodicMetricsRecorder(); |
+ ~AshPeriodicMetricsRecorder(); |
+ |
+ private: |
+ void RecordMetrics(); |
+ |
+ base::RepeatingTimer<AshPeriodicMetricsRecorder> timer_; |
+}; |
+ |
+} // namespace ash |
+ |
+#endif // ASH_PERIODIC_METRICS_RECORDER_H_ |