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

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

Issue 10266006: Define the storage API throttling constants in storage.json so that they are (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 8 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 | « chrome/browser/extensions/settings/settings_api.cc ('k') | chrome/common/extensions/docs/storage.html » ('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 1b9b298eeed415e8c58cf83a4803b2841c4755fa..6d9f0f089b5a27b5acb8be4ce930634628eb0b56 100644
--- a/chrome/common/extensions/api/storage.json
+++ b/chrome/common/extensions/api/storage.json
@@ -185,6 +185,14 @@
"MAX_ITEMS": {
"value": 512,
"description": "The maximum number of items that can be stored in sync storage."
+ },
+ "MAX_WRITE_OPERATIONS_PER_HOUR": {
+ "value": 1000,
+ "description": "The maximum number of <code>set</code>, <code>remove</code>, or <code>clear</code> operations that can be performed each hour."
+ },
+ "MAX_SUSTAINED_WRITE_OPERATIONS_PER_MINUTE": {
+ "value": 10,
+ "description": "The maximum number of <code>set</code>, <code>remove</code>, or <code>clear</code> operations that can be performed each minute, sustained over 10 minutes."
}
}
},
« no previous file with comments | « chrome/browser/extensions/settings/settings_api.cc ('k') | chrome/common/extensions/docs/storage.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698