From 89629dc07beed4873e49bf9106e68ebb35148701 Mon Sep 17 00:00:00 2001
From: "mkwst@chromium.org"
Date: Mon, 27 Feb 2012 09:13:16 +0000
Subject: 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
---
chrome/common/extensions/api/browsingData.json | 2 +-
chrome/common/extensions/docs/browsingData.html | 4 ++--
.../docs/examples/api/browsingData/basic.zip | Bin 9255 -> 9263 bytes
.../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 getTime
method of the JavaScript Date
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 @@
Manifest
- You must declare the "clear" permission in the
+ You must declare the "browsingData" permission in the
extension manifest to use this API.
{
@@ -1815,7 +1815,7 @@ chrome.browsingData.removeCookies({
-
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).
+ Remove data accumulated on or after this date, represented in milliseconds since the epoch (accessible via the getTime
method of the JavaScript Date
object). If absent, defaults to 0 (which would remove all browsing data).
diff --git a/chrome/common/extensions/docs/examples/api/browsingData/basic.zip b/chrome/common/extensions/docs/examples/api/browsingData/basic.zip
index d1c9cff..98d0f365 100644
Binary files a/chrome/common/extensions/docs/examples/api/browsingData/basic.zip and b/chrome/common/extensions/docs/examples/api/browsingData/basic.zip differ
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 @@
Manifest
- You must declare the "clear" permission in the
+ You must declare the "browsingData" permission in the
extension manifest to use this API.
--
cgit v1.1