Lines Matching defs:policies
121 policy::PolicyMap policies;
123 policies.Set("must", policy::POLICY_LEVEL_MANDATORY,
125 policies.Set("may", policy::POLICY_LEVEL_RECOMMENDED,
128 store_->SetCurrentPolicy(policies);
167 policy::PolicyMap policies;
168 policies.Set("aaa", policy::POLICY_LEVEL_MANDATORY, policy::POLICY_SCOPE_USER,
170 store_->SetCurrentPolicy(policies);
174 // Notify when new policies are added.
184 policies.Set("bbb", policy::POLICY_LEVEL_MANDATORY, policy::POLICY_SCOPE_USER,
186 store_->SetCurrentPolicy(policies);
190 // Notify when policies change.
202 policies.Set("bbb", policy::POLICY_LEVEL_MANDATORY, policy::POLICY_SCOPE_USER,
204 store_->SetCurrentPolicy(policies);
208 // Notify when policies are removed.
218 policies.Erase("bbb");
219 store_->SetCurrentPolicy(policies);
225 store_->SetCurrentPolicy(policies);