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

Side by Side Diff: tools/json_schema_compiler/test/permissions.json

Issue 11745015: Update references to the extension messaging APIs to point to the "runtime" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 11 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 [ 1 [
2 { 2 {
3 "namespace": "permissions", 3 "namespace": "permissions",
4 "types": [ 4 "types": [
5 { 5 {
6 "id": "Permissions", 6 "id": "Permissions",
7 "type": "object", 7 "type": "object",
8 "properties": { 8 "properties": {
9 "permissions": { 9 "permissions": {
10 "type": "array", 10 "type": "array",
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 "type": "boolean", 84 "type": "boolean",
85 "description": "True if the extension has the specified permissi ons." 85 "description": "True if the extension has the specified permissi ons."
86 } 86 }
87 ] 87 ]
88 } 88 }
89 ] 89 ]
90 }, 90 },
91 { 91 {
92 "name": "request", 92 "name": "request",
93 "type": "function", 93 "type": "function",
94 "description": "Requests access to the specified permissions. These perm issions must be defined in the optional_permissions field of the manifest. If th ere are any problems requesting the permissions, <a href='extension.html#propert y-lastError'>chrome.extension.lastError</a> will be set.", 94 "description": "Requests access to the specified permissions. These perm issions must be defined in the optional_permissions field of the manifest. If th ere are any problems requesting the permissions, <a href='extension.html#propert y-lastError'>chrome.runtime.lastError</a> will be set.",
95 "parameters": [ 95 "parameters": [
96 { 96 {
97 "name": "permissions", 97 "name": "permissions",
98 "$ref": "Permissions" 98 "$ref": "Permissions"
99 }, 99 },
100 { 100 {
101 "name": "callback", 101 "name": "callback",
102 "type": "function", 102 "type": "function",
103 "optional": true, 103 "optional": true,
104 "parameters": [ 104 "parameters": [
105 { 105 {
106 "name": "granted", 106 "name": "granted",
107 "type": "boolean", 107 "type": "boolean",
108 "description": "True if the user granted the specified permissio ns." 108 "description": "True if the user granted the specified permissio ns."
109 } 109 }
110 ] 110 ]
111 } 111 }
112 ] 112 ]
113 }, 113 },
114 { 114 {
115 "name": "remove", 115 "name": "remove",
116 "type": "function", 116 "type": "function",
117 "description": "Removes access to the specified permissions. If there ar e any problems removing the permissions, <a href='extension.html#property-lastEr ror'>chrome.extension.lastError</a> will be set.", 117 "description": "Removes access to the specified permissions. If there ar e any problems removing the permissions, <a href='extension.html#property-lastEr ror'>chrome.runtime.lastError</a> will be set.",
118 "parameters": [ 118 "parameters": [
119 { 119 {
120 "name": "permissions", 120 "name": "permissions",
121 "$ref": "Permissions" 121 "$ref": "Permissions"
122 }, 122 },
123 { 123 {
124 "name": "callback", 124 "name": "callback",
125 "type": "function", 125 "type": "function",
126 "optional": true, 126 "optional": true,
127 "parameters": [ 127 "parameters": [
128 { 128 {
129 "name": "removed", 129 "name": "removed",
130 "type": "boolean", 130 "type": "boolean",
131 "description": "True if the permissions were removed." 131 "description": "True if the permissions were removed."
132 } 132 }
133 ] 133 ]
134 } 134 }
135 ] 135 ]
136 } 136 }
137 ] 137 ]
138 } 138 }
139 ] 139 ]
OLDNEW
« no previous file with comments | « chrome/test/data/panels/context_menu2/test.js ('k') | tools/json_schema_compiler/test/tabs.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698