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

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

Issue 24153012: Fix cyclic dependency between ProfilePolicyConnector and PrefService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix some includes and nits. Created 7 years, 3 months 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.cc
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
index a6790dfc754d0b7d096e59ad1835b45f441c2884..ce1aca4a49f75d305364f4f4350e2667630177b3 100644
--- a/chrome/browser/profiles/profile_impl.cc
+++ b/chrome/browser/profiles/profile_impl.cc
@@ -401,7 +401,10 @@ ProfileImpl::ProfileImpl(
#endif
profile_policy_connector_ =
policy::ProfilePolicyConnectorFactory::CreateForProfile(
- this, force_immediate_policy_load, sequenced_task_runner);
+ this,
+ force_immediate_policy_load,
+ cloud_policy_manager_.get(),
+ sequenced_task_runner);
DCHECK(create_mode == CREATE_MODE_ASYNCHRONOUS ||
create_mode == CREATE_MODE_SYNCHRONOUS);

Powered by Google App Engine
This is Rietveld 408576698