| Index: chrome/browser/policy/cloud/component_cloud_policy_service.h
|
| diff --git a/chrome/browser/policy/cloud/component_cloud_policy_service.h b/chrome/browser/policy/cloud/component_cloud_policy_service.h
|
| index 1f248f11cde944abc19552141c21992fecc0fb82..fefbd154775b5c99bcc8027a7f8e88be8bf22d7b 100644
|
| --- a/chrome/browser/policy/cloud/component_cloud_policy_service.h
|
| +++ b/chrome/browser/policy/cloud/component_cloud_policy_service.h
|
| @@ -83,13 +83,12 @@ class ComponentCloudPolicyService : public CloudPolicyClient::Observer,
|
| // remote policy data.
|
| void Disconnect();
|
|
|
| - // |component_ids| is the complete set of components to track for the given
|
| - // |domain|. This purges unused components from the cache, and starts
|
| - // updating the components in |component_ids|.
|
| - // It's only valid to call this for domains that are supported, i.e.
|
| - // SupportsDomain(domain) is true.
|
| - void RegisterPolicyDomain(PolicyDomain domain,
|
| - const std::set<std::string>& component_ids);
|
| + // |descriptor| lists the complete set of components to track for its domain.
|
| + // This purges unused components from the cache, and starts updating the
|
| + // components listed in the descriptor. It's only valid to call this for
|
| + // domains that are supported, i.e. SupportsDomain(domain) is true.
|
| + void RegisterPolicyDomain(
|
| + scoped_refptr<const PolicyDomainDescriptor> descriptor);
|
|
|
| // CloudPolicyClient::Observer implementation:
|
| virtual void OnPolicyFetched(CloudPolicyClient* client) OVERRIDE;
|
|
|