Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(910)

Unified Diff: chrome/browser/policy/cloud/component_cloud_policy_service.h

Issue 15061007: Added a PolicyDomainDescriptor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698