Index: components/policy/core/common/cloud/user_cloud_policy_manager.cc |
diff --git a/components/policy/core/common/cloud/user_cloud_policy_manager.cc b/components/policy/core/common/cloud/user_cloud_policy_manager.cc |
index 223644c7df45fa065cdf534fb494c94abed6bc07..0ff9669124bec4f2992d650b707b9967db694a57 100644 |
--- a/components/policy/core/common/cloud/user_cloud_policy_manager.cc |
+++ b/components/policy/core/common/cloud/user_cloud_policy_manager.cc |
@@ -53,15 +53,14 @@ void UserCloudPolicyManager::Connect( |
PrefService* local_state, |
scoped_refptr<net::URLRequestContextGetter> request_context, |
scoped_ptr<CloudPolicyClient> client) { |
+ CreateComponentCloudPolicyService(component_policy_cache_path_, |
+ request_context, client.get()); |
core()->Connect(client.Pass()); |
core()->StartRefreshScheduler(); |
core()->TrackRefreshDelayPref(local_state, |
policy_prefs::kUserPolicyRefreshRate); |
if (external_data_manager_) |
external_data_manager_->Connect(request_context); |
- |
- CreateComponentCloudPolicyService(component_policy_cache_path_, |
- request_context); |
} |
// static |