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

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

Issue 269573010: Download and cache kiosk app extension when it is added via kiosk mamangement ui. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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/kiosk_app_data.h
diff --git a/chrome/browser/chromeos/app_mode/kiosk_app_data.h b/chrome/browser/chromeos/app_mode/kiosk_app_data.h
index 4bf061c4ae1e604bcf1b97f157882a98e4626c99..6ef2e6ce8ab75b61b0ebd6e209d6531e6a041f2a 100644
--- a/chrome/browser/chromeos/app_mode/kiosk_app_data.h
+++ b/chrome/browser/chromeos/app_mode/kiosk_app_data.h
@@ -67,6 +67,9 @@ class KioskAppData : public base::SupportsWeakPtr<KioskAppData>,
// Returns true if web store data fetching is in progress.
bool IsLoading() const;
+ // Returns true if the crx file is going to be downloaded in cache.
+ bool IsCrxCacheLoading() const;
xiyuan 2014/05/02 03:22:12 This probably should better be part of ExternalCac
jennyz 2014/05/02 17:46:55 Done.
+
const std::string& app_id() const { return app_id_; }
const std::string& user_id() const { return user_id_; }
const std::string& name() const { return name_; }
@@ -75,6 +78,7 @@ class KioskAppData : public base::SupportsWeakPtr<KioskAppData>,
return raw_icon_.get();
}
Status status() const { return status_; }
+ void SetCrxCacheStatus(Status crx_cache_status);
private:
class IconLoader;
@@ -125,6 +129,7 @@ class KioskAppData : public base::SupportsWeakPtr<KioskAppData>,
KioskAppDataDelegate* delegate_; // not owned.
Status status_;
+ Status crx_cache_status_;
std::string app_id_;
std::string user_id_;

Powered by Google App Engine
This is Rietveld 408576698