Home
last modified time | relevance | path

Searched refs:SetPolicy (Results 1 – 8 of 8) sorted by relevance

/external/chromium/chrome/browser/policy/
Duser_policy_cache_unittest.cc102 void SetPolicy(UserPolicyCache* cache, in SetPolicy() function in policy::UserPolicyCacheTest
112 cache->SetPolicy(*policy); in SetPolicy()
250 TEST_F(UserPolicyCacheTest, SetPolicy) { in TEST_F() argument
256 SetPolicy(&cache, policy, true); in TEST_F()
261 SetPolicy(&cache, policy2, false); in TEST_F()
271 SetPolicy(&cache, policy, true); in TEST_F()
283 SetPolicy(&cache, policy, true); in TEST_F()
292 SetPolicy(&cache, empty_policy, true); in TEST_F()
304 cache.SetPolicy(*policy); in TEST_F()
330 SetPolicy(&cache, updated_policy, true); in TEST_F()
[all …]
Ddevice_policy_cache_unittest.cc157 TEST_F(DevicePolicyCacheTest, SetPolicy) { in TEST_F() argument
182 cache_->SetPolicy(new_policy); in TEST_F()
207 cache_->SetPolicy(new_policy); in TEST_F()
231 cache_->SetPolicy(new_policy); in TEST_F()
Duser_policy_cache.h31 virtual void SetPolicy(const em::PolicyFetchResponse& policy) OVERRIDE;
Ddevice_policy_cache.h36 virtual void SetPolicy(const em::PolicyFetchResponse& policy) OVERRIDE;
Dcloud_policy_cache_base.h50 virtual void SetPolicy(const em::PolicyFetchResponse& policy) = 0;
Ddevice_policy_cache.cc141 void DevicePolicyCache::SetPolicy(const em::PolicyFetchResponse& policy) { in SetPolicy() function in policy::DevicePolicyCache
Duser_policy_cache.cc110 void UserPolicyCache::SetPolicy(const em::PolicyFetchResponse& policy) { in SetPolicy() function in policy::UserPolicyCache
Dcloud_policy_controller.cc114 cache_->SetPolicy(response.response(0)); in HandlePolicyResponse()