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

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

Issue 576063002: Modify the behavior of cancel button in syncing status to cancel all jobs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 b0182c202fc316d6eb8ede979d25c64b2c736fb8..5a89d25f1c2d92270fbd8259a212c7b9749ab9e5 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
@@ -152,7 +152,7 @@ DriveSyncHandler.prototype.removeItem_ = function(status) {
* @private
*/
DriveSyncHandler.prototype.requestCancel_ = function(entry) {
- chrome.fileManagerPrivate.cancelFileTransfers([entry.toURL()], function() {});
+ chrome.fileManagerPrivate.cancelFileTransfers([], function() {});
kinaba 2014/09/18 05:39:16 Please add a comment that this is cancelling all f
iseki 2014/09/18 05:45:44 Done.
};
/**

Powered by Google App Engine
This is Rietveld 408576698