Index: chrome/browser/policy/profile_policy_connector.h |
diff --git a/chrome/browser/policy/profile_policy_connector.h b/chrome/browser/policy/profile_policy_connector.h |
index c42b81f6ea58aa3c21ff3cc9733ef9bbf58087bf..f0efc43959938ea0c68e4a2edd291bb4c3df7362 100644 |
--- a/chrome/browser/policy/profile_policy_connector.h |
+++ b/chrome/browser/policy/profile_policy_connector.h |
@@ -33,10 +33,13 @@ class ProfilePolicyConnector : public KeyedService { |
// |user| is only used in Chrome OS builds and should be set to nullptr |
// otherwise. |configuration_policy_provider| and |policy_store| are nullptr |
// for non-regular users. |
+ // If |force_immediate_load| is true, DeviceLocalAccountPolicy is loaded |
+ // synchronously. |
void Init(const user_manager::User* user, |
SchemaRegistry* schema_registry, |
ConfigurationPolicyProvider* configuration_policy_provider, |
- const CloudPolicyStore* policy_store); |
+ const CloudPolicyStore* policy_store, |
+ bool force_immediate_load); |
void InitForTesting(std::unique_ptr<PolicyService> service); |
void OverrideIsManagedForTesting(bool is_managed); |