summaryrefslogtreecommitdiffstats
path: root/webkit/fileapi
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/fileapi')
-rw-r--r--webkit/fileapi/file_system_operation_context.h3
-rw-r--r--webkit/fileapi/sandbox_mount_point_provider.h6
2 files changed, 7 insertions, 2 deletions
diff --git a/webkit/fileapi/file_system_operation_context.h b/webkit/fileapi/file_system_operation_context.h
index d4c7f2f..89ce8c1 100644
--- a/webkit/fileapi/file_system_operation_context.h
+++ b/webkit/fileapi/file_system_operation_context.h
@@ -20,6 +20,9 @@ class FileSystemOperationContext {
FileSystemContext* context,
FileSystemFileUtil* file_system_file_util);
+ ~FileSystemOperationContext() {
+ }
+
FileSystemContext* file_system_context() const {
return file_system_context_.get();
}
diff --git a/webkit/fileapi/sandbox_mount_point_provider.h b/webkit/fileapi/sandbox_mount_point_provider.h
index d981cc8..bb6d12a 100644
--- a/webkit/fileapi/sandbox_mount_point_provider.h
+++ b/webkit/fileapi/sandbox_mount_point_provider.h
@@ -26,6 +26,8 @@ class SandboxMountPointProvider : public FileSystemMountPointProvider {
FileSystemPathManager* path_manager,
scoped_refptr<base::MessageLoopProxy> file_message_loop,
const FilePath& profile_path);
+ virtual ~SandboxMountPointProvider() {
+ }
// Checks if mount point access is allowed from |origin_url|.
virtual bool IsAccessAllowed(const GURL& origin_url);
@@ -33,7 +35,7 @@ class SandboxMountPointProvider : public 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.
- void GetFileSystemRootPath(
+ virtual void GetFileSystemRootPath(
const GURL& origin_url,
FileSystemType type,
bool create,
@@ -41,7 +43,7 @@ class SandboxMountPointProvider : public FileSystemMountPointProvider {
// Like GetFileSystemRootPath, but synchronous, and can be called only while
// running on the file thread.
- FilePath GetFileSystemRootPathOnFileThread(
+ virtual FilePath GetFileSystemRootPathOnFileThread(
const GURL& origin_url,
FileSystemType type,
bool create);