| 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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 | 263 |
| 264 /** | 264 /** |
| 265 * Removes file watch. |fileUrl| URL of watched file to remove |callback| | 265 * Removes file watch. |fileUrl| URL of watched file to remove |callback| |
| 266 * @param {string} fileUrl | 266 * @param {string} fileUrl |
| 267 * @param {Function} callback |success| True when file watch is successfully | 267 * @param {Function} callback |success| True when file watch is successfully |
| 268 * removed. | 268 * removed. |
| 269 */ | 269 */ |
| 270 chrome.fileManagerPrivate.removeFileWatch = function(fileUrl, callback) {}; | 270 chrome.fileManagerPrivate.removeFileWatch = function(fileUrl, callback) {}; |
| 271 | 271 |
| 272 /** | 272 /** |
| 273 * Requests access to a file system volume. |volumeId| The ID of the file | |
| 274 * system volume to request. The volume ID is delivered to JavaScript as | |
| 275 * part of VolumeMetadata. | |
| 276 * @param {string} volumeId | |
| 277 * @param {function(FileSystem)} callback Returns a DOMFileSystem instance | |
| 278 * for the requested volume. Null if the caller has no appropriate | |
| 279 * permissions. | |
| 280 */ | |
| 281 chrome.fileManagerPrivate.requestFileSystem = function(volumeId, callback) {}; | |
| 282 | |
| 283 /** | |
| 284 * Enables the extenal file scheme necessary to initiate drags to the browser | 273 * Enables the extenal file scheme necessary to initiate drags to the browser |
| 285 * window for files on the external backend. | 274 * window for files on the external backend. |
| 286 */ | 275 */ |
| 287 chrome.fileManagerPrivate.enableExternalFileScheme = function() {}; | 276 chrome.fileManagerPrivate.enableExternalFileScheme = function() {}; |
| 288 | 277 |
| 289 /** | 278 /** |
| 290 * Requests R/W access to the specified entries as |entryUrls|. Note, that only | 279 * Requests R/W access to the specified entries as |entryUrls|. Note, that only |
| 291 * files backed by external file system backend will be granted the access. | 280 * files backed by external file system backend will be granted the access. |
| 292 * @param {!Array<string>} entryUrls | 281 * @param {!Array<string>} entryUrls |
| 293 * @param {function()} callback Completion callback. | 282 * @param {function()} callback Completion callback. |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 591 chrome.fileManagerPrivate.onPreferencesChanged; | 580 chrome.fileManagerPrivate.onPreferencesChanged; |
| 592 | 581 |
| 593 /** @type {!ChromeEvent} */ | 582 /** @type {!ChromeEvent} */ |
| 594 chrome.fileManagerPrivate.onDriveConnectionStatusChanged; | 583 chrome.fileManagerPrivate.onDriveConnectionStatusChanged; |
| 595 | 584 |
| 596 /** @type {!ChromeEvent} */ | 585 /** @type {!ChromeEvent} */ |
| 597 chrome.fileManagerPrivate.onDeviceChanged; | 586 chrome.fileManagerPrivate.onDeviceChanged; |
| 598 | 587 |
| 599 /** @type {!ChromeEvent} */ | 588 /** @type {!ChromeEvent} */ |
| 600 chrome.fileManagerPrivate.onDriveSyncError; | 589 chrome.fileManagerPrivate.onDriveSyncError; |
| OLD | NEW |