blob: 8b2d6b37872f5d66b2dc45befcefcdca47357c0c [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 <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_