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

Unified Diff: chrome/common/extensions/api/storage.json

Issue 9921003: Make the constants in the chrome.storage API actual powers of 2, and comma- (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/common/extensions/docs/js/api_page_generator.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/storage.json
diff --git a/chrome/common/extensions/api/storage.json b/chrome/common/extensions/api/storage.json
index b3a7e98d63d019030d18880555c47dace879d7f6..998ac6b7d8eba795baecc92034cea8abb5f41c7a 100644
--- a/chrome/common/extensions/api/storage.json
+++ b/chrome/common/extensions/api/storage.json
@@ -49,7 +49,7 @@
{
"name": "callback",
"type": "function",
- "description": "Callback with storage items, or on failure (in which case lastError will be set).",
+ "description": "Callback with storage items, or on failure (in which case <a href='extension.html#property-lastError'>chrome.extension.lastError</a> will be set).",
"parameters": [
{
"name": "items",
@@ -78,7 +78,7 @@
{
"name": "callback",
"type": "function",
- "description": "Callback with the amount of space being used by storage, or on failure (in which case lastError will be set).",
+ "description": "Callback with the amount of space being used by storage, or on failure (in which case <a href='extension.html#property-lastError'>chrome.extension.lastError</a> will be set).",
"parameters": [
{
"name": "bytesInUse",
@@ -103,7 +103,7 @@
{
"name": "callback",
"type": "function",
- "description": "Callback on success, or on failure (in which case lastError will be set).",
+ "description": "Callback on success, or on failure (in which case <a href='extension.html#property-lastError'>chrome.extension.lastError</a> will be set).",
"parameters": [],
"optional": true
}
@@ -125,7 +125,7 @@
{
"name": "callback",
"type": "function",
- "description": "Callback on success, or on failure (in which case lastError will be set).",
+ "description": "Callback on success, or on failure (in which case <a href='extension.html#property-lastError'>chrome.extension.lastError</a> will be set).",
"parameters": [],
"optional": true
}
@@ -139,7 +139,7 @@
{
"name": "callback",
"type": "function",
- "description": "Callback on success, or on failure (in which case lastError will be set).",
+ "description": "Callback on success, or on failure (in which case <a href='extension.html#property-lastError'>chrome.extension.lastError</a> will be set).",
"parameters": [],
"optional": true
}
@@ -198,8 +198,8 @@
"properties": {
"QUOTA_BYTES": {
"type": "integer",
- "value": "5120000",
- "description": "The maximum amount (in bytes) of data that can be stored in local storage. This value may be ignored if the extension has the <code>unlimitedStorage</code> permission."
+ "value": "5242880",
+ "description": "The maximum amount (in bytes) of data that can be stored in local storage. This value will be ignored if the extension has the <code>unlimitedStorage</code> permission."
}
}
}
« no previous file with comments | « no previous file | chrome/common/extensions/docs/js/api_page_generator.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698