Index: webkit/fileapi/file_system_mount_point_provider.h |
diff --git a/webkit/fileapi/file_system_mount_point_provider.h b/webkit/fileapi/file_system_mount_point_provider.h |
index b3309bcca0441d566daa42b0758f3c2e8389a392..fbc7b58d475eec53f9647b5e76bcf0271e038f28 100644 |
--- a/webkit/fileapi/file_system_mount_point_provider.h |
+++ b/webkit/fileapi/file_system_mount_point_provider.h |
@@ -35,6 +35,8 @@ class FILEAPI_EXPORT FileSystemMountPointProvider { |
// Callback for ValidateFileSystemRoot. |
typedef base::Callback<void(base::PlatformFileError error)> |
ValidateFileSystemCallback; |
+ typedef base::Callback<void(base::PlatformFileError error)> |
+ DeleteFileSystemCallback; |
virtual ~FileSystemMountPointProvider() {} |
// Validates the filesystem for the given |origin_url| and |type|. |
@@ -107,6 +109,13 @@ class FILEAPI_EXPORT FileSystemMountPointProvider { |
// Returns the specialized FileSystemQuotaUtil for this mount point. |
// This could return NULL if this mount point does not support quota. |
virtual FileSystemQuotaUtil* GetQuotaUtil() = 0; |
+ |
+ // Deletes the filesystem for the given |origin_url| and |type|. |
+ virtual void DeleteFileSystem( |
+ const GURL& origin_url, |
+ FileSystemType type, |
+ FileSystemContext* context, |
+ const DeleteFileSystemCallback& callback) = 0; |
}; |
// An interface to control external file system access permissions. |