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

Side by Side Diff: extensions/common/api/storage.json

Issue 497123002: Raise the chrome.storage.sync per-item quota to 8K. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update test expectation Created 6 years, 4 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
« no previous file with comments | « chrome/browser/extensions/api/storage/settings_sync_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "description": "Use the <code>chrome.storage</code> API to store, retrieve, and track changes to user data.", 8 "description": "Use the <code>chrome.storage</code> API to store, retrieve, and track changes to user data.",
9 "unprivileged": true, 9 "unprivileged": true,
10 "types": [ 10 "types": [
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 "sync": { 174 "sync": {
175 "$ref": "StorageArea", 175 "$ref": "StorageArea",
176 "description": "Items in the <code>sync</code> storage area are synced u sing Chrome Sync.", 176 "description": "Items in the <code>sync</code> storage area are synced u sing Chrome Sync.",
177 "value": [ "sync" ], 177 "value": [ "sync" ],
178 "properties": { 178 "properties": {
179 "QUOTA_BYTES": { 179 "QUOTA_BYTES": {
180 "value": 102400, 180 "value": 102400,
181 "description": "The maximum total amount (in bytes) of data that can be stored in sync storage, as measured by the JSON stringification of every val ue plus every key's length. Updates that would cause this limit to be exceeded f ail immediately and set $(ref:runtime.lastError)." 181 "description": "The maximum total amount (in bytes) of data that can be stored in sync storage, as measured by the JSON stringification of every val ue plus every key's length. Updates that would cause this limit to be exceeded f ail immediately and set $(ref:runtime.lastError)."
182 }, 182 },
183 "QUOTA_BYTES_PER_ITEM": { 183 "QUOTA_BYTES_PER_ITEM": {
184 "value": 4096, 184 "value": 8192,
185 "description": "The maximum size (in bytes) of each individual item in sync storage, as measured by the JSON stringification of its value plus its k ey length. Updates containing items larger than this limit will fail immediately and set $(ref:runtime.lastError)." 185 "description": "The maximum size (in bytes) of each individual item in sync storage, as measured by the JSON stringification of its value plus its k ey length. Updates containing items larger than this limit will fail immediately and set $(ref:runtime.lastError)."
186 }, 186 },
187 "MAX_ITEMS": { 187 "MAX_ITEMS": {
188 "value": 512, 188 "value": 512,
189 "description": "The maximum number of items that can be stored in sy nc storage. Updates that would cause this limit to be exceeded will fail immedia tely and set $(ref:runtime.lastError)." 189 "description": "The maximum number of items that can be stored in sy nc storage. Updates that would cause this limit to be exceeded will fail immedia tely and set $(ref:runtime.lastError)."
190 }, 190 },
191 "MAX_WRITE_OPERATIONS_PER_HOUR": { 191 "MAX_WRITE_OPERATIONS_PER_HOUR": {
192 "value": 1000, 192 "value": 1000,
193 "description": "The maximum number of <code>set</code>, <code>remove </code>, or <code>clear</code> operations that can be performed each hour. Updat es that would cause this limit to be exceeded fail immediately and set $(ref:run time.lastError)." 193 "description": "The maximum number of <code>set</code>, <code>remove </code>, or <code>clear</code> operations that can be performed each hour. Updat es that would cause this limit to be exceeded fail immediately and set $(ref:run time.lastError)."
194 }, 194 },
(...skipping 15 matching lines...) Expand all
210 } 210 }
211 }, 211 },
212 "managed": { 212 "managed": {
213 "$ref": "StorageArea", 213 "$ref": "StorageArea",
214 "description": "Items in the <code>managed</code> storage area are set b y the domain administrator, and are read-only for the extension; trying to modif y this namespace results in an error.", 214 "description": "Items in the <code>managed</code> storage area are set b y the domain administrator, and are read-only for the extension; trying to modif y this namespace results in an error.",
215 "value": [ "managed" ] 215 "value": [ "managed" ]
216 } 216 }
217 } 217 }
218 } 218 }
219 ] 219 ]
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/storage/settings_sync_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698