Index: chrome/browser/resources/file_manager/background/js/volume_manager.js |
diff --git a/chrome/browser/resources/file_manager/background/js/volume_manager.js b/chrome/browser/resources/file_manager/background/js/volume_manager.js |
index 4c241d5a09dc9ab7da1fa9cc68b6acc4cfed32fb..c48ded56ca0c24fcd57b6a9699a09da358cb9fd4 100644 |
--- a/chrome/browser/resources/file_manager/background/js/volume_manager.js |
+++ b/chrome/browser/resources/file_manager/background/js/volume_manager.js |
@@ -486,8 +486,11 @@ VolumeManager.prototype.onMountCompleted_ = function(event) { |
if (event.status === 'success' && !requested && volumeInfo) { |
console.warn('Mounted volume without a request: ', mountPath); |
var e = new Event('externally-unmounted'); |
+ // TODO(mtomasz): mountPath and mountType are obsolete and will be |
+ // removed soon. Use volumeInfo instead. |
e.mountPath = mountPath; |
e.volumeType = volumeInfo.volumeType; |
hirono
2013/12/10 03:36:53
Please remove this property. We can get volumeType
mtomasz
2013/12/10 05:07:01
Done.
|
+ e.volumeInfo = volumeInfo; |
this.dispatchEvent(e); |
} |
this.finishRequest_(requestKey, status); |