blob: 302d2157299ca2e79e9ab6dc639a1e3565360637 [file] [log] [blame]
// Copyright 2013 The ChromiumOS Authors
// 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 <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_