Index: chrome/browser/policy/cloud/cloud_policy_refresh_scheduler.h |
diff --git a/chrome/browser/policy/cloud/cloud_policy_refresh_scheduler.h b/chrome/browser/policy/cloud/cloud_policy_refresh_scheduler.h |
index 4242512e206e49a95fce5f0e67cd236b36085f75..675f964890eaeab2a222df4b69ea63de180dac76 100644 |
--- a/chrome/browser/policy/cloud/cloud_policy_refresh_scheduler.h |
+++ b/chrome/browser/policy/cloud/cloud_policy_refresh_scheduler.h |
@@ -62,6 +62,12 @@ class CloudPolicyRefreshScheduler |
// lower. |
void SetInvalidationServiceAvailability(bool is_available); |
+ // Whether the invalidations service is available and receiving notifications |
+ // of policy updates. |
+ bool invalidations_available() { |
+ return invalidations_available_; |
+ } |
+ |
// CloudPolicyClient::Observer: |
virtual void OnPolicyFetched(CloudPolicyClient* client) OVERRIDE; |
virtual void OnRegistrationStateChanged(CloudPolicyClient* client) OVERRIDE; |