Chromium Code Reviews| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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 | 55 // Indicates a local filesystem where we can access files using native |
| 56 // local path, but with restricted access. | 56 // local path, but with restricted access. |
| 57 // Restricted native local file system is in read-only mode. | 57 // Restricted native local file system is in read-only mode. |
| 58 kFileSystemTypeRestrictedNativeLocal, | 58 kFileSystemTypeRestrictedNativeLocal, |
| 59 | 59 |
| 60 // Indicates a isolated local filesystem where we can access files using | |
| 61 // native local path. | |
| 62 kFileSystemTypeIsolatedNativeLocal, | |
|
kinuko
2013/01/09 16:37:12
Why do we need this separate type?
tonibarzic
2013/01/09 17:09:46
I don't think we need.. I wanted to check somethin
| |
| 63 | |
| 60 // Indicates a transient, isolated file system for dragged files (which could | 64 // Indicates a transient, isolated file system for dragged files (which could |
| 61 // contain multiple dragged paths in the virtual root). | 65 // contain multiple dragged paths in the virtual root). |
| 62 kFileSystemTypeDragged, | 66 kFileSystemTypeDragged, |
| 63 | 67 |
| 64 // Indicates media filesystem which we can access with same manner to | 68 // Indicates media filesystem which we can access with same manner to |
| 65 // regular filesystem. | 69 // regular filesystem. |
| 66 kFileSystemTypeNativeMedia, | 70 kFileSystemTypeNativeMedia, |
| 67 | 71 |
| 68 // Indicates media filesystem to which we need special protocol to access, | 72 // Indicates media filesystem to which we need special protocol to access, |
| 69 // such as MTP or PTP. | 73 // such as MTP or PTP. |
| 70 kFileSystemTypeDeviceMedia, | 74 kFileSystemTypeDeviceMedia, |
| 71 | 75 |
| 72 // Indicates a Drive filesystem which provides access to Google Drive. | 76 // Indicates a Drive filesystem which provides access to Google Drive. |
| 73 kFileSystemTypeDrive, | 77 kFileSystemTypeDrive, |
| 74 | 78 |
| 75 // Indicates a Syncable sandboxed filesystem which can be backed by a | 79 // Indicates a Syncable sandboxed filesystem which can be backed by a |
| 76 // cloud storage service. | 80 // cloud storage service. |
| 77 kFileSystemTypeSyncable, | 81 kFileSystemTypeSyncable, |
| 78 }; | 82 }; |
| 79 | 83 |
| 80 } // namespace fileapi | 84 } // namespace fileapi |
| 81 | 85 |
| 82 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_TYPES_H_ | 86 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_TYPES_H_ |
| OLD | NEW |