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

Unified Diff: chrome/browser/policy/cloud_policy_data_store.h

Issue 9403010: Add support for kiosk mode on the client. Make sure the settings are written in the lockbox. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed nitty nit. Created 8 years, 10 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/policy/cloud_policy_constants.h ('k') | chrome/browser/policy/cloud_policy_data_store.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/cloud_policy_data_store.h
diff --git a/chrome/browser/policy/cloud_policy_data_store.h b/chrome/browser/policy/cloud_policy_data_store.h
index bbcb9f2f5c095b72288d695148c897169af8e746..d5c5e7fe16f652506cc6a735c022c70b6259325b 100644
--- a/chrome/browser/policy/cloud_policy_data_store.h
+++ b/chrome/browser/policy/cloud_policy_data_store.h
@@ -76,6 +76,7 @@ class CloudPolicyDataStore {
void set_user_name(const std::string& user_name);
void set_user_affiliation(UserAffiliation user_affiliation);
void set_known_machine_id(bool known_machine_id);
+ void set_device_mode(DeviceMode device_mode);
#if defined(OS_CHROMEOS)
void set_device_status_collector(DeviceStatusCollector* collector);
@@ -96,6 +97,7 @@ class CloudPolicyDataStore {
const std::string& user_name() const;
UserAffiliation user_affiliation() const;
bool known_machine_id() const;
+ DeviceMode device_mode() const;
void AddObserver(Observer* observer);
void RemoveObserver(Observer* observer);
@@ -130,6 +132,8 @@ class CloudPolicyDataStore {
bool token_cache_loaded_;
+ DeviceMode device_mode_;
+
#if defined(OS_CHROMEOS)
scoped_ptr<DeviceStatusCollector> device_status_collector_;
#endif
« no previous file with comments | « chrome/browser/policy/cloud_policy_constants.h ('k') | chrome/browser/policy/cloud_policy_data_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698