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

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

Issue 1826223003: cros: Skip OOBE update check for remora (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« 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/chromeos/login/wizard_controller.cc
diff --git a/chrome/browser/chromeos/login/wizard_controller.cc b/chrome/browser/chromeos/login/wizard_controller.cc
index 2e6b799e42ef20019c44e45169bb5ef11d833364..832c296cf66c87c4fb283ff4361c3fb3d6a38112 100644
--- a/chrome/browser/chromeos/login/wizard_controller.cc
+++ b/chrome/browser/chromeos/login/wizard_controller.cc
@@ -607,9 +607,9 @@ void WizardController::OnEulaAccepted() {
usage_statistics_reporting_,
base::Bind(&WizardController::InitiateMetricsReportingChangeCallback,
weak_factory_.GetWeakPtr()));
+ PerformPostEulaActions();
if (skip_update_enroll_after_eula_) {
- PerformPostEulaActions();
ShowAutoEnrollmentCheckScreen();
} else {
InitiateOOBEUpdate();
@@ -770,8 +770,13 @@ void WizardController::OnDeviceDisabledChecked(bool device_disabled) {
}
void WizardController::InitiateOOBEUpdate() {
+ if (IsRemoraRequisition()) {
+ VLOG(1) << "Skip OOBE Update for remora.";
+ OnUpdateCompleted();
+ return;
+ }
+
VLOG(1) << "InitiateOOBEUpdate";
- PerformPostEulaActions();
SetCurrentScreenSmooth(GetScreen(kUpdateScreenName), true);
UpdateScreen::Get(this)->StartNetworkCheck();
}
« 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