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

Unified Diff: chrome/browser/resources/file_manager/background/js/volume_manager.js

Issue 109973002: Migrate from URLs to Entries in the Files App's gallery. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments. Created 7 years 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: 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..2d98d6bb1c3f8c59bff09e6b0e448d60e0aff1f2 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,9 @@ 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): The mountPath field is deprecated. Remove it.
e.mountPath = mountPath;
- e.volumeType = volumeInfo.volumeType;
+ e.volumeInfo = volumeInfo;
hirono 2013/12/10 08:49:31 Sorry for less explanation. e.volumeType is used i
mtomasz 2013/12/11 05:30:25 Done.
mtomasz 2013/12/11 05:30:25 Done.
this.dispatchEvent(e);
}
this.finishRequest_(requestKey, status);

Powered by Google App Engine
This is Rietveld 408576698