| Index: ui/file_manager/file_manager/background/js/import_history.js
|
| diff --git a/ui/file_manager/file_manager/background/js/import_history.js b/ui/file_manager/file_manager/background/js/import_history.js
|
| index e69ce262ae4ecd9e01e448bba914642a6b42e841..cb22333ef8706f10c6faca9d775cab556f964532 100644
|
| --- a/ui/file_manager/file_manager/background/js/import_history.js
|
| +++ b/ui/file_manager/file_manager/background/js/import_history.js
|
| @@ -967,12 +967,10 @@ importer.DriveSyncWatcher.prototype.updateSyncStatus_ =
|
| */
|
| importer.DriveSyncWatcher.prototype.onFileTransfersUpdated_ =
|
| function(status) {
|
| - // TODO(smckay): What if the file isn't one we're interested in....?
|
| - // I guess we just let the call to markImportedByUrl fail for now.
|
| + // If the synced file it isn't one we copied,
|
| + // the call to mark by url will just fail...fine by us.
|
| if (status.transferState === 'completed') {
|
| - this.history_.markImportedByUrl(status.fileUrl)
|
| - .catch(
|
| - importer.getLogger().catcher('file-transfer-mark-imported-by-url'));
|
| + this.history_.markImportedByUrl(status.fileUrl);
|
| }
|
| };
|
|
|
|
|