Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Unified Diff: storage/browser/blob/blob_data_builder.h

Issue 913303002: Fixed IndexedDB blob retention (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | storage/browser/blob/blob_data_builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0316521de0bed0819744ae9c24293e65b6225760..8119538c07e10ffe2903eea690c4720f1ad269e5 100644
--- a/storage/browser/blob/blob_data_builder.h
+++ b/storage/browser/blob/blob_data_builder.h
@@ -33,20 +33,13 @@ class STORAGE_EXPORT BlobDataBuilder {
void AppendData(const char* data, size_t length);
// You must know the length of the file, you cannot use kuint64max to specify
- // the whole file.
+ // the whole file. This method creates a ShareableFileReference to the given
+ // file, which is stored in this builder.
void AppendFile(const base::FilePath& file_path,
uint64_t offset,
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 AppendFile(const base::FilePath& file_path,
- uint64_t offset,
- uint64_t length,
- const base::Time& expected_modification_time,
- scoped_refptr<ShareableFileReference> shareable_file);
-
void AppendBlob(const std::string& uuid, uint64_t offset, uint64_t length);
void AppendBlob(const std::string& uuid);
« no previous file with comments | « no previous file | storage/browser/blob/blob_data_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698