| Index: webkit/fileapi/file_system_types.h
|
| diff --git a/webkit/fileapi/file_system_types.h b/webkit/fileapi/file_system_types.h
|
| index 4816781e0119f65f3c3174dd75be989428704219..936c81f4e2fe58fecbf460c00034bb4deedd8681 100644
|
| --- a/webkit/fileapi/file_system_types.h
|
| +++ b/webkit/fileapi/file_system_types.h
|
| @@ -34,8 +34,16 @@ enum FileSystemType {
|
| // Should be used only for testing.
|
| kFileSystemTypeTest = 100,
|
|
|
| - // Internal filesystem types, which are not exposed to WebKit but are
|
| - // accessible via Isolated file system.
|
| + // Following file system types are internal and they are not exposed to
|
| + // WebKit, but are accessible via IsolatedContext.
|
| +
|
| + // Indicates a transient, isolated file system for a native local path.
|
| + // TODO(kinuko): Rename all kFileSystemTypeIsolated used as internal type
|
| + // with this one.
|
| + kFileSystemTypeNativeLocal,
|
| +
|
| + // Indicates a transient, isolated file system for dragged files (which could
|
| + // contain multiple dragged paths in the virtual root).
|
| kFileSystemTypeDragged,
|
|
|
| // Indicates media filesystem which we can access with same manner to
|
| @@ -45,6 +53,21 @@ enum FileSystemType {
|
| // Indicates media filesystem to which we need special protocol to access,
|
| // such as MTP or PTP.
|
| kFileSystemTypeDeviceMedia,
|
| +
|
| + // Indicates a Drive filesystem which provides access to Google Drive.
|
| + kFileSystemTypeDrive,
|
| +};
|
| +
|
| +enum FileSystemMountType {
|
| + kFileSystemMountTypeUnknown = -1,
|
| +
|
| + // For kFileSystemTypeIsolated file systems. URLs for this type of
|
| + // file system is cracked via IsolatedContext.
|
| + kFileSystemMountTypeIsolated = kFileSystemTypeIsolated,
|
| +
|
| + // For kFileSystemTypeIsolated file systems. URLs for this type of
|
| + // file system is cracked via IsolatedContext.
|
| + kFileSystemMountTypeExternal = kFileSystemTypeExternal,
|
| };
|
|
|
| } // namespace fileapi
|
|
|