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

Unified Diff: ash/ash_periodic_metrics_recorder.h

Issue 26373009: ash:Shelf - Added UMA stats for ShelfAlignment (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: copywrite header Created 7 years, 2 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: ash/ash_periodic_metrics_recorder.h
diff --git a/ash/ash_periodic_metrics_recorder.h b/ash/ash_periodic_metrics_recorder.h
new file mode 100644
index 0000000000000000000000000000000000000000..a68ec3f5aabd8df0ac19e1f656bcbc75e88537b5
--- /dev/null
+++ b/ash/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_ASH_PERIODIC_METRICS_RECORDER_H
James Cook 2013/11/01 00:28:51 nit: end with trailing _
Harry McCleave 2013/11/01 01:00:38 Done.
+#define ASH_ASH_PERIODIC_METRICS_RECORDER_H
+
+#include "base/timer/timer.h"
+
+namespace ash {
+
+class AshPeriodicMetricsRecorder {
+ public:
+ AshPeriodicMetricsRecorder();
+ ~AshPeriodicMetricsRecorder();
+
+ private:
+ void RecordMetrics();
+
+ base::RepeatingTimer<AshPeriodicMetricsRecorder> timer_;
+};
+
+} // ash
James Cook 2013/11/01 00:28:51 nit: "namespace ash"
Harry McCleave 2013/11/01 01:00:38 Done.
+
+#endif // ASH_ASH_PERIODIC_METRICS_RECORDER_H

Powered by Google App Engine
This is Rietveld 408576698