| Index: ui/file_manager/file_manager/background/js/background.js
|
| diff --git a/ui/file_manager/file_manager/background/js/background.js b/ui/file_manager/file_manager/background/js/background.js
|
| index 43825d69e987776aa4a927eba478f3ba3cfed690..08723a36c0a6c98e7b77d0b0067fad8d76e45592 100644
|
| --- a/ui/file_manager/file_manager/background/js/background.js
|
| +++ b/ui/file_manager/file_manager/background/js/background.js
|
| @@ -81,14 +81,19 @@ function FileBrowserBackground() {
|
| function() { this.tryClose(); }.bind(this));
|
|
|
| /**
|
| + * Provides support for scaning media devices as part of Cloud Import.
|
| + * @type {!importer.MediaScanner}
|
| + */
|
| + this.mediaScanner = new importer.DefaultMediaScanner(this.historyLoader);
|
| +
|
| + /**
|
| * Handles importing of user media (e.g. photos, videos) from removable
|
| * devices.
|
| * @type {!importer.MediaImportHandler}
|
| */
|
| this.mediaImportHandler =
|
| new importer.MediaImportHandler(
|
| - this.fileOperationManager,
|
| - new importer.DefaultMediaScanner(this.historyLoader));
|
| + this.fileOperationManager);
|
|
|
| /**
|
| * Promise of string data.
|
|
|