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

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

Issue 13699007: Provide a mechanism to the decl. WebRequest API to match URLs without the query against a RegEx (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged with ToT Created 7 years, 8 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": "events", 7 "namespace": "events",
8 "compiler_options": { 8 "compiler_options": {
9 "implemented_in": "chrome/browser/extensions/api/declarative/declarative_a pi.h" 9 "implemented_in": "chrome/browser/extensions/api/declarative/declarative_a pi.h"
10 }, 10 },
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 "urlEquals": { 270 "urlEquals": {
271 "type": "string", 271 "type": "string",
272 "description": "Matches if the URL (without fragment identifier) is equal to a specified string. Port numbers are stripped from the URL if they matc h the default port number.", 272 "description": "Matches if the URL (without fragment identifier) is equal to a specified string. Port numbers are stripped from the URL if they matc h the default port number.",
273 "optional": true 273 "optional": true
274 }, 274 },
275 "urlMatches": { 275 "urlMatches": {
276 "type": "string", 276 "type": "string",
277 "description": "Matches if the URL (without fragment identifier) mat ches a specified regular expression. Port numbers are stripped from the URL if t hey match the default port number. The regular expressions use the <a href=\"htt p://code.google.com/p/re2/wiki/Syntax\">RE2 syntax</a>.", 277 "description": "Matches if the URL (without fragment identifier) mat ches a specified regular expression. Port numbers are stripped from the URL if t hey match the default port number. The regular expressions use the <a href=\"htt p://code.google.com/p/re2/wiki/Syntax\">RE2 syntax</a>.",
278 "optional": true 278 "optional": true
279 }, 279 },
280 "originAndPathMatches": {
281 "type": "string",
282 "description": "Matches if the URL without query segment and fragmen t identifier matches a specified regular expression. Port numbers are stripped f rom the URL if they match the default port number. The regular expressions use t he <a href=\"http://code.google.com/p/re2/wiki/Syntax\">RE2 syntax</a>.",
283 "optional": true
284 },
280 "urlPrefix": { 285 "urlPrefix": {
281 "type": "string", 286 "type": "string",
282 "description": "Matches if the URL (without fragment identifier) sta rts with a specified string. Port numbers are stripped from the URL if they matc h the default port number.", 287 "description": "Matches if the URL (without fragment identifier) sta rts with a specified string. Port numbers are stripped from the URL if they matc h the default port number.",
283 "optional": true 288 "optional": true
284 }, 289 },
285 "urlSuffix": { 290 "urlSuffix": {
286 "type": "string", 291 "type": "string",
287 "description": "Matches if the URL (without fragment identifier) end s with a specified string. Port numbers are stripped from the URL if they match the default port number.", 292 "description": "Matches if the URL (without fragment identifier) end s with a specified string. Port numbers are stripped from the URL if they match the default port number.",
288 "optional": true 293 "optional": true
289 }, 294 },
(...skipping 13 matching lines...) Expand all
303 {"type": "array", "items": {"type": "integer"}, "description": " A pair of integers identiying the start and end (both inclusive) of a port range ."} 308 {"type": "array", "items": {"type": "integer"}, "description": " A pair of integers identiying the start and end (both inclusive) of a port range ."}
304 ] 309 ]
305 } 310 }
306 } 311 }
307 } 312 }
308 } 313 }
309 ] 314 ]
310 } 315 }
311 ] 316 ]
312 317
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698