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

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: " 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
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..62e8d773dc4cd11098472a60ad761382806bf16f 100644
--- a/chrome/browser/policy/cloud_policy_data_store.h
+++ b/chrome/browser/policy/cloud_policy_data_store.h
@@ -75,6 +75,8 @@ class CloudPolicyDataStore {
void set_machine_model(const std::string& machine_model);
void set_user_name(const std::string& user_name);
void set_user_affiliation(UserAffiliation user_affiliation);
+ void set_device_mode(
+ enterprise_management::DeviceRegisterResponse_DeviceMode device_mode);
void set_known_machine_id(bool known_machine_id);
#if defined(OS_CHROMEOS)
@@ -95,6 +97,7 @@ class CloudPolicyDataStore {
bool token_cache_loaded() const;
const std::string& user_name() const;
UserAffiliation user_affiliation() const;
+ enterprise_management::DeviceRegisterResponse_DeviceMode device_mode() const;
bool known_machine_id() const;
void AddObserver(Observer* observer);
@@ -116,6 +119,7 @@ class CloudPolicyDataStore {
// Data necessary for constructing policy requests.
std::string device_token_;
UserAffiliation user_affiliation_;
+ enterprise_management::DeviceRegisterResponse_DeviceMode device_mode_;
// Constants that won't change over the life-time of a cloud policy
// subsystem.

Powered by Google App Engine
This is Rietveld 408576698