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

Unified Diff: ui/file_manager/file_manager/background/js/background.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.js
diff --git a/ui/file_manager/file_manager/background/js/background.js b/ui/file_manager/file_manager/background/js/background.js
index 183e9e0f8813a0e547681a41c6efabae115e4190..bff74cf70ee9fe0190ff2b8c8c536f1172359f4d 100644
--- a/ui/file_manager/file_manager/background/js/background.js
+++ b/ui/file_manager/file_manager/background/js/background.js
@@ -154,7 +154,7 @@ FileBrowserBackground.prototype.ready = function(callback) {
*/
FileBrowserBackground.prototype.handleViewEvent_ =
function(event) {
- VolumeManager.getInstance()
+ volumeManagerFactory.getInstance()
.then(
/**
* Retrieves the root file entry of the volume on the requested
@@ -187,7 +187,7 @@ FileBrowserBackground.prototype.handleViewEvent_ =
*/
FileBrowserBackground.prototype.navigateToVolumeWhenReady_ =
function(volumeId, opt_directoryPath) {
- VolumeManager.getInstance()
+ volumeManagerFactory.getInstance()
.then(
/**
* Retrieves the root file entry of the volume on the requested
« no previous file with comments | « ui/file_manager/externs/volume_manager.js ('k') | ui/file_manager/file_manager/background/js/background_base.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698