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

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 comments and added more tests. 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..f103e4c2cc5c8d78cd0e5b07f6b6bd6b3045ddef 100644
--- a/chrome/browser/policy/cloud_policy_data_store.h
+++ b/chrome/browser/policy/cloud_policy_data_store.h
@@ -15,6 +15,7 @@
#if defined(OS_CHROMEOS)
#include "chrome/browser/policy/device_status_collector.h"
+#include "chrome/browser/policy/enterprise_install_attributes.h"
#endif
namespace policy {
@@ -78,6 +79,8 @@ class CloudPolicyDataStore {
void set_known_machine_id(bool known_machine_id);
#if defined(OS_CHROMEOS)
+ void set_device_mode(EnterpriseInstallAttributes::DeviceMode device_mode);
+ EnterpriseInstallAttributes::DeviceMode device_mode() const;
void set_device_status_collector(DeviceStatusCollector* collector);
DeviceStatusCollector* device_status_collector();
#endif
@@ -131,6 +134,7 @@ class CloudPolicyDataStore {
bool token_cache_loaded_;
#if defined(OS_CHROMEOS)
+ EnterpriseInstallAttributes::DeviceMode device_mode_;
scoped_ptr<DeviceStatusCollector> device_status_collector_;
#endif

Powered by Google App Engine
This is Rietveld 408576698