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

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

Issue 2758593002: Enable screen capture for ARC++ Kiosk (Closed)
Patch Set: Created 3 years, 9 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/existing_user_controller.cc
diff --git a/chrome/browser/chromeos/login/existing_user_controller.cc b/chrome/browser/chromeos/login/existing_user_controller.cc
index 55e09eb3f5f34dab6df1c0e80d301a6e00c0c319..4f3f38618a263983b9b1be4cdfb1a4223179c947 100644
--- a/chrome/browser/chromeos/login/existing_user_controller.cc
+++ b/chrome/browser/chromeos/login/existing_user_controller.cc
@@ -975,8 +975,9 @@ void ExistingUserController::LoginAsKioskApp(const std::string& app_id,
host_->StartAppLaunch(app_id, diagnostic_mode, auto_start);
}
-void ExistingUserController::LoginAsArcKioskApp(const AccountId& account_id) {
- host_->StartArcKiosk(account_id);
+void ExistingUserController::LoginAsArcKioskApp(const AccountId& account_id,
+ bool is_auto_launch) {
+ host_->StartArcKiosk(account_id, is_auto_launch);
}
void ExistingUserController::ConfigureAutoLogin() {
@@ -1316,7 +1317,7 @@ void ExistingUserController::DoLogin(const UserContext& user_context,
}
if (user_context.GetUserType() == user_manager::USER_TYPE_ARC_KIOSK_APP) {
- LoginAsArcKioskApp(user_context.GetAccountId());
+ LoginAsArcKioskApp(user_context.GetAccountId(), specifics.is_auto_login);
return;
}

Powered by Google App Engine
This is Rietveld 408576698