| Index: storage/browser/blob/blob_data_builder.h
|
| diff --git a/storage/browser/blob/blob_data_builder.h b/storage/browser/blob/blob_data_builder.h
|
| index f075c2161f96b37a20b90723c2288bab0e8f780f..4d2e217bab3b3811433bbc0d8f9e511fdb98958c 100644
|
| --- a/storage/browser/blob/blob_data_builder.h
|
| +++ b/storage/browser/blob/blob_data_builder.h
|
| @@ -15,8 +15,13 @@
|
| #include "base/memory/ref_counted.h"
|
| #include "storage/browser/blob/blob_data_item.h"
|
| #include "storage/browser/blob/blob_data_snapshot.h"
|
| +#include "storage/browser/blob/shareable_file_reference.h"
|
| #include "storage/browser/storage_browser_export.h"
|
|
|
| +namespace base {
|
| +class TaskRunner;
|
| +}
|
| +
|
| namespace disk_cache {
|
| class Entry;
|
| }
|
| @@ -93,6 +98,14 @@ class STORAGE_EXPORT BlobDataBuilder {
|
| uint64_t length,
|
| const base::Time& expected_modification_time);
|
|
|
| + // You must know the length of the file, you cannot use kuint64max to specify
|
| + // the whole file.
|
| + void AppendShareableFileReference(
|
| + const scoped_refptr<ShareableFileReference> file,
|
| + uint64_t offset,
|
| + uint64_t length,
|
| + const base::Time& expected_modification_time);
|
| +
|
| void AppendBlob(const std::string& uuid, uint64_t offset, uint64_t length);
|
|
|
| void AppendBlob(const std::string& uuid);
|
|
|