Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 154 "type": "function", | 154 "type": "function", |
| 155 "description": "Fired when one or more items change.", | 155 "description": "Fired when one or more items change.", |
| 156 "parameters": [ | 156 "parameters": [ |
| 157 { | 157 { |
| 158 "name": "changes", | 158 "name": "changes", |
| 159 "type": "object", | 159 "type": "object", |
| 160 "additionalProperties": { "$ref": "StorageChange" }, | 160 "additionalProperties": { "$ref": "StorageChange" }, |
| 161 "description": "Object mapping each key that changed to its correspo nding <a href='#type-StorageChange'>StorageChange</a> for that item." | 161 "description": "Object mapping each key that changed to its correspo nding <a href='#type-StorageChange'>StorageChange</a> for that item." |
| 162 }, | 162 }, |
| 163 { | 163 { |
| 164 "name": "namespace", | 164 "name": "storageNamespace", |
|
not at google - send to devlin
2012/07/03 14:21:39
I always wanted to change references to this in he
Matt Tytel
2012/07/11 02:08:50
Done.
| |
| 165 "type": "string", | 165 "type": "string", |
| 166 "description": "The namespace (\"sync\" or \"local\") of the storage area the changes are for." | 166 "description": "The namespace (\"sync\" or \"local\") of the storage area the changes are for." |
| 167 } | 167 } |
| 168 ] | 168 ] |
| 169 } | 169 } |
| 170 ], | 170 ], |
| 171 "properties": { | 171 "properties": { |
| 172 "sync": { | 172 "sync": { |
| 173 "$ref": "StorageArea", | 173 "$ref": "StorageArea", |
| 174 "description": "Items under the \"sync\" namespace are synced using Chro me Sync.", | 174 "description": "Items under the \"sync\" namespace are synced using Chro me Sync.", |
| (...skipping 28 matching lines...) Expand all Loading... | |
| 203 "properties": { | 203 "properties": { |
| 204 "QUOTA_BYTES": { | 204 "QUOTA_BYTES": { |
| 205 "value": 5242880, | 205 "value": 5242880, |
| 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. Updates that would cause this limit to be e xceeded fail." | 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. Updates that would cause this limit to be e xceeded fail." |
| 207 } | 207 } |
| 208 } | 208 } |
| 209 } | 209 } |
| 210 } | 210 } |
| 211 } | 211 } |
| 212 ] | 212 ] |
| OLD | NEW |