summaryrefslogtreecommitdiffstats
path: root/chrome/browser/policy/device_policy_cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/policy/device_policy_cache.h')
-rw-r--r--chrome/browser/policy/device_policy_cache.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/policy/device_policy_cache.h b/chrome/browser/policy/device_policy_cache.h
index 21ee8e4..3bf5348 100644
--- a/chrome/browser/policy/device_policy_cache.h
+++ b/chrome/browser/policy/device_policy_cache.h
@@ -68,6 +68,12 @@ class DevicePolicyCache : public CloudPolicyCacheBase {
const enterprise_management::PolicyFetchResponse& policy,
std::string* device_token);
+ // Ensures that CrosSettings has established trust on the reporting prefs and
+ // publishes the |device_token| loaded from the cache. It's important that we
+ // have fully-initialized device settings s.t. device status uploads get the
+ // correct reporting policy flags.
+ void SetTokenAndFlagReady(const std::string& device_token);
+
// Decode the various groups of policies.
static void DecodeLoginPolicies(
const enterprise_management::ChromeDeviceSettingsProto& policy,