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

Unified Diff: ui/file_manager/file_manager/common/js/volume_manager_common.js

Issue 1062853004: Remove unused constants and functions from Files app. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « ui/file_manager/file_manager/background/js/volume_manager.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/file_manager/common/js/volume_manager_common.js
diff --git a/ui/file_manager/file_manager/common/js/volume_manager_common.js b/ui/file_manager/file_manager/common/js/volume_manager_common.js
index f4210ade26782ad30005b52834ac44bde41565dc..7dfc38c36a2910d9636ba460be9eaf6148b84f3d 100644
--- a/ui/file_manager/file_manager/common/js/volume_manager_common.js
+++ b/ui/file_manager/file_manager/common/js/volume_manager_common.js
@@ -26,9 +26,6 @@ VolumeManagerCommon.RootType = {
// Root for a drive volume.
DRIVE: 'drive',
- // Root for a privet storage volume.
- CLOUD_DEVICE: 'cloud_device',
-
// Root for a MTP volume.
MTP: 'mtp',
@@ -123,7 +120,6 @@ VolumeManagerCommon.VolumeType = {
DOWNLOADS: 'downloads',
REMOVABLE: 'removable',
ARCHIVE: 'archive',
- CLOUD_DEVICE: 'cloud_device',
MTP: 'mtp',
PROVIDED: 'provided'
};
@@ -161,8 +157,6 @@ VolumeManagerCommon.getVolumeTypeFromRootType = function(rootType) {
case VolumeManagerCommon.RootType.DRIVE_SHARED_WITH_ME:
case VolumeManagerCommon.RootType.DRIVE_RECENT:
return VolumeManagerCommon.VolumeType.DRIVE;
- case VolumeManagerCommon.RootType.CLOUD_DEVICE:
- return VolumeManagerCommon.VolumeType.CLOUD_DEVICE;
case VolumeManagerCommon.RootType.MTP:
return VolumeManagerCommon.VolumeType.MTP;
case VolumeManagerCommon.RootType.PROVIDED:
« no previous file with comments | « ui/file_manager/file_manager/background/js/volume_manager.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698