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

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

Issue 14352004: Split Media-related code from IsolatedMountPointProvider (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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
« no previous file with comments | « webkit/fileapi/file_system_context.cc ('k') | webkit/fileapi/isolated_mount_point_provider.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_MOUNT_POINT_PROVIDER_H_ 5 #ifndef WEBKIT_FILEAPI_FILE_SYSTEM_MOUNT_POINT_PROVIDER_H_
6 #define WEBKIT_FILEAPI_FILE_SYSTEM_MOUNT_POINT_PROVIDER_H_ 6 #define WEBKIT_FILEAPI_FILE_SYSTEM_MOUNT_POINT_PROVIDER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 16 matching lines...) Expand all
27 class FileSystemURL; 27 class FileSystemURL;
28 class FileStreamWriter; 28 class FileStreamWriter;
29 class FileSystemContext; 29 class FileSystemContext;
30 class FileSystemFileUtil; 30 class FileSystemFileUtil;
31 class FileSystemOperation; 31 class FileSystemOperation;
32 class FileSystemQuotaUtil; 32 class FileSystemQuotaUtil;
33 class RemoteFileSystemProxyInterface; 33 class RemoteFileSystemProxyInterface;
34 34
35 // An interface to provide mount-point-specific path-related utilities 35 // An interface to provide mount-point-specific path-related utilities
36 // and specialized FileSystemFileUtil instance. 36 // and specialized FileSystemFileUtil instance.
37 //
38 // NOTE: when you implement a new MountPointProvider for your own
39 // FileSystem module, please contact to kinuko@chromium.org.
40 //
37 class WEBKIT_STORAGE_EXPORT FileSystemMountPointProvider { 41 class WEBKIT_STORAGE_EXPORT FileSystemMountPointProvider {
38 public: 42 public:
39 // Callback for ValidateFileSystemRoot. 43 // Callback for ValidateFileSystemRoot.
40 typedef base::Callback<void(base::PlatformFileError error)> 44 typedef base::Callback<void(base::PlatformFileError error)>
41 ValidateFileSystemCallback; 45 ValidateFileSystemCallback;
42 typedef base::Callback<void(base::PlatformFileError error)> 46 typedef base::Callback<void(base::PlatformFileError error)>
43 DeleteFileSystemCallback; 47 DeleteFileSystemCallback;
44 virtual ~FileSystemMountPointProvider() {} 48 virtual ~FileSystemMountPointProvider() {}
45 49
46 // Returns true if this mount point provider can handle |type|. 50 // Returns true if this mount point provider can handle |type|.
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 const std::string& extension_id) = 0; 168 const std::string& extension_id) = 0;
165 // Gets virtual path by known filesystem path. Returns false when filesystem 169 // Gets virtual path by known filesystem path. Returns false when filesystem
166 // path is not exposed by this provider. 170 // path is not exposed by this provider.
167 virtual bool GetVirtualPath(const base::FilePath& file_system_path, 171 virtual bool GetVirtualPath(const base::FilePath& file_system_path,
168 base::FilePath* virtual_path) = 0; 172 base::FilePath* virtual_path) = 0;
169 }; 173 };
170 174
171 } // namespace fileapi 175 } // namespace fileapi
172 176
173 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_MOUNT_POINT_PROVIDER_H_ 177 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_MOUNT_POINT_PROVIDER_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/file_system_context.cc ('k') | webkit/fileapi/isolated_mount_point_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698