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

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

Issue 10910179: Event matching by regular expression matching on URLs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 1 Created 8 years, 3 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 "internal": true, 8 "internal": true,
9 "unprivileged": true, 9 "unprivileged": true,
10 "types": [ 10 "types": [
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 "urlContains": { 257 "urlContains": {
258 "type": "string", 258 "type": "string",
259 "description": "Matches if the URL (without fragment identifier) con tains a specified string. Port numbers are stripped from the URL if they match t he default port number.", 259 "description": "Matches if the URL (without fragment identifier) con tains a specified string. Port numbers are stripped from the URL if they match t he default port number.",
260 "optional": true 260 "optional": true
261 }, 261 },
262 "urlEquals": { 262 "urlEquals": {
263 "type": "string", 263 "type": "string",
264 "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.", 264 "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.",
265 "optional": true 265 "optional": true
266 }, 266 },
267 "urlMatches": {
268 "type": "string",
269 "description": "Matches if the URL matches a specified regular expre ssion. The regular expressions use the <a href=\"http://code.google.com/p/re2/wi ki/Syntax\">RE2 syntax</a>.",
battre 2012/09/12 18:04:50 nit: add "(without fragment identifier)"? Add that
Yoyo Zhou 2012/09/12 20:25:56 Done.
270 "optional": true
271 },
267 "urlPrefix": { 272 "urlPrefix": {
268 "type": "string", 273 "type": "string",
269 "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.", 274 "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.",
270 "optional": true 275 "optional": true
271 }, 276 },
272 "urlSuffix": { 277 "urlSuffix": {
273 "type": "string", 278 "type": "string",
274 "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.", 279 "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.",
275 "optional": true 280 "optional": true
276 }, 281 },
(...skipping 13 matching lines...) Expand all
290 {"type": "array", "items": {"type": "integer"}, "description": " A pair of integers identiying the start and end (both inclusive) of a port range ."} 295 {"type": "array", "items": {"type": "integer"}, "description": " A pair of integers identiying the start and end (both inclusive) of a port range ."}
291 ] 296 ]
292 } 297 }
293 } 298 }
294 } 299 }
295 } 300 }
296 ] 301 ]
297 } 302 }
298 ] 303 ]
299 304
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698