/external/chromium_org/chrome/browser/policy/ |
configuration_policy_handler_unittest.cc | 10 #include "components/policy/core/common/policy_map.h" 34 PolicyMap policy_map; local 42 policy_map.Set(kTestPolicy, POLICY_LEVEL_MANDATORY, 45 EXPECT_TRUE(handler.CheckPolicySettings(policy_map, &errors)); 49 policy_map.Set(kTestPolicy, POLICY_LEVEL_MANDATORY, 52 EXPECT_TRUE(handler.CheckPolicySettings(policy_map, &errors)); 56 policy_map.Set(kTestPolicy, POLICY_LEVEL_MANDATORY, 59 EXPECT_TRUE(handler.CheckPolicySettings(policy_map, &errors)); 63 policy_map.Set(kTestPolicy, POLICY_LEVEL_MANDATORY, 67 EXPECT_FALSE(handler.CheckPolicySettings(policy_map, &errors)) 75 PolicyMap policy_map; local 107 PolicyMap policy_map; local 158 PolicyMap policy_map; local 208 PolicyMap policy_map; local 262 PolicyMap policy_map; local 298 PolicyMap policy_map; local 349 PolicyMap policy_map; local 400 PolicyMap policy_map; local 455 PolicyMap policy_map; local [all...] |
/external/chromium_org/chrome/browser/chromeos/policy/ |
configuration_policy_handler_chromeos_unittest.cc | 15 #include "components/policy/core/common/policy_map.h" 83 PolicyMap policy_map; local 84 policy_map.Set(key::kUserAvatarImage, 91 .CheckPolicySettings(policy_map, &errors)); 98 PolicyMap policy_map; local 99 policy_map.Set(key::kUserAvatarImage, 106 .CheckPolicySettings(policy_map, &errors)); 114 PolicyMap policy_map; local 115 policy_map.Set(key::kUserAvatarImage, 122 .CheckPolicySettings(policy_map, &errors)) 129 PolicyMap policy_map; local 145 PolicyMap policy_map; local 161 PolicyMap policy_map; local 198 PolicyMap policy_map; local 221 PolicyMap policy_map; local 235 PolicyMap policy_map; local 250 PolicyMap policy_map; local 278 PolicyMap policy_map; local 298 PolicyMap policy_map; local 324 PolicyMap policy_map; local 332 PolicyMap policy_map; local 345 PolicyMap policy_map; local 360 PolicyMap policy_map; local [all...] |
cloud_external_data_manager_base_test_util.cc | 16 #include "components/policy/core/common/policy_map.h" 46 PolicyMap policy_map; local 47 policy_map.Set(policy, 52 store->SetPolicyMapForTesting(policy_map);
|
user_cloud_policy_store_chromeos_unittest.cc | 117 // Verifies that store_->policy_map() has the HomepageLocation entry with 120 EXPECT_EQ(1U, store_->policy_map().size()); 122 store_->policy_map().Get(key::kHomepageLocation); 164 EXPECT_TRUE(previous_policy.Equals(store_->policy_map())); 179 EXPECT_TRUE(previous_policy.Equals(store_->policy_map())); 197 EXPECT_TRUE(store_->policy_map().empty()); 280 EXPECT_TRUE(store_->policy_map().empty()); 357 EXPECT_TRUE(store_->policy_map().empty()); 367 EXPECT_TRUE(store_->policy_map().empty()); 473 EXPECT_TRUE(store_->policy_map().empty()) [all...] |
device_local_account_policy_provider.cc | 78 .CopyFrom(broker->core()->store()->policy_map());
|
cloud_external_data_manager_base.cc | 25 #include "components/policy/core/common/policy_map.h" 378 const PolicyMap& policy_map = policy_store_->policy_map(); local 379 for (PolicyMap::const_iterator it = policy_map.begin(); 380 it != policy_map.end(); ++it) {
|
device_local_account_policy_service_unittest.cc | 254 EXPECT_FALSE(broker->core()->store()->policy_map().empty()); 269 EXPECT_TRUE(broker->core()->store()->policy_map().empty()); 288 EXPECT_TRUE(broker->core()->store()->policy_map().empty()); 308 broker->core()->store()->policy_map())); 362 broker->core()->store()->policy_map())); 400 broker->core()->store()->policy_map())); 452 broker->core()->store()->policy_map())); 489 broker->core()->store()->policy_map())); [all...] |
/external/chromium_org/chrome/browser/extensions/ |
policy_handlers_unittest.cc | 10 #include "components/policy/core/common/policy_map.h" 20 policy::PolicyMap policy_map; local 25 policy_map.Set(policy::key::kExtensionInstallBlacklist, 31 EXPECT_TRUE(handler.CheckPolicySettings(policy_map, &errors)); 35 policy_map.Set(policy::key::kExtensionInstallBlacklist, 41 EXPECT_TRUE(handler.CheckPolicySettings(policy_map, &errors)); 45 policy_map.Set(policy::key::kExtensionInstallBlacklist, 51 EXPECT_TRUE(handler.CheckPolicySettings(policy_map, &errors)); 55 policy_map.Set(policy::key::kExtensionInstallBlacklist, 61 EXPECT_TRUE(handler.CheckPolicySettings(policy_map, &errors)) 70 policy::PolicyMap policy_map; local 101 policy::PolicyMap policy_map; local 162 policy::PolicyMap policy_map; local 205 policy::PolicyMap policy_map; local 266 policy::PolicyMap policy_map; local [all...] |
/external/chromium/chrome/browser/policy/ |
configuration_policy_store_interface_unittest.cc | 37 EXPECT_TRUE(store_pass.policy_map().empty()); 39 EXPECT_TRUE(store_pass.policy_map().empty()); 41 EXPECT_FALSE(store_pass.policy_map().empty()); 42 EXPECT_EQ(store_pass.policy_map().size(), 1u); 50 EXPECT_TRUE(store_block.policy_map().empty()); 52 EXPECT_TRUE(store_block.policy_map().empty()); 54 EXPECT_TRUE(store_block.policy_map().empty());
|
mock_configuration_policy_store.h | 15 #include "chrome/browser/policy/policy_map.h" 27 const PolicyMap& policy_map() const { return policy_map_; } function in class:policy::MockConfigurationPolicyStore
|
profile_policy_connector_unittest.cc | 29 EXPECT_EQ(store0.policy_map().size(), 1u); 39 EXPECT_EQ(store1.policy_map().size(), 2u); 51 EXPECT_EQ(store2.policy_map().size(), 2u);
|
configuration_policy_provider_mac_unittest.cc | 147 EXPECT_TRUE(store_->policy_map().empty()); 161 EXPECT_TRUE(store_->policy_map().empty()); 176 EXPECT_TRUE(store_->policy_map().empty()); 191 ASSERT_EQ(1U, store_->policy_map().size());
|
config_dir_policy_provider_unittest.cc | 195 EXPECT_TRUE(policy_store_.policy_map().empty()); 206 EXPECT_TRUE(policy_store_.policy_map().empty()); 217 EXPECT_EQ(1U, policy_store_.policy_map().size());
|
user_policy_cache.cc | 15 #include "chrome/browser/policy/policy_map.h" 166 // Does not take ownership of |policy_map|, and callers need to make sure 167 // that |policy_map| outlives this PolicyMapProxy. 168 explicit PolicyMapProxy(PolicyMap* policy_map) 169 : policy_map_(policy_map) {}
|
/external/chromium_org/chrome/browser/chromeos/extensions/ |
device_local_account_external_policy_loader.cc | 14 #include "components/policy/core/common/policy_map.h" 90 const policy::PolicyMap& policy_map = store_->policy_map(); local 92 if (policy_handler.CheckPolicySettings(policy_map, NULL)) { 94 policy_handler.ApplyPolicySettings(policy_map, &pref_value_map);
|
/external/chromium_org/components/policy/core/common/ |
forwarding_policy_provider_unittest.cc | 11 #include "components/policy/core/common/policy_map.h" 96 PolicyMap policy_map; local 97 policy_map.Set("foo", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, 100 bundle->Get(PolicyNamespace(POLICY_DOMAIN_CHROME, "")).CopyFrom(policy_map); 102 .CopyFrom(policy_map); 121 .CopyFrom(policy_map); 131 .CopyFrom(policy_map); 142 PolicyMap policy_map; local 143 policy_map.Set("foo", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, 147 mock_provider_.UpdateChromePolicy(policy_map); [all...] |
policy_service_impl_unittest.cc | 50 PolicyMap* policy_map = local 52 policy_map->Set(kSameLevelPolicy, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, 54 policy_map->Set(kDiffLevelPolicy, level, scope, 56 policy_map = 58 policy_map->Set(kSameLevelPolicy, POLICY_LEVEL_MANDATORY, 61 policy_map->Set(kDiffLevelPolicy, level, scope, 250 PolicyMap policy_map; local 251 policy_map.CopyFrom(previous_policy_map); 252 policy_map.Set("policy", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, 258 .CopyFrom(policy_map); 611 PolicyMap& policy_map = policy_bundle->Get(chrome_namespace); local [all...] |
config_dir_policy_loader.cc | 168 PolicyMap policy_map; local 169 policy_map.LoadFrom(dictionary_value, level, scope_); 171 .MergeFrom(policy_map);
|
policy_bundle_unittest.cc | 11 #include "components/policy/core/common/policy_map.h" 252 PolicyMap& policy_map = local 255 policy_map.Set(kPolicy0, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER,
|
/external/chromium_org/components/policy/core/common/cloud/ |
user_cloud_policy_store_unittest.cc | 66 // Verifies that store_->policy_map() has the appropriate entries. 68 EXPECT_EQ(2U, store->policy_map().size()); 70 store->policy_map().Get(key::kPasswordManagerEnabled); 73 ASSERT_TRUE(store->policy_map().Get(key::kURLBlacklist)); 101 EXPECT_TRUE(store_->policy_map().empty()); 110 EXPECT_TRUE(store_->policy_map().empty()); 115 EXPECT_TRUE(store_->policy_map().empty()); 130 EXPECT_TRUE(store_->policy_map().empty()); 135 EXPECT_TRUE(store_->policy_map().empty()); 143 EXPECT_TRUE(store_->policy_map().empty()) [all...] |
cloud_policy_store.cc | 63 void CloudPolicyStore::SetPolicyMapForTesting(const PolicyMap& policy_map) { 64 policy_map_.CopyFrom(policy_map);
|
cloud_policy_store.h | 13 #include "components/policy/core/common/policy_map.h" 50 // Called on changes to store->policy() and/or store->policy_map(). 68 const PolicyMap& policy_map() const { return policy_map_; } function in class:policy::CloudPolicyStore 123 // successful load of |policy_map| from persistent storage. 128 void SetPolicyMapForTesting(const PolicyMap& policy_map);
|
cloud_policy_manager.cc | 15 #include "components/policy/core/common/policy_map.h" 97 .CopyFrom(store()->policy_map());
|
/external/chromium_org/chrome/browser/policy/cloud/ |
cloud_policy_invalidator.h | 100 void UpdateMaxFetchDelay(const PolicyMap& policy_map);
|
cloud_policy_invalidator.cc | 159 UpdateMaxFetchDelay(store->policy_map()); 281 void CloudPolicyInvalidator::UpdateMaxFetchDelay(const PolicyMap& policy_map) { 286 policy_map.GetValue(key::kMaxInvalidationFetchDelay);
|