| Index: webkit/common/blob/blob_data.cc
|
| diff --git a/webkit/common/blob/blob_data.cc b/webkit/common/blob/blob_data.cc
|
| index 368186195163ad219c0705a0625e09c1e7bb70d6..e54d9474c6a88c65b89d4f467961d30ac12daec8 100644
|
| --- a/webkit/common/blob/blob_data.cc
|
| +++ b/webkit/common/blob/blob_data.cc
|
| @@ -50,6 +50,17 @@ void BlobData::AppendFileSystemFile(
|
| expected_modification_time);
|
| }
|
|
|
| +#if defined(OS_ANDROID)
|
| +void BlobData::AppendContentUrlFile(
|
| + const GURL& url, uint64 offset, uint64 length,
|
| + const base::Time& expected_modification_time) {
|
| + DCHECK_GT(length, 0ul);
|
| + items_.push_back(Item());
|
| + items_.back().SetToContentUrlRange(url, offset, length,
|
| + expected_modification_time);
|
| +}
|
| +#endif
|
| +
|
| int64 BlobData::GetMemoryUsage() const {
|
| int64 memory = 0;
|
| for (std::vector<Item>::const_iterator iter = items_.begin();
|
|
|