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 c58809c05e111148a4241d836f42e8e703eb3f7f..6856c09e3a049728ab9fe620b1fb3d2f6a95afd6 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::kEnableComponentCloudPolicy) || |
+ if (CommandLine::ForCurrentProcess()->HasSwitch( |
+ switches::kDisableComponentCloudPolicy) || |
policy_cache_path.empty()) { |
return; |
} |