blob: f385fea8b8a9464ed8545a0c563da4473ea0af54 [file] [log] [blame]
// Copyright (c) 2013 The Chromium OS 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 MIST_METRICS_H_
#define MIST_METRICS_H_
#include <base/macros.h>
#include <metrics/metrics_library.h>
namespace mist {
// A class for collecting mist related UMA metrics.
class Metrics {
public:
Metrics();
Metrics(const Metrics&) = delete;
Metrics& operator=(const Metrics&) = delete;
~Metrics() = default;
void RecordSwitchResult(bool success);
private:
MetricsLibrary metrics_library_;
};
} // namespace mist
#endif // MIST_METRICS_H_