Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(354)

Unified Diff: chrome/browser/policy/device_token_fetcher.h

Issue 6705031: Send policy blobs to session_manager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nits Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 f0daba7a5e9d5c0a19f83b3fe784ab46db5fa618..e010de831673db5d3c62324ccfd3194111722b04 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 token_fetch_error_max_delay_ms,
int64 unmanaged_device_refresh_rate_ms);
@@ -93,7 +93,7 @@ class DeviceTokenFetcher
// Common initialization helper.
void Initialize(DeviceManagementService* service,
- CloudPolicyCache* cache,
+ CloudPolicyCacheBase* cache,
int64 token_fetch_error_delay_ms,
int64 token_fetch_error_max_delay_ms,
int64 unmanaged_device_refresh_rate_ms);
@@ -117,7 +117,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_;
« no previous file with comments | « chrome/browser/policy/device_policy_cache_unittest.cc ('k') | chrome/browser/policy/device_token_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698