Index: chrome/browser/policy/cloud/cloud_policy_manager.cc |
diff --git a/chrome/browser/policy/cloud/cloud_policy_manager.cc b/chrome/browser/policy/cloud/cloud_policy_manager.cc |
index f02b4ab276c2707823ef3651498e5998408d66d8..e3a01a96599ddf3146582cd527f4d119b2b40ee5 100644 |
--- a/chrome/browser/policy/cloud/cloud_policy_manager.cc |
+++ b/chrome/browser/policy/cloud/cloud_policy_manager.cc |
@@ -110,8 +110,8 @@ void CloudPolicyManager::CreateComponentCloudPolicyService( |
// Called at most once. |
DCHECK(!component_policy_service_); |
- if (CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kDisableComponentCloudPolicy) || |
+ if (!CommandLine::ForCurrentProcess()->HasSwitch( |
+ switches::kEnableComponentCloudPolicy) || |
policy_cache_path.empty()) { |
return; |
} |