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

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

Issue 10982044: Adding thirdParty property to RequestMatcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reordered the unit-test to spare setting up some URLs. Created 8 years, 2 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 "optional": true, 93 "optional": true,
94 "description": "Matches if some of the response headers is matched b y one of the HeaderFilters.", 94 "description": "Matches if some of the response headers is matched b y one of the HeaderFilters.",
95 "items": { "$ref": "HeaderFilter" } 95 "items": { "$ref": "HeaderFilter" }
96 }, 96 },
97 "excludeResponseHeaders": { 97 "excludeResponseHeaders": {
98 "type": "array", 98 "type": "array",
99 "optional": true, 99 "optional": true,
100 "description": "Matches if none of the response headers is matched b y one of the HeaderFilters.", 100 "description": "Matches if none of the response headers is matched b y one of the HeaderFilters.",
101 "items": { "$ref": "HeaderFilter" } 101 "items": { "$ref": "HeaderFilter" }
102 }, 102 },
103 "thirdPartyForCookies": {
104 "type": "boolean",
105 "optional": true,
106 "description": "If set to true, matches requests that are subject to third-party cookie policies. If set to false, matches all other requests."
107 },
103 "instanceType": { 108 "instanceType": {
104 "type": "string", "enum": ["declarativeWebRequest.RequestMatcher"], 109 "type": "string", "enum": ["declarativeWebRequest.RequestMatcher"],
105 "nodoc": true 110 "nodoc": true
106 } 111 }
107 } 112 }
108 }, 113 },
109 { 114 {
110 "id": "CancelRequest", 115 "id": "CancelRequest",
111 "description": "Declarative event action that cancels a network request. ", 116 "description": "Declarative event action that cancels a network request. ",
112 "type": "object", 117 "type": "object",
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 "declarativeWebRequest.RemoveRequestHeader", 515 "declarativeWebRequest.RemoveRequestHeader",
511 "declarativeWebRequest.RemoveResponseHeader", 516 "declarativeWebRequest.RemoveResponseHeader",
512 "declarativeWebRequest.SetRequestHeader", 517 "declarativeWebRequest.SetRequestHeader",
513 "declarativeWebRequest.IgnoreRules" 518 "declarativeWebRequest.IgnoreRules"
514 ] 519 ]
515 } 520 }
516 } 521 }
517 ] 522 ]
518 } 523 }
519 ] 524 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698