OLD | NEW |
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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 // how the file system is registered). | 45 // how the file system is registered). |
46 // See the comments for IsolatedContext and/or FileSystemURL for more details. | 46 // See the comments for IsolatedContext and/or FileSystemURL for more details. |
47 | 47 |
48 // Should be used only for testing. | 48 // Should be used only for testing. |
49 kFileSystemTypeTest = 100, | 49 kFileSystemTypeTest = 100, |
50 | 50 |
51 // Indicates a local filesystem where we can access files using native | 51 // Indicates a local filesystem where we can access files using native |
52 // local path. | 52 // local path. |
53 kFileSystemTypeNativeLocal, | 53 kFileSystemTypeNativeLocal, |
54 | 54 |
| 55 // Indicates a local filesystem where we can access files using native |
| 56 // local path, but with restricted access. |
| 57 // Restricted native local file system is in read-only mode. |
| 58 kFileSystemTypeRestrictedNativeLocal, |
| 59 |
55 // Indicates a transient, isolated file system for dragged files (which could | 60 // Indicates a transient, isolated file system for dragged files (which could |
56 // contain multiple dragged paths in the virtual root). | 61 // contain multiple dragged paths in the virtual root). |
57 kFileSystemTypeDragged, | 62 kFileSystemTypeDragged, |
58 | 63 |
59 // Indicates media filesystem which we can access with same manner to | 64 // Indicates media filesystem which we can access with same manner to |
60 // regular filesystem. | 65 // regular filesystem. |
61 kFileSystemTypeNativeMedia, | 66 kFileSystemTypeNativeMedia, |
62 | 67 |
63 // Indicates media filesystem to which we need special protocol to access, | 68 // Indicates media filesystem to which we need special protocol to access, |
64 // such as MTP or PTP. | 69 // such as MTP or PTP. |
65 kFileSystemTypeDeviceMedia, | 70 kFileSystemTypeDeviceMedia, |
66 | 71 |
67 // Indicates a Drive filesystem which provides access to Google Drive. | 72 // Indicates a Drive filesystem which provides access to Google Drive. |
68 kFileSystemTypeDrive, | 73 kFileSystemTypeDrive, |
69 | 74 |
70 // Indicates a Syncable sandboxed filesystem which can be backed by a | 75 // Indicates a Syncable sandboxed filesystem which can be backed by a |
71 // cloud storage service. | 76 // cloud storage service. |
72 kFileSystemTypeSyncable, | 77 kFileSystemTypeSyncable, |
73 }; | 78 }; |
74 | 79 |
75 } // namespace fileapi | 80 } // namespace fileapi |
76 | 81 |
77 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_TYPES_H_ | 82 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_TYPES_H_ |
OLD | NEW |