summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions
diff options
context:
space:
mode:
authorskerner@chromium.org <skerner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-24 17:21:07 +0000
committerskerner@chromium.org <skerner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-24 17:21:07 +0000
commit2a457bb13d7e5246c8eb4a1ffe717372163aad3d (patch)
tree20c8fec0fe71805309e191ad1cf607db0753a25b /chrome/common/extensions
parentd40165b970419792453592cc0f8f45b5a57d75c5 (diff)
downloadchromium_src-2a457bb13d7e5246c8eb4a1ffe717372163aad3d.zip
chromium_src-2a457bb13d7e5246c8eb4a1ffe717372163aad3d.tar.gz
chromium_src-2a457bb13d7e5246c8eb4a1ffe717372163aad3d.tar.bz2
Change chrome.experimental.history.search's first param to use 'text' for text search.
BUG=38995 TEST=ExtensionApiTest.FLAKY_History' Review URL: http://codereview.chromium.org/1102007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42482 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions')
-rwxr-xr-xchrome/common/extensions/api/extension_api.json2
-rw-r--r--chrome/common/extensions/docs/experimental.history.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json
index ca67e5a..ea80713 100755
--- a/chrome/common/extensions/api/extension_api.json
+++ b/chrome/common/extensions/api/extension_api.json
@@ -1746,7 +1746,7 @@
"name": "query",
"type": "object",
"properties": {
- "search": {"type": "string", "description": "A free-text query to the history service, leave empty to retrieve all pages."},
+ "text": {"type": "string", "description": "A free-text query to the history service. Leave empty to retrieve all pages."},
"startTime": {"type": "number", "optional": true, "description": "Limit results to those visited after this date, represented in milliseconds since the epoch."},
"endTime": {"type": "number", "optional": true, "description": "Limit results to those visited before this date, represented in milliseconds since the epoch."},
"maxResults": {"type": "integer", "optional": true, "minimum": 0, "description": "The maximum number of results to retrieve. Defaults to 100."}
diff --git a/chrome/common/extensions/docs/experimental.history.html b/chrome/common/extensions/docs/experimental.history.html
index c49a258..f602b2e 100644
--- a/chrome/common/extensions/docs/experimental.history.html
+++ b/chrome/common/extensions/docs/experimental.history.html
@@ -1320,7 +1320,7 @@ For an example of using this API, see the
<div>
<div>
<dt>
- <var>search</var>
+ <var>text</var>
<em>
<!-- TYPE -->
@@ -1346,7 +1346,7 @@ For an example of using this API, see the
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>A free-text query to the history service, leave empty to retrieve all pages.</dd>
+ <dd>A free-text query to the history service. Leave empty to retrieve all pages.</dd>
<!-- OBJECT PROPERTIES -->
<dd style="display: none; ">