disable two ClientCertStoreChromeOSTest.* unit_tests on Valgrind bots
[chromium-blink-merge.git] / third_party / closure_compiler / externs / developer_private.js
blobc4a94f32486095568defeddd31986a4ddb2850cc
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
3 // found in the LICENSE file.
5 /** @fileoverview Externs generated from namespace: developerPrivate */
7 /**
8  * @const
9  */
10 chrome.developerPrivate = {};
12 /**
13  * @enum {string}
14  * @see https://developer.chrome.com/extensions/developerPrivate#type-ItemType
15  */
16 chrome.developerPrivate.ItemType = {
17   HOSTED_APP: 'hosted_app',
18   PACKAGED_APP: 'packaged_app',
19   LEGACY_PACKAGED_APP: 'legacy_packaged_app',
20   EXTENSION: 'extension',
21   THEME: 'theme',
24 /**
25  * @typedef {{
26  *   path: string,
27  *   render_process_id: number,
28  *   render_view_id: number,
29  *   incognito: boolean,
30  *   generatedBackgroundPage: boolean
31  * }}
32  * @see https://developer.chrome.com/extensions/developerPrivate#type-ItemInspectView
33  */
34 var ItemInspectView;
36 /**
37  * @typedef {{
38  *   extension_id: string,
39  *   render_process_id: (string|number),
40  *   render_view_id: (string|number),
41  *   incognito: boolean
42  * }}
43  * @see https://developer.chrome.com/extensions/developerPrivate#type-InspectOptions
44  */
45 var InspectOptions;
47 /**
48  * @typedef {{
49  *   message: string
50  * }}
51  * @see https://developer.chrome.com/extensions/developerPrivate#type-InstallWarning
52  */
53 var InstallWarning;
55 /**
56  * @enum {string}
57  * @see https://developer.chrome.com/extensions/developerPrivate#type-ExtensionType
58  */
59 chrome.developerPrivate.ExtensionType = {
60   HOSTED_APP: 'HOSTED_APP',
61   PLATFORM_APP: 'PLATFORM_APP',
62   LEGACY_PACKAGED_APP: 'LEGACY_PACKAGED_APP',
63   EXTENSION: 'EXTENSION',
64   THEME: 'THEME',
65   SHARED_MODULE: 'SHARED_MODULE',
68 /**
69  * @enum {string}
70  * @see https://developer.chrome.com/extensions/developerPrivate#type-Location
71  */
72 chrome.developerPrivate.Location = {
73   FROM_STORE: 'FROM_STORE',
74   UNPACKED: 'UNPACKED',
75   THIRD_PARTY: 'THIRD_PARTY',
76   UNKNOWN: 'UNKNOWN',
79 /**
80  * @enum {string}
81  * @see https://developer.chrome.com/extensions/developerPrivate#type-ViewType
82  */
83 chrome.developerPrivate.ViewType = {
84   APP_WINDOW: 'APP_WINDOW',
85   BACKGROUND_CONTENTS: 'BACKGROUND_CONTENTS',
86   EXTENSION_BACKGROUND_PAGE: 'EXTENSION_BACKGROUND_PAGE',
87   EXTENSION_DIALOG: 'EXTENSION_DIALOG',
88   EXTENSION_POPUP: 'EXTENSION_POPUP',
89   LAUNCHER_PAGE: 'LAUNCHER_PAGE',
90   PANEL: 'PANEL',
91   TAB_CONTENTS: 'TAB_CONTENTS',
92   VIRTUAL_KEYBOARD: 'VIRTUAL_KEYBOARD',
95 /**
96  * @enum {string}
97  * @see https://developer.chrome.com/extensions/developerPrivate#type-ErrorType
98  */
99 chrome.developerPrivate.ErrorType = {
100   MANIFEST: 'MANIFEST',
101   RUNTIME: 'RUNTIME',
105  * @enum {string}
106  * @see https://developer.chrome.com/extensions/developerPrivate#type-ErrorLevel
107  */
108 chrome.developerPrivate.ErrorLevel = {
109   LOG: 'LOG',
110   WARN: 'WARN',
111   ERROR: 'ERROR',
115  * @enum {string}
116  * @see https://developer.chrome.com/extensions/developerPrivate#type-ExtensionState
117  */
118 chrome.developerPrivate.ExtensionState = {
119   ENABLED: 'ENABLED',
120   DISABLED: 'DISABLED',
121   TERMINATED: 'TERMINATED',
125  * @enum {string}
126  * @see https://developer.chrome.com/extensions/developerPrivate#type-CommandScope
127  */
128 chrome.developerPrivate.CommandScope = {
129   GLOBAL: 'GLOBAL',
130   CHROME: 'CHROME',
134  * @typedef {{
135  *   isEnabled: boolean,
136  *   isActive: boolean
137  * }}
138  * @see https://developer.chrome.com/extensions/developerPrivate#type-AccessModifier
139  */
140 var AccessModifier;
143  * @typedef {{
144  *   lineNumber: number,
145  *   columnNumber: number,
146  *   url: string,
147  *   functionName: string
148  * }}
149  * @see https://developer.chrome.com/extensions/developerPrivate#type-StackFrame
150  */
151 var StackFrame;
154  * @typedef {{
155  *   type: !chrome.developerPrivate.ErrorType,
156  *   extensionId: string,
157  *   fromIncognito: boolean,
158  *   source: string,
159  *   message: string,
160  *   id: number,
161  *   manifestKey: string,
162  *   manifestSpecific: (string|undefined)
163  * }}
164  * @see https://developer.chrome.com/extensions/developerPrivate#type-ManifestError
165  */
166 var ManifestError;
169  * @typedef {{
170  *   type: !chrome.developerPrivate.ErrorType,
171  *   extensionId: string,
172  *   fromIncognito: boolean,
173  *   source: string,
174  *   message: string,
175  *   id: number,
176  *   severity: !chrome.developerPrivate.ErrorLevel,
177  *   contextUrl: string,
178  *   occurrences: number,
179  *   renderViewId: number,
180  *   renderProcessId: number,
181  *   canInspect: boolean,
182  *   stackTrace: !Array<StackFrame>
183  * }}
184  * @see https://developer.chrome.com/extensions/developerPrivate#type-RuntimeError
185  */
186 var RuntimeError;
189  * @typedef {{
190  *   suspiciousInstall: boolean,
191  *   corruptInstall: boolean,
192  *   updateRequired: boolean
193  * }}
194  * @see https://developer.chrome.com/extensions/developerPrivate#type-DisableReasons
195  */
196 var DisableReasons;
199  * @typedef {{
200  *   openInTab: boolean,
201  *   url: string
202  * }}
203  * @see https://developer.chrome.com/extensions/developerPrivate#type-OptionsPage
204  */
205 var OptionsPage;
208  * @typedef {{
209  *   url: string,
210  *   specified: boolean
211  * }}
212  * @see https://developer.chrome.com/extensions/developerPrivate#type-HomePage
213  */
214 var HomePage;
217  * @typedef {{
218  *   url: string,
219  *   renderProcessId: number,
220  *   renderViewId: number,
221  *   incognito: boolean,
222  *   type: !chrome.developerPrivate.ViewType
223  * }}
224  * @see https://developer.chrome.com/extensions/developerPrivate#type-ExtensionView
225  */
226 var ExtensionView;
229  * @enum {string}
230  */
231 chrome.developerPrivate.ControllerType = {
232   POLICY: 'POLICY',
233   CHILD_CUSTODIAN: 'CHILD_CUSTODIAN',
234   SUPERVISED_USER_CUSTODIAN: 'SUPERVISED_USER_CUSTODIAN',
238  * @typedef {{
239  *   type: !chrome.developerPrivate.ControllerType,
240  *   text: string
241  * }}
242  */
243 var ControlledInfo;
246  * @typedef {{
247  *   description: string,
248  *   keybinding: string,
249  *   name: string,
250  *   isActive: boolean,
251  *   scope: !chrome.developerPrivate.CommandScope,
252  *   isExtensionAction: boolean
253  * }}
254  * @see https://developer.chrome.com/extensions/developerPrivate#type-Command
255  */
256 var Command;
259  * @typedef {{
260  *   actionButtonHidden: boolean,
261  *   blacklistText: (string|undefined),
262  *   commands: !Array<Command>,
263  *   controlledInfo: (ControlledInfo|undefined),
264  *   dependentExtensions: !Array<string>,
265  *   description: string,
266  *   disableReasons: DisableReasons,
267  *   errorCollection: AccessModifier,
268  *   fileAccess: AccessModifier,
269  *   homePage: HomePage,
270  *   iconUrl: string,
271  *   id: string,
272  *   incognitoAccess: AccessModifier,
273  *   installWarnings: !Array<string>,
274  *   launchUrl: (string|undefined),
275  *   location: !chrome.developerPrivate.Location,
276  *   locationText: (string|undefined),
277  *   manifestErrors: !Array<ManifestError>,
278  *   mustRemainInstalled: boolean,
279  *   name: string,
280  *   offlineEnabled: boolean,
281  *   optionsPage: (OptionsPage|undefined),
282  *   path: (string|undefined),
283  *   prettifiedPath: (string|undefined),
284  *   runOnAllUrls: AccessModifier,
285  *   runtimeErrors: !Array<RuntimeError>,
286  *   runtimeWarnings: !Array<string>,
287  *   state: !chrome.developerPrivate.ExtensionState,
288  *   type: !chrome.developerPrivate.ExtensionType,
289  *   updateUrl: string,
290  *   userMayModify: boolean,
291  *   version: string,
292  *   views: !Array<ExtensionView>
293  * }}
294  * @see https://developer.chrome.com/extensions/developerPrivate#type-ExtensionInfo
295  */
296 var ExtensionInfo;
299  * @typedef {{
300  *   appInfoDialogEnabled: boolean,
301  *   canLoadUnpacked: boolean,
302  *   inDeveloperMode: boolean,
303  *   isIncognitoAvailable: boolean,
304  *   isSupervised: boolean
305  * }}
306  * @see https://developer.chrome.com/extensions/developerPrivate#type-ProfileInfo
307  */
308 var ProfileInfo;
311  * @typedef {{
312  *   id: string,
313  *   name: string,
314  *   version: string,
315  *   description: string,
316  *   may_disable: boolean,
317  *   enabled: boolean,
318  *   isApp: boolean,
319  *   type: !chrome.developerPrivate.ItemType,
320  *   allow_activity: boolean,
321  *   allow_file_access: boolean,
322  *   wants_file_access: boolean,
323  *   incognito_enabled: boolean,
324  *   is_unpacked: boolean,
325  *   allow_reload: boolean,
326  *   terminated: boolean,
327  *   allow_incognito: boolean,
328  *   icon_url: string,
329  *   path: (string|undefined),
330  *   options_url: (string|undefined),
331  *   app_launch_url: (string|undefined),
332  *   homepage_url: (string|undefined),
333  *   update_url: (string|undefined),
334  *   install_warnings: !Array<InstallWarning>,
335  *   manifest_errors: !Array<*>,
336  *   runtime_errors: !Array<*>,
337  *   offline_enabled: boolean,
338  *   views: !Array<ItemInspectView>
339  * }}
340  * @see https://developer.chrome.com/extensions/developerPrivate#type-ItemInfo
341  */
342 var ItemInfo;
345  * @typedef {{
346  *   includeDisabled: (boolean|undefined),
347  *   includeTerminated: (boolean|undefined)
348  * }}
349  * @see https://developer.chrome.com/extensions/developerPrivate#type-GetExtensionsInfoOptions
350  */
351 var GetExtensionsInfoOptions;
354  * @typedef {{
355  *   extensionId: string,
356  *   fileAccess: (boolean|undefined),
357  *   incognitoAccess: (boolean|undefined),
358  *   errorCollection: (boolean|undefined),
359  *   runOnAllUrls: (boolean|undefined),
360  *   showActionButton: (boolean|undefined)
361  * }}
362  * @see https://developer.chrome.com/extensions/developerPrivate#type-ExtensionConfigurationUpdate
363  */
364 var ExtensionConfigurationUpdate;
367  * @typedef {{
368  *   inDeveloperMode: (boolean|undefined)
369  * }}
370  * @see https://developer.chrome.com/extensions/developerPrivate#type-ProfileConfigurationUpdate
371  */
372 var ProfileConfigurationUpdate;
375  * @typedef {{
376  *   extensionId: string,
377  *   commandName: string,
378  *   scope: (!chrome.developerPrivate.CommandScope|undefined),
379  *   keybinding: (string|undefined)
380  * }}
381  * @see https://developer.chrome.com/extensions/developerPrivate#type-ExtensionCommandUpdate
382  */
383 var ExtensionCommandUpdate;
386  * @typedef {{
387  *   failQuietly: (boolean|undefined)
388  * }}
389  * @see https://developer.chrome.com/extensions/developerPrivate#type-ReloadOptions
390  */
391 var ReloadOptions;
394  * @typedef {{
395  *   failQuietly: (boolean|undefined)
396  * }}
397  * @see https://developer.chrome.com/extensions/developerPrivate#type-LoadUnpackedOptions
398  */
399 var LoadUnpackedOptions;
402  * @enum {string}
403  * @see https://developer.chrome.com/extensions/developerPrivate#type-PackStatus
404  */
405 chrome.developerPrivate.PackStatus = {
406   SUCCESS: 'SUCCESS',
407   ERROR: 'ERROR',
408   WARNING: 'WARNING',
412  * @enum {string}
413  * @see https://developer.chrome.com/extensions/developerPrivate#type-FileType
414  */
415 chrome.developerPrivate.FileType = {
416   LOAD: 'LOAD',
417   PEM: 'PEM',
421  * @enum {string}
422  * @see https://developer.chrome.com/extensions/developerPrivate#type-SelectType
423  */
424 chrome.developerPrivate.SelectType = {
425   FILE: 'FILE',
426   FOLDER: 'FOLDER',
430  * @enum {string}
431  * @see https://developer.chrome.com/extensions/developerPrivate#type-EventType
432  */
433 chrome.developerPrivate.EventType = {
434   INSTALLED: 'INSTALLED',
435   UNINSTALLED: 'UNINSTALLED',
436   LOADED: 'LOADED',
437   UNLOADED: 'UNLOADED',
438   VIEW_REGISTERED: 'VIEW_REGISTERED',
439   VIEW_UNREGISTERED: 'VIEW_UNREGISTERED',
440   ERROR_ADDED: 'ERROR_ADDED',
441   ERRORS_REMOVED: 'ERRORS_REMOVED',
442   PREFS_CHANGED: 'PREFS_CHANGED',
443   WARNINGS_CHANGED: 'WARNINGS_CHANGED',
447  * @typedef {{
448  *   message: string,
449  *   item_path: string,
450  *   pem_path: string,
451  *   override_flags: number,
452  *   status: !chrome.developerPrivate.PackStatus
453  * }}
454  * @see https://developer.chrome.com/extensions/developerPrivate#type-PackDirectoryResponse
455  */
456 var PackDirectoryResponse;
459  * @typedef {{
460  *   name: string
461  * }}
462  * @see https://developer.chrome.com/extensions/developerPrivate#type-ProjectInfo
463  */
464 var ProjectInfo;
467  * @typedef {{
468  *   event_type: !chrome.developerPrivate.EventType,
469  *   item_id: string,
470  *   extensionInfo: (ExtensionInfo|undefined)
471  * }}
472  * @see https://developer.chrome.com/extensions/developerPrivate#type-EventData
473  */
474 var EventData;
477  * @typedef {{
478  *   extensionId: string,
479  *   pathSuffix: string,
480  *   message: string,
481  *   manifestKey: (string|undefined),
482  *   manifestSpecific: (string|undefined),
483  *   lineNumber: (number|undefined)
484  * }}
485  * @see https://developer.chrome.com/extensions/developerPrivate#type-RequestFileSourceProperties
486  */
487 var RequestFileSourceProperties;
490  * @typedef {{
491  *   highlight: string,
492  *   beforeHighlight: string,
493  *   afterHighlight: string,
494  *   title: string,
495  *   message: string
496  * }}
497  * @see https://developer.chrome.com/extensions/developerPrivate#type-RequestFileSourceResponse
498  */
499 var RequestFileSourceResponse;
502  * @typedef {{
503  *   extensionId: (string|undefined),
504  *   renderViewId: number,
505  *   renderProcessId: number,
506  *   incognito: (boolean|undefined),
507  *   url: (string|undefined),
508  *   lineNumber: (number|undefined),
509  *   columnNumber: (number|undefined)
510  * }}
511  * @see https://developer.chrome.com/extensions/developerPrivate#type-OpenDevToolsProperties
512  */
513 var OpenDevToolsProperties;
516  * @typedef {{
517  *   extensionId: string,
518  *   errorIds: (!Array<number>|undefined),
519  *   type: (!chrome.developerPrivate.ErrorType|undefined)
520  * }}
521  * @see https://developer.chrome.com/extensions/developerPrivate#type-DeleteExtensionErrorsProperties
522  */
523 var DeleteExtensionErrorsProperties;
526  * Runs auto update for extensions and apps immediately.
527  * @param {function(boolean):void=} callback Called with the boolean result,
528  *     true if autoUpdate is successful.
529  * @see https://developer.chrome.com/extensions/developerPrivate#method-autoUpdate
530  */
531 chrome.developerPrivate.autoUpdate = function(callback) {};
534  * Returns information of all the extensions and apps installed.
535  * @param {GetExtensionsInfoOptions=} options Options to restrict the items
536  *     returned.
537  * @param {function(!Array<ExtensionInfo>):void=} callback Called with
538  *     extensions info.
539  * @see https://developer.chrome.com/extensions/developerPrivate#method-getExtensionsInfo
540  */
541 chrome.developerPrivate.getExtensionsInfo = function(options, callback) {};
544  * Returns information of a particular extension.
545  * @param {string} id The id of the extension.
546  * @param {function(ExtensionInfo):void=} callback Called with the result.
547  * @see https://developer.chrome.com/extensions/developerPrivate#method-getExtensionInfo
548  */
549 chrome.developerPrivate.getExtensionInfo = function(id, callback) {};
552  * Returns information of all the extensions and apps installed.
553  * @param {boolean} includeDisabled include disabled items.
554  * @param {boolean} includeTerminated include terminated items.
555  * @param {function(!Array<ItemInfo>):void} callback Called with items info.
556  * @deprecated Use getExtensionsInfo
557  * @see https://developer.chrome.com/extensions/developerPrivate#method-getItemsInfo
558  */
559 chrome.developerPrivate.getItemsInfo = function(includeDisabled, includeTerminated, callback) {};
562  * Returns the current profile's configuration.
563  * @param {function(ProfileInfo):void} callback
564  * @see https://developer.chrome.com/extensions/developerPrivate#method-getProfileConfiguration
565  */
566 chrome.developerPrivate.getProfileConfiguration = function(callback) {};
569  * Updates the active profile.
570  * @param {ProfileConfigurationUpdate} update The parameters for updating the
571  *     profile's configuration.  Any     properties omitted from |update| will
572  *     not be changed.
573  * @param {function():void=} callback
574  * @see https://developer.chrome.com/extensions/developerPrivate#method-updateProfileConfiguration
575  */
576 chrome.developerPrivate.updateProfileConfiguration = function(update, callback) {};
579  * Opens a permissions dialog.
580  * @param {string} extensionId The id of the extension to show permissions for.
581  * @param {function():void=} callback
582  * @see https://developer.chrome.com/extensions/developerPrivate#method-showPermissionsDialog
583  */
584 chrome.developerPrivate.showPermissionsDialog = function(extensionId, callback) {};
587  * Reloads a given extension.
588  * @param {string} extensionId The id of the extension to reload.
589  * @param {ReloadOptions=} options Additional configuration parameters.
590  * @param {function():void=} callback
591  * @see https://developer.chrome.com/extensions/developerPrivate#method-reload
592  */
593 chrome.developerPrivate.reload = function(extensionId, options, callback) {};
596  * Modifies an extension's current configuration.
597  * @param {ExtensionConfigurationUpdate} update The parameters for updating the
598  *     extension's configuration.     Any properties omitted from |update| will
599  *     not be changed.
600  * @param {function():void=} callback
601  * @see https://developer.chrome.com/extensions/developerPrivate#method-updateExtensionConfiguration
602  */
603 chrome.developerPrivate.updateExtensionConfiguration = function(update, callback) {};
606  * Loads a user-selected unpacked item.
607  * @param {LoadUnpackedOptions=} options Additional configuration parameters.
608  * @param {function():void=} callback
609  * @see https://developer.chrome.com/extensions/developerPrivate#method-loadUnpacked
610  */
611 chrome.developerPrivate.loadUnpacked = function(options, callback) {};
614  * Loads an extension / app.
615  * @param {Object} directory The directory to load the extension from.
616  * @param {function(string):void} callback
617  * @see https://developer.chrome.com/extensions/developerPrivate#method-loadDirectory
618  */
619 chrome.developerPrivate.loadDirectory = function(directory, callback) {};
622  * Open Dialog to browse to an entry.
623  * @param {!chrome.developerPrivate.SelectType} selectType Select a file or a
624  *     folder.
625  * @param {!chrome.developerPrivate.FileType} fileType Required file type. For
626  *     example, pem type is for private key and load type is for an unpacked
627  *     item.
628  * @param {function(string):void} callback called with selected item's path.
629  * @see https://developer.chrome.com/extensions/developerPrivate#method-choosePath
630  */
631 chrome.developerPrivate.choosePath = function(selectType, fileType, callback) {};
634  * Pack an extension.
635  * @param {string} path
636  * @param {string=} privateKeyPath The path of the private key, if one is given.
637  * @param {number=} flags Special flags to apply to the loading process, if any.
638  * @param {function(PackDirectoryResponse):void=} callback called with the
639  *     success result string.
640  * @see https://developer.chrome.com/extensions/developerPrivate#method-packDirectory
641  */
642 chrome.developerPrivate.packDirectory = function(path, privateKeyPath, flags, callback) {};
645  * Returns true if the profile is managed.
646  * @param {function(boolean):void} callback
647  * @see https://developer.chrome.com/extensions/developerPrivate#method-isProfileManaged
648  */
649 chrome.developerPrivate.isProfileManaged = function(callback) {};
652  * Reads and returns the contents of a file related to an extension which caused
653  * an error.
654  * @param {RequestFileSourceProperties} properties
655  * @param {function(RequestFileSourceResponse):void} callback
656  * @see https://developer.chrome.com/extensions/developerPrivate#method-requestFileSource
657  */
658 chrome.developerPrivate.requestFileSource = function(properties, callback) {};
661  * Open the developer tools to focus on a particular error.
662  * @param {OpenDevToolsProperties} properties
663  * @param {function():void=} callback
664  * @see https://developer.chrome.com/extensions/developerPrivate#method-openDevTools
665  */
666 chrome.developerPrivate.openDevTools = function(properties, callback) {};
669  * Delete reported extension erors.
670  * @param {DeleteExtensionErrorsProperties} properties The properties specifying
671  *     the errors to remove.
672  * @param {function():void=} callback
673  * @see https://developer.chrome.com/extensions/developerPrivate#method-deleteExtensionErrors
674  */
675 chrome.developerPrivate.deleteExtensionErrors = function(properties, callback) {};
678  * Repairs the extension specified.
679  * @param {string} extensionId The id of the extension to repair.
680  * @param {function():void=} callback
681  * @see https://developer.chrome.com/extensions/developerPrivate#method-repairExtension
682  */
683 chrome.developerPrivate.repairExtension = function(extensionId, callback) {};
686  * Shows the options page for the extension specified.
687  * @param {string} extensionId The id of the extension to show the options page
688  *     for.
689  * @param {function():void=} callback
690  * @see https://developer.chrome.com/extensions/developerPrivate#method-showOptions
691  */
692 chrome.developerPrivate.showOptions = function(extensionId, callback) {};
695  * Shows the path of the extension specified.
696  * @param {string} extensionId The id of the extension to show the path for.
697  * @param {function():void=} callback
698  * @see https://developer.chrome.com/extensions/developerPrivate#method-showPath
699  */
700 chrome.developerPrivate.showPath = function(extensionId, callback) {};
703  * (Un)suspends global shortcut handling.
704  * @param {boolean} isSuspended Whether or not shortcut handling should be
705  *     suspended.
706  * @param {function():void=} callback
707  * @see https://developer.chrome.com/extensions/developerPrivate#method-setShortcutHandlingSuspended
708  */
709 chrome.developerPrivate.setShortcutHandlingSuspended = function(isSuspended, callback) {};
712  * Updates an extension command.
713  * @param {ExtensionCommandUpdate} update The parameters for updating the
714  *     extension command.
715  * @param {function():void=} callback
716  * @see https://developer.chrome.com/extensions/developerPrivate#method-updateExtensionCommand
717  */
718 chrome.developerPrivate.updateExtensionCommand = function(update, callback) {};
721  * @param {string} id
722  * @param {boolean} enabled
723  * @param {function():void=} callback
724  * @deprecated Use management.setEnabled
725  * @see https://developer.chrome.com/extensions/developerPrivate#method-enable
726  */
727 chrome.developerPrivate.enable = function(id, enabled, callback) {};
730  * @param {string} extensionId
731  * @param {boolean} allow
732  * @param {function():void=} callback
733  * @deprecated Use updateExtensionConfiguration
734  * @see https://developer.chrome.com/extensions/developerPrivate#method-allowIncognito
735  */
736 chrome.developerPrivate.allowIncognito = function(extensionId, allow, callback) {};
739  * @param {string} extensionId
740  * @param {boolean} allow
741  * @param {function():void=} callback
742  * @deprecated Use updateExtensionConfiguration
743  * @see https://developer.chrome.com/extensions/developerPrivate#method-allowFileAccess
744  */
745 chrome.developerPrivate.allowFileAccess = function(extensionId, allow, callback) {};
748  * @param {InspectOptions} options
749  * @param {function():void=} callback
750  * @deprecated Use openDevTools
751  * @see https://developer.chrome.com/extensions/developerPrivate#method-inspect
752  */
753 chrome.developerPrivate.inspect = function(options, callback) {};
756  * Fired when a item state is changed.
757  * @type {!ChromeEvent}
758  * @see https://developer.chrome.com/extensions/developerPrivate#event-onItemStateChanged
759  */
760 chrome.developerPrivate.onItemStateChanged;
763  * Fired when the profile's state has changed.
764  * @type {!ChromeEvent}
765  * @see https://developer.chrome.com/extensions/developerPrivate#event-onProfileStateChanged
766  */
767 chrome.developerPrivate.onProfileStateChanged;