Chromium Code Reviews| Index: webkit/fileapi/file_system_url_request_job.h |
| diff --git a/webkit/fileapi/file_system_url_request_job.h b/webkit/fileapi/file_system_url_request_job.h |
| index e9adfd349e76615534a108829ce5802a590d9718..4bbec4766072dbe0e6ad244fc8c7052b48abb3f3 100644 |
| --- a/webkit/fileapi/file_system_url_request_job.h |
| +++ b/webkit/fileapi/file_system_url_request_job.h |
| @@ -8,6 +8,7 @@ |
| #include <string> |
| +#include "base/memory/ref_counted.h" |
| #include "base/memory/scoped_ptr.h" |
| #include "base/memory/weak_ptr.h" |
| #include "base/message_loop_proxy.h" |
| @@ -22,6 +23,10 @@ namespace net { |
| class FileStream; |
| } |
| +namespace webkit_blob { |
| +class ShareableFileReference; |
| +} |
| + |
| namespace fileapi { |
| class FileSystemContext; |
| @@ -55,9 +60,12 @@ class FileSystemURLRequestJob : public net::URLRequestJob { |
| virtual ~FileSystemURLRequestJob(); |
| void StartAsync(); |
| - void DidGetMetadata(base::PlatformFileError error_code, |
| - const base::PlatformFileInfo& file_info, |
| - const FilePath& platform_path); |
| + void DidCreateSnapshot( |
| + base::PlatformFileError error_code, |
| + const base::PlatformFileInfo& file_info, |
| + const FilePath& platform_path, |
| + const scoped_refptr<webkit_blob::ShareableFileReference>& |
| + deletable_file_Ref); |
|
michaeln
2012/03/02 01:55:18
might just say file_ref, definitely nix the cap 'R
kinuko
2012/03/02 02:20:38
Done.
|
| void DidOpen(base::PlatformFileError error_code, |
| base::PassPlatformFile file, bool created); |
| void DidRead(int result); |
| @@ -67,6 +75,7 @@ class FileSystemURLRequestJob : public net::URLRequestJob { |
| scoped_refptr<base::MessageLoopProxy> file_thread_proxy_; |
| base::WeakPtrFactory<FileSystemURLRequestJob> weak_factory_; |
| scoped_ptr<net::FileStream> stream_; |
| + scoped_refptr<webkit_blob::ShareableFileReference> snapshot_ref_; |
| bool is_directory_; |
| scoped_ptr<net::HttpResponseInfo> response_info_; |
| int64 remaining_bytes_; |