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

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

Issue 10807086: Trigger chrome.storage.onChanged events for policy updates on the 'managed' namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased, addressed comments, fixed ManagedStorageDisabled test Created 8 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 | 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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 ]
OLDNEW
« no previous file with comments | « chrome/browser/extensions/settings/value_store_cache.cc ('k') | chrome/common/extensions/docs/apps/storage.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698