Commit 4e7fe4bd authored by David Jacobo's avatar David Jacobo Committed by Commit Bot

Manual style fix for file_manager_private.js

Manual style fix, just to keep cols to 80 where easily avoidable.

Bug: None.
Change-Id: I3d8fc15351e8911ce3976d4903ff15e50393b6cc
Reviewed-on: https://chromium-review.googlesource.com/c/1481793Reviewed-by: default avatarMichael Giuffrida <michaelpg@chromium.org>
Commit-Queue: David Jacobo <djacobo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#634515}
parent eac764d9
......@@ -517,8 +517,8 @@ chrome.fileManagerPrivate.setDefaultTask = function(taskId, entries, mimeTypes,
* Gets the list of tasks that can be performed over selected files. |entries|
* Array of selected entries |callback|
* @param {!Array<!Entry>} entries
* @param {function((!Array<!chrome.fileManagerPrivate.FileTask>|undefined))} callback |tasks| The list of
* matched file entries for this task.
* @param {function((!Array<!chrome.fileManagerPrivate.FileTask>|undefined))}
* callback |tasks| The list of matched file entries for this task.
*/
chrome.fileManagerPrivate.getFileTasks = function(entries, callback) {};
......@@ -598,9 +598,9 @@ chrome.fileManagerPrivate.selectFile = function(selectedPath, index, forOpening,
* |callback|
* @param {!Array<!Entry>} entries
* @param {!Array<string>} names
* @param {function((!Array<!chrome.fileManagerPrivate.EntryProperties>|undefined))} callback
* |entryProperties| A dictionary containing properties of the requested
* entries.
* @param {function((!Array<!chrome.fileManagerPrivate.EntryProperties>|undefined))}
* callback |entryProperties| A dictionary containing properties of the
* requested entries.
*/
chrome.fileManagerPrivate.getEntryProperties = function(entries, names,
callback) {};
......@@ -671,9 +671,9 @@ chrome.fileManagerPrivate.markCacheAsMounted = function(
/**
* Get the list of mounted volumes. |callback|
* @param {function((!Array<!chrome.fileManagerPrivate.VolumeMetadata>|undefined))} callback Callback with
* the list of chrome.fileManagerPrivate.VolumeMetadata representing mounted
* volumes.
* @param {function((!Array<!chrome.fileManagerPrivate.VolumeMetadata>|undefined))}
* callback Callback with the list of
* chrome.fileManagerPrivate.VolumeMetadata representing mounted volumes.
*/
chrome.fileManagerPrivate.getVolumeMetadataList = function(callback) {};
......@@ -711,8 +711,9 @@ chrome.fileManagerPrivate.cancelCopy = function(copyId, callback) {};
* Retrieves total and remaining size of a mount point. |volumeId| ID of the
* volume to be checked. |callback|
* @param {string} volumeId
* @param {function((!chrome.fileManagerPrivate.MountPointSizeStats|undefined))} callback Name/value pairs
* of size stats. Will be undefined if stats could not be determined.
* @param {function((!chrome.fileManagerPrivate.MountPointSizeStats|undefined))}
* callback Name/value pairs of size stats. Will be undefined if stats could
* not be determined.
*/
chrome.fileManagerPrivate.getSizeStats = function(volumeId, callback) {};
......@@ -732,7 +733,8 @@ chrome.fileManagerPrivate.renameVolume = function(volumeId, newName) {};
/**
* Retrieves file manager preferences. |callback|
* @param {function((!chrome.fileManagerPrivate.Preferences|undefined))} callback
* @param {function((!chrome.fileManagerPrivate.Preferences|undefined))}
* callback
*/
chrome.fileManagerPrivate.getPreferences = function(callback) {};
......@@ -754,7 +756,8 @@ chrome.fileManagerPrivate.searchDrive = function(searchParams, callback) {};
/**
* Performs drive metadata search. |searchParams| |callback|
* @param {chrome.fileManagerPrivate.SearchMetadataParams} searchParams
* @param {function((!Array<!chrome.fileManagerPrivate.SearchResult>|undefined))} callback
* @param {function((!Array<!chrome.fileManagerPrivate.SearchResult>|undefined))}
* callback
*/
chrome.fileManagerPrivate.searchDriveMetadata = function(searchParams,
callback) {};
......@@ -810,7 +813,7 @@ chrome.fileManagerPrivate.zoom = function(operation) {};
/**
* Requests a Drive API OAuth2 access token. |refresh| Whether the token should
* be refetched instead of using the cached one. |callback|
* be refetched instead of using the cached one. |callback|
* @param {boolean} refresh
* @param {function((string|undefined))} callback |accessToken| OAuth2 access
* token, or an empty string if failed to fetch.
......@@ -842,10 +845,11 @@ chrome.fileManagerPrivate.requestDriveShare = function(entry, shareType,
/**
* Obtains a list of profiles that are logged-in.
* @param {function((!Array<!chrome.fileManagerPrivate.ProfileInfo>|undefined), (string|undefined),
* (string|undefined))} callback Callback with list of profile information,
* |runningProfile| ID of the profile that runs the application instance.
* |showingProfile| ID of the profile that shows the application window.
* @param {function((!Array<!chrome.fileManagerPrivate.ProfileInfo>|undefined),
* (string|undefined), (string|undefined))} callback Callback with list of
* profile information, |runningProfile| ID of the profile that runs the
* application instance. |showingProfile| ID of the profile that shows the
* application window.
*/
chrome.fileManagerPrivate.getProfiles = function(callback) {};
......@@ -894,7 +898,8 @@ chrome.fileManagerPrivate.isPiexLoaderEnabled = function(callback) {};
/**
* Returns list of available providers.
* @param {function((!Array<!chrome.fileManagerPrivate.Provider>|undefined))} callback
* @param {function((!Array<!chrome.fileManagerPrivate.Provider>|undefined))}
* callback
*/
chrome.fileManagerPrivate.getProviders = function(callback) {};
......@@ -919,7 +924,8 @@ chrome.fileManagerPrivate.configureVolume = function(volumeId, callback) {};
* Requests fetching list of actions for the specified set of entries. If not
* possible, then returns an error via chrome.runtime.lastError.
* @param {!Array<!Entry>} entries
* @param {function((!Array<!chrome.fileSystemProvider.Action>|undefined))} callback
* @param {function((!Array<!chrome.fileSystemProvider.Action>|undefined))}
* callback
*/
chrome.fileManagerPrivate.getCustomActions = function(entries, callback) {};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment