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

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

Issue 2606773002: Setup Chromad user policy plumbing (Closed)
Patch Set: CrOS compilation fix 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..7d2beb929519eae580df89cb1c9f7157e1132fbd 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;
}
@@ -204,11 +204,12 @@ class ProfileImpl : public Profile {
// 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_|.
+ // This can be removed once |prefs_| becomes a KeyedService too.
+ // |profile_policy_connector_| in turn depends on |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

Powered by Google App Engine
This is Rietveld 408576698