Chromium Code Reviews| 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 ac004d7f1155aa168ac65108ca3a83513e6fe35b..a76424482a6cefd76eec041f44ab1d675655e023 100644 |
| --- a/chrome/browser/policy/configuration_policy_provider.h |
| +++ b/chrome/browser/policy/configuration_policy_provider.h |
| @@ -9,9 +9,11 @@ |
| #include <string> |
|
bartfab (slow)
2013/05/21 12:10:56
Nit: No longer used.
Joao da Silva
2013/05/21 17:50:14
Done.
|
| #include "base/basictypes.h" |
| +#include "base/memory/ref_counted.h" |
| #include "base/memory/scoped_ptr.h" |
| #include "base/observer_list.h" |
| #include "chrome/browser/policy/policy_bundle.h" |
| +#include "chrome/browser/policy/policy_domain_descriptor.h" |
|
bartfab (slow)
2013/05/21 12:10:56
Nit: A forward-declaration would be sufficient her
Joao da Silva
2013/05/21 17:50:14
Done.
|
| #include "chrome/browser/policy/policy_service.h" |
| namespace policy { |
| @@ -68,13 +70,12 @@ class ConfigurationPolicyProvider { |
| virtual void RemoveObserver(Observer* observer); |
| // Notifies the provider that there is interest in loading policy for the |
| - // listed components of the given |domain|. The list is complete; all the |
| + // listed components in the given |descriptor|. The list is complete; all the |
| // components that matter for the domain are included, and components not |
| // included can be discarded. The provider can ignore this information or use |
| // it to selectively load the corresponding policy from its sources. |
| virtual void RegisterPolicyDomain( |
| - PolicyDomain domain, |
| - const std::set<std::string>& component_ids); |
| + scoped_refptr<const PolicyDomainDescriptor> descriptor); |
| protected: |
| // Subclasses must invoke this to update the policies currently served by |