| 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 d850f2edf4c4e33ad2febea0654de3a39ac48825..eeb7042c2ddbefe820a1e6264daa8cbf62d0539f 100644
|
| --- a/chrome/browser/chromeos/login/wizard_controller.cc
|
| +++ b/chrome/browser/chromeos/login/wizard_controller.cc
|
| @@ -877,7 +877,21 @@ void WizardController::InitiateOOBEUpdate() {
|
| return;
|
| }
|
|
|
| - VLOG(1) << "InitiateOOBEUpdate";
|
| + // If this is a Cellular First device, instruct UpdateEngine to allow
|
| + // updates over cellular data connections.
|
| + if (chromeos::switches::IsCellularFirstDevice()) {
|
| + DBusThreadManager::Get()
|
| + ->GetUpdateEngineClient()
|
| + ->SetUpdateOverCellularPermission(
|
| + true, base::Bind(&WizardController::StartOOBEUpdate,
|
| + weak_factory_.GetWeakPtr()));
|
| + } else {
|
| + StartOOBEUpdate();
|
| + }
|
| +}
|
| +
|
| +void WizardController::StartOOBEUpdate() {
|
| + VLOG(1) << "StartOOBEUpdate";
|
| SetCurrentScreenSmooth(GetScreen(OobeScreen::SCREEN_OOBE_UPDATE), true);
|
| UpdateScreen::Get(this)->StartNetworkCheck();
|
| }
|
|
|