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

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: 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 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_;

Powered by Google App Engine
This is Rietveld 408576698