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

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

Issue 2292873003: Divide volume_manager.js into files for each classes and extract interfaces from them. (Closed)
Patch Set: Address comments. Created 4 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/duplicate_finder.js
diff --git a/ui/file_manager/file_manager/background/js/duplicate_finder.js b/ui/file_manager/file_manager/background/js/duplicate_finder.js
index bbd9728d38db21fe0b8bbc2df457d820c7f55aa7..371e7cd8c1f92facb5487c8b8686534a8c07aba6 100644
--- a/ui/file_manager/file_manager/background/js/duplicate_finder.js
+++ b/ui/file_manager/file_manager/background/js/duplicate_finder.js
@@ -124,7 +124,7 @@ importer.DriveDuplicateFinder.prototype.findByHash_ = function(hash) {
*/
importer.DriveDuplicateFinder.prototype.getDriveId_ = function() {
if (!this.driveIdPromise_) {
- this.driveIdPromise_ = VolumeManager.getInstance()
+ this.driveIdPromise_ = volumeManagerFactory.getInstance()
.then(
/**
* @param {!VolumeManager} volumeManager

Powered by Google App Engine
This is Rietveld 408576698