Index: chrome/browser/metrics/sampling_metrics_provider.h |
diff --git a/chrome/browser/metrics/sampling_metrics_provider.h b/chrome/browser/metrics/sampling_metrics_provider.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c5bd4450be8f501bec00669cbbee786888b92e08 |
--- /dev/null |
+++ b/chrome/browser/metrics/sampling_metrics_provider.h |
@@ -0,0 +1,26 @@ |
+// Copyright 2016 The Chromium 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 CHROME_BROWSER_METRICS_SAMPLING_METRICS_PROVIDER_H_ |
+#define CHROME_BROWSER_METRICS_SAMPLING_METRICS_PROVIDER_H_ |
+ |
+#include "components/metrics/metrics_provider.h" |
+ |
+namespace metrics { |
+ |
+class SamplingMetricsProvider : public MetricsProvider { |
Alexei Svitkine (slow)
2016/08/01 17:23:51
Please add a comment about what this is for.
jwd
2016/08/01 18:57:14
Done.
|
+ public: |
+ SamplingMetricsProvider(); |
+ ~SamplingMetricsProvider() override; |
+ |
+ private: |
+ // MetricsProvider: |
+ void ProvideGeneralMetrics(ChromeUserMetricsExtension* uma_proto) override; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(SamplingMetricsProvider); |
+}; |
+ |
+} // namespace metrics |
+ |
+#endif // CHROME_BROWSER_METRICS_SAMPLING_METRICS_PROVIDER_H_ |