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

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

Issue 886523003: Add a Rappor option in the settings page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Test Created 5 years, 10 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/metrics_services_manager.h
diff --git a/chrome/browser/metrics/metrics_services_manager.h b/chrome/browser/metrics/metrics_services_manager.h
index b0f2670bacc9ed9fb3002c2f99fb914b95b4dc17..8c5dd07d3bee686396cdcdb9cf414d3b6dce52a9 100644
--- a/chrome/browser/metrics/metrics_services_manager.h
+++ b/chrome/browser/metrics/metrics_services_manager.h
@@ -58,6 +58,9 @@ class MetricsServicesManager {
// Returns true iff metrics reporting is enabled.
bool IsMetricsReportingEnabled() const;
+ // Returns true iff Rappor reporting is enabled.
+ bool IsRapporEnabled(bool metrics_enabled) const;
+
private:
// Returns the ChromeMetricsServiceClient, creating it if it hasn't been
// created yet (and additionally creating the MetricsService in that case).

Powered by Google App Engine
This is Rietveld 408576698