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

Unified Diff: components/policy/core/common/schema_registry.h

Issue 2440473004: Add policy domain for signin screen apps (Closed)
Patch Set: More comments according to feedback Created 4 years, 1 month 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: components/policy/core/common/schema_registry.h
diff --git a/components/policy/core/common/schema_registry.h b/components/policy/core/common/schema_registry.h
index 82e16f8a958c2b1d8e054f7a6f9c0bf1d0c97661..729b99a1b93738fb2173a06d19fbc479a564609a 100644
--- a/components/policy/core/common/schema_registry.h
+++ b/components/policy/core/common/schema_registry.h
@@ -75,6 +75,11 @@ class POLICY_EXPORT SchemaRegistry : public base::NonThreadSafe {
// registered. It must be invoked at least once for each policy domain;
// subsequent calls for the same domain are ignored.
void SetReady(PolicyDomain domain);
+ // This is equivalent to calling |SetReady| with each of the policy domains.
+ void SetAllDomainsReady();
+ // This is equivalent to calling |SetReady| with each of the domains that
+ // correspond to policy for extensions.
+ void SetExtensionsDomainsReady();
void AddObserver(Observer* observer);
void RemoveObserver(Observer* observer);
« no previous file with comments | « components/policy/core/common/policy_test_utils.cc ('k') | components/policy/core/common/schema_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698