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

Unified Diff: chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_service.cc

Issue 2599333002: arc: Try to restart ARC++ kiosk app if the task was closed. (Closed)
Patch Set: Created 4 years 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/app_mode/arc/arc_kiosk_app_service.cc
diff --git a/chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_service.cc b/chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_service.cc
index 3e54f436ce08f75489b8ed750b4eb85ced66871b..333a95570e0aa75a12c208033da6991c20693a6c 100644
--- a/chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_service.cc
+++ b/chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_service.cc
@@ -59,6 +59,9 @@ void ArcKioskAppService::OnTaskDestroyed(int32_t task_id) {
if (task_id == task_id_) {
app_launcher_.reset();
task_id_ = -1;
+ // Trying to restart app if it was somehow closed or crashed
+ // as kiosk app should always be running during the session.
+ PreconditionsChanged();
khmel 2016/12/26 20:29:38 I found 2 handlers: ArcKioskAppLauncher::OnTaskCr
}
}
« 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