| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 /** @fileoverview Externs generated from namespace: developerPrivate */ | 5 /** @fileoverview Externs generated from namespace: developerPrivate */ |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * @const | 8 * @const |
| 9 */ | 9 */ |
| 10 chrome.developerPrivate = {}; | 10 chrome.developerPrivate = {}; |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 */ | 141 */ |
| 142 var StackFrame; | 142 var StackFrame; |
| 143 | 143 |
| 144 /** | 144 /** |
| 145 * @typedef {{ | 145 * @typedef {{ |
| 146 * type: !chrome.developerPrivate.ErrorType, | 146 * type: !chrome.developerPrivate.ErrorType, |
| 147 * extensionId: string, | 147 * extensionId: string, |
| 148 * fromIncognito: boolean, | 148 * fromIncognito: boolean, |
| 149 * source: string, | 149 * source: string, |
| 150 * message: string, | 150 * message: string, |
| 151 * id: number, |
| 151 * manifestKey: string, | 152 * manifestKey: string, |
| 152 * manifestSpecific: (string|undefined) | 153 * manifestSpecific: (string|undefined) |
| 153 * }} | 154 * }} |
| 154 * @see https://developer.chrome.com/extensions/developerPrivate#type-ManifestEr
ror | 155 * @see https://developer.chrome.com/extensions/developerPrivate#type-ManifestEr
ror |
| 155 */ | 156 */ |
| 156 var ManifestError; | 157 var ManifestError; |
| 157 | 158 |
| 158 /** | 159 /** |
| 159 * @typedef {{ | 160 * @typedef {{ |
| 160 * type: !chrome.developerPrivate.ErrorType, | 161 * type: !chrome.developerPrivate.ErrorType, |
| 161 * extensionId: string, | 162 * extensionId: string, |
| 162 * fromIncognito: boolean, | 163 * fromIncognito: boolean, |
| 163 * source: string, | 164 * source: string, |
| 164 * message: string, | 165 * message: string, |
| 166 * id: number, |
| 165 * severity: !chrome.developerPrivate.ErrorLevel, | 167 * severity: !chrome.developerPrivate.ErrorLevel, |
| 166 * contextUrl: string, | 168 * contextUrl: string, |
| 167 * occurrences: number, | 169 * occurrences: number, |
| 168 * renderViewId: number, | 170 * renderViewId: number, |
| 169 * renderProcessId: number, | 171 * renderProcessId: number, |
| 170 * canInspect: boolean, | 172 * canInspect: boolean, |
| 171 * stackTrace: !Array<StackFrame> | 173 * stackTrace: !Array<StackFrame> |
| 172 * }} | 174 * }} |
| 173 * @see https://developer.chrome.com/extensions/developerPrivate#type-RuntimeErr
or | 175 * @see https://developer.chrome.com/extensions/developerPrivate#type-RuntimeErr
or |
| 174 */ | 176 */ |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 * @see https://developer.chrome.com/extensions/developerPrivate#type-EventType | 381 * @see https://developer.chrome.com/extensions/developerPrivate#type-EventType |
| 380 */ | 382 */ |
| 381 chrome.developerPrivate.EventType = { | 383 chrome.developerPrivate.EventType = { |
| 382 INSTALLED: 'INSTALLED', | 384 INSTALLED: 'INSTALLED', |
| 383 UNINSTALLED: 'UNINSTALLED', | 385 UNINSTALLED: 'UNINSTALLED', |
| 384 LOADED: 'LOADED', | 386 LOADED: 'LOADED', |
| 385 UNLOADED: 'UNLOADED', | 387 UNLOADED: 'UNLOADED', |
| 386 VIEW_REGISTERED: 'VIEW_REGISTERED', | 388 VIEW_REGISTERED: 'VIEW_REGISTERED', |
| 387 VIEW_UNREGISTERED: 'VIEW_UNREGISTERED', | 389 VIEW_UNREGISTERED: 'VIEW_UNREGISTERED', |
| 388 ERROR_ADDED: 'ERROR_ADDED', | 390 ERROR_ADDED: 'ERROR_ADDED', |
| 391 ERRORS_REMOVED: 'ERRORS_REMOVED', |
| 389 PREFS_CHANGED: 'PREFS_CHANGED', | 392 PREFS_CHANGED: 'PREFS_CHANGED', |
| 390 }; | 393 }; |
| 391 | 394 |
| 392 /** | 395 /** |
| 393 * @typedef {{ | 396 * @typedef {{ |
| 394 * message: string, | 397 * message: string, |
| 395 * item_path: string, | 398 * item_path: string, |
| 396 * pem_path: string, | 399 * pem_path: string, |
| 397 * override_flags: number, | 400 * override_flags: number, |
| 398 * status: !chrome.developerPrivate.PackStatus | 401 * status: !chrome.developerPrivate.PackStatus |
| (...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 677 * @see https://developer.chrome.com/extensions/developerPrivate#method-inspect | 680 * @see https://developer.chrome.com/extensions/developerPrivate#method-inspect |
| 678 */ | 681 */ |
| 679 chrome.developerPrivate.inspect = function(options, callback) {}; | 682 chrome.developerPrivate.inspect = function(options, callback) {}; |
| 680 | 683 |
| 681 /** | 684 /** |
| 682 * Fired when a item state is changed. | 685 * Fired when a item state is changed. |
| 683 * @type {!ChromeEvent} | 686 * @type {!ChromeEvent} |
| 684 * @see https://developer.chrome.com/extensions/developerPrivate#event-onItemSta
teChanged | 687 * @see https://developer.chrome.com/extensions/developerPrivate#event-onItemSta
teChanged |
| 685 */ | 688 */ |
| 686 chrome.developerPrivate.onItemStateChanged; | 689 chrome.developerPrivate.onItemStateChanged; |
| OLD | NEW |