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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_FILEAPI_FILE_SYSTEM_TYPES_H_ 5 #ifndef WEBKIT_FILEAPI_FILE_SYSTEM_TYPES_H_
6 #define WEBKIT_FILEAPI_FILE_SYSTEM_TYPES_H_ 6 #define WEBKIT_FILEAPI_FILE_SYSTEM_TYPES_H_
7 7
8 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebFileSyste m.h" 8 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebFileSyste m.h"
9 9
10 namespace fileapi { 10 namespace fileapi {
(...skipping 16 matching lines...) Expand all
27 kFileSystemTypeIsolated = WebKit::WebFileSystem::TypeIsolated, 27 kFileSystemTypeIsolated = WebKit::WebFileSystem::TypeIsolated,
28 28
29 // Indicates non-sandboxed filesystem where files are placed outside the 29 // Indicates non-sandboxed filesystem where files are placed outside the
30 // profile directory (thus called 'external' filesystem). 30 // profile directory (thus called 'external' filesystem).
31 // This filesystem is used only by Chrome OS as of writing. 31 // This filesystem is used only by Chrome OS as of writing.
32 kFileSystemTypeExternal = WebKit::WebFileSystem::TypeExternal, 32 kFileSystemTypeExternal = WebKit::WebFileSystem::TypeExternal,
33 33
34 // Should be used only for testing. 34 // Should be used only for testing.
35 kFileSystemTypeTest = 100, 35 kFileSystemTypeTest = 100,
36 36
37 // Internal filesystem types, which are not exposed to WebKit but are 37 // Following file system types are internal and they are not exposed to
38 // accessible via Isolated file system. 38 // WebKit, but are accessible via IsolatedContext.
39
40 // Indicates a transient, isolated file system for a native local path.
41 // TODO(kinuko): Rename all kFileSystemTypeIsolated used as internal type
42 // with this one.
43 kFileSystemTypeNativeLocal,
44
45 // Indicates a transient, isolated file system for dragged files (which could
46 // contain multiple dragged paths in the virtual root).
39 kFileSystemTypeDragged, 47 kFileSystemTypeDragged,
40 48
41 // Indicates media filesystem which we can access with same manner to 49 // Indicates media filesystem which we can access with same manner to
42 // regular filesystem. 50 // regular filesystem.
43 kFileSystemTypeNativeMedia, 51 kFileSystemTypeNativeMedia,
44 52
45 // Indicates media filesystem to which we need special protocol to access, 53 // Indicates media filesystem to which we need special protocol to access,
46 // such as MTP or PTP. 54 // such as MTP or PTP.
47 kFileSystemTypeDeviceMedia, 55 kFileSystemTypeDeviceMedia,
56
57 // Indicates a Drive filesystem which provides access to Google Drive.
58 kFileSystemTypeDrive,
59 };
60
61 enum FileSystemMountType {
62 kFileSystemMountTypeUnknown = -1,
63
64 // For kFileSystemTypeIsolated file systems. URLs for this type of
65 // file system is cracked via IsolatedContext.
66 kFileSystemMountTypeIsolated = kFileSystemTypeIsolated,
67
68 // For kFileSystemTypeIsolated file systems. URLs for this type of
69 // file system is cracked via IsolatedContext.
70 kFileSystemMountTypeExternal = kFileSystemTypeExternal,
48 }; 71 };
49 72
50 } // namespace fileapi 73 } // namespace fileapi
51 74
52 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_TYPES_H_ 75 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_TYPES_H_
OLDNEW
« 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