| Index: chrome/browser/policy/cloud_policy_controller.h
|
| diff --git a/chrome/browser/policy/cloud_policy_controller.h b/chrome/browser/policy/cloud_policy_controller.h
|
| index 42bb1ebafca3f8dfea8732f459aecdc6bf6c13f4..526f66314daed87bc2de0ecb183b82ffafc0e86f 100644
|
| --- a/chrome/browser/policy/cloud_policy_controller.h
|
| +++ b/chrome/browser/policy/cloud_policy_controller.h
|
| @@ -23,7 +23,7 @@ class TokenService;
|
|
|
| namespace policy {
|
|
|
| -class CloudPolicyCache;
|
| +class CloudPolicyCacheBase;
|
| class DeviceManagementBackend;
|
|
|
| // Coordinates the actions of DeviceTokenFetcher, CloudPolicyIdentityStrategy,
|
| @@ -35,7 +35,7 @@ class CloudPolicyController
|
| public CloudPolicyIdentityStrategy::Observer {
|
| public:
|
| // Takes ownership of |backend|; the other parameters are weak pointers.
|
| - CloudPolicyController(CloudPolicyCache* cache,
|
| + CloudPolicyController(CloudPolicyCacheBase* cache,
|
| DeviceManagementBackend* backend,
|
| DeviceTokenFetcher* token_fetcher,
|
| CloudPolicyIdentityStrategy* identity_strategy);
|
| @@ -72,7 +72,7 @@ class CloudPolicyController
|
| friend class CloudPolicyControllerTest;
|
|
|
| // More configurable constructor for use by test cases.
|
| - CloudPolicyController(CloudPolicyCache* cache,
|
| + CloudPolicyController(CloudPolicyCacheBase* cache,
|
| DeviceManagementBackend* backend,
|
| DeviceTokenFetcher* token_fetcher,
|
| CloudPolicyIdentityStrategy* identity_strategy,
|
| @@ -82,7 +82,7 @@ class CloudPolicyController
|
| int64 policy_refresh_error_delay_ms);
|
|
|
| // Called by constructors to perform shared initialization.
|
| - void Initialize(CloudPolicyCache* cache,
|
| + void Initialize(CloudPolicyCacheBase* cache,
|
| DeviceManagementBackend* backend,
|
| DeviceTokenFetcher* token_fetcher,
|
| CloudPolicyIdentityStrategy* identity_strategy,
|
| @@ -111,7 +111,7 @@ class CloudPolicyController
|
| // Computes the policy refresh delay to use.
|
| int64 GetRefreshDelay();
|
|
|
| - CloudPolicyCache* cache_;
|
| + CloudPolicyCacheBase* cache_;
|
| scoped_ptr<DeviceManagementBackend> backend_;
|
| CloudPolicyIdentityStrategy* identity_strategy_;
|
| DeviceTokenFetcher* token_fetcher_;
|
|
|