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

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: Added a unit test 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 "thirdParty": {
jochen (gone - plz use gerrit) 2012/09/26 19:50:19 i don't really like this name. It should be thirdP
vabr (Chromium) 2012/10/04 11:20:41 Done.
104 "type": "boolean",
105 "optional": true,
106 "description": "If set to true, matches requests with third-party or igins. If set to false, matches requests with first-party origins."
jochen (gone - plz use gerrit) 2012/09/26 19:50:19 Should be something like "If set to true, matches
vabr (Chromium) 2012/10/04 11:20:41 Done.
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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 "declarativeWebRequest.RemoveRequestHeader", 451 "declarativeWebRequest.RemoveRequestHeader",
447 "declarativeWebRequest.RemoveResponseHeader", 452 "declarativeWebRequest.RemoveResponseHeader",
448 "declarativeWebRequest.SetRequestHeader", 453 "declarativeWebRequest.SetRequestHeader",
449 "declarativeWebRequest.IgnoreRules" 454 "declarativeWebRequest.IgnoreRules"
450 ] 455 ]
451 } 456 }
452 } 457 }
453 ] 458 ]
454 } 459 }
455 ] 460 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698