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

Unified Diff: chrome/browser/extensions/api/storage/managed_value_store_cache.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: chrome/browser/extensions/api/storage/managed_value_store_cache.h
diff --git a/chrome/browser/extensions/api/storage/managed_value_store_cache.h b/chrome/browser/extensions/api/storage/managed_value_store_cache.h
index f0d5beffa233c29076d0c5fa94ca3a76ec5cd63e..af9032e1b94b094fe311bc9ddef65d658e4010f4 100644
--- a/chrome/browser/extensions/api/storage/managed_value_store_cache.h
+++ b/chrome/browser/extensions/api/storage/managed_value_store_cache.h
@@ -14,6 +14,7 @@
#include "base/macros.h"
#include "base/memory/linked_ptr.h"
#include "base/memory/ref_counted.h"
+#include "components/policy/core/common/policy_namespace.h"
#include "components/policy/core/common/policy_service.h"
#include "extensions/browser/api/storage/settings_observer.h"
#include "extensions/browser/api/storage/value_store_cache.h"
@@ -83,6 +84,10 @@ class ManagedValueStoreCache : public ValueStoreCache,
// get the PolicyService, the EventRouter and the ExtensionService.
Profile* profile_;
+ // The policy domain. This is used for both updating the schema registry with
+ // the list of extensions and for observing the policy updates.
+ policy::PolicyDomain policy_domain_;
+
// The |profile_|'s PolicyService.
policy::PolicyService* policy_service_;

Powered by Google App Engine
This is Rietveld 408576698