Chromium Code Reviews| Index: chrome/browser/chromeos/login/app_launch_controller.cc |
| diff --git a/chrome/browser/chromeos/login/app_launch_controller.cc b/chrome/browser/chromeos/login/app_launch_controller.cc |
| index 057671ff5e7dba396b007835e7afab3180649040..4a3081f1bb5040d3a26503156d3b8d4c360dc86e 100644 |
| --- a/chrome/browser/chromeos/login/app_launch_controller.cc |
| +++ b/chrome/browser/chromeos/login/app_launch_controller.cc |
| @@ -29,6 +29,7 @@ |
| #include "chrome/browser/ui/webui/chromeos/login/app_launch_splash_screen_handler.h" |
| #include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h" |
| #include "chromeos/settings/cros_settings_names.h" |
| +#include "components/user_manager/known_user.h" |
| #include "components/user_manager/user_manager.h" |
| #include "content/public/browser/notification_service.h" |
| #include "extensions/browser/app_window/app_window.h" |
| @@ -159,9 +160,8 @@ void AppLaunchController::StartAppLaunch(bool is_auto_launch) { |
| if (delay == 0) |
| KioskAppManager::Get()->SetAppWasAutoLaunchedWithZeroDelay(app_id_); |
| } |
| - |
| kiosk_profile_loader_.reset( |
| - new KioskProfileLoader(app.user_id, false, this)); |
| + new KioskProfileLoader(app.account_id.GetUserEmail(), false, this)); |
|
xiyuan
2016/02/17 23:14:25
Update KioskProfileLoader to take AccountId as wel
Alexander Alekseev
2016/02/18 13:45:14
Done.
|
| kiosk_profile_loader_->Start(); |
| } |