Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Side by Side Diff: chrome/browser/metrics/sampling_metrics_provider.h

Issue 2180373003: Adding reporting of metrics sampling rate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing Alexei's comments. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 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.
13 public:
14 SamplingMetricsProvider();
15 ~SamplingMetricsProvider() override;
16
17 private:
18 // MetricsProvider:
19 void ProvideGeneralMetrics(ChromeUserMetricsExtension* uma_proto) override;
20
21 DISALLOW_COPY_AND_ASSIGN(SamplingMetricsProvider);
22 };
23
24 } // namespace metrics
25
26 #endif // CHROME_BROWSER_METRICS_SAMPLING_METRICS_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698