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

Unified Diff: chrome/browser/first_run/first_run_internal_posix.cc

Issue 2014353002: Make Mac and Linux first run dialogs use metrics APIs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comment. 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
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/first_run_dialog.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/first_run/first_run_internal_posix.cc
diff --git a/chrome/browser/first_run/first_run_internal_posix.cc b/chrome/browser/first_run/first_run_internal_posix.cc
index b69fdd28fbd30655dfe3214419649b08f7af93db..af21fffbceb4cce12bec7810646ec15ea5d0924c 100644
--- a/chrome/browser/first_run/first_run_internal_posix.cc
+++ b/chrome/browser/first_run/first_run_internal_posix.cc
@@ -37,14 +37,6 @@ void DoPostImportPlatformSpecificTasks(Profile* profile) {
startup_metric_utils::SetNonBrowserUIDisplayed();
}
}
-
- // If stats reporting was turned on by the first run dialog then toggle
- // the pref (on Windows, the download is tagged with enable/disable stats so
- // this is POSIX-specific).
- if (GoogleUpdateSettings::GetCollectStatsConsent()) {
- g_browser_process->local_state()->SetBoolean(
- metrics::prefs::kMetricsReportingEnabled, true);
- }
#endif
}
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/first_run_dialog.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698