summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions
diff options
context:
space:
mode:
authorbattre@chromium.org <battre@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-14 14:48:20 +0000
committerbattre@chromium.org <battre@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-14 14:48:20 +0000
commitbf8ed58a17bf381dd6217a7f48b363674072a066 (patch)
tree90d889a7c07948ceed99274b0da81084cbfb6aac /chrome/common/extensions
parent0d49dd03679039566cebf616a24e756edc6742f5 (diff)
downloadchromium_src-bf8ed58a17bf381dd6217a7f48b363674072a066.zip
chromium_src-bf8ed58a17bf381dd6217a7f48b363674072a066.tar.gz
chromium_src-bf8ed58a17bf381dd6217a7f48b363674072a066.tar.bz2
Fixed copy and paste errors in event.json in UrlFilter
Due to a copy&paste error, queryContains and urlContains were missing in UrlFilter while urlSuffix appeared twice. TBR=mpcomplete@chromium.org BUG=112155 TEST=no Review URL: https://chromiumcodereview.appspot.com/10535165 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142145 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions')
-rw-r--r--chrome/common/extensions/api/events.json9
-rw-r--r--chrome/common/extensions/docs/events.html52
2 files changed, 57 insertions, 4 deletions
diff --git a/chrome/common/extensions/api/events.json b/chrome/common/extensions/api/events.json
index 9eac5a2..94b3553 100644
--- a/chrome/common/extensions/api/events.json
+++ b/chrome/common/extensions/api/events.json
@@ -187,6 +187,11 @@
"description": "Matches if the path segment of the URL ends with a specified string.",
"optional": true
},
+ "queryContains": {
+ "type": "string",
+ "description": "Matches if the query segment of the URL contains a specified string.",
+ "optional": true
+ },
"queryEquals": {
"type": "string",
"description": "Matches if the query segment of the URL is equal to a specified string.",
@@ -202,9 +207,9 @@
"description": "Matches if the query segment of the URL ends with a specified string.",
"optional": true
},
- "urlSuffix": {
+ "urlContains": {
"type": "string",
- "description": "Matches if the URL ends with a specified string.",
+ "description": "Matches if the URL contains a specified string.",
"optional": true
},
"urlEquals": {
diff --git a/chrome/common/extensions/docs/events.html b/chrome/common/extensions/docs/events.html
index bc3dc31..fb097ea 100644
--- a/chrome/common/extensions/docs/events.html
+++ b/chrome/common/extensions/docs/events.html
@@ -1179,6 +1179,30 @@ refers to an array of rules including filled optional parameters.
</div><div>
<div>
<dt>
+ <var>queryContains</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span class="optional">optional</span>
+ <span id="typeTemplate">
+ <span>
+ <span>string</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd>Matches if the query segment of the URL contains a specified string.</dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div><div>
+ <div>
+ <dt>
<var>queryEquals</var>
<em>
<!-- TYPE -->
@@ -1251,7 +1275,7 @@ refers to an array of rules including filled optional parameters.
</div><div>
<div>
<dt>
- <var>urlSuffix</var>
+ <var>urlContains</var>
<em>
<!-- TYPE -->
<div style="display:inline">
@@ -1266,7 +1290,7 @@ refers to an array of rules including filled optional parameters.
</div>
</em>
</dt>
- <dd>Matches if the URL ends with a specified string.</dd>
+ <dd>Matches if the URL contains a specified string.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
@@ -1323,6 +1347,30 @@ refers to an array of rules including filled optional parameters.
</div><div>
<div>
<dt>
+ <var>urlSuffix</var>
+ <em>
+ <!-- TYPE -->
+ <div style="display:inline">
+ (
+ <span class="optional">optional</span>
+ <span id="typeTemplate">
+ <span>
+ <span>string</span>
+ </span>
+ </span>
+ )
+ </div>
+ </em>
+ </dt>
+ <dd>Matches if the URL ends with a specified string.</dd>
+ <!-- OBJECT PROPERTIES -->
+ <!-- OBJECT METHODS -->
+ <!-- OBJECT EVENT FIELDS -->
+ <!-- FUNCTION PARAMETERS -->
+ </div>
+ </div><div>
+ <div>
+ <dt>
<var>schemes</var>
<em>
<!-- TYPE -->