volume_manager_common_volume_type.js 663 B

12345678910111213141516171819202122232425
  1. // Copyright 2021 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. // TODO(b/199452030): Fix duplication with volume_manager_types.js
  5. /**
  6. * The type of each volume.
  7. * @enum {string}
  8. * @const
  9. */
  10. export const VolumeManagerCommonVolumeType = {
  11. DRIVE: 'drive',
  12. DOWNLOADS: 'downloads',
  13. REMOVABLE: 'removable',
  14. ARCHIVE: 'archive',
  15. MTP: 'mtp',
  16. PROVIDED: 'provided',
  17. MEDIA_VIEW: 'media_view',
  18. DOCUMENTS_PROVIDER: 'documents_provider',
  19. CROSTINI: 'crostini',
  20. ANDROID_FILES: 'android_files',
  21. MY_FILES: 'my_files',
  22. SMB: 'smb',
  23. TRASH: 'trash',
  24. };