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

Unified Diff: chrome/browser/metrics/chrome_metrics_services_manager_client.h

Issue 1951553002: Enabled client side sampling for user metrics reporting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/metrics/chrome_metrics_services_manager_client.h
diff --git a/chrome/browser/metrics/chrome_metrics_services_manager_client.h b/chrome/browser/metrics/chrome_metrics_services_manager_client.h
index f79bb692e0a0fdc9e6ea18c6e33e8cbf857af055..51bfe205ad34fa1b82bb5d9aa6963f687102c95b 100644
--- a/chrome/browser/metrics/chrome_metrics_services_manager_client.h
+++ b/chrome/browser/metrics/chrome_metrics_services_manager_client.h
@@ -7,6 +7,7 @@
#include <memory>
+#include "base/feature_list.h"
#include "base/macros.h"
#include "base/threading/thread_checker.h"
#include "chrome/browser/safe_browsing/safe_browsing_service.h"
@@ -19,6 +20,11 @@ class EnabledStateProvider;
class MetricsStateManager;
}
+// Metrics reporting feature. This feature, along with user consent, controls if
+// recording and reporting are enabled. If the feature is enabled, but no
+// consent is given, then there will be no recording or reporting.
+extern const base::Feature kMetricsReportingFeature;
Alexei Svitkine (slow) 2016/07/19 15:23:59 If this will not be used outside the file, just pu
jwd 2016/07/19 21:21:49 It's going to be used by a metrics provider for re
+
// Provides a //chrome-specific implementation of MetricsServicesManagerClient.
class ChromeMetricsServicesManagerClient
: public metrics_services_manager::MetricsServicesManagerClient {

Powered by Google App Engine
This is Rietveld 408576698