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

Unified Diff: ui/file_manager/file_manager/background/js/device_handler.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/device_handler.js
diff --git a/ui/file_manager/file_manager/background/js/device_handler.js b/ui/file_manager/file_manager/background/js/device_handler.js
index a1e96019db0fc72dffffc7d238f18f73847a4ad2..0999bc5c5aa40c1a304102d1d148748553f69f3e 100644
--- a/ui/file_manager/file_manager/background/js/device_handler.js
+++ b/ui/file_manager/file_manager/background/js/device_handler.js
@@ -407,7 +407,7 @@ DeviceHandler.prototype.onMount_ = function(event) {
// If this is remounting, which happens when resuming Chrome OS, the device
// has already inserted to the computer. So we suppress the notification.
var metadata = event.volumeMetadata;
- VolumeManager.getInstance()
+ volumeManagerFactory.getInstance()
.then(
/**
* @param {!VolumeManager} volumeManager

Powered by Google App Engine
This is Rietveld 408576698