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

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

Issue 12996003: Dynamically generate a heading for Extension Docs API pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 9 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> module to implement optional permissions.",
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

Powered by Google App Engine
This is Rietveld 408576698