Index: webkit/blob/local_file_reader.h |
diff --git a/webkit/blob/local_file_reader.h b/webkit/blob/local_file_reader.h |
index 23abe7b2653a9ae92dc8f91db970334337fe22d3..438faeda392a11f78be3ca9e79132b0ba2c0bfde 100644 |
--- a/webkit/blob/local_file_reader.h |
+++ b/webkit/blob/local_file_reader.h |
@@ -16,7 +16,7 @@ |
#include "webkit/blob/file_reader.h" |
namespace base { |
-class MessageLoopProxy; |
+class TaskRunner; |
} |
namespace webkit_blob { |
@@ -42,7 +42,7 @@ class BLOB_EXPORT LocalFileReader : public FileReader { |
// it does any succeeding read operations should fail with |
// ERR_UPLOAD_FILE_CHANGED error. |
// TODO(kinuko): Consider using SequencedWorkerPool. |
- LocalFileReader(base::MessageLoopProxy* file_thread_proxy, |
+ LocalFileReader(base::TaskRunner* task_runner, |
const FilePath& file_path, |
int64 initial_offset, |
const base::Time& expected_modification_time); |
@@ -68,7 +68,7 @@ class BLOB_EXPORT LocalFileReader : public FileReader { |
int open_error, |
scoped_ptr<net::FileStream> stream); |
- scoped_refptr<base::MessageLoopProxy> file_thread_proxy_; |
+ scoped_refptr<base::TaskRunner> task_runner_; |
scoped_ptr<net::FileStream> stream_impl_; |
const FilePath file_path_; |
const int64 initial_offset_; |