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

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

Issue 10701012: JSON Schema Compiler: Added event compilation. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 5 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
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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
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",
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
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 ]
OLDNEW
« no previous file with comments | « no previous file | tools/json_schema_compiler/cc_generator.py » ('j') | tools/json_schema_compiler/h_generator.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698