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

Unified Diff: chrome/browser/first_run.cc

Issue 21134: Fixes the EULA dialog to explicitly unset the usagestats flag if the checkbox... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/first_run.cc
===================================================================
--- chrome/browser/first_run.cc (revision 9323)
+++ chrome/browser/first_run.cc (working copy)
@@ -220,7 +220,10 @@
LOG(WARNING) << "EULA rejected. Fast exit.";
::ExitProcess(1);
}
- if (retcode == installer_util::EULA_ACCEPTED_OPT_IN) {
+ if (retcode == installer_util::EULA_ACCEPTED) {
+ LOG(INFO) << "EULA : no collection";
+ GoogleUpdateSettings::SetCollectStatsConsent(false);
+ } else if (retcode == installer_util::EULA_ACCEPTED_OPT_IN) {
LOG(INFO) << "EULA : collection consent";
GoogleUpdateSettings::SetCollectStatsConsent(true);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698