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

Unified Diff: chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_manager.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/app_mode/arc/arc_kiosk_app_manager.cc
diff --git a/chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_manager.cc b/chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_manager.cc
index a2b593fd6a3729537cdd374e8e3613a6e12a1acb..0f9e7c6911401d964e8ad39cc45fd43541922600 100644
--- a/chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_manager.cc
+++ b/chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_manager.cc
@@ -170,6 +170,16 @@ void ArcKioskAppManager::RemoveObserver(ArcKioskAppManagerObserver* observer) {
observers_.RemoveObserver(observer);
}
+void ArcKioskAppManager::SetWasAutoLaunchedWithZeroDelay(
+ const AccountId& account_id) {
+ currently_auto_launched_with_zero_delay_account_id_ = account_id;
+}
+
+const AccountId& ArcKioskAppManager::GetWasAutoLaunchedWithZeroDelay()
+ const {
+ return currently_auto_launched_with_zero_delay_account_id_;
Ivan Šandrk 2017/03/16 18:30:43 Second option is I don't set a boolean flag at all
+}
+
void ArcKioskAppManager::UpdateApps() {
// Do not populate ARC kiosk apps if ARC kiosk apps can't be run on the
// device.

Powered by Google App Engine
This is Rietveld 408576698