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

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

Issue 1869483002: kiosk: Defer app update until platform matches (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: for comments from jenny Created 4 years, 8 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 | chrome/browser/chromeos/app_mode/kiosk_app_manager.cc » ('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.h
diff --git a/chrome/browser/chromeos/app_mode/kiosk_app_manager.h b/chrome/browser/chromeos/app_mode/kiosk_app_manager.h
index 7d45ad603dffe168693af0bece16b7aefdb5e5d0..6c8e2ae2dac7fc97891932158adfdbe969016071 100644
--- a/chrome/browser/chromeos/app_mode/kiosk_app_manager.h
+++ b/chrome/browser/chromeos/app_mode/kiosk_app_manager.h
@@ -218,10 +218,12 @@ class KioskAppManager : public KioskAppDataDelegate,
const std::string& version,
const ExternalCache::PutExternalExtensionCallback& callback);
- bool external_loader_created() const { return external_loader_created_; }
- bool secondary_app_external_loader_created() const {
- return secondary_app_external_loader_created_;
- }
+ // Whether the current platform is compliant with the given required
+ // platform version.
+ bool IsPlatformCompliant(const std::string& required_platform_version) const;
+
+ // Whether the platform is compliant for the given app.
+ bool IsPlatformCompliantWithApp(const extensions::Extension* app) const;
// Notifies the KioskAppManager that a given app was auto-launched
// automatically with no delay on startup. Certain privacy-sensitive
@@ -233,6 +235,10 @@ class KioskAppManager : public KioskAppDataDelegate,
void InitSession(Profile* profile, const std::string& app_id);
AppSession* app_session() { return app_session_.get(); }
+ bool external_loader_created() const { return external_loader_created_; }
+ bool secondary_app_external_loader_created() const {
+ return secondary_app_external_loader_created_;
+ }
private:
friend struct base::DefaultLazyInstanceTraits<KioskAppManager>;
« no previous file with comments | « no previous file | chrome/browser/chromeos/app_mode/kiosk_app_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698