| 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 44a8edb9c00659712ddb2c22b1d17e57c90eb3b1..b415ad092bf596cba56aac0b228707933e254177 100644
|
| --- a/ui/file_manager/file_manager/background/js/background.js
|
| +++ b/ui/file_manager/file_manager/background/js/background.js
|
| @@ -79,7 +79,9 @@ function FileBrowserBackground() {
|
| */
|
| this.mediaScanner = new importer.DefaultMediaScanner(
|
| importer.createMetadataHashcode,
|
| - this.historyLoader,
|
| + importer.DispositionChecker.createChecker(
|
| + this.historyLoader,
|
| + this.tracker),
|
| importer.DefaultDirectoryWatcher.create);
|
|
|
| /**
|
| @@ -87,12 +89,10 @@ function FileBrowserBackground() {
|
| * devices.
|
| * @type {!importer.MediaImportHandler}
|
| */
|
| - this.mediaImportHandler =
|
| - new importer.MediaImportHandler(
|
| - this.progressCenter,
|
| - this.historyLoader,
|
| - new importer.DriveDuplicateFinder.Factory(),
|
| - this.tracker);
|
| + this.mediaImportHandler = new importer.MediaImportHandler(
|
| + this.progressCenter,
|
| + this.historyLoader,
|
| + this.tracker);
|
|
|
| /**
|
| * Promise of string data.
|
|
|