| 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..805c52627b010d72cecf9518e271c2b262ba4ab5 100644
|
| --- a/storage/browser/blob/blob_url_request_job.h
|
| +++ b/storage/browser/blob/blob_url_request_job.h
|
| @@ -38,7 +38,7 @@ class STORAGE_EXPORT BlobURLRequestJob
|
| public:
|
| BlobURLRequestJob(net::URLRequest* request,
|
| net::NetworkDelegate* network_delegate,
|
| - const scoped_refptr<BlobData>& blob_data,
|
| + const 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,8 @@ 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_;
|
| + // Owned by the URL Request.
|
| + const BlobDataSnapshot* blob_data_;
|
|
|
| // Variables for controlling read from |blob_data_|.
|
| scoped_refptr<storage::FileSystemContext> file_system_context_;
|
|
|