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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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": "areaName", | 164 "name": "areaName", |
165 "type": "string", | 165 "type": "string", |
166 "description": "The name of the storage area (\"sync\" or \"local\")
the changes are for." | 166 "description": "The name of the storage area (\"sync\", \"local\" or
\"managed\") 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\" storage area are synced using C
hrome Sync.", | 174 "description": "Items under the \"sync\" storage area are synced using C
hrome Sync.", |
175 "value": [ "sync" ], | 175 "value": [ "sync" ], |
176 "properties": { | 176 "properties": { |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 } | 208 } |
209 }, | 209 }, |
210 "managed": { | 210 "managed": { |
211 "$ref": "StorageArea", | 211 "$ref": "StorageArea", |
212 "description": "Items under the \"managed\" storage area are set by the
domain administrator, and are read-only by the extension; trying to modify this
namespace results in an error.", | 212 "description": "Items under the \"managed\" storage area are set by the
domain administrator, and are read-only by the extension; trying to modify this
namespace results in an error.", |
213 "value": [ "managed" ] | 213 "value": [ "managed" ] |
214 } | 214 } |
215 } | 215 } |
216 } | 216 } |
217 ] | 217 ] |
OLD | NEW |