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

Unified Diff: chrome/browser/policy/configuration_policy_provider.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/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>
#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"
#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

Powered by Google App Engine
This is Rietveld 408576698