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

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 + rebased. 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..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);

Powered by Google App Engine
This is Rietveld 408576698