Index: webkit/fileapi/sandbox_mount_point_provider.h |
diff --git a/webkit/fileapi/sandbox_mount_point_provider.h b/webkit/fileapi/sandbox_mount_point_provider.h |
index c92cda22c0fcae5158249206661d2f36b9b7ae45..8841089e6a9544135763ebdf8f2c38322521e239 100644 |
--- a/webkit/fileapi/sandbox_mount_point_provider.h |
+++ b/webkit/fileapi/sandbox_mount_point_provider.h |
@@ -17,7 +17,7 @@ |
#include "webkit/fileapi/file_system_quota_util.h" |
namespace base { |
-class MessageLoopProxy; |
+class SequencedTaskRunner; |
} |
namespace quota { |
@@ -61,8 +61,10 @@ class SandboxMountPointProvider |
// Where we move the old filesystem directory if migration fails. |
static const FilePath::CharType kRenamedOldFileSystemDirectory[]; |
+ // |file_task_runner| is used to validate the root directory and delete the |
+ // obfuscated file util. |
SandboxMountPointProvider( |
- scoped_refptr<base::MessageLoopProxy> file_message_loop, |
+ base::SequencedTaskRunner* file_task_runner, |
const FilePath& profile_path, |
const FileSystemOptions& file_system_options); |
virtual ~SandboxMountPointProvider(); |
@@ -91,12 +93,10 @@ class SandboxMountPointProvider |
const GURL& origin_url, |
FileSystemType file_system_type, |
const FilePath& virtual_path, |
- base::MessageLoopProxy* file_proxy, |
FileSystemContext* context) const OVERRIDE; |
virtual webkit_blob::FileReader* CreateFileReader( |
const GURL& url, |
int64 offset, |
- base::MessageLoopProxy* file_proxy, |
FileSystemContext* context) const OVERRIDE; |
FilePath old_base_path() const; |
@@ -173,7 +173,7 @@ class SandboxMountPointProvider |
friend class SandboxMountPointProviderMigrationTest; |
friend class SandboxMountPointProviderOriginEnumeratorTest; |
- scoped_refptr<base::MessageLoopProxy> file_message_loop_; |
+ scoped_refptr<base::SequencedTaskRunner> file_task_runner_; |
const FilePath profile_path_; |