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

Unified Diff: ui/file_manager/file_manager/background/js/file_operation_manager.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/file_operation_manager.js
diff --git a/ui/file_manager/file_manager/background/js/file_operation_manager.js b/ui/file_manager/file_manager/background/js/file_operation_manager.js
index 9bcbef1e6e3f24aaefaa778d5106e85fa7652834..8400b96bec8ed606232781b16ed6e7f83a6d7e9f 100644
--- a/ui/file_manager/file_manager/background/js/file_operation_manager.js
+++ b/ui/file_manager/file_manager/background/js/file_operation_manager.js
@@ -251,7 +251,7 @@ FileOperationManager.prototype.serviceAllTasks_ = function() {
}
if (!this.volumeManager_) {
- VolumeManager.getInstance().then(function(volumeManager) {
+ volumeManagerFactory.getInstance().then(function(volumeManager) {
this.volumeManager_ = volumeManager;
this.serviceAllTasks_();
}.bind(this));

Powered by Google App Engine
This is Rietveld 408576698