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

Unified Diff: chrome/browser/chromeos/app_mode/kiosk_app_manager.cc

Issue 2615633010: kiosk: Add kiosk.always_update manifest key (Closed)
Patch Set: Created 3 years, 11 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 | extensions/common/api/_manifest_features.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/app_mode/kiosk_app_manager.cc
diff --git a/chrome/browser/chromeos/app_mode/kiosk_app_manager.cc b/chrome/browser/chromeos/app_mode/kiosk_app_manager.cc
index a24c7bf33832508375b2504659ab5c9358568448..44b31160ebe7b38af82ab7c562c5c47f8ac4fe6a 100644
--- a/chrome/browser/chromeos/app_mode/kiosk_app_manager.cc
+++ b/chrome/browser/chromeos/app_mode/kiosk_app_manager.cc
@@ -653,6 +653,10 @@ bool KioskAppManager::IsPlatformCompliantWithApp(
if (info == nullptr)
return true;
+ // Compliant if the app wants to be always updated.
+ if (info->always_update)
+ return true;
+
return IsPlatformCompliant(info->required_platform_version);
}
« no previous file with comments | « no previous file | extensions/common/api/_manifest_features.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698