Home
last modified time | relevance | path

Searched refs:mandatory_policy (Results 1 – 2 of 2) sorted by relevance

/external/chromium/chrome/browser/policy/
Duser_policy_cache_unittest.cc120 const PolicyMap& mandatory_policy(const UserPolicyCache& cache) { in mandatory_policy() function in policy::UserPolicyCacheTest
146 PolicyMap mandatory_policy; in TEST_F() local
148 DecodePolicy(settings, &mandatory_policy, &recommended_policy); in TEST_F()
155 EXPECT_TRUE(mandatory.Equals(mandatory_policy)); in TEST_F()
197 EXPECT_TRUE(empty.Equals(mandatory_policy(cache))); in TEST_F()
206 EXPECT_TRUE(empty.Equals(mandatory_policy(cache))); in TEST_F()
219 EXPECT_TRUE(empty.Equals(mandatory_policy(cache))); in TEST_F()
231 EXPECT_TRUE(empty.Equals(mandatory_policy(cache))); in TEST_F()
247 EXPECT_TRUE(expected.Equals(mandatory_policy(cache))); in TEST_F()
266 EXPECT_TRUE(expected.Equals(mandatory_policy(cache))); in TEST_F()
[all …]
Dcloud_policy_cache_base.cc93 PolicyMap mandatory_policy; in SetPolicyInternal() local
97 bool ok = DecodePolicyResponse(policy, &mandatory_policy, &recommended_policy, in SetPolicyInternal()
115 !mandatory_policy_.Equals(mandatory_policy) || in SetPolicyInternal()
117 mandatory_policy_.Swap(&mandatory_policy); in SetPolicyInternal()