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

Side by Side 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, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [ 5 [
6 { 6 {
7 "namespace": "storage", 7 "namespace": "storage",
8 "unprivileged": true, 8 "unprivileged": true,
9 "types": [ 9 "types": [
10 { 10 {
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 "value": 102400, 178 "value": 102400,
179 "description": "The maximum total amount (in bytes) of data that can be stored in sync storage." 179 "description": "The maximum total amount (in bytes) of data that can be stored in sync storage."
180 }, 180 },
181 "QUOTA_BYTES_PER_ITEM": { 181 "QUOTA_BYTES_PER_ITEM": {
182 "value": 2048, 182 "value": 2048,
183 "description": "The maximum size (in bytes) of each individual item in sync storage." 183 "description": "The maximum size (in bytes) of each individual item in sync storage."
184 }, 184 },
185 "MAX_ITEMS": { 185 "MAX_ITEMS": {
186 "value": 512, 186 "value": 512,
187 "description": "The maximum number of items that can be stored in sy nc storage." 187 "description": "The maximum number of items that can be stored in sy nc storage."
188 },
189 "MAX_WRITE_OPERATIONS_PER_HOUR": {
190 "value": 1000,
191 "description": "The maximum number of <code>set</code>, <code>remove </code>, or <code>clear</code> operations that can be performed each hour."
192 },
193 "MAX_SUSTAINED_WRITE_OPERATIONS_PER_MINUTE": {
194 "value": 10,
195 "description": "The maximum number of <code>set</code>, <code>remove </code>, or <code>clear</code> operations that can be performed each minute, sus tained over 10 minutes."
188 } 196 }
189 } 197 }
190 }, 198 },
191 "local": { 199 "local": {
192 "$ref": "StorageArea", 200 "$ref": "StorageArea",
193 "description": "Items under the \"local\" namespace are local to each ma chine.", 201 "description": "Items under the \"local\" namespace are local to each ma chine.",
194 "value": [ "local" ], 202 "value": [ "local" ],
195 "properties": { 203 "properties": {
196 "QUOTA_BYTES": { 204 "QUOTA_BYTES": {
197 "value": 5242880, 205 "value": 5242880,
198 "description": "The maximum amount (in bytes) of data that can be st ored in local storage. This value will be ignored if the extension has the <code >unlimitedStorage</code> permission." 206 "description": "The maximum amount (in bytes) of data that can be st ored in local storage. This value will be ignored if the extension has the <code >unlimitedStorage</code> permission."
199 } 207 }
200 } 208 }
201 } 209 }
202 } 210 }
203 } 211 }
204 ] 212 ]
OLDNEW
« 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