blob: eae8c79caf67ec39caa6dc497583ad53227833bf [file] [log] [blame]
Ben Chancb3563e2013-09-12 23:20:34 -07001// Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef MIST_METRICS_H_
6#define MIST_METRICS_H_
7
Ben Chan4746c8a2014-09-02 20:34:58 -07008#include <base/macros.h>
Ben Chancb3563e2013-09-12 23:20:34 -07009#include <metrics/metrics_library.h>
10
11namespace mist {
12
13// A class for collecting mist related UMA metrics.
14class Metrics {
15 public:
16 Metrics();
Ben Chana4c8c962014-08-13 20:36:10 -070017 ~Metrics() = default;
Ben Chancb3563e2013-09-12 23:20:34 -070018
19 void RecordSwitchResult(bool success);
20
21 private:
22 MetricsLibrary metrics_library_;
23
24 DISALLOW_COPY_AND_ASSIGN(Metrics);
25};
26
27} // namespace mist
28
29#endif // MIST_METRICS_H_