Home
last modified time | relevance | path

Searched refs:PolicyMap (Results 1 – 25 of 148) sorted by relevance

123456

/external/chromium_org/components/policy/core/common/
Dpolicy_map.cc14 PolicyMap::Entry::Entry() in Entry()
20 void PolicyMap::Entry::DeleteOwnedMembers() { in DeleteOwnedMembers()
27 scoped_ptr<PolicyMap::Entry> PolicyMap::Entry::DeepCopy() const { in DeepCopy()
40 bool PolicyMap::Entry::has_higher_priority_than( in has_higher_priority_than()
41 const PolicyMap::Entry& other) const { in has_higher_priority_than()
48 bool PolicyMap::Entry::Equals(const PolicyMap::Entry& other) const { in Equals()
56 PolicyMap::PolicyMap() { in PolicyMap() function in policy::PolicyMap
59 PolicyMap::~PolicyMap() { in ~PolicyMap()
63 const PolicyMap::Entry* PolicyMap::Get(const std::string& policy) const { in Get()
68 const Value* PolicyMap::GetValue(const std::string& policy) const { in GetValue()
[all …]
Dpolicy_map.h21 class POLICY_EXPORT PolicyMap {
49 PolicyMap();
50 virtual ~PolicyMap();
73 void Swap(PolicyMap* other);
76 void CopyFrom(const PolicyMap& other);
79 scoped_ptr<PolicyMap> DeepCopy() const;
85 void MergeFrom(const PolicyMap& other);
98 void GetDifferingKeys(const PolicyMap& other,
107 bool Equals(const PolicyMap& other) const;
122 DISALLOW_COPY_AND_ASSIGN(PolicyMap);
Dpolicy_map_unittest.cc27 void SetPolicy(PolicyMap* map, const char* name, Value* value) { in SetPolicy()
31 void SetPolicy(PolicyMap* map, in SetPolicy()
53 PolicyMap map; in TEST_F()
63 const PolicyMap::Entry* entry = map.Get(kTestPolicyName1); in TEST_F()
80 PolicyMap a; in TEST_F()
82 PolicyMap a2; in TEST_F()
84 PolicyMap b; in TEST_F()
86 PolicyMap c; in TEST_F()
89 PolicyMap d; in TEST_F()
92 PolicyMap d2; in TEST_F()
[all …]
Dpolicy_service.h35 const PolicyMap& previous,
36 const PolicyMap& current) = 0;
55 virtual const PolicyMap& GetPolicies(const PolicyNamespace& ns) const = 0;
100 const PolicyMap& previous,
101 const PolicyMap& current) OVERRIDE;
Dpolicy_bundle.h21 typedef std::map<PolicyNamespace, PolicyMap*> MapType;
29 PolicyMap& Get(const PolicyNamespace& ns);
30 const PolicyMap& Get(const PolicyNamespace& ns) const;
66 const PolicyMap kEmpty_;
Dpolicy_bundle.cc18 PolicyMap& PolicyBundle::Get(const PolicyNamespace& ns) { in Get()
20 PolicyMap*& policy = policy_bundle_[ns]; in Get()
22 policy = new PolicyMap(); in Get()
26 const PolicyMap& PolicyBundle::Get(const PolicyNamespace& ns) const { in Get()
63 PolicyMap*& policy = policy_bundle_[it_other->first]; in MergeFrom()
74 PolicyMap*& policy = policy_bundle_[it_other->first]; in MergeFrom()
/external/chromium/chrome/browser/policy/
Dpolicy_map.cc13 PolicyMap::PolicyMap() { in PolicyMap() function in policy::PolicyMap
16 PolicyMap::~PolicyMap() { in ~PolicyMap()
20 const Value* PolicyMap::Get(ConfigurationPolicyType policy) const { in Get()
25 void PolicyMap::Set(ConfigurationPolicyType policy, Value* value) { in Set()
30 void PolicyMap::Erase(ConfigurationPolicyType policy) { in Erase()
38 void PolicyMap::Swap(PolicyMap* other) { in Swap()
42 bool PolicyMap::Equals(const PolicyMap& other) const { in Equals()
47 bool PolicyMap::empty() const { in empty()
51 size_t PolicyMap::size() const { in size()
55 PolicyMap::const_iterator PolicyMap::begin() const { in begin()
[all …]
Dpolicy_map_unittest.cc14 PolicyMap map; in TEST()
24 PolicyMap a; in TEST()
26 PolicyMap a2; in TEST()
28 PolicyMap b; in TEST()
30 PolicyMap c; in TEST()
39 PolicyMap empty1; in TEST()
40 PolicyMap empty2; in TEST()
48 PolicyMap a; in TEST()
50 PolicyMap b; in TEST()
63 PolicyMap empty; in TEST()
Dpolicy_map.h18 class PolicyMap {
23 PolicyMap();
24 virtual ~PolicyMap();
36 void Swap(PolicyMap* other);
38 bool Equals(const PolicyMap& other) const;
53 DISALLOW_COPY_AND_ASSIGN(PolicyMap);
Duser_policy_cache_unittest.cc29 PolicyMap* mandatory, PolicyMap* recommended);
120 const PolicyMap& mandatory_policy(const UserPolicyCache& cache) { in mandatory_policy()
124 const PolicyMap& recommended_policy(const UserPolicyCache& cache) { in recommended_policy()
146 PolicyMap mandatory_policy; in TEST_F()
147 PolicyMap recommended_policy; in TEST_F()
149 PolicyMap mandatory; in TEST_F()
153 PolicyMap recommended; in TEST_F()
196 PolicyMap empty; in TEST_F()
205 PolicyMap empty; in TEST_F()
218 PolicyMap empty; in TEST_F()
[all …]
Dcloud_policy_cache_base.h21 class PolicyMap; variable
92 PolicyMap* mandatory,
93 PolicyMap* recommended) = 0;
98 PolicyMap* mandatory,
99 PolicyMap* recommended,
122 PolicyMap mandatory_policy_;
123 PolicyMap recommended_policy_;
Ddevice_policy_cache.h21 class PolicyMap; variable
56 PolicyMap* mandatory,
57 PolicyMap* recommended) OVERRIDE;
66 PolicyMap* mandatory,
67 PolicyMap* recommended);
Duser_policy_cache.h40 PolicyMap* mandatory,
41 PolicyMap* recommended) OVERRIDE;
52 PolicyMap* mandatory,
53 PolicyMap* recommended);
/external/chromium_org/chrome/browser/chromeos/policy/
Dconfiguration_policy_handler_chromeos.h29 virtual bool CheckPolicySettings(const PolicyMap& policies,
32 virtual void ApplyPolicySettings(const PolicyMap& policies,
50 virtual bool CheckPolicySettings(const PolicyMap& policies,
52 virtual void ApplyPolicySettings(const PolicyMap& policies,
54 virtual void PrepareForDisplaying(PolicyMap* policies) const OVERRIDE;
86 virtual void ApplyPolicySettings(const PolicyMap& policies,
99 virtual void ApplyPolicySettings(const PolicyMap& policies,
116 virtual bool CheckPolicySettings(const PolicyMap& policies,
118 virtual void ApplyPolicySettings(const PolicyMap& policies,
133 virtual void ApplyPolicySettings(const PolicyMap& policies,
Dconfiguration_policy_handler_chromeos_unittest.cc26 PolicyMap policy_;
78 .CheckPolicySettings(PolicyMap(), &errors)); in TEST()
83 PolicyMap policy_map; in TEST()
98 PolicyMap policy_map; in TEST()
114 PolicyMap policy_map; in TEST()
129 PolicyMap policy_map; in TEST()
145 PolicyMap policy_map; in TEST()
161 PolicyMap policy_map; in TEST()
198 PolicyMap policy_map; in TEST()
221 PolicyMap policy_map; in TEST()
[all …]
Dlogin_profile_policy_provider.cc30 const PolicyMap& device_policy_map, in ApplyDevicePolicyAsRecommendedPolicy()
31 PolicyMap* user_policy_map) { in ApplyDevicePolicyAsRecommendedPolicy()
46 PolicyMap* user_policy_map) { in ApplyValueAsMandatoryPolicy()
90 const PolicyMap& previous, in OnPolicyUpdated()
91 const PolicyMap& current) { in OnPolicyUpdated()
113 const PolicyMap& device_policy_map = in UpdateFromDevicePolicy()
116 PolicyMap& user_policy_map = bundle->Get(chrome_namespaces); in UpdateFromDevicePolicy()
Dconfiguration_policy_handler_chromeos.cc75 bool ExternalDataPolicyHandler::CheckPolicySettings(const PolicyMap& policies, in CheckPolicySettings()
114 void ExternalDataPolicyHandler::ApplyPolicySettings(const PolicyMap& policies, in ApplyPolicySettings()
139 const PolicyMap& policies, in CheckPolicySettings()
182 const PolicyMap& policies, in ApplyPolicySettings()
207 PolicyMap* policies) const { in PrepareForDisplaying()
208 const PolicyMap::Entry* entry = policies->Get(policy_name()); in PrepareForDisplaying()
262 const PolicyMap& policies, in ApplyPolicySettings()
291 const PolicyMap& policies, in ApplyPolicySettings()
314 const PolicyMap& policies, in CheckPolicySettings()
329 const PolicyMap& policies, in ApplyPolicySettings()
[all …]
Dcloud_external_data_policy_observer.cc47 const PolicyMap& previous,
48 const PolicyMap& current) OVERRIDE;
72 const PolicyMap::Entry* entry = policy_service_->GetPolicies( in PolicyServiceObserver()
87 const PolicyMap& previous, in OnPolicyUpdated()
88 const PolicyMap& current) { in OnPolicyUpdated()
91 const PolicyMap::Entry* previous_entry = previous.Get(parent_->policy_); in OnPolicyUpdated()
92 const PolicyMap::Entry* current_entry = current.Get(parent_->policy_); in OnPolicyUpdated()
218 const PolicyMap::Entry* entry = in OnPolicyUpdated()
231 PolicyMap::Entry& map_entry = device_local_account_entries_[user_id]; in OnPolicyUpdated()
287 const PolicyMap::Entry* entry) { in HandleExternalDataPolicyUpdate()
/external/chromium_org/chrome/browser/search_engines/
Ddefault_search_policy_handler.h22 virtual void ApplyPolicySettings(const PolicyMap& policies,
36 virtual bool CheckPolicySettings(const PolicyMap& policies,
38 virtual void ApplyPolicySettings(const PolicyMap& policies,
44 bool CheckIndividualPolicies(const PolicyMap& policies,
48 bool HasDefaultSearchPolicy(const PolicyMap& policies,
52 bool AnyDefaultSearchPoliciesSpecified(const PolicyMap& policies);
55 bool DefaultSearchProviderIsDisabled(const PolicyMap& policies);
59 bool DefaultSearchURLIsValid(const PolicyMap& policies,
/external/chromium_org/components/policy/core/browser/
Dconfiguration_policy_handler.h21 class PolicyMap; variable
43 virtual bool CheckPolicySettings(const PolicyMap& policies,
48 virtual void ApplyPolicySettings(const PolicyMap& policies,
54 virtual void PrepareForDisplaying(PolicyMap* policies) const;
70 virtual bool CheckPolicySettings(const PolicyMap& policies,
77 bool CheckAndGetValue(const PolicyMap& policies,
103 virtual bool CheckPolicySettings(const PolicyMap& policies,
139 virtual void ApplyPolicySettings(const PolicyMap& policies,
165 virtual bool CheckPolicySettings(const PolicyMap& policies,
167 virtual void ApplyPolicySettings(const PolicyMap& policies,
[all …]
Dconfiguration_policy_handler.cc49 PolicyMap* policies) const {} in PrepareForDisplaying()
68 bool TypeCheckingPolicyHandler::CheckPolicySettings(const PolicyMap& policies, in CheckPolicySettings()
74 bool TypeCheckingPolicyHandler::CheckAndGetValue(const PolicyMap& policies, in CheckAndGetValue()
101 bool IntRangePolicyHandlerBase::CheckPolicySettings(const PolicyMap& policies, in CheckPolicySettings()
155 const PolicyMap& policies, in CheckPolicySettings()
163 const PolicyMap& policies, in ApplyPolicySettings()
234 void IntRangePolicyHandler::ApplyPolicySettings(const PolicyMap& policies, in ApplyPolicySettings()
263 const PolicyMap& policies, in ApplyPolicySettings()
289 void SimplePolicyHandler::ApplyPolicySettings(const PolicyMap& policies, in ApplyPolicySettings()
/external/chromium_org/chrome/browser/extensions/
Dpolicy_handlers.h13 class PolicyMap; variable
29 virtual bool CheckPolicySettings(const policy::PolicyMap& policies,
31 virtual void ApplyPolicySettings(const policy::PolicyMap& policies,
38 bool CheckAndGetList(const policy::PolicyMap& policies,
56 virtual bool CheckPolicySettings(const policy::PolicyMap& policies,
58 virtual void ApplyPolicySettings(const policy::PolicyMap& policies,
80 virtual bool CheckPolicySettings(const policy::PolicyMap& policies,
82 virtual void ApplyPolicySettings(const policy::PolicyMap& policies,
/external/chromium_org/chrome/browser/net/
Dproxy_policy_handler_unittest.cc76 PolicyMap policy; in TEST_F()
96 PolicyMap policy; in TEST_F()
116 PolicyMap policy; in TEST_F()
129 PolicyMap policy; in TEST_F()
140 PolicyMap policy; in TEST_F()
150 PolicyMap policy; in TEST_F()
164 PolicyMap policy; in TEST_F()
177 PolicyMap policy; in TEST_F()
193 PolicyMap policy; in TEST_F()
206 PolicyMap policy; in TEST_F()
[all …]
Dproxy_policy_handler.h43 virtual bool CheckPolicySettings(const PolicyMap& policies,
45 virtual void ApplyPolicySettings(const PolicyMap& policies,
49 const base::Value* GetProxyPolicyValue(const PolicyMap& policies,
55 bool CheckProxyModeAndServerMode(const PolicyMap& policies,
/external/chromium_org/chrome/browser/sessions/
Drestore_on_startup_policy_handler.h15 class PolicyMap; variable
24 virtual bool CheckPolicySettings(const PolicyMap& policies,
26 virtual void ApplyPolicySettings(const PolicyMap& policies,
30 void ApplyPolicySettingsFromHomePage(const PolicyMap& policies,

123456