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

Unified Diff: chrome/browser/policy/cloud/cloud_policy_manager.cc

Issue 107063002: Disable cloud policy for extensions by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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
« no previous file with comments | « no previous file | chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « no previous file | chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698