OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium 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 CHROME_BROWSER_METRICS_SAMPLING_METRICS_PROVIDER_H_ |
| 6 #define CHROME_BROWSER_METRICS_SAMPLING_METRICS_PROVIDER_H_ |
| 7 |
| 8 #include "components/metrics/metrics_provider.h" |
| 9 |
| 10 namespace metrics { |
| 11 |
| 12 // Provides metrics related to sampling of metrics reporting clients. In |
| 13 // particular, the rate at which clients are sampled. |
| 14 class SamplingMetricsProvider : public MetricsProvider { |
| 15 public: |
| 16 SamplingMetricsProvider(); |
| 17 ~SamplingMetricsProvider() override; |
| 18 |
| 19 private: |
| 20 // MetricsProvider: |
| 21 void ProvideStabilityMetrics( |
| 22 SystemProfileProto* system_profile_proto) override; |
| 23 |
| 24 DISALLOW_COPY_AND_ASSIGN(SamplingMetricsProvider); |
| 25 }; |
| 26 |
| 27 } // namespace metrics |
| 28 |
| 29 #endif // CHROME_BROWSER_METRICS_SAMPLING_METRICS_PROVIDER_H_ |
OLD | NEW |