| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/chromeos/login/wizard_controller.h" | 5 #include "chrome/browser/chromeos/login/wizard_controller.h" |
| 6 | 6 |
| 7 #include <signal.h> | 7 #include <signal.h> |
| 8 #include <stdlib.h> | 8 #include <stdlib.h> |
| 9 #include <sys/types.h> | 9 #include <sys/types.h> |
| 10 | 10 |
| (...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 364 } | 364 } |
| 365 | 365 |
| 366 void WizardController::ShowWrongHWIDScreen() { | 366 void WizardController::ShowWrongHWIDScreen() { |
| 367 VLOG(1) << "Showing wrong HWID screen."; | 367 VLOG(1) << "Showing wrong HWID screen."; |
| 368 SetStatusAreaVisible(false); | 368 SetStatusAreaVisible(false); |
| 369 SetCurrentScreen(GetWrongHWIDScreen()); | 369 SetCurrentScreen(GetWrongHWIDScreen()); |
| 370 } | 370 } |
| 371 | 371 |
| 372 void WizardController::ShowLocallyManagedUserCreationScreen() { | 372 void WizardController::ShowLocallyManagedUserCreationScreen() { |
| 373 VLOG(1) << "Showing Locally managed user creation screen screen."; | 373 VLOG(1) << "Showing Locally managed user creation screen screen."; |
| 374 SetStatusAreaVisible(false); | 374 SetStatusAreaVisible(true); |
| 375 LocallyManagedUserCreationScreen* screen = | 375 LocallyManagedUserCreationScreen* screen = |
| 376 GetLocallyManagedUserCreationScreen(); | 376 GetLocallyManagedUserCreationScreen(); |
| 377 SetCurrentScreen(screen); | 377 SetCurrentScreen(screen); |
| 378 } | 378 } |
| 379 | 379 |
| 380 void WizardController::SkipToLoginForTesting() { | 380 void WizardController::SkipToLoginForTesting() { |
| 381 MarkEulaAccepted(); | 381 MarkEulaAccepted(); |
| 382 PerformPostEulaActions(); | 382 PerformPostEulaActions(); |
| 383 PerformPostUpdateActions(); | 383 PerformPostUpdateActions(); |
| 384 ShowLoginScreen(); | 384 ShowLoginScreen(); |
| (...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 854 return zero_delay_enabled_; | 854 return zero_delay_enabled_; |
| 855 } | 855 } |
| 856 | 856 |
| 857 // static | 857 // static |
| 858 void WizardController::SetZeroDelays() { | 858 void WizardController::SetZeroDelays() { |
| 859 kShowDelayMs = 0; | 859 kShowDelayMs = 0; |
| 860 zero_delay_enabled_ = true; | 860 zero_delay_enabled_ = true; |
| 861 } | 861 } |
| 862 | 862 |
| 863 } // namespace chromeos | 863 } // namespace chromeos |
| OLD | NEW |