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

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

Issue 11414230: Declarative Web Request: firstPartyForCookiesUrl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased + attribute description in JSON changed Created 7 years, 11 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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [ 5 [
6 { 6 {
7 "namespace": "declarativeWebRequest", 7 "namespace": "declarativeWebRequest",
8 "documentation_permissions_required": ["declarative", "declarativeWebRequest "], 8 "documentation_permissions_required": ["declarative", "declarativeWebRequest "],
9 "types": [ 9 "types": [
10 { 10 {
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 } 60 }
61 } 61 }
62 }, 62 },
63 { 63 {
64 "id": "RequestMatcher", 64 "id": "RequestMatcher",
65 "type": "object", 65 "type": "object",
66 "description": "Matches network events by various criteria.", 66 "description": "Matches network events by various criteria.",
67 "properties": { 67 "properties": {
68 "url": { 68 "url": {
69 "$ref": "events.UrlFilter", 69 "$ref": "events.UrlFilter",
70 "description": "Matches if the condition of the UrlFilter are fulfil led for the URL of the request.", 70 "description": "Matches if the conditions of the UrlFilter are fulfi lled for the URL of the request.",
71 "optional": true
72 },
73 "firstPartyForCookiesUrl": {
74 "$ref": "events.UrlFilter",
75 "description": "Matches if the conditions of the UrlFilter are fulfi lled for the 'first party' URL of the request. The 'first party' URL of a reques t, when present, can be different from the request's target URL, and describes w hat is considered 'first party' for the sake of third-party checks for cookies." ,
71 "optional": true 76 "optional": true
72 }, 77 },
73 "resourceType": { 78 "resourceType": {
74 "type": "array", 79 "type": "array",
75 "optional": true, 80 "optional": true,
76 "description": "Matches if the request type of a request is containe d in the list. Requests that cannot match any of the types will be filtered out. ", 81 "description": "Matches if the request type of a request is containe d in the list. Requests that cannot match any of the types will be filtered out. ",
77 "items": { "type": "string", "enum": ["main_frame", "sub_frame", "st ylesheet", "script", "image", "object", "xmlhttprequest", "other"] } 82 "items": { "type": "string", "enum": ["main_frame", "sub_frame", "st ylesheet", "script", "image", "object", "xmlhttprequest", "other"] }
78 }, 83 },
79 "contentType": { 84 "contentType": {
80 "type": "array", 85 "type": "array",
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after
577 "tabId": {"type": "integer", "description": "The ID of the tab in which the request takes place. Set to -1 if the request isn't related to a tab." }, 582 "tabId": {"type": "integer", "description": "The ID of the tab in which the request takes place. Set to -1 if the request isn't related to a tab." },
578 "type": {"type": "string", "enum": ["main_frame", "sub_frame", "st ylesheet", "script", "image", "object", "xmlhttprequest", "other"], "description ": "How the requested resource will be used."}, 583 "type": {"type": "string", "enum": ["main_frame", "sub_frame", "st ylesheet", "script", "image", "object", "xmlhttprequest", "other"], "description ": "How the requested resource will be used."},
579 "timeStamp": {"type": "number", "description": "The time when this signal is triggered, in milliseconds since the epoch."} 584 "timeStamp": {"type": "number", "description": "The time when this signal is triggered, in milliseconds since the epoch."}
580 } 585 }
581 } 586 }
582 ] 587 ]
583 } 588 }
584 ] 589 ]
585 } 590 }
586 ] 591 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698