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..498bb4cb91e5a45d4bdac47864dc61cde46f4576 100644 |
--- a/webkit/fileapi/file_writer_delegate.h |
+++ b/webkit/fileapi/file_writer_delegate.h |
@@ -8,7 +8,6 @@ |
#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/time.h" |
#include "net/base/file_stream.h" |
@@ -16,6 +15,10 @@ |
#include "net/url_request/url_request.h" |
#include "webkit/fileapi/file_system_path.h" |
+namespace base { |
+class SequencedTaskRunner; |
+} |
+ |
namespace fileapi { |
class FileSystemOperation; |
@@ -28,7 +31,7 @@ class FileWriterDelegate : public net::URLRequest::Delegate { |
FileSystemOperation* write_operation, |
const FileSystemPath& path, |
int64 offset, |
- scoped_refptr<base::MessageLoopProxy> proxy); |
+ base::SequencedTaskRunner* task_runner); |
virtual ~FileWriterDelegate(); |
void Start(base::PlatformFile file, |
@@ -71,7 +74,7 @@ class FileWriterDelegate : public net::URLRequest::Delegate { |
FileSystemPath path_; |
int64 size_; |
int64 offset_; |
- scoped_refptr<base::MessageLoopProxy> proxy_; |
+ scoped_refptr<base::SequencedTaskRunner> task_runner_; |
base::Time last_progress_event_time_; |
int bytes_written_backlog_; |
int bytes_written_; |