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

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

Issue 14927015: Translate device-local account IDs to user IDs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix forward declaration. Created 7 years, 7 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_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 61bea86059e72477e2cd11ed346f0f192441d00a..9214dac7c3344b718d62c84bed31822d3f1f1a6d 100644
--- a/chrome/browser/chromeos/app_mode/kiosk_app_data.h
+++ b/chrome/browser/chromeos/app_mode/kiosk_app_data.h
@@ -42,7 +42,9 @@ class KioskAppData : public base::SupportsWeakPtr<KioskAppData>,
STATUS_ERROR, // Failed to load data.
};
- KioskAppData(KioskAppDataDelegate* delegate, const std::string& app_id);
+ KioskAppData(KioskAppDataDelegate* delegate,
+ const std::string& app_id,
+ const std::string& user_id);
virtual ~KioskAppData();
// Loads app data from cache. If there is no cached data, fetches it
@@ -55,7 +57,8 @@ class KioskAppData : public base::SupportsWeakPtr<KioskAppData>,
// Returns true if web store data fetching is in progress.
bool IsLoading() const;
- const std::string& id() const { return id_; }
+ 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 gfx::ImageSkia& icon() const { return icon_; }
const base::RefCountedString* raw_icon() const {
@@ -100,7 +103,8 @@ class KioskAppData : public base::SupportsWeakPtr<KioskAppData>,
KioskAppDataDelegate* delegate_; // not owned.
Status status_;
- std::string id_;
+ std::string app_id_;
+ std::string user_id_;
std::string name_;
gfx::ImageSkia icon_;
scoped_refptr<base::RefCountedString> raw_icon_;
« no previous file with comments | « no previous file | chrome/browser/chromeos/app_mode/kiosk_app_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698