// Copyright 2015 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_METRICS_TEST_TEST_METRICS_PROVIDER_H_ #define COMPONENTS_METRICS_TEST_TEST_METRICS_PROVIDER_H_ #include "base/metrics/histogram_snapshot_manager.h" #include "components/metrics/metrics_provider.h" namespace metrics { // A simple implementation of MetricsProvider that checks that its providing // functions are called, for use in tests. class TestMetricsProvider : public MetricsProvider { … }; } // namespace metrics #endif // COMPONENTS_METRICS_TEST_TEST_METRICS_PROVIDER_H_