Index: storage/browser/blob/blob_url_request_job.h |
diff --git a/storage/browser/blob/blob_url_request_job.h b/storage/browser/blob/blob_url_request_job.h |
index dab61dc7759d124478715f8ce78cbcc0a72258c4..cf296b64cad1183681067aca1f6544fafd7c8560 100644 |
--- a/storage/browser/blob/blob_url_request_job.h |
+++ b/storage/browser/blob/blob_url_request_job.h |
@@ -12,8 +12,8 @@ |
#include "net/http/http_byte_range.h" |
#include "net/http/http_status_code.h" |
#include "net/url_request/url_request_job.h" |
+#include "storage/browser/blob/blob_data_snapshot.h" |
#include "storage/browser/storage_browser_export.h" |
-#include "storage/common/blob/blob_data.h" |
namespace base { |
class MessageLoopProxy; |
@@ -38,7 +38,7 @@ class STORAGE_EXPORT BlobURLRequestJob |
public: |
BlobURLRequestJob(net::URLRequest* request, |
net::NetworkDelegate* network_delegate, |
- const scoped_refptr<BlobData>& blob_data, |
+ scoped_ptr<BlobDataSnapshot> blob_data, |
storage::FileSystemContext* file_system_context, |
base::MessageLoopProxy* resolving_message_loop_proxy); |
@@ -70,7 +70,7 @@ class STORAGE_EXPORT BlobURLRequestJob |
bool ReadItem(); |
void AdvanceItem(); |
void AdvanceBytesRead(int result); |
- bool ReadBytesItem(const BlobData::Item& item, int bytes_to_read); |
+ bool ReadBytesItem(const BlobDataItem& item, int bytes_to_read); |
bool ReadFileItem(FileStreamReader* reader, int bytes_to_read); |
void DidReadFile(int result); |
@@ -92,7 +92,7 @@ class STORAGE_EXPORT BlobURLRequestJob |
// Creates a FileStreamReader for the item at |index| with additional_offset. |
void CreateFileStreamReader(size_t index, int64 additional_offset); |
- scoped_refptr<BlobData> blob_data_; |
+ scoped_ptr<BlobDataSnapshot> blob_data_; |
// Variables for controlling read from |blob_data_|. |
scoped_refptr<storage::FileSystemContext> file_system_context_; |