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

Unified Diff: chrome/browser/chromeos/app_mode/startup_app_launcher.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
Index: chrome/browser/chromeos/app_mode/startup_app_launcher.h
diff --git a/chrome/browser/chromeos/app_mode/startup_app_launcher.h b/chrome/browser/chromeos/app_mode/startup_app_launcher.h
index 4f4770bd79146ffec4b2f67382f310def72e34df..49a7f62b79b6129b3608c54feb0d6a696e806854 100644
--- a/chrome/browser/chromeos/app_mode/startup_app_launcher.h
+++ b/chrome/browser/chromeos/app_mode/startup_app_launcher.h
@@ -90,7 +90,7 @@ class StartupAppLauncher : public base::SupportsWeakPtr<StartupAppLauncher>,
void BeginInstall();
void OnReadyToLaunch();
- void UpdateAppData();
+ void MaybeUpdateAppData();
void InitializeTokenService();
void MaybeInitializeNetwork();
@@ -115,6 +115,9 @@ class StartupAppLauncher : public base::SupportsWeakPtr<StartupAppLauncher>,
// Returns true if secondary apps are declared in manifest.
bool HasSecondaryApps() const;
+ // Returns true if the primary app has a pending update.
+ bool PrimaryAppHasPendingUpdate() const;
+
// Returns true if the app with |id| failed, and it is the primary or one of
// the secondary apps.
bool DidPrimaryOrSecondaryAppFailedToInstall(bool success,

Powered by Google App Engine
This is Rietveld 408576698