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

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

Issue 10750010: Add an installType property to the management API (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 5 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":"management", 7 "namespace":"management",
8 "types": [ 8 "types": [
9 { 9 {
10 "id": "IconInfo", 10 "id": "IconInfo",
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 "items" : { 91 "items" : {
92 "type": "string" 92 "type": "string"
93 } 93 }
94 }, 94 },
95 "hostPermissions": { 95 "hostPermissions": {
96 "description": "Returns a list of host based permissions.", 96 "description": "Returns a list of host based permissions.",
97 "type": "array", 97 "type": "array",
98 "items" : { 98 "items" : {
99 "type": "string" 99 "type": "string"
100 } 100 }
101 },
102 "installType": {
103 "description": "How the extension was installed (\"normal\", \"devel opment\", \"sideload\"). \"normal\" means the extension was installed normally v ia a crx file. \"development\" means the extension was loaded unpacked in develo per mode. \"sideload\" means the extension was installed externally.",
Aaron Boodman 2012/07/10 22:19:14 "sideload" means the extension was installed by ot
mitchellwrosen 2012/07/31 18:05:41 Done.
104 "type": "string"
101 } 105 }
102 } 106 }
103 } 107 }
104 ], 108 ],
105 "functions": [ 109 "functions": [
106 { 110 {
107 "name": "getAll", 111 "name": "getAll",
108 "description": "Returns a list of information about installed extensions and apps.", 112 "description": "Returns a list of information about installed extensions and apps.",
109 "parameters": [ 113 "parameters": [
110 { 114 {
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 }, 290 },
287 { 291 {
288 "name": "onDisabled", 292 "name": "onDisabled",
289 "description": "Fired when an app or extension has been disabled", 293 "description": "Fired when an app or extension has been disabled",
290 "type": "function", 294 "type": "function",
291 "parameters": [{"name": "info", "$ref":"ExtensionInfo"}] 295 "parameters": [{"name": "info", "$ref":"ExtensionInfo"}]
292 } 296 }
293 ] 297 ]
294 } 298 }
295 ] 299 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698