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

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

Issue 676913002: kiosk: Support update url for enterprise. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 2 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 | « chrome/browser/chromeos/app_mode/fake_cws.cc ('k') | chrome/browser/chromeos/app_mode/kiosk_app_data.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_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 fa2eec3a5f68f6bdea6c6efac4b45c48f658fa55..7b3a9ee7e247fc596049ffc629fba0ee409dc117 100644
--- a/chrome/browser/chromeos/app_mode/kiosk_app_data.h
+++ b/chrome/browser/chromeos/app_mode/kiosk_app_data.h
@@ -13,6 +13,7 @@
#include "base/memory/weak_ptr.h"
#include "chrome/browser/extensions/webstore_data_fetcher_delegate.h"
#include "ui/gfx/image/image_skia.h"
+#include "url/gurl.h"
class Profile;
@@ -51,7 +52,8 @@ class KioskAppData : public base::SupportsWeakPtr<KioskAppData>,
KioskAppData(KioskAppDataDelegate* delegate,
const std::string& app_id,
- const std::string& user_id);
+ const std::string& user_id,
+ const GURL& update_url);
virtual ~KioskAppData();
// Loads app data from cache. If there is no cached data, fetches it
@@ -70,6 +72,7 @@ class KioskAppData : public base::SupportsWeakPtr<KioskAppData>,
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_; }
+ const GURL& update_url() const { return update_url_; }
const gfx::ImageSkia& icon() const { return icon_; }
const base::RefCountedString* raw_icon() const {
return raw_icon_.get();
@@ -129,6 +132,7 @@ class KioskAppData : public base::SupportsWeakPtr<KioskAppData>,
std::string app_id_;
std::string user_id_;
std::string name_;
+ GURL update_url_;
gfx::ImageSkia icon_;
scoped_refptr<base::RefCountedString> raw_icon_;
« no previous file with comments | « chrome/browser/chromeos/app_mode/fake_cws.cc ('k') | chrome/browser/chromeos/app_mode/kiosk_app_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698