From 8f72b978c9bbb7c2f3f60f046ecaa664f8ab0226 Mon Sep 17 00:00:00 2001 From: "ericu@google.com" Date: Thu, 24 Mar 2011 01:05:09 +0000 Subject: Fix the clang build. BUG=none TEST=none TBR=cmp git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79230 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/fileapi/file_system_operation_context.h | 3 +++ webkit/fileapi/sandbox_mount_point_provider.h | 6 ++++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'webkit/fileapi') 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 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); -- cgit v1.1