| Index: chrome/browser/policy/configuration_policy_provider.h
|
| diff --git a/chrome/browser/policy/configuration_policy_provider.h b/chrome/browser/policy/configuration_policy_provider.h
|
| index 2d7372a65d77fb1c8dfa15248c1b4bf5d8278239..79fd3cacd256735e7ea2c79b1de829a4dcbb5962 100644
|
| --- a/chrome/browser/policy/configuration_policy_provider.h
|
| +++ b/chrome/browser/policy/configuration_policy_provider.h
|
| @@ -35,6 +35,9 @@ class ConfigurationPolicyProvider {
|
| // to post to the FILE thread, for example.
|
| virtual ~ConfigurationPolicyProvider();
|
|
|
| + // Perform an initial synchronous load before initialization.
|
| + virtual void InitialLoad();
|
| +
|
| // Invoked as soon as the main message loops are spinning. Policy providers
|
| // are created early during startup to provide the initial policies; the
|
| // Init() call allows them to perform initialization tasks that require
|
| @@ -75,6 +78,10 @@ class ConfigurationPolicyProvider {
|
| virtual void RegisterPolicyDomain(
|
| scoped_refptr<const PolicyDomainDescriptor> descriptor);
|
|
|
| + // Registers a policy domain without triggering a policy load.
|
| + virtual void InitialRegisterPolicyDomain(
|
| + scoped_refptr<const PolicyDomainDescriptor> descriptor);
|
| +
|
| protected:
|
| // Subclasses must invoke this to update the policies currently served by
|
| // this provider. UpdatePolicy() takes ownership of |policies|.
|
|
|