OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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: fileManagerPrivate */ | 5 /** @fileoverview Externs generated from namespace: fileManagerPrivate */ |
6 | 6 |
7 /** | 7 /** |
8 * @typedef {{ | 8 * @typedef {{ |
9 * taskId: string, | 9 * taskId: string, |
10 * title: string, | 10 * title: string, |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 | 194 |
195 /** | 195 /** |
196 * @typedef {{ | 196 * @typedef {{ |
197 * type: string, | 197 * type: string, |
198 * devicePath: string | 198 * devicePath: string |
199 * }} | 199 * }} |
200 */ | 200 */ |
201 var DeviceEvent; | 201 var DeviceEvent; |
202 | 202 |
203 /** | 203 /** |
| 204 * @typedef {{ |
| 205 * extensionId: string, |
| 206 * name: string, |
| 207 * canConfigure: boolean, |
| 208 * canAdd: boolean |
| 209 * }} |
| 210 */ |
| 211 var ProvidingExtension; |
| 212 |
| 213 /** |
204 * @const | 214 * @const |
205 */ | 215 */ |
206 chrome.fileManagerPrivate = {}; | 216 chrome.fileManagerPrivate = {}; |
207 | 217 |
208 /** | 218 /** |
209 * Logout the current user for navigating to the re-authentication screen for | 219 * Logout the current user for navigating to the re-authentication screen for |
210 * the Google account. | 220 * the Google account. |
211 */ | 221 */ |
212 chrome.fileManagerPrivate.logoutUserForReauthentication = function() {}; | 222 chrome.fileManagerPrivate.logoutUserForReauthentication = function() {}; |
213 | 223 |
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
573 * @param {function()} callback | 583 * @param {function()} callback |
574 */ | 584 */ |
575 chrome.fileManagerPrivate.setEntryTag = function(entryURL, visibility, key, valu
e, callback) {}; | 585 chrome.fileManagerPrivate.setEntryTag = function(entryURL, visibility, key, valu
e, callback) {}; |
576 | 586 |
577 /** | 587 /** |
578 * Gets a flag indicating whether PiexLoader is enabled. | 588 * Gets a flag indicating whether PiexLoader is enabled. |
579 * @param {function(boolean)} callback | 589 * @param {function(boolean)} callback |
580 */ | 590 */ |
581 chrome.fileManagerPrivate.isPiexLoaderEnabled = function(callback) {}; | 591 chrome.fileManagerPrivate.isPiexLoaderEnabled = function(callback) {}; |
582 | 592 |
| 593 /** |
| 594 * Returns list of available providing extensions. |
| 595 * @param {function(!Array<!ProvidingExtension>)} callback |
| 596 */ |
| 597 chrome.fileManagerPrivate.getProvidingExtensions = function(callback) {}; |
| 598 |
| 599 /** |
| 600 * Requests adding a new provided file system. If not possible, then an error |
| 601 * via chrome.runtime.lastError is returned. |
| 602 * @param {string} extensionId |
| 603 * @param {function()} callback |
| 604 */ |
| 605 chrome.fileManagerPrivate.addProvidedFileSystem = |
| 606 function(extensionId, callback) {}; |
| 607 |
| 608 /** |
| 609 * Requests configuring an existing file system. If not possible, then returns |
| 610 * an error via chrome.runtime.lastError. |
| 611 * @param {string} volumeId |
| 612 * @param {function()} callback |
| 613 */ |
| 614 chrome.fileManagerPrivate.configureProvidedFileSystem = |
| 615 function(volumeId, callback) {}; |
| 616 |
583 /** @type {!ChromeEvent} */ | 617 /** @type {!ChromeEvent} */ |
584 chrome.fileManagerPrivate.onMountCompleted; | 618 chrome.fileManagerPrivate.onMountCompleted; |
585 | 619 |
586 /** @type {!ChromeEvent} */ | 620 /** @type {!ChromeEvent} */ |
587 chrome.fileManagerPrivate.onFileTransfersUpdated; | 621 chrome.fileManagerPrivate.onFileTransfersUpdated; |
588 | 622 |
589 /** @type {!ChromeEvent} */ | 623 /** @type {!ChromeEvent} */ |
590 chrome.fileManagerPrivate.onCopyProgress; | 624 chrome.fileManagerPrivate.onCopyProgress; |
591 | 625 |
592 /** @type {!ChromeEvent} */ | 626 /** @type {!ChromeEvent} */ |
593 chrome.fileManagerPrivate.onDirectoryChanged; | 627 chrome.fileManagerPrivate.onDirectoryChanged; |
594 | 628 |
595 /** @type {!ChromeEvent} */ | 629 /** @type {!ChromeEvent} */ |
596 chrome.fileManagerPrivate.onPreferencesChanged; | 630 chrome.fileManagerPrivate.onPreferencesChanged; |
597 | 631 |
598 /** @type {!ChromeEvent} */ | 632 /** @type {!ChromeEvent} */ |
599 chrome.fileManagerPrivate.onDriveConnectionStatusChanged; | 633 chrome.fileManagerPrivate.onDriveConnectionStatusChanged; |
600 | 634 |
601 /** @type {!ChromeEvent} */ | 635 /** @type {!ChromeEvent} */ |
602 chrome.fileManagerPrivate.onDeviceChanged; | 636 chrome.fileManagerPrivate.onDeviceChanged; |
603 | 637 |
604 /** @type {!ChromeEvent} */ | 638 /** @type {!ChromeEvent} */ |
605 chrome.fileManagerPrivate.onDriveSyncError; | 639 chrome.fileManagerPrivate.onDriveSyncError; |
OLD | NEW |