diff options
author | ericu@google.com <ericu@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-24 01:32:48 +0000 |
---|---|---|
committer | ericu@google.com <ericu@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-24 01:32:48 +0000 |
commit | fe641c8aa8e5471c85fccac181c8db3b9dfef2b5 (patch) | |
tree | dedb0abb206734ad56c675790e305abcba9b14c2 /webkit/fileapi | |
parent | 4ff51b75326cb2260c17310487230974a5a8655e (diff) | |
download | chromium_src-fe641c8aa8e5471c85fccac181c8db3b9dfef2b5.zip chromium_src-fe641c8aa8e5471c85fccac181c8db3b9dfef2b5.tar.gz chromium_src-fe641c8aa8e5471c85fccac181c8db3b9dfef2b5.tar.bz2 |
Proper build fix.
BUG=none
TEST=none
TBR=cmp
Review URL: http://codereview.chromium.org/6734001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79234 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/fileapi')
-rw-r--r-- | webkit/fileapi/file_system_operation_context.cc | 3 | ||||
-rw-r--r-- | webkit/fileapi/file_system_operation_context.h | 1 | ||||
-rw-r--r-- | webkit/fileapi/sandbox_mount_point_provider.cc | 3 | ||||
-rw-r--r-- | webkit/fileapi/sandbox_mount_point_provider.h | 5 |
4 files changed, 10 insertions, 2 deletions
diff --git a/webkit/fileapi/file_system_operation_context.cc b/webkit/fileapi/file_system_operation_context.cc index 1a57137..9e5d374 100644 --- a/webkit/fileapi/file_system_operation_context.cc +++ b/webkit/fileapi/file_system_operation_context.cc @@ -18,4 +18,7 @@ FileSystemOperationContext::FileSystemOperationContext( dest_type_(kFileSystemTypeUnknown) { } +FileSystemOperationContext::~FileSystemOperationContext() { +} + } // namespace fileapi diff --git a/webkit/fileapi/file_system_operation_context.h b/webkit/fileapi/file_system_operation_context.h index d4c7f2f..4885170 100644 --- a/webkit/fileapi/file_system_operation_context.h +++ b/webkit/fileapi/file_system_operation_context.h @@ -19,6 +19,7 @@ class FileSystemOperationContext { 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.cc b/webkit/fileapi/sandbox_mount_point_provider.cc index ac82cc8..d7f6146 100644 --- a/webkit/fileapi/sandbox_mount_point_provider.cc +++ b/webkit/fileapi/sandbox_mount_point_provider.cc @@ -123,6 +123,9 @@ SandboxMountPointProvider::SandboxMountPointProvider( base_path_(profile_path.Append(kFileSystemDirectory)) { } +SandboxMountPointProvider::~SandboxMountPointProvider() { +} + bool SandboxMountPointProvider::IsAccessAllowed(const GURL& origin_url) { // We essentially depend on quota to do our access controls. return path_manager_->IsAllowedScheme(origin_url); diff --git a/webkit/fileapi/sandbox_mount_point_provider.h b/webkit/fileapi/sandbox_mount_point_provider.h index d981cc8..b401435 100644 --- a/webkit/fileapi/sandbox_mount_point_provider.h +++ b/webkit/fileapi/sandbox_mount_point_provider.h @@ -26,6 +26,7 @@ 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 +34,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 +42,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); |