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

Unified Diff: chrome/browser/extensions/api/storage/managed_value_store_cache.h

Issue 2441653003: Enable fetching of admin policies for login screen apps (Closed)
Patch Set: Created 4 years, 2 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/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 af9032e1b94b094fe311bc9ddef65d658e4010f4..f558ef6e1065e927fa68b76a97b658a015cf7956 100644
--- a/chrome/browser/extensions/api/storage/managed_value_store_cache.h
+++ b/chrome/browser/extensions/api/storage/managed_value_store_cache.h
@@ -69,6 +69,9 @@ class ManagedValueStoreCache : public ValueStoreCache,
const policy::PolicyMap& previous,
const policy::PolicyMap& current) override;
+ // Returns the policy domain that should be used for the specified profile.
+ static policy::PolicyDomain GetPolicyDomain(Profile* profile);
+
// Posted by OnPolicyUpdated() to update a PolicyValueStore on the FILE
// thread.
void UpdatePolicyOnFILE(const std::string& extension_id,

Powered by Google App Engine
This is Rietveld 408576698