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

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

Issue 27257002: Cleanup: Remove the "documentation_permissions_required" JSON schema key. It is (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 "description": "Use the <code>chrome.declarativeWebRequest</code> API to int ercept, block, or modify requests in-flight. It is significantly faster than the <a href='webRequest.html'><code>chrome.webRequest</code> API</a> because you ca n register rules that are evaluated in the browser rather than the JavaScript en gine with reduces roundtrip latencies and allows higher efficiency.", 8 "description": "Use the <code>chrome.declarativeWebRequest</code> API to int ercept, block, or modify requests in-flight. It is significantly faster than the <a href='webRequest.html'><code>chrome.webRequest</code> API</a> because you ca n register rules that are evaluated in the browser rather than the JavaScript en gine with reduces roundtrip latencies and allows higher efficiency.",
9 "documentation_permissions_required": ["declarative", "declarativeWebRequest "],
10 "types": [ 9 "types": [
11 { 10 {
12 "id": "HeaderFilter", 11 "id": "HeaderFilter",
13 "type": "object", 12 "type": "object",
14 "description": "Filters request headers for various criteria. Multiple c riteria are evaluated as a conjunction.", 13 "description": "Filters request headers for various criteria. Multiple c riteria are evaluated as a conjunction.",
15 "properties": { 14 "properties": {
16 "namePrefix": { 15 "namePrefix": {
17 "description" : "Matches if the header name starts with the specifie d string.", 16 "description" : "Matches if the header name starts with the specifie d string.",
18 "type": "string", 17 "type": "string",
19 "optional": true 18 "optional": true
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after
589 "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." }, 588 "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." },
590 "type": {"type": "string", "enum": ["main_frame", "sub_frame", "st ylesheet", "script", "image", "object", "xmlhttprequest", "other"], "description ": "How the requested resource will be used."}, 589 "type": {"type": "string", "enum": ["main_frame", "sub_frame", "st ylesheet", "script", "image", "object", "xmlhttprequest", "other"], "description ": "How the requested resource will be used."},
591 "timeStamp": {"type": "number", "description": "The time when this signal is triggered, in milliseconds since the epoch."} 590 "timeStamp": {"type": "number", "description": "The time when this signal is triggered, in milliseconds since the epoch."}
592 } 591 }
593 } 592 }
594 ] 593 ]
595 } 594 }
596 ] 595 ]
597 } 596 }
598 ] 597 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/declarative_content.json ('k') | chrome/common/extensions/api/font_settings.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698