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 // Note: hand-modified to change Array to !Array in ItemInfo typedef. | 7 // Note: hand-modified to change Array to !Array in ItemInfo typedef, and add |
| 8 // typedef {string} for idl enums. |
| 9 |
| 10 /** |
| 11 * @typedef {string} |
| 12 */ |
| 13 var ItemType; |
8 | 14 |
9 /** | 15 /** |
10 * @typedef {{ | 16 * @typedef {{ |
11 * path: string, | 17 * path: string, |
12 * render_process_id: number, | 18 * render_process_id: number, |
13 * render_view_id: number, | 19 * render_view_id: number, |
14 * incognito: boolean, | 20 * incognito: boolean, |
15 * generatedBackgroundPage: boolean | 21 * generatedBackgroundPage: boolean |
16 * }} | 22 * }} |
17 */ | 23 */ |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 * @typedef {{ | 68 * @typedef {{ |
63 * extension_id: string, | 69 * extension_id: string, |
64 * render_process_id: string, | 70 * render_process_id: string, |
65 * render_view_id: string, | 71 * render_view_id: string, |
66 * incognito: boolean | 72 * incognito: boolean |
67 * }} | 73 * }} |
68 */ | 74 */ |
69 var InspectOptions; | 75 var InspectOptions; |
70 | 76 |
71 /** | 77 /** |
| 78 * @typedef {string} |
| 79 */ |
| 80 var PackStatus; |
| 81 |
| 82 /** |
| 83 * @typedef {string} |
| 84 */ |
| 85 var FileType; |
| 86 |
| 87 /** |
| 88 * @typedef {string} |
| 89 */ |
| 90 var SelectType; |
| 91 |
| 92 /** |
| 93 * @typedef {string} |
| 94 */ |
| 95 var EventType; |
| 96 |
| 97 /** |
72 * @typedef {{ | 98 * @typedef {{ |
73 * message: string, | 99 * message: string, |
74 * item_path: string, | 100 * item_path: string, |
75 * pem_path: string, | 101 * pem_path: string, |
76 * override_flags: number, | 102 * override_flags: number, |
77 * status: PackStatus | 103 * status: PackStatus |
78 * }} | 104 * }} |
79 */ | 105 */ |
80 var PackDirectoryResponse; | 106 var PackDirectoryResponse; |
81 | 107 |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 * @param {Function} callback called with the success result string. | 215 * @param {Function} callback called with the success result string. |
190 */ | 216 */ |
191 chrome.developerPrivate.packDirectory = function(path, private_key_path, flags,
callback) {}; | 217 chrome.developerPrivate.packDirectory = function(path, private_key_path, flags,
callback) {}; |
192 | 218 |
193 /** | 219 /** |
194 * Returns true if the profile is managed. | 220 * Returns true if the profile is managed. |
195 * @param {Function} callback | 221 * @param {Function} callback |
196 */ | 222 */ |
197 chrome.developerPrivate.isProfileManaged = function(callback) {}; | 223 chrome.developerPrivate.isProfileManaged = function(callback) {}; |
198 | 224 |
| 225 /** |
| 226 * Reads and returns the contents of a file related to an extension which |
| 227 * caused an error. |
| 228 * @param {?} dict |
| 229 * @param {Function} callback |
| 230 */ |
| 231 chrome.developerPrivate.requestFileSource = function(dict, callback) {}; |
| 232 |
| 233 /** |
| 234 * Open the developer tools to focus on a particular error. |
| 235 * @param {?} dict |
| 236 */ |
| 237 chrome.developerPrivate.openDevTools = function(dict) {}; |
| 238 |
199 /** @type {!ChromeEvent} */ | 239 /** @type {!ChromeEvent} */ |
200 chrome.developerPrivate.onItemStateChanged; | 240 chrome.developerPrivate.onItemStateChanged; |
OLD | NEW |