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

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

Issue 208273005: If customization includes default wallpaper, download and apply it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add DBC::IsUsingDefaultWallpaper(); Restart wallpaper fetch on device restart. Created 6 years, 9 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 0ac5f1ef024fe9f6638789033395092252f15b0c..f8db80043e18873f3befaee6ad579424a7585339 100644
--- a/chrome/browser/chromeos/login/wizard_controller.cc
+++ b/chrome/browser/chromeos/login/wizard_controller.cc
@@ -316,6 +316,8 @@ void WizardController::ShowLoginScreen(const LoginScreenContext& context) {
UMA_HISTOGRAM_MEDIUM_TIMES("OOBE.EULAToSignInTime", delta);
}
VLOG(1) << "Showing login screen.";
+ // Restart fetch if previous attempt failed.
+ ServicesCustomizationDocument::GetInstance()->StartFetching();
SetStatusAreaVisible(true);
host_->StartSignInScreen(context);
smooth_show_timer_.Stop();
@@ -647,6 +649,7 @@ void WizardController::PerformPostEulaActions() {
base::Bind(&WizardController::StartTimezoneResolve,
weak_factory_.GetWeakPtr()),
base::TimeDelta::FromMilliseconds(kDefaultNetworkRetryDelayMS));
+ ServicesCustomizationDocument::GetInstance()->StartFetching();
// Now that EULA has been accepted (for official builds), enable portal check.
// ChromiumOS builds would go though this code path too.

Powered by Google App Engine
This is Rietveld 408576698