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

Unified Diff: chrome/browser/policy/profile_policy_connector_stub.cc

Issue 54483004: policy: Remove ProfilePolicyConnector's dependency on other service factories. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 7 years, 1 month 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/profile_policy_connector_stub.cc
diff --git a/chrome/browser/policy/profile_policy_connector_stub.cc b/chrome/browser/policy/profile_policy_connector_stub.cc
index 49747c8df77b3688f12ab84cc9d2bd30fd2f3130..24e0ca6cf11e3fe7859411d07cfbd67025923949 100644
--- a/chrome/browser/policy/profile_policy_connector_stub.cc
+++ b/chrome/browser/policy/profile_policy_connector_stub.cc
@@ -12,7 +12,9 @@ ProfilePolicyConnector::ProfilePolicyConnector(Profile* profile) {}
ProfilePolicyConnector::~ProfilePolicyConnector() {}
-void ProfilePolicyConnector::Init(bool force_immediate_load) {
+void ProfilePolicyConnector::Init(
+ bool force_immediate_load,
+ CloudPolicyManager* user_cloud_policy_manager) {
policy_service_.reset(new PolicyServiceStub());
}

Powered by Google App Engine
This is Rietveld 408576698