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

Unified Diff: chrome/browser/configuration_policy_provider.cc

Issue 2905003: Implement support for disabling sync through configuration management. (Closed)
Patch Set: Fix PrefsControllerTest on MAC. Created 10 years, 5 months 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 | « chrome/browser/configuration_policy_pref_store.cc ('k') | chrome/browser/configuration_policy_store.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/configuration_policy_provider.cc
diff --git a/chrome/browser/configuration_policy_provider.cc b/chrome/browser/configuration_policy_provider.cc
index a6d2f52a6119d588285bc0d7bb9bdf16d71b4633..3156c590c17b7cfd9da5b7e3007f3ce819bf7b15 100644
--- a/chrome/browser/configuration_policy_provider.cc
+++ b/chrome/browser/configuration_policy_provider.cc
@@ -39,7 +39,9 @@ const InternalPolicyValueMapEntry kPolicyValueMap[] = {
{ ConfigurationPolicyStore::kPolicySafeBrowsingEnabled,
Value::TYPE_BOOLEAN, "SafeBrowsingEnabled" },
{ ConfigurationPolicyStore::kPolicyMetricsReportingEnabled,
- Value::TYPE_BOOLEAN, "MetricsReportingEnabled" }
+ Value::TYPE_BOOLEAN, "MetricsReportingEnabled" },
+ { ConfigurationPolicyStore::kPolicySyncDisabled,
+ Value::TYPE_BOOLEAN, "SyncDisabled" }
};
} // namespace
« no previous file with comments | « chrome/browser/configuration_policy_pref_store.cc ('k') | chrome/browser/configuration_policy_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698