Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(314)

Unified Diff: ui/file_manager/file_manager/background/js/drive_sync_handler.js

Issue 2640673002: (WIP) Use generator to generate externs for chrome.fileManagerPrivate API.
Patch Set: Compile passes Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/file_manager/file_manager/background/js/drive_sync_handler.js
diff --git a/ui/file_manager/file_manager/background/js/drive_sync_handler.js b/ui/file_manager/file_manager/background/js/drive_sync_handler.js
index 517b7f806a4fcbb12b7cd70153746d91be0503fd..9a8d17ebe1c9ce21c7c72e7dc51e3607d0453495 100644
--- a/ui/file_manager/file_manager/background/js/drive_sync_handler.js
+++ b/ui/file_manager/file_manager/background/js/drive_sync_handler.js
@@ -135,7 +135,7 @@ DriveSyncHandler.prototype.showDisabledMobileSyncNotification = function() {
/**
* Handles file transfer updated events.
- * @param {FileTransferStatus} status Transfer status.
+ * @param {chrome.fileManagerPrivate.FileTransferStatus} status Transfer status.
* @private
*/
DriveSyncHandler.prototype.onFileTransfersUpdated_ = function(status) {
@@ -156,7 +156,7 @@ DriveSyncHandler.prototype.onFileTransfersUpdated_ = function(status) {
/**
* Updates the item involved with the given status.
- * @param {FileTransferStatus} status Transfer status.
+ * @param {chrome.fileManagerPrivate.FileTransferStatus} status Transfer status.
* @private
*/
DriveSyncHandler.prototype.updateItem_ = function(status) {
@@ -184,7 +184,7 @@ DriveSyncHandler.prototype.updateItem_ = function(status) {
/**
* Removes the item involved with the given status.
- * @param {FileTransferStatus} status Transfer status.
+ * @param {chrome.fileManagerPrivate.FileTransferStatus} status Transfer status.
* @private
*/
DriveSyncHandler.prototype.removeItem_ = function(status) {
@@ -209,7 +209,8 @@ DriveSyncHandler.prototype.requestCancel_ = function(entry) {
/**
* Handles drive's sync errors.
- * @param {DriveSyncErrorEvent} event Drive sync error event.
+ * @param {chrome.fileManagerPrivate.DriveSyncErrorEvent} event Drive sync error
+ * event.
* @private
*/
DriveSyncHandler.prototype.onDriveSyncError_ = function(event) {

Powered by Google App Engine
This is Rietveld 408576698