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

Unified Diff: trunk/src/chrome/browser/resources/login/display_manager.js

Issue 313923005: Revert 273875 "Remove the option to skip auto-update checks on OOBE." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 6 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: trunk/src/chrome/browser/resources/login/display_manager.js
===================================================================
--- trunk/src/chrome/browser/resources/login/display_manager.js (revision 274856)
+++ trunk/src/chrome/browser/resources/login/display_manager.js (working copy)
@@ -339,6 +339,11 @@
if (currentStepId == SCREEN_GAIA_SIGNIN ||
currentStepId == SCREEN_ACCOUNT_PICKER) {
chrome.send('toggleEnrollmentScreen');
+ } else if (currentStepId == SCREEN_OOBE_NETWORK ||
+ currentStepId == SCREEN_OOBE_EULA) {
+ // In this case update check will be skipped and OOBE will
+ // proceed straight to enrollment screen when EULA is accepted.
+ chrome.send('skipUpdateEnrollAfterEula');
} else if (currentStepId == SCREEN_OOBE_ENROLLMENT) {
// This accelerator is also used to manually cancel auto-enrollment.
if (this.currentScreen.cancelAutoEnrollment)

Powered by Google App Engine
This is Rietveld 408576698