| Index: chrome/browser/policy/device_token_fetcher.h
|
| diff --git a/chrome/browser/policy/device_token_fetcher.h b/chrome/browser/policy/device_token_fetcher.h
|
| index 7f7810031a08a4ac281f5c5695a289ed7ae7c916..99c8776cab9ec63ead575bc07584c841fa8b989a 100644
|
| --- a/chrome/browser/policy/device_token_fetcher.h
|
| +++ b/chrome/browser/policy/device_token_fetcher.h
|
| @@ -16,7 +16,7 @@
|
|
|
| namespace policy {
|
|
|
| -class CloudPolicyCache;
|
| +class CloudPolicyCacheBase;
|
| class DeviceManagementService;
|
|
|
| namespace em = enterprise_management;
|
| @@ -38,10 +38,10 @@ class DeviceTokenFetcher
|
| // |service| is used to talk to the device management service and |cache| is
|
| // used to persist whether the device is unmanaged.
|
| DeviceTokenFetcher(DeviceManagementService* service,
|
| - CloudPolicyCache* cache);
|
| + CloudPolicyCacheBase* cache);
|
| // Version for tests that allows to set timing paramters.
|
| DeviceTokenFetcher(DeviceManagementService* service,
|
| - CloudPolicyCache* cache,
|
| + CloudPolicyCacheBase* cache,
|
| int64 token_fetch_error_delay_ms,
|
| int64 unmanaged_device_refresh_rate_ms);
|
| virtual ~DeviceTokenFetcher();
|
| @@ -88,7 +88,7 @@ class DeviceTokenFetcher
|
|
|
| // Common initialization helper.
|
| void Initialize(DeviceManagementService* service,
|
| - CloudPolicyCache* cache,
|
| + CloudPolicyCacheBase* cache,
|
| int64 token_fetch_error_delay_ms,
|
| int64 unmanaged_device_refresh_rate_ms);
|
|
|
| @@ -111,7 +111,7 @@ class DeviceTokenFetcher
|
| scoped_ptr<DeviceManagementBackend> backend_;
|
|
|
| // Reference to the cache. Used to persist and read unmanaged state.
|
| - CloudPolicyCache* cache_;
|
| + CloudPolicyCacheBase* cache_;
|
|
|
| // Refresh parameters.
|
| int64 token_fetch_error_delay_ms_;
|
|
|