Index: webkit/fileapi/file_writer_delegate.h |
diff --git a/webkit/fileapi/file_writer_delegate.h b/webkit/fileapi/file_writer_delegate.h |
index dbb2d7c140f181ab7e5ee13203674567284324a7..e167f75fff17073a35b92e3fa94aa0b88c0eca64 100644 |
--- a/webkit/fileapi/file_writer_delegate.h |
+++ b/webkit/fileapi/file_writer_delegate.h |
@@ -8,8 +8,8 @@ |
#include "base/file_path.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/memory/weak_ptr.h" |
-#include "base/message_loop_proxy.h" |
#include "base/platform_file.h" |
+#include "base/task_runner.h" |
#include "base/time.h" |
#include "net/base/file_stream.h" |
#include "net/base/io_buffer.h" |
@@ -28,7 +28,7 @@ class FileWriterDelegate : public net::URLRequest::Delegate { |
FileSystemOperation* write_operation, |
const FileSystemPath& path, |
int64 offset, |
- scoped_refptr<base::MessageLoopProxy> proxy); |
+ base::TaskRunner* task_runner); |
virtual ~FileWriterDelegate(); |
void Start(base::PlatformFile file, |
@@ -71,7 +71,7 @@ class FileWriterDelegate : public net::URLRequest::Delegate { |
FileSystemPath path_; |
int64 size_; |
int64 offset_; |
- scoped_refptr<base::MessageLoopProxy> proxy_; |
+ scoped_refptr<base::TaskRunner> task_runner_; |
base::Time last_progress_event_time_; |
int bytes_written_backlog_; |
int bytes_written_; |