| Index: chrome/browser/policy/policy_service_impl.cc
|
| diff --git a/chrome/browser/policy/policy_service_impl.cc b/chrome/browser/policy/policy_service_impl.cc
|
| index 2cfdcbbd1341cf92b69518954643584d5bc255d7..7bb477b973d4348967f3e56ab65369936591c268 100644
|
| --- a/chrome/browser/policy/policy_service_impl.cc
|
| +++ b/chrome/browser/policy/policy_service_impl.cc
|
| @@ -69,6 +69,13 @@ void PolicyServiceImpl::RegisterPolicyDomain(
|
| (*it)->RegisterPolicyDomain(descriptor);
|
| }
|
|
|
| +void PolicyServiceImpl::InitialRegisterPolicyDomain(
|
| + scoped_refptr<const PolicyDomainDescriptor> descriptor) {
|
| + domain_descriptors_[descriptor->domain()] = descriptor;
|
| + for (Iterator it = providers_.begin(); it != providers_.end(); ++it)
|
| + (*it)->InitialRegisterPolicyDomain(descriptor);
|
| +}
|
| +
|
| const PolicyMap& PolicyServiceImpl::GetPolicies(
|
| const PolicyNamespace& ns) const {
|
| return policy_bundle_.Get(ns);
|
|
|