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

Unified Diff: webkit/fileapi/file_system_file_reader.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, 8 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
Index: webkit/fileapi/file_system_file_reader.h
diff --git a/webkit/fileapi/file_system_file_reader.h b/webkit/fileapi/file_system_file_reader.h
index cc9a4f35b80e22c880f34d2df96aaae0c93b04d3..f0b622aaba56f2ac68a4e427568ac3d7520df24d 100644
--- a/webkit/fileapi/file_system_file_reader.h
+++ b/webkit/fileapi/file_system_file_reader.h
@@ -15,7 +15,7 @@
class FilePath;
namespace base {
-class MessageLoopProxy;
+class TaskRunner;
}
namespace webkit_blob {
@@ -34,7 +34,7 @@ class FileSystemContext;
class FileSystemFileReader : public webkit_blob::FileReader {
public:
// Creates a new FileReader for a filesystem URL |url| form |initial_offset|.
- FileSystemFileReader(base::MessageLoopProxy* file_thread_proxy,
+ FileSystemFileReader(base::TaskRunner* task_runner,
FileSystemContext* file_system_context,
const GURL& url,
int64 initial_offset);
@@ -53,7 +53,7 @@ class FileSystemFileReader : public webkit_blob::FileReader {
const FilePath& platform_path,
const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref);
- scoped_refptr<base::MessageLoopProxy> file_thread_proxy_;
+ scoped_refptr<base::TaskRunner> task_runner_;
scoped_refptr<FileSystemContext> file_system_context_;
const GURL url_;
const int64 initial_offset_;

Powered by Google App Engine
This is Rietveld 408576698