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

Side by Side Diff: chrome/browser/chromeos/login/wizard_controller.cc

Issue 13553002: Managed user creation flow: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nits Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698