diff options
author | jkummerow@chromium.org <jkummerow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-29 14:19:27 +0000 |
---|---|---|
committer | jkummerow@chromium.org <jkummerow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-29 14:19:27 +0000 |
commit | 82e4080d97b52798c3605fa73979c0bdf0fdc597 (patch) | |
tree | 56f9ce7093b4faea11ae8528842b5b7fa5c5b72a /chrome/browser/policy/cloud_policy_controller.h | |
parent | 34daae316805e93a5d61faa6124e1a2f5172676e (diff) | |
download | chromium_src-82e4080d97b52798c3605fa73979c0bdf0fdc597.zip chromium_src-82e4080d97b52798c3605fa73979c0bdf0fdc597.tar.gz chromium_src-82e4080d97b52798c3605fa73979c0bdf0fdc597.tar.bz2 |
Send policy blobs to session_manager
And also read policy back from session_manager into CloudPolicyCache, but there are no consumers of those values yet.
BUG=chromium-os:11258
TEST=UserPolicyCacheTest.*; DevicePolicyCacheTest.*
Review URL: http://codereview.chromium.org/6705031
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79677 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/policy/cloud_policy_controller.h')
-rw-r--r-- | chrome/browser/policy/cloud_policy_controller.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/policy/cloud_policy_controller.h b/chrome/browser/policy/cloud_policy_controller.h index 4a75a85..1bc316b 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); @@ -78,7 +78,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, @@ -88,7 +88,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, @@ -117,7 +117,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_; |