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

Unified Diff: chrome/browser/profiles/profile_impl.h

Issue 2606773002: Setup Chromad user policy plumbing (Closed)
Patch Set: Rebase Created 4 years 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/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
« no previous file with comments | « chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698