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

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

Issue 236013002: Apply default wallpaper from customization manifest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments updated. Created 6 years, 8 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/login_display_host_impl.cc
diff --git a/chrome/browser/chromeos/login/login_display_host_impl.cc b/chrome/browser/chromeos/login/login_display_host_impl.cc
index 76d675d85cf5a1eb0cc0c727183a06a20a09bee6..c81e3863aeb174bdde755f967ea6f14f48ce3794 100644
--- a/chrome/browser/chromeos/login/login_display_host_impl.cc
+++ b/chrome/browser/chromeos/login/login_display_host_impl.cc
@@ -48,6 +48,7 @@
#include "chrome/browser/chromeos/login/webui_login_view.h"
#include "chrome/browser/chromeos/login/wizard_controller.h"
#include "chrome/browser/chromeos/mobile_config.h"
+#include "chrome/browser/chromeos/net/delay_network_call.h"
#include "chrome/browser/chromeos/policy/auto_enrollment_client.h"
#include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h"
#include "chrome/browser/chromeos/system/input_device_settings.h"
@@ -1210,6 +1211,11 @@ void ShowLoginWizard(const std::string& first_screen_name) {
display_host->StartSignInScreen(LoginScreenContext());
return;
}
+ if (StartupUtils::IsEulaAccepted())
Nikita (slow) 2014/04/17 05:23:34 Just FYI, this call will only be called in one cas
Alexander Alekseev 2014/04/17 14:34:39 Thank you. I should move this call before if (sho
+ DelayNetworkCall(
+ ServicesCustomizationDocument::GetInstance()
+ ->EnsureCustomizationAppliedClosure(),
+ base::TimeDelta::FromMilliseconds(kDefaultNetworkRetryDelayMS));
// Load startup manifest.
const chromeos::StartupCustomizationDocument* startup_manifest =

Powered by Google App Engine
This is Rietveld 408576698