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

Unified Diff: chrome/browser/policy/async_policy_loader.h

Issue 22493010: policy: load JSON schema into domain descriptor at start time. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add comments and clean up includes Created 7 years, 3 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/async_policy_loader.h
diff --git a/chrome/browser/policy/async_policy_loader.h b/chrome/browser/policy/async_policy_loader.h
index 2da0a3366f7d42190dad20f0725ae2546c18633e..e80bf6f7e7027446f25820aed115aa50bbbb14dc 100644
--- a/chrome/browser/policy/async_policy_loader.h
+++ b/chrome/browser/policy/async_policy_loader.h
@@ -90,6 +90,10 @@ class AsyncPolicyLoader {
// is also used to initialize |last_modification_time_|.
scoped_ptr<PolicyBundle> InitialLoad();
+ // Registers a policy domain without triggering a policy load.
+ void InitialRegisterPolicyDomain(
+ scoped_refptr<const PolicyDomainDescriptor> descriptor);
+
// Used by the AsyncPolicyProvider to install the |update_callback_|.
// Invoked on the background thread.
void Init(const UpdateCallback& update_callback);
« no previous file with comments | « no previous file | chrome/browser/policy/async_policy_loader.cc » ('j') | chrome/browser/policy/browser_policy_connector.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698