diff options
Diffstat (limited to 'webkit/fileapi/file_system_mount_point_provider.h')
-rw-r--r-- | webkit/fileapi/file_system_mount_point_provider.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/webkit/fileapi/file_system_mount_point_provider.h b/webkit/fileapi/file_system_mount_point_provider.h index e331991..50e0d39 100644 --- a/webkit/fileapi/file_system_mount_point_provider.h +++ b/webkit/fileapi/file_system_mount_point_provider.h @@ -29,7 +29,7 @@ class FileSystemMountPointProvider { // Retrieves the root path for the given |origin_url| and |type|, and // calls the given |callback| with the root path and name. // If |create| is true this also creates the directory if it doesn't exist. - virtual void GetFileSystemRootPath( + virtual void ValidateFileSystemRootAndGetURL( const GURL& origin_url, FileSystemType type, bool create, @@ -37,7 +37,7 @@ class FileSystemMountPointProvider { // Like GetFileSystemRootPath, but synchronous, and can be called only while // running on the file thread. - virtual FilePath GetFileSystemRootPathOnFileThread( + virtual FilePath ValidateFileSystemRootAndGetPathOnFileThread( const GURL& origin_url, FileSystemType type, const FilePath& virtual_path, @@ -67,6 +67,10 @@ class ExternalFileSystemMountPointProvider // Revoke file access from extension identified with |extension_id|. virtual void RevokeAccessForExtension( const std::string& extension_id) = 0; + // Adds a new mount point. + virtual void AddMountPoint(FilePath mount_point) = 0; + // Remove a mount point. + virtual void RemoveMountPoint(FilePath mount_point) = 0; }; } // namespace fileapi |