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

Unified Diff: chrome/browser/policy/cloud_policy_controller.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/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_;

Powered by Google App Engine
This is Rietveld 408576698