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

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

Issue 9405035: Implement ephemeral users (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Comments addressed. Created 8 years, 10 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: 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 d75009a65d7a84fe7892dca3be09295962aae7c5..07fc36f2ff7dd23615526ab37041aabae780698a 100644
--- a/chrome/browser/chromeos/login/wizard_controller.cc
+++ b/chrome/browser/chromeos/login/wizard_controller.cc
@@ -263,6 +263,11 @@ void WizardController::ShowUpdateScreen() {
}
void WizardController::ShowUserImageScreen() {
+ // Skip image selection for ephemeral users.
+ if (chromeos::UserManager::Get()->current_user_is_ephemeral()) {
Nikita (slow) 2012/03/07 10:03:04 I think we should alter UX for these users as less
use bartfab instead 2012/03/07 11:10:08 I made the change as requested but I think skippin
+ OnUserImageSkipped();
+ return;
+ }
VLOG(1) << "Showing user image screen.";
SetStatusAreaVisible(false);
SetCurrentScreen(GetUserImageScreen());

Powered by Google App Engine
This is Rietveld 408576698