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

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

Issue 2014463003: Modifications for recording whether UMA/Crash default state for iOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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_reporting_state.h
diff --git a/chrome/browser/metrics/metrics_reporting_state.h b/chrome/browser/metrics/metrics_reporting_state.h
index 1fcb79f35120a08bea3ecd601b7037370d16bcd9..303255ced27232e485725ba102f54443e5918b1c 100644
--- a/chrome/browser/metrics/metrics_reporting_state.h
+++ b/chrome/browser/metrics/metrics_reporting_state.h
@@ -27,21 +27,6 @@ void InitiateMetricsReportingChange(
// Android).
bool IsMetricsReportingPolicyManaged();
-// Register prefs relating to metrics reporting state. Currently only registers
-// a pref for metrics reporting default opt-in state.
-void RegisterMetricsReportingStatePrefs(PrefRegistrySimple* registry);
-
-// Sets whether metrics reporting was opt-in or not. If it was opt-in, then the
-// enable checkbox on first-run was default unchecked. If it was opt-out, then
-// the checkbox was default checked. This should only be set once, and only
-// during first-run.
-void RecordMetricsReportingDefaultOptIn(PrefService* local_state, bool opt_in);
-
-// Gets information about the default value for the enable metrics reporting
-// checkbox shown during first-run.
-metrics::MetricsServiceClient::EnableMetricsDefault
-GetMetricsReportingDefaultOptIn(PrefService* local_state);
-
// Initialize kMetricsReportingEnabled based on kStatsReportingPref device
// setting and add an observer as it is the source of truth on Chrome OS.
void SetupMetricsStateForChromeOS();
« no previous file with comments | « chrome/browser/metrics/chrome_metrics_service_client.cc ('k') | chrome/browser/metrics/metrics_reporting_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698