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

Unified Diff: chrome/browser/policy/configuration_policy_pref_store.cc

Issue 7537025: Add new Content settings type AUTO-SUBMIT-CERTIFICATE (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 9 years, 4 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
Index: chrome/browser/policy/configuration_policy_pref_store.cc
diff --git a/chrome/browser/policy/configuration_policy_pref_store.cc b/chrome/browser/policy/configuration_policy_pref_store.cc
index 3f74a0137462f5aa2b69d064884410bdb46f64ba..f3bbd9bfd57f94d72693aa64116071cb54ad39a8 100644
--- a/chrome/browser/policy/configuration_policy_pref_store.cc
+++ b/chrome/browser/policy/configuration_policy_pref_store.cc
@@ -213,6 +213,10 @@ const ConfigurationPolicyPrefKeeper::PolicyToPreferenceMapEntry
prefs::kManagedDefaultPluginsSetting },
{ Value::TYPE_INTEGER, kPolicyDefaultPopupsSetting,
prefs::kManagedDefaultPopupsSetting },
+ { Value::TYPE_INTEGER, kPolicyDefaultAutoSubmitCertificateSetting,
+ prefs::kManagedDefaultAutoSubmitCertificateSetting },
+ { Value::TYPE_LIST, kPolicyAutoSubmitCertificateForUrls,
+ prefs::kManagedAutoSubmitCertificateForUrls},
{ Value::TYPE_LIST, kPolicyCookiesAllowedForUrls,
prefs::kManagedCookiesAllowedForUrls },
{ Value::TYPE_LIST, kPolicyCookiesBlockedForUrls,
@@ -1022,6 +1026,10 @@ ConfigurationPolicyPrefStore::GetChromePolicyDefinitionList() {
key::kDefaultNotificationSetting },
{ kPolicyDefaultGeolocationSetting, Value::TYPE_INTEGER,
key::kDefaultGeolocationSetting },
+ { kPolicyDefaultAutoSubmitCertificateSetting, Value::TYPE_INTEGER,
+ key::kDefaultAutoSubmitCertificateSetting},
+ { kPolicyAutoSubmitCertificateForUrls, Value::TYPE_LIST,
+ key::kAutoSubmitCertificateForUrls},
{ kPolicyCookiesAllowedForUrls, Value::TYPE_LIST,
key::kCookiesAllowedForUrls },
{ kPolicyCookiesBlockedForUrls, Value::TYPE_LIST,

Powered by Google App Engine
This is Rietveld 408576698