Chromium Code Reviews| 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 |