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

Side by Side Diff: webkit/fileapi/file_system_types.h

Issue 14096022: Make MountPointProvider pluggable from outside webkit/fileapi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: build fix etc Created 7 years, 8 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
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/Platform/chromium/public/WebFileSystem.h" 8 #include "third_party/WebKit/Source/Platform/chromium/public/WebFileSystem.h"
9 #include "third_party/WebKit/Source/Platform/chromium/public/WebFileSystemType.h " 9 #include "third_party/WebKit/Source/Platform/chromium/public/WebFileSystemType.h "
10 10
(...skipping 19 matching lines...) Expand all
30 30
31 // Indicates non-sandboxed isolated filesystem. 31 // Indicates non-sandboxed isolated filesystem.
32 kFileSystemTypeIsolated = WebKit::WebFileSystemTypeIsolated, 32 kFileSystemTypeIsolated = WebKit::WebFileSystemTypeIsolated,
33 33
34 // Indicates non-sandboxed filesystem where files are placed outside the 34 // Indicates non-sandboxed filesystem where files are placed outside the
35 // profile directory (thus called 'external' filesystem). 35 // profile directory (thus called 'external' filesystem).
36 // This filesystem is used only by Chrome OS as of writing. 36 // This filesystem is used only by Chrome OS as of writing.
37 kFileSystemTypeExternal = WebKit::WebFileSystemTypeExternal, 37 kFileSystemTypeExternal = WebKit::WebFileSystemTypeExternal,
38 38
39 // ------------------------------------------------------------------------ 39 // ------------------------------------------------------------------------
40 // Marks the beginning of internal type enum. (This is not the actual fs type)
41 kFileSystemInternalTypeEnumStart = 99,
42
40 // Private FileSystem types, that should not appear in filesystem: URL as 43 // Private FileSystem types, that should not appear in filesystem: URL as
41 // WebKit has no idea how to handle those types. 44 // WebKit has no idea how to handle those types.
42 // 45 //
43 // One can register (mount) a new file system with a private file system type 46 // One can register (mount) a new file system with a private file system type
44 // using IsolatedContext. Files in such file systems can be accessed via 47 // using IsolatedContext. Files in such file systems can be accessed via
45 // either Isolated or External public file system types (depending on 48 // either Isolated or External public file system types (depending on
46 // how the file system is registered). 49 // how the file system is registered).
47 // See the comments for IsolatedContext and/or FileSystemURL for more details. 50 // See the comments for IsolatedContext and/or FileSystemURL for more details.
48 51
49 // Should be used only for testing. 52 // Should be used only for testing.
50 kFileSystemTypeTest = 100, 53 kFileSystemTypeTest,
51 54
52 // Indicates a local filesystem where we can access files using native 55 // Indicates a local filesystem where we can access files using native
53 // local path. 56 // local path.
54 kFileSystemTypeNativeLocal, 57 kFileSystemTypeNativeLocal,
55 58
56 // Indicates a local filesystem where we can access files using native 59 // Indicates a local filesystem where we can access files using native
57 // local path, but with restricted access. 60 // local path, but with restricted access.
58 // Restricted native local file system is in read-only mode. 61 // Restricted native local file system is in read-only mode.
59 kFileSystemTypeRestrictedNativeLocal, 62 kFileSystemTypeRestrictedNativeLocal,
60 63
(...skipping 14 matching lines...) Expand all
75 78
76 // Indicates a Syncable sandboxed filesystem which can be backed by a 79 // Indicates a Syncable sandboxed filesystem which can be backed by a
77 // cloud storage service. 80 // cloud storage service.
78 kFileSystemTypeSyncable, 81 kFileSystemTypeSyncable,
79 82
80 // Indicates an external filesystem accessible by file paths from platform 83 // Indicates an external filesystem accessible by file paths from platform
81 // Apps. As of writing, on non Chrome OS platform, this is merely a 84 // Apps. As of writing, on non Chrome OS platform, this is merely a
82 // kFileSystemTypeNativeLocal. On Chrome OS, the path is parsed by 85 // kFileSystemTypeNativeLocal. On Chrome OS, the path is parsed by
83 // the handlers of kFileSystemTypeExternal. 86 // the handlers of kFileSystemTypeExternal.
84 kFileSystemTypeNativeForPlatformApp, 87 kFileSystemTypeNativeForPlatformApp,
88
89 // --------------------------------------------------------------------
90 // Marks the end of internal type enum. (This is not the actual fs type)
91 // New internal filesystem types must be added above this line.
92 kFileSystemInternalTypeEnumEnd,
85 }; 93 };
86 94
87 } // namespace fileapi 95 } // namespace fileapi
88 96
89 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_TYPES_H_ 97 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_TYPES_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/file_system_quota_client_unittest.cc ('k') | webkit/fileapi/file_system_url_request_job_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698