 Chromium Code Reviews
 Chromium Code Reviews Issue 6480033:
  Implement experimental.contentSettings.misc.blockThirdPartyCookies.  (Closed) 
  Base URL: svn://svn.chromium.org/chrome/trunk/src
    
  
    Issue 6480033:
  Implement experimental.contentSettings.misc.blockThirdPartyCookies.  (Closed) 
  Base URL: svn://svn.chromium.org/chrome/trunk/src| 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 f3582aa795357c2d07b1bc5f8cd20b9a45d3755d..1aea2ddd25770890c4793569b681e66922fc84b3 100644 | 
| --- a/chrome/common/extensions/api/extension_api.json | 
| +++ b/chrome/common/extensions/api/extension_api.json | 
| @@ -4537,5 +4537,85 @@ | 
| ] | 
| } | 
| ] | 
| + }, | 
| + { | 
| + "namespace": "experimental.extension", | 
| + "types": [ | 
| + { | 
| + "id": "Preference", | 
| + "type": "object", | 
| + "description": "An object which allows access to a preference.", | 
| + "functions": [ | 
| + { | 
| + "name": "get", | 
| + "type": "function", | 
| + "description": "Get the setting from the user preferences.", | 
| + "parameters": [ | 
| + { | 
| + "name": "details", | 
| + "type": "object", | 
| + "description": "What setting to return.", | 
| + "properties": { | 
| + "incognito": { | 
| + "type": "boolean", | 
| + "optional": true, | 
| + "description": "Whether to return the setting that applies to the incognito session only (default false)." | 
| + } | 
| + } | 
| + }, | 
| + { | 
| + "name": "callback", | 
| + "type": "function", | 
| + "parameters": [ | 
| + { | 
| + "name": "value", | 
| + "description": "The value of the preference.", | 
| + "type": "any" | 
| + } | 
| + ] | 
| + } | 
| + ] | 
| + }, | 
| + { | 
| + "name": "set", | 
| + "type": "function", | 
| + "description": "Set the setting in the user preferences", | 
| + "parameters": [ | 
| + { | 
| + "name": "details", | 
| + "type": "object", | 
| + "description": "What setting to change.", | 
| + "properties": { | 
| + "value": { | 
| + "description": "The value of the preference.", | 
| + "type": "any" | 
| + }, | 
| + "incognito": { | 
| + "type": "boolean", | 
| + "optional": true, | 
| + "description": "Whether to modify the setting for the incognito session only (default false)." | 
| + } | 
| + } | 
| + }, | 
| + { | 
| + "name": "callback", | 
| + "type": "function", | 
| + "optional": true, | 
| + "parameters": [] | 
| 
battre
2011/02/11 13:49:02
"description": "Callback to confirm that setting t
 
Bernhard Bauer
2011/02/11 15:27:15
Done, I tried to keep the text similar to most of
 | 
| + } | 
| + ] | 
| + } | 
| + ] | 
| + } | 
| + ] | 
| + }, | 
| + { | 
| + "namespace": "experimental.contentSettings.misc", | 
| + "properties": { | 
| + "blockThirdPartyCookies": { | 
| + "$ref": "Preference", | 
| + "description": "Whether third party cookies should be blocked." | 
| + } | 
| + } | 
| } | 
| ] |