diff options
author | mkwst@chromium.org <mkwst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-27 09:13:16 +0000 |
---|---|---|
committer | mkwst@chromium.org <mkwst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-27 09:13:16 +0000 |
commit | 89629dc07beed4873e49bf9106e68ebb35148701 (patch) | |
tree | e61325ea2ef2fae6fcc08e0b38dd75a8e35f49db | |
parent | d77321320516b5c78d9969db104c45b2cab09052 (diff) | |
download | chromium_src-89629dc07beed4873e49bf9106e68ebb35148701.zip chromium_src-89629dc07beed4873e49bf9106e68ebb35148701.tar.gz chromium_src-89629dc07beed4873e49bf9106e68ebb35148701.tar.bz2 |
Correcting two mistakes in `browsingData` API documentation.
This CL touches the API JSON file, but makes no material changes. It simply
correct the incorrectly referenced JavaScript method.
BUG=115002
TEST=
TBR=mkearney@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9464042
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123720 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/common/extensions/api/browsingData.json | 2 | ||||
-rw-r--r-- | chrome/common/extensions/docs/browsingData.html | 4 | ||||
-rw-r--r-- | chrome/common/extensions/docs/examples/api/browsingData/basic.zip | bin | 9255 -> 9263 bytes | |||
-rw-r--r-- | chrome/common/extensions/docs/static/browsingData.html | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/chrome/common/extensions/api/browsingData.json b/chrome/common/extensions/api/browsingData.json index 4bd5fa5..d077277 100644 --- a/chrome/common/extensions/api/browsingData.json +++ b/chrome/common/extensions/api/browsingData.json @@ -10,7 +10,7 @@ "since": { "type": "number", "optional": true, - "description": "Remove data accumulated on or after this date, represented in milliseconds since the epoch ('Date().GetTime()'). If absent, defaults to 0 (which would remove everything)." + "description": "Remove data accumulated on or after this date, represented in milliseconds since the epoch (accessible via the <code>getTime</code> method of the JavaScript <code>Date</code> object). If absent, defaults to 0 (which would remove all browsing data)." } } } diff --git a/chrome/common/extensions/docs/browsingData.html b/chrome/common/extensions/docs/browsingData.html index 4d37a5b..1114a8d 100644 --- a/chrome/common/extensions/docs/browsingData.html +++ b/chrome/common/extensions/docs/browsingData.html @@ -262,7 +262,7 @@ </p> <h2 id="manifest">Manifest</h2> <p> - You must declare the "clear" permission in the + You must declare the "browsingData" permission in the <a href="manifest.html">extension manifest</a> to use this API. </p> <pre>{ @@ -1815,7 +1815,7 @@ chrome.browsingData.removeCookies({ </div> </em> </dt> - <dd>Remove data accumulated on or after this date, represented in milliseconds since the epoch ('Date().GetTime()'). If absent, defaults to 0 (which would remove everything).</dd> + <dd>Remove data accumulated on or after this date, represented in milliseconds since the epoch (accessible via the <code>getTime</code> method of the JavaScript <code>Date</code> object). If absent, defaults to 0 (which would remove all browsing data).</dd> <!-- OBJECT PROPERTIES --> <!-- OBJECT METHODS --> <!-- OBJECT EVENT FIELDS --> diff --git a/chrome/common/extensions/docs/examples/api/browsingData/basic.zip b/chrome/common/extensions/docs/examples/api/browsingData/basic.zip Binary files differindex d1c9cff..98d0f365 100644 --- a/chrome/common/extensions/docs/examples/api/browsingData/basic.zip +++ b/chrome/common/extensions/docs/examples/api/browsingData/basic.zip diff --git a/chrome/common/extensions/docs/static/browsingData.html b/chrome/common/extensions/docs/static/browsingData.html index 27ed66b..bd81526 100644 --- a/chrome/common/extensions/docs/static/browsingData.html +++ b/chrome/common/extensions/docs/static/browsingData.html @@ -9,7 +9,7 @@ <h2 id="manifest">Manifest</h2> <p> - You must declare the "clear" permission in the + You must declare the "browsingData" permission in the <a href="manifest.html">extension manifest</a> to use this API. </p> |