| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 // This file was generated by: | 5 // This file was generated by: |
| 6 // tools/json_schema_compiler/compiler.py. | 6 // tools/json_schema_compiler/compiler.py. |
| 7 // NOTE: The format of types has changed. 'FooType' is now | 7 // NOTE: The format of types has changed. 'FooType' is now |
| 8 // 'chrome.developerPrivate.FooType'. | 8 // 'chrome.developerPrivate.FooType'. |
| 9 // Please run the closure compiler before committing changes. | 9 // Please run the closure compiler before committing changes. |
| 10 // See https://chromium.googlesource.com/chromium/src/+/master/docs/closure_comp
ilation.md | 10 // See https://chromium.googlesource.com/chromium/src/+/master/docs/closure_comp
ilation.md |
| 11 | 11 |
| (...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 408 /** | 408 /** |
| 409 * @typedef {{ | 409 * @typedef {{ |
| 410 * failQuietly: (boolean|undefined) | 410 * failQuietly: (boolean|undefined) |
| 411 * }} | 411 * }} |
| 412 * @see https://developer.chrome.com/extensions/developerPrivate#type-ReloadOpti
ons | 412 * @see https://developer.chrome.com/extensions/developerPrivate#type-ReloadOpti
ons |
| 413 */ | 413 */ |
| 414 chrome.developerPrivate.ReloadOptions; | 414 chrome.developerPrivate.ReloadOptions; |
| 415 | 415 |
| 416 /** | 416 /** |
| 417 * @typedef {{ | 417 * @typedef {{ |
| 418 * failQuietly: (boolean|undefined) | 418 * failQuietly: (boolean|undefined), |
| 419 * populateError: (boolean|undefined) |
| 419 * }} | 420 * }} |
| 420 * @see https://developer.chrome.com/extensions/developerPrivate#type-LoadUnpack
edOptions | 421 * @see https://developer.chrome.com/extensions/developerPrivate#type-LoadUnpack
edOptions |
| 421 */ | 422 */ |
| 422 chrome.developerPrivate.LoadUnpackedOptions; | 423 chrome.developerPrivate.LoadUnpackedOptions; |
| 423 | 424 |
| 424 /** | 425 /** |
| 425 * @enum {string} | 426 * @enum {string} |
| 426 * @see https://developer.chrome.com/extensions/developerPrivate#type-PackStatus | 427 * @see https://developer.chrome.com/extensions/developerPrivate#type-PackStatus |
| 427 */ | 428 */ |
| 428 chrome.developerPrivate.PackStatus = { | 429 chrome.developerPrivate.PackStatus = { |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 491 * event_type: !chrome.developerPrivate.EventType, | 492 * event_type: !chrome.developerPrivate.EventType, |
| 492 * item_id: string, | 493 * item_id: string, |
| 493 * extensionInfo: (!chrome.developerPrivate.ExtensionInfo|undefined) | 494 * extensionInfo: (!chrome.developerPrivate.ExtensionInfo|undefined) |
| 494 * }} | 495 * }} |
| 495 * @see https://developer.chrome.com/extensions/developerPrivate#type-EventData | 496 * @see https://developer.chrome.com/extensions/developerPrivate#type-EventData |
| 496 */ | 497 */ |
| 497 chrome.developerPrivate.EventData; | 498 chrome.developerPrivate.EventData; |
| 498 | 499 |
| 499 /** | 500 /** |
| 500 * @typedef {{ | 501 * @typedef {{ |
| 502 * beforeHighlight: string, |
| 503 * highlight: string, |
| 504 * afterHighlight: string |
| 505 * }} |
| 506 * @see https://developer.chrome.com/extensions/developerPrivate#type-ErrorFileS
ource |
| 507 */ |
| 508 chrome.developerPrivate.ErrorFileSource; |
| 509 |
| 510 /** |
| 511 * @typedef {{ |
| 512 * error: string, |
| 513 * path: string, |
| 514 * source: (!chrome.developerPrivate.ErrorFileSource|undefined) |
| 515 * }} |
| 516 * @see https://developer.chrome.com/extensions/developerPrivate#type-LoadError |
| 517 */ |
| 518 chrome.developerPrivate.LoadError; |
| 519 |
| 520 /** |
| 521 * @typedef {{ |
| 501 * extensionId: string, | 522 * extensionId: string, |
| 502 * pathSuffix: string, | 523 * pathSuffix: string, |
| 503 * message: string, | 524 * message: string, |
| 504 * manifestKey: (string|undefined), | 525 * manifestKey: (string|undefined), |
| 505 * manifestSpecific: (string|undefined), | 526 * manifestSpecific: (string|undefined), |
| 506 * lineNumber: (number|undefined) | 527 * lineNumber: (number|undefined) |
| 507 * }} | 528 * }} |
| 508 * @see https://developer.chrome.com/extensions/developerPrivate#type-RequestFil
eSourceProperties | 529 * @see https://developer.chrome.com/extensions/developerPrivate#type-RequestFil
eSourceProperties |
| 509 */ | 530 */ |
| 510 chrome.developerPrivate.RequestFileSourceProperties; | 531 chrome.developerPrivate.RequestFileSourceProperties; |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 625 * omitted from |update| will not be changed. | 646 * omitted from |update| will not be changed. |
| 626 * @param {function():void=} callback | 647 * @param {function():void=} callback |
| 627 * @see https://developer.chrome.com/extensions/developerPrivate#method-updateEx
tensionConfiguration | 648 * @see https://developer.chrome.com/extensions/developerPrivate#method-updateEx
tensionConfiguration |
| 628 */ | 649 */ |
| 629 chrome.developerPrivate.updateExtensionConfiguration = function(update, callback
) {}; | 650 chrome.developerPrivate.updateExtensionConfiguration = function(update, callback
) {}; |
| 630 | 651 |
| 631 /** | 652 /** |
| 632 * Loads a user-selected unpacked item. | 653 * Loads a user-selected unpacked item. |
| 633 * @param {!chrome.developerPrivate.LoadUnpackedOptions=} options Additional | 654 * @param {!chrome.developerPrivate.LoadUnpackedOptions=} options Additional |
| 634 * configuration parameters. | 655 * configuration parameters. |
| 635 * @param {function():void=} callback | 656 * @param {function(!chrome.developerPrivate.LoadError|undefined):void=} |
| 657 * callback |
| 636 * @see https://developer.chrome.com/extensions/developerPrivate#method-loadUnpa
cked | 658 * @see https://developer.chrome.com/extensions/developerPrivate#method-loadUnpa
cked |
| 637 */ | 659 */ |
| 638 chrome.developerPrivate.loadUnpacked = function(options, callback) {}; | 660 chrome.developerPrivate.loadUnpacked = function(options, callback) {}; |
| 639 | 661 |
| 640 /** | 662 /** |
| 641 * Loads an extension / app. | 663 * Loads an extension / app. |
| 642 * @param {Object} directory The directory to load the extension from. | 664 * @param {Object} directory The directory to load the extension from. |
| 643 * @param {function(string):void} callback | 665 * @param {function(string):void} callback |
| 644 * @see https://developer.chrome.com/extensions/developerPrivate#method-loadDire
ctory | 666 * @see https://developer.chrome.com/extensions/developerPrivate#method-loadDire
ctory |
| 645 */ | 667 */ |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 786 * @see https://developer.chrome.com/extensions/developerPrivate#event-onItemSta
teChanged | 808 * @see https://developer.chrome.com/extensions/developerPrivate#event-onItemSta
teChanged |
| 787 */ | 809 */ |
| 788 chrome.developerPrivate.onItemStateChanged; | 810 chrome.developerPrivate.onItemStateChanged; |
| 789 | 811 |
| 790 /** | 812 /** |
| 791 * Fired when the profile's state has changed. | 813 * Fired when the profile's state has changed. |
| 792 * @type {!ChromeEvent} | 814 * @type {!ChromeEvent} |
| 793 * @see https://developer.chrome.com/extensions/developerPrivate#event-onProfile
StateChanged | 815 * @see https://developer.chrome.com/extensions/developerPrivate#event-onProfile
StateChanged |
| 794 */ | 816 */ |
| 795 chrome.developerPrivate.onProfileStateChanged; | 817 chrome.developerPrivate.onProfileStateChanged; |
| OLD | NEW |