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

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

Issue 44083005: policy: Remove UserCloudPolicyManagerFactory's dependency on Profile. (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_factory.cc
diff --git a/chrome/browser/policy/profile_policy_connector_factory.cc b/chrome/browser/policy/profile_policy_connector_factory.cc
index 91184772da61cab6c0705107da12d0c44b4ab0ae..50fa86c55b48295b3adfb298e4d83b8daae56144 100644
--- a/chrome/browser/policy/profile_policy_connector_factory.cc
+++ b/chrome/browser/policy/profile_policy_connector_factory.cc
@@ -94,7 +94,7 @@ ProfilePolicyConnectorFactory::CreateForProfileInternal(
UserCloudPolicyManagerFactoryChromeOS::GetForProfile(profile);
#else
CloudPolicyManager* user_cloud_policy_manager =
- UserCloudPolicyManagerFactory::GetForProfile(profile);
+ UserCloudPolicyManagerFactory::GetForBrowserContext(profile);
#endif
ProfilePolicyConnector* connector = new ProfilePolicyConnector();
connector->Init(force_immediate_load,

Powered by Google App Engine
This is Rietveld 408576698