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 74e60a622c54952a58395026c5e6a2d541e861c9..2d54306024ef8607831e47af8114b3842f09327f 100644 |
--- a/chrome/browser/policy/cloud_policy_data_store.h |
+++ b/chrome/browser/policy/cloud_policy_data_store.h |
@@ -82,7 +82,11 @@ 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); |
+ |
+#if defined(OS_CHROMEOS) |
void set_device_status_collector(DeviceStatusCollector* collector); |
+ DeviceStatusCollector* device_status_collector(); |
+#endif |
const std::string& device_id() const; |
const std::string& device_token() const; |
@@ -96,7 +100,6 @@ class CloudPolicyDataStore { |
bool token_cache_loaded() const; |
const std::string& user_name() const; |
UserAffiliation user_affiliation() const; |
- DeviceStatusCollector* device_status_collector(); |
void AddObserver(Observer* observer); |
void RemoveObserver(Observer* observer); |
@@ -130,7 +133,9 @@ class CloudPolicyDataStore { |
bool token_cache_loaded_; |
+#if defined(OS_CHROMEOS) |
scoped_ptr<DeviceStatusCollector> device_status_collector_; |
+#endif |
ObserverList<Observer, true> observer_list_; |