diff options
Diffstat (limited to 'webkit/common')
-rw-r--r-- | webkit/common/fileapi/file_system_types.h | 4 | ||||
-rw-r--r-- | webkit/common/fileapi/file_system_util.cc | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/webkit/common/fileapi/file_system_types.h b/webkit/common/fileapi/file_system_types.h index c24d8d3..409f3dc 100644 --- a/webkit/common/fileapi/file_system_types.h +++ b/webkit/common/fileapi/file_system_types.h @@ -122,6 +122,10 @@ enum FileSystemType { // A filesystem that is mounted via the FileSystemProvider API. kFileSystemTypeProvided, + // A media filesystem such as MTP or PTP, mounted as a file storage not + // limited to media files. + kFileSystemTypeDeviceMediaAsFileStorage, + // -------------------------------------------------------------------- // Marks the end of internal type enum. (This is not the actual fs type) // New internal filesystem types must be added above this line. diff --git a/webkit/common/fileapi/file_system_util.cc b/webkit/common/fileapi/file_system_util.cc index 84c59b2..a19136a 100644 --- a/webkit/common/fileapi/file_system_util.cc +++ b/webkit/common/fileapi/file_system_util.cc @@ -319,6 +319,8 @@ std::string GetFileSystemTypeString(FileSystemType type) { return "CloudDevice"; case kFileSystemTypeProvided: return "Provided"; + case kFileSystemTypeDeviceMediaAsFileStorage: + return "DeviceMediaStorage"; case kFileSystemInternalTypeEnumStart: case kFileSystemInternalTypeEnumEnd: NOTREACHED(); |