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

Unified Diff: chrome/browser/chromeos/login/wizard_controller.cc

Issue 10917120: Activate the VariationsService for ChromeOS and ensure that it does not ping the server until the E… (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: unit tests refactored Created 8 years, 3 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/chromeos/login/wizard_controller.cc
diff --git a/chrome/browser/chromeos/login/wizard_controller.cc b/chrome/browser/chromeos/login/wizard_controller.cc
index 53a9b0007fac28bb82fc4568c226ff920017e844..64f68db582626dd8c8b5b680101de0866103fc6a 100644
--- a/chrome/browser/chromeos/login/wizard_controller.cc
+++ b/chrome/browser/chromeos/login/wizard_controller.cc
@@ -442,6 +442,12 @@ void WizardController::OnEulaAccepted() {
MarkEulaAccepted();
bool enabled =
OptionsUtil::ResolveMetricsReportingEnabled(usage_statistics_reporting_);
+
+ content::NotificationService::current()->Notify(
+ chrome::NOTIFICATION_WIZARD_EULA_ACCEPTED,
+ content::NotificationService::AllSources(),
Ilya Sherman 2012/09/11 22:51:27 nit: Please specify a source rather than using All
SteveT 2012/09/12 17:56:10 I knew I would get in trouble for this :) - Unfort
Ilya Sherman 2012/09/12 20:30:01 It looks like this is a new notification that you'
SteveT 2012/09/14 20:25:09 Done.
+ content::NotificationService::NoDetails());
+
CrosSettings::Get()->SetBoolean(kStatsReportingPref, enabled);
if (enabled) {
#if defined(USE_LINUX_BREAKPAD)

Powered by Google App Engine
This is Rietveld 408576698