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

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

Issue 16876004: Updating JSON Schema Compiler to add description field to schemas. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (kalman) rebase Created 7 years, 6 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": "permissions", 7 "namespace": "permissions",
8 "description": "Use the <code>chrome.permissions</code> API to implement opt ional permissions. As of Chrome 16, you can request optional permissions during your extension's regular application flow rather than at install time, so users understand why the permissions are needed and use only those that are necessary. ",
8 "types": [ 9 "types": [
9 { 10 {
10 "id": "Permissions", 11 "id": "Permissions",
11 "type": "object", 12 "type": "object",
12 "properties": { 13 "properties": {
13 "permissions": { 14 "permissions": {
14 "type": "array", 15 "type": "array",
15 "items": {"type": "string"}, 16 "items": {"type": "string"},
16 "optional": true, 17 "optional": true,
17 "description": "List of named permissions (does not include hosts or origins)." 18 "description": "List of named permissions (does not include hosts or origins)."
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 "type": "boolean", 135 "type": "boolean",
135 "description": "True if the permissions were removed." 136 "description": "True if the permissions were removed."
136 } 137 }
137 ] 138 ]
138 } 139 }
139 ] 140 ]
140 } 141 }
141 ] 142 ]
142 } 143 }
143 ] 144 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/page_launcher.idl ('k') | chrome/common/extensions/api/preferences_private.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698