| Index: chrome/browser/policy/cloud_policy_subsystem.h
|
| diff --git a/chrome/browser/policy/cloud_policy_subsystem.h b/chrome/browser/policy/cloud_policy_subsystem.h
|
| index e1ac373808879a887b4bc6bd9d9ba8ae174a11ee..915e3c08bbeb9a6dd659c8d4d07c0d9f1a19dee3 100644
|
| --- a/chrome/browser/policy/cloud_policy_subsystem.h
|
| +++ b/chrome/browser/policy/cloud_policy_subsystem.h
|
| @@ -40,6 +40,7 @@ class CloudPolicySubsystem
|
| UNMANAGED, // This device is unmanaged.
|
| NETWORK_ERROR, // A network error occurred, retrying makes sense.
|
| LOCAL_ERROR, // Retrying is futile.
|
| + TOKEN_FETCHED, // Device has been successfully registered.
|
| SUCCESS // Policy has been fetched successfully and is in effect.
|
| };
|
|
|
| @@ -94,6 +95,14 @@ class CloudPolicySubsystem
|
| // subsystem.
|
| void StopAutoRetry();
|
|
|
| + // Sets wether the policy fetching should not be started immediately after
|
| + // token fetch.
|
| + void StopAfterTokenFetch(bool enabled);
|
| +
|
| + // Sends a request to the device management backend to fetch policy if one
|
| + // isn't already outstanding.
|
| + void SendPolicyRequest();
|
| +
|
| ConfigurationPolicyProvider* GetManagedPolicyProvider();
|
| ConfigurationPolicyProvider* GetRecommendedPolicyProvider();
|
|
|
|
|