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

Unified Diff: ui/file_manager/file_manager/background/js/volume_manager_impl.js

Issue 2622133008: mediaview: Implement UI. (Closed)
Patch Set: Fix typo and add logging. Created 3 years, 11 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/volume_manager_impl.js
diff --git a/ui/file_manager/file_manager/background/js/volume_manager_impl.js b/ui/file_manager/file_manager/background/js/volume_manager_impl.js
index e6463becd10114417b7b114c151ee7b8a9418b04..72880362d4dcc199a83399c644dc7a476a259451 100644
--- a/ui/file_manager/file_manager/background/js/volume_manager_impl.js
+++ b/ui/file_manager/file_manager/background/js/volume_manager_impl.js
@@ -331,6 +331,9 @@ VolumeManagerImpl.prototype.getLocationInfo = function(entry) {
case VolumeManagerCommon.VolumeType.PROVIDED:
rootType = VolumeManagerCommon.RootType.PROVIDED;
break;
+ case VolumeManagerCommon.VolumeType.MEDIA_VIEW:
+ rootType = VolumeManagerCommon.RootType.MEDIA_VIEW;
+ break;
default:
// Programming error, throw an exception.
throw new Error('Invalid volume type: ' + volumeInfo.volumeType);

Powered by Google App Engine
This is Rietveld 408576698