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

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

Issue 1592403002: update obsolete code.google.com documentation links (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 4 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
« no previous file with comments | « docs/linux_sandboxing.md ('k') | extensions/common/api/events.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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": "<em><strong>Note:</strong> this API is currently on hold, wi thout concrete plans to move to stable.</em> Use the <code>chrome.declarativeWeb Request</code> API to intercept, block, or modify requests in-flight. It is sign ificantly faster than the <a href='webRequest'><code>chrome.webRequest</code> AP I</a> because you can register rules that are evaluated in the browser rather th an the JavaScript engine with reduces roundtrip latencies and allows higher effi ciency.", 8 "description": "<em><strong>Note:</strong> this API is currently on hold, wi thout concrete plans to move to stable.</em> Use the <code>chrome.declarativeWeb Request</code> API to intercept, block, or modify requests in-flight. It is sign ificantly faster than the <a href='webRequest'><code>chrome.webRequest</code> AP I</a> because you can register rules that are evaluated in the browser rather th an the JavaScript engine with reduces roundtrip latencies and allows higher effi ciency.",
9 "types": [ 9 "types": [
10 { 10 {
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 "type": "object", 177 "type": "object",
178 "properties": { 178 "properties": {
179 "instanceType": { 179 "instanceType": {
180 "type": "string", "enum": ["declarativeWebRequest.RedirectToEmptyDoc ument"], 180 "type": "string", "enum": ["declarativeWebRequest.RedirectToEmptyDoc ument"],
181 "nodoc": true 181 "nodoc": true
182 } 182 }
183 } 183 }
184 }, 184 },
185 { 185 {
186 "id": "declarativeWebRequest.RedirectByRegEx", 186 "id": "declarativeWebRequest.RedirectByRegEx",
187 "description": "Redirects a request by applying a regular expression on the URL. The regular expressions use the <a href=\"http://code.google.com/p/re2/ wiki/Syntax\">RE2 syntax</a>.", 187 "description": "Redirects a request by applying a regular expression on the URL. The regular expressions use the <a href=\"https://github.com/google/re2 /blob/master/doc/syntax.txt\">RE2 syntax</a>.",
188 "type": "object", 188 "type": "object",
189 "properties": { 189 "properties": {
190 "instanceType": { 190 "instanceType": {
191 "type": "string", "enum": ["declarativeWebRequest.RedirectByRegEx"], 191 "type": "string", "enum": ["declarativeWebRequest.RedirectByRegEx"],
192 "nodoc": true 192 "nodoc": true
193 }, 193 },
194 "from": { 194 "from": {
195 "type": "string", 195 "type": "string",
196 "description": "A match pattern that may contain capture groups. Cap ture groups are referenced in the Perl syntax ($1, $2, ...) instead of the RE2 s yntax (\\1, \\2, ...) in order to be closer to JavaScript Regular Expressions." 196 "description": "A match pattern that may contain capture groups. Cap ture groups are referenced in the Perl syntax ($1, $2, ...) instead of the RE2 s yntax (\\1, \\2, ...) in order to be closer to JavaScript Regular Expressions."
197 }, 197 },
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
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." }, 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." },
589 "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."},
590 "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."}
591 } 591 }
592 } 592 }
593 ] 593 ]
594 } 594 }
595 ] 595 ]
596 } 596 }
597 ] 597 ]
OLDNEW
« no previous file with comments | « docs/linux_sandboxing.md ('k') | extensions/common/api/events.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698