Searched defs:policy_map (Results 1 - 23 of 23) sorted by relevance

/external/chromium_org/chrome/browser/extensions/api/messaging/
H A Dnative_messaging_policy_handler_unittest.cc11 #include "components/policy/core/common/policy_map.h"
21 policy::PolicyMap policy_map; local
25 policy_map.Set(policy::key::kNativeMessagingBlacklist,
32 EXPECT_TRUE(handler.CheckPolicySettings(policy_map, &errors));
37 policy_map.Set(policy::key::kNativeMessagingBlacklist,
44 EXPECT_TRUE(handler.CheckPolicySettings(policy_map, &errors));
49 policy_map.Set(policy::key::kNativeMessagingBlacklist,
56 EXPECT_TRUE(handler.CheckPolicySettings(policy_map, &errors));
61 policy_map.Set(policy::key::kNativeMessagingBlacklist,
68 EXPECT_TRUE(handler.CheckPolicySettings(policy_map,
78 policy::PolicyMap policy_map; local
[all...]
/external/chromium_org/chrome/browser/chromeos/policy/
H A Dcloud_external_data_manager_base_test_util.cc15 #include "components/policy/core/common/policy_map.h"
46 PolicyMap policy_map; local
47 policy_map.Set(policy,
52 store->SetPolicyMapForTesting(policy_map);
H A Ddevice_local_account_extension_tracker.cc12 #include "components/policy/core/common/policy_map.h"
56 const policy::PolicyMap& policy_map = store_->policy_map(); local
61 if (!policy_handler.CheckPolicySettings(policy_map, NULL))
65 policy_handler.ApplyPolicySettings(policy_map, &pref_value_map);
H A Dconfiguration_policy_handler_chromeos_unittest.cc16 #include "components/policy/core/common/policy_map.h"
108 PolicyMap policy_map; local
109 policy_map.Set(key::kUserAvatarImage,
116 .CheckPolicySettings(policy_map, &errors));
123 PolicyMap policy_map; local
124 policy_map.Set(key::kUserAvatarImage,
131 .CheckPolicySettings(policy_map, &errors));
139 PolicyMap policy_map; local
140 policy_map.Set(key::kUserAvatarImage,
147 .CheckPolicySettings(policy_map,
154 PolicyMap policy_map; local
170 PolicyMap policy_map; local
188 PolicyMap policy_map; local
225 PolicyMap policy_map; local
248 PolicyMap policy_map; local
262 PolicyMap policy_map; local
277 PolicyMap policy_map; local
305 PolicyMap policy_map; local
326 PolicyMap policy_map; local
352 PolicyMap policy_map; local
360 PolicyMap policy_map; local
373 PolicyMap policy_map; local
[all...]
H A Dcloud_external_data_manager_base.cc25 #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) {
H A Dcloud_external_data_policy_observer_unittest.cc40 #include "components/policy/core/common/policy_map.h"
349 PolicyMap policy_map; local
351 policy_map.Set(
359 user_policy_provider_.UpdateChromePolicy(policy_map);
H A Duser_cloud_policy_manager_chromeos.cc25 #include "components/policy/core/common/policy_map.h"
280 void UserCloudPolicyManagerChromeOS::GetChromePolicy(PolicyMap* policy_map) { argument
281 CloudPolicyManager::GetChromePolicy(policy_map);
288 SetEnterpriseUsersDefaults(policy_map);
/external/chromium_org/chrome/browser/extensions/
H A Dpolicy_handlers_unittest.cc10 #include "components/policy/core/common/policy_map.h"
21 policy::PolicyMap policy_map; local
26 policy_map.Set(policy::key::kExtensionInstallBlacklist,
32 EXPECT_TRUE(handler.CheckPolicySettings(policy_map, &errors));
36 policy_map.Set(policy::key::kExtensionInstallBlacklist,
42 EXPECT_TRUE(handler.CheckPolicySettings(policy_map, &errors));
46 policy_map.Set(policy::key::kExtensionInstallBlacklist,
52 EXPECT_TRUE(handler.CheckPolicySettings(policy_map, &errors));
56 policy_map.Set(policy::key::kExtensionInstallBlacklist,
62 EXPECT_TRUE(handler.CheckPolicySettings(policy_map,
71 policy::PolicyMap policy_map; local
102 policy::PolicyMap policy_map; local
163 policy::PolicyMap policy_map; local
206 policy::PolicyMap policy_map; local
267 policy::PolicyMap policy_map; local
[all...]
/external/chromium_org/components/policy/core/common/
H A Dgenerate_policy_source_unittest.cc178 PolicyMap policy_map; local
181 SetEnterpriseUsersDefaults(&policy_map);
184 policy_map.GetValue(key::kChromeOsMultiProfileUserBehavior);
189 policy_map.Set(key::kChromeOsMultiProfileUserBehavior,
194 SetEnterpriseUsersDefaults(&policy_map);
196 policy_map.GetValue(key::kChromeOsMultiProfileUserBehavior);
H A Dforwarding_policy_provider_unittest.cc13 #include "components/policy/core/common/policy_map.h"
124 PolicyMap policy_map; local
125 policy_map.Set("foo",
131 bundle->Get(PolicyNamespace(POLICY_DOMAIN_CHROME, "")).CopyFrom(policy_map);
133 .CopyFrom(policy_map);
152 .CopyFrom(policy_map);
162 .CopyFrom(policy_map);
173 PolicyMap policy_map; local
174 policy_map.Set("foo",
181 mock_provider_.UpdateChromePolicy(policy_map);
[all...]
H A Dconfig_dir_policy_loader.cc167 PolicyMap policy_map; local
168 policy_map.LoadFrom(dictionary_value, level, scope_);
170 .MergeFrom(policy_map);
H A Dpolicy_bundle_unittest.cc11 #include "components/policy/core/common/policy_map.h"
282 PolicyMap& policy_map = local
285 policy_map.Set(kPolicy0,
H A Dpolicy_service_impl_unittest.cc50 PolicyMap* policy_map = local
52 policy_map->Set(kSameLevelPolicy,
57 policy_map->Set(
59 policy_map =
61 policy_map->Set(kSameLevelPolicy,
66 policy_map->Set(
288 PolicyMap policy_map; local
289 policy_map.CopyFrom(previous_policy_map);
290 policy_map.Set("policy",
299 .CopyFrom(policy_map);
691 PolicyMap& policy_map = policy_bundle->Get(chrome_namespace); local
[all...]
/external/chromium_org/components/policy/core/common/cloud/
H A Dcloud_policy_store.cc63 void CloudPolicyStore::SetPolicyMapForTesting(const PolicyMap& policy_map) { argument
64 policy_map_.CopyFrom(policy_map);
H A Dcloud_policy_manager.cc15 #include "components/policy/core/common/policy_map.h"
104 void CloudPolicyManager::GetChromePolicy(PolicyMap* policy_map) { argument
105 policy_map->CopyFrom(store()->policy_map());
H A Dcloud_policy_store.h13 #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);
/external/chromium_org/chrome/browser/chromeos/extensions/
H A Ddevice_local_account_external_policy_loader.cc14 #include "components/policy/core/common/policy_map.h"
96 const policy::PolicyMap& policy_map = store_->policy_map(); local
100 if (policy_handler.CheckPolicySettings(policy_map, NULL)) {
102 policy_handler.ApplyPolicySettings(policy_map, &pref_value_map);
/external/chromium_org/components/policy/core/browser/
H A Dconfiguration_policy_handler_unittest.cc13 #include "components/policy/core/common/policy_map.h"
54 PolicyMap policy_map; local
61 policy_map.Set(kTestPolicy, POLICY_LEVEL_MANDATORY,
64 EXPECT_TRUE(handler.CheckPolicySettings(policy_map, &errors));
68 policy_map.Set(kTestPolicy, POLICY_LEVEL_MANDATORY,
71 EXPECT_TRUE(handler.CheckPolicySettings(policy_map, &errors));
75 policy_map.Set(kTestPolicy, POLICY_LEVEL_MANDATORY,
78 EXPECT_TRUE(handler.CheckPolicySettings(policy_map, &errors));
82 policy_map.Set(kTestPolicy,
88 EXPECT_FALSE(handler.CheckPolicySettings(policy_map,
96 PolicyMap policy_map; local
127 PolicyMap policy_map; local
195 PolicyMap policy_map; local
263 PolicyMap policy_map; local
332 PolicyMap policy_map; local
377 PolicyMap policy_map; local
446 PolicyMap policy_map; local
515 PolicyMap policy_map; local
585 PolicyMap policy_map; local
664 PolicyMap policy_map; local
[all...]
/external/chromium_org/chrome/browser/chromeos/system/
H A Dtray_accessibility_browsertest.cc34 #include "components/policy/core/common/policy_map.h"
104 policy::PolicyMap policy_map; local
105 policy_map.Set(policy::key::kShowAccessibilityOptionsInSystemTrayMenu,
110 provider_.UpdateChromePolicy(policy_map);
/external/chromium_org/chrome/browser/extensions/api/storage/
H A Dsettings_apitest.cc36 #include "components/policy/core/common/policy_map.h"
136 policy::PolicyMap& policy_map = bundle->Get(policy::PolicyNamespace( local
138 policy_map.LoadFrom(
/external/chromium_org/chrome/browser/policy/cloud/
H A Dcloud_policy_browsertest.cc35 #include "components/policy/core/common/policy_map.h"
138 void GetExpectedDefaultPolicy(PolicyMap* policy_map) { argument
140 policy_map->Set(key::kChromeOsMultiProfileUserBehavior,
145 policy_map->Set(key::kEasyUnlockAllowed,
H A Dcloud_policy_invalidator.cc183 UpdateMaxFetchDelay(store->policy_map());
327 void CloudPolicyInvalidator::UpdateMaxFetchDelay(const PolicyMap& policy_map) { argument
332 policy_map.GetValue(key::kMaxInvalidationFetchDelay);
/external/chromium_org/chrome/browser/policy/
H A Dpolicy_prefs_browsertest.cc38 #include "components/policy/core/common/policy_map.h"
515 PolicyMap policy_map; local
520 policy_map.Set(
530 provider_.UpdateChromePolicy(policy_map);

Completed in 339 milliseconds