| Index: chrome/browser/profiles/profile_impl.h
|
| diff --git a/chrome/browser/profiles/profile_impl.h b/chrome/browser/profiles/profile_impl.h
|
| index fe82ff747a83c51ae4d766de95f40b9f4ebb8ba1..f4945cc88777b7b61a7f01da8998330c2aafa68a 100644
|
| --- a/chrome/browser/profiles/profile_impl.h
|
| +++ b/chrome/browser/profiles/profile_impl.h
|
| @@ -47,7 +47,7 @@ class DomainReliabilityMonitor;
|
| }
|
|
|
| namespace policy {
|
| -class CloudPolicyManager;
|
| +class ConfigurationPolicyProvider;
|
| class ProfilePolicyConnector;
|
| class SchemaRegistryService;
|
| }
|
| @@ -203,12 +203,14 @@ class ProfileImpl : public Profile {
|
| // happens in reverse order of declaration.
|
|
|
| // TODO(mnissler, joaodasilva): The |profile_policy_connector_| provides the
|
| - // PolicyService that the |prefs_| depend on, and must outlive |prefs_|.
|
| -// This can be removed once |prefs_| becomes a KeyedService too.
|
| -// |profile_policy_connector_| in turn depends on |cloud_policy_manager_|,
|
| -// which depends on |schema_registry_service_|.
|
| + // PolicyService that the |prefs_| depend on, and must outlive |prefs_|. This
|
| + // can be removed once |prefs_| becomes a KeyedService too.
|
| + // |profile_policy_connector_| in turn depends on
|
| + // |configuration_policy_provider_|, which depends on
|
| + // |schema_registry_service_|.
|
| std::unique_ptr<policy::SchemaRegistryService> schema_registry_service_;
|
| - std::unique_ptr<policy::CloudPolicyManager> cloud_policy_manager_;
|
| + std::unique_ptr<policy::ConfigurationPolicyProvider>
|
| + configuration_policy_provider_;
|
| std::unique_ptr<policy::ProfilePolicyConnector> profile_policy_connector_;
|
|
|
| // Keep |pref_validation_delegate_| above |prefs_| so that the former outlives
|
|
|