| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WEBKIT_FILEAPI_FILE_WRITER_DELEGATE_H_ | 5 #ifndef WEBKIT_FILEAPI_FILE_WRITER_DELEGATE_H_ |
| 6 #define WEBKIT_FILEAPI_FILE_WRITER_DELEGATE_H_ | 6 #define WEBKIT_FILEAPI_FILE_WRITER_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "base/file_path.h" | 8 #include "base/file_path.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
| 11 #include "base/message_loop_proxy.h" | 11 #include "base/message_loop_proxy.h" |
| 12 #include "base/platform_file.h" | 12 #include "base/platform_file.h" |
| 13 #include "base/task.h" | |
| 14 #include "base/time.h" | 13 #include "base/time.h" |
| 15 #include "net/base/file_stream.h" | 14 #include "net/base/file_stream.h" |
| 16 #include "net/base/io_buffer.h" | 15 #include "net/base/io_buffer.h" |
| 17 #include "net/url_request/url_request.h" | 16 #include "net/url_request/url_request.h" |
| 18 | 17 |
| 19 namespace fileapi { | 18 namespace fileapi { |
| 20 | 19 |
| 21 class FileSystemOperation; | 20 class FileSystemOperation; |
| 22 class FileSystemOperationContext; | 21 class FileSystemOperationContext; |
| 23 class FileSystemQuotaUtil; | 22 class FileSystemQuotaUtil; |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 int64 allowed_bytes_to_write_; | 77 int64 allowed_bytes_to_write_; |
| 79 scoped_refptr<net::IOBufferWithSize> io_buffer_; | 78 scoped_refptr<net::IOBufferWithSize> io_buffer_; |
| 80 scoped_ptr<net::FileStream> file_stream_; | 79 scoped_ptr<net::FileStream> file_stream_; |
| 81 net::URLRequest* request_; | 80 net::URLRequest* request_; |
| 82 base::WeakPtrFactory<FileWriterDelegate> weak_factory_; | 81 base::WeakPtrFactory<FileWriterDelegate> weak_factory_; |
| 83 }; | 82 }; |
| 84 | 83 |
| 85 } // namespace fileapi | 84 } // namespace fileapi |
| 86 | 85 |
| 87 #endif // WEBKIT_FILEAPI_FILE_WRITER_DELEGATE_H_ | 86 #endif // WEBKIT_FILEAPI_FILE_WRITER_DELEGATE_H_ |
| OLD | NEW |