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

Unified Diff: chrome/common/extensions/api/extension_api.json

Issue 7031063: Extension API: Rename contentSettings.misc to .global and rename preferences under it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 9 years, 7 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/common/extensions/api/extension_api.json
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json
index 17c229cf140658dafae4c7c639c63a50a4f6911b..24dd7571ab950bd9b8035098929c2ceb4924c602 100644
--- a/chrome/common/extensions/api/extension_api.json
+++ b/chrome/common/extensions/api/extension_api.json
@@ -5653,22 +5653,22 @@
]
},
{
- "namespace": "experimental.contentSettings.misc",
+ "namespace": "experimental.contentSettings.global",
"properties": {
- "blockThirdPartyCookies": {
+ "thirdPartyCookiesAllowed": {
"$ref": "Preference",
- "value": ["blockThirdPartyCookies", {"type": "boolean"}],
- "description": "Whether third party cookies should be blocked. The value of this preference is of type boolean."
+ "value": ["thirdPartyCookiesAllowed", {"type": "boolean"}],
+ "description": "Whether third party cookies should be allowed. The value of this preference is of type boolean, and the default value is true."
},
- "enableReferrers": {
+ "referrersEnabled": {
"$ref": "Preference",
- "value": ["enableReferrers", {"type":"boolean"}],
- "description": "Whether referrers should be enabled. The value of this preference is of type boolean."
+ "value": ["referrersEnabled", {"type":"boolean"}],
+ "description": "Whether referrers should be enabled. The value of this preference is of type boolean, and the default value is true."
},
- "enableHyperlinkAuditing": {
+ "hyperlinkAuditingEnabled": {
"$ref": "Preference",
- "value": ["enableHyperlinkAuditing", {"type":"boolean"}],
- "description": "Whether to enable hyperlink auditing (\"<a ping>\"). The value of this preference is of type boolean."
+ "value": ["hyperlinkAuditingEnabled", {"type":"boolean"}],
+ "description": "Whether to enable hyperlink auditing (\"<a ping>\"). The value of this preference is of type boolean, and the default value is true."
}
}
},

Powered by Google App Engine
This is Rietveld 408576698