Index: chrome/browser/extensions/extension_preference_api.cc |
diff --git a/chrome/browser/extensions/extension_preference_api.cc b/chrome/browser/extensions/extension_preference_api.cc |
index b0ada5ffe67004b33ee091c8098520534c3be313..90adc092a366976a1c081df32f55182e4e8a0a6e 100644 |
--- a/chrome/browser/extensions/extension_preference_api.cc |
+++ b/chrome/browser/extensions/extension_preference_api.cc |
@@ -45,22 +45,55 @@ const char kValue[] = "value"; |
const char kOnPrefChangeFormat[] = "types.ChromeSetting.%s.onChange"; |
PrefMappingEntry kPrefMapping[] = { |
- { "thirdPartyCookiesAllowed", |
- prefs::kBlockThirdPartyCookies, |
- ExtensionAPIPermission::kContentSettings |
+ { "alternateErrorPagesEnabled", |
+ prefs::kAlternateErrorPagesEnabled, |
+ ExtensionAPIPermission::kExperimental |
}, |
- { "referrersEnabled", |
- prefs::kEnableReferrers, |
- ExtensionAPIPermission::kContentSettings |
+ { "autofillEnabled", |
+ prefs::kAutofillEnabled, |
+ ExtensionAPIPermission::kExperimental |
}, |
{ "hyperlinkAuditingEnabled", |
prefs::kEnableHyperlinkAuditing, |
- ExtensionAPIPermission::kContentSettings |
+ ExtensionAPIPermission::kExperimental |
+ }, |
+ { "instantEnabled", |
+ prefs::kInstantEnabled, |
+ ExtensionAPIPermission::kExperimental |
+ }, |
+ // TODO(mkwst): come back to this once the UMA discussion has been resolved. |
+ // { "metricsReportingEnabled", |
+ // prefs::kMetricsReportingEnabled, |
+ // ExtensionAPIPermission::kMetrics |
+ // }, |
+ { "networkPredictionEnabled", |
+ prefs::kNetworkPredictionEnabled, |
+ ExtensionAPIPermission::kExperimental |
}, |
{ "proxy", |
prefs::kProxy, |
ExtensionAPIPermission::kProxy |
}, |
+ { "referrersEnabled", |
+ prefs::kEnableReferrers, |
+ ExtensionAPIPermission::kExperimental |
+ }, |
+ { "searchSuggestEnabled", |
+ prefs::kSearchSuggestEnabled, |
+ ExtensionAPIPermission::kExperimental |
+ }, |
+ { "safeBrowsingEnabled", |
+ prefs::kSafeBrowsingEnabled, |
+ ExtensionAPIPermission::kExperimental |
+ }, |
+ { "thirdPartyCookiesAllowed", |
+ prefs::kBlockThirdPartyCookies, |
+ ExtensionAPIPermission::kExperimental |
+ }, |
+ { "translationServiceEnabled", |
+ prefs::kEnableTranslate, |
+ ExtensionAPIPermission::kExperimental |
+ } |
}; |
class IdentityPrefTransformer : public PrefTransformerInterface { |