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

Side by Side Diff: chrome/common/extensions/api/extension_api.json

Issue 6480033: Implement experimental.contentSettings.misc.blockThirdPartyCookies. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix stuff Created 9 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 [ 1 [
2 { 2 {
3 "namespace": "extension", 3 "namespace": "extension",
4 "unprivileged": true, 4 "unprivileged": true,
5 "types": [ 5 "types": [
6 { 6 {
7 "id": "MessageSender", 7 "id": "MessageSender",
8 "type": "object", 8 "type": "object",
9 "description": "An object containing information about the script contex t that sent a message or request.", 9 "description": "An object containing information about the script contex t that sent a message or request.",
10 "properties": { 10 "properties": {
(...skipping 4519 matching lines...) Expand 10 before | Expand all | Expand 10 after
4530 "properties": { 4530 "properties": {
4531 "login": { "type": "string", "optional": true }, 4531 "login": { "type": "string", "optional": true },
4532 "token": { "type": "string", "optional": true } 4532 "token": { "type": "string", "optional": true }
4533 } 4533 }
4534 } 4534 }
4535 ] 4535 ]
4536 } 4536 }
4537 ] 4537 ]
4538 } 4538 }
4539 ] 4539 ]
4540 },
4541 {
4542 "namespace": "experimental.extension",
4543 "types": [
4544 {
4545 "id": "Preference",
4546 "type": "object",
4547 "description": "An object which allows access to a preference.",
4548 "functions": [
4549 {
4550 "name": "get",
4551 "type": "function",
4552 "description": "Get the setting from the user preferences.",
4553 "parameters": [
4554 {
4555 "name": "details",
4556 "type": "object",
4557 "description": "What setting to return.",
4558 "properties": {
4559 "incognito": {
4560 "type": "boolean",
4561 "optional": true,
4562 "description": "Whether to return the setting that applies t o the incognito session only (default false)."
4563 }
4564 }
4565 },
4566 {
4567 "name": "callback",
4568 "type": "function",
4569 "parameters": [
4570 {
4571 "name": "value",
4572 "description": "The value of the preference.",
4573 "type": "any"
4574 }
4575 ]
4576 }
4577 ]
4578 },
4579 {
4580 "name": "set",
4581 "type": "function",
4582 "description": "Set the setting in the user preferences",
4583 "parameters": [
4584 {
4585 "name": "details",
4586 "type": "object",
4587 "description": "What setting to change.",
4588 "properties": {
4589 "value": {
4590 "description": "The value of the preference.",
4591 "type": "any"
4592 },
4593 "incognito": {
4594 "type": "boolean",
4595 "optional": true,
4596 "description": "Whether to modify the setting for the incogn ito session only (default false)."
4597 }
4598 }
4599 },
4600 {
4601 "name": "callback",
4602 "type": "function",
4603 "optional": true,
4604 "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
4605 }
4606 ]
4607 }
4608 ]
4609 }
4610 ]
4611 },
4612 {
4613 "namespace": "experimental.contentSettings.misc",
4614 "properties": {
4615 "blockThirdPartyCookies": {
4616 "$ref": "Preference",
4617 "description": "Whether third party cookies should be blocked."
4618 }
4619 }
4540 } 4620 }
4541 ] 4621 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698