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

Unified Diff: webkit/fileapi/file_system_types.h

Issue 10823273: Integrate external mount points to IsolatedContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove too strict DCHECK Created 8 years, 4 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 | « webkit/fileapi/file_system_mount_point_provider.h ('k') | webkit/fileapi/file_system_url.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « webkit/fileapi/file_system_mount_point_provider.h ('k') | webkit/fileapi/file_system_url.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698