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

Unified Diff: chrome/browser/chromeos/login/users/chrome_user_manager_impl.cc

Issue 954033003: Kiosk mode: SetFirstLoginPrefs() should be called for kiosk sessions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« 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/users/chrome_user_manager_impl.cc
diff --git a/chrome/browser/chromeos/login/users/chrome_user_manager_impl.cc b/chrome/browser/chromeos/login/users/chrome_user_manager_impl.cc
index f543561a56d963ab000070d703e99249aaed96e1..1935cb62f837243655255a0d9a2572250fe82b27 100644
--- a/chrome/browser/chromeos/login/users/chrome_user_manager_impl.cc
+++ b/chrome/browser/chromeos/login/users/chrome_user_manager_impl.cc
@@ -721,6 +721,7 @@ void ChromeUserManagerImpl::KioskAppLoggedIn(const std::string& app_id) {
user_manager::User::USER_IMAGE_INVALID,
false);
+ SetIsCurrentUserNew(true);
xiyuan 2015/02/25 20:18:43 KioskAppLoggedIn is called on every kiosk app laun
Alexander Alekseev 2015/02/25 20:48:47 We only need to call SetFirstLoginPrefs for the fi
xiyuan 2015/02/25 21:20:50 Think we can use Profile::IsNewProfile to check wh
WallpaperManager::Get()->SetUserWallpaperNow(app_id);
// TODO(bartfab): Add KioskAppUsers to the users_ list and keep metadata like
« 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