Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Unified Diff: webkit/fileapi/sandbox_mount_point_provider.h

Issue 10197007: Change webkit/{fileapi,quota} code to use TaskRunner. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: test fix Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/fileapi/isolated_mount_point_provider.cc ('k') | webkit/fileapi/sandbox_mount_point_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « webkit/fileapi/isolated_mount_point_provider.cc ('k') | webkit/fileapi/sandbox_mount_point_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698