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

Unified Diff: ui/file_manager/file_manager/background/js/background_base.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/background_base.js
diff --git a/ui/file_manager/file_manager/background/js/background_base.js b/ui/file_manager/file_manager/background/js/background_base.js
index 1c9d6ccabecedf7f885dae3ce4c5c69099a1c547..8b87341e58ec6a83b9dad19f9245519defa503c1 100644
--- a/ui/file_manager/file_manager/background/js/background_base.js
+++ b/ui/file_manager/file_manager/background/js/background_base.js
@@ -72,7 +72,7 @@ BackgroundBase.prototype.onLaunched_ = function(launchData) {
// Volume list needs to be initialized (more precisely,
// chrome.fileSystem.requestFileSystem needs to be called to grant access)
// before resolveIsolatedEntries().
- return VolumeManager.getInstance();
+ return volumeManagerFactory.getInstance();
}).then(function() {
var isolatedEntries = launchData.items.map(function(item) {
return item.entry;

Powered by Google App Engine
This is Rietveld 408576698