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

Unified Diff: storage/browser/blob/blob_data_snapshot.cc

Issue 895933007: [Storage] Blob items are now shared between blobs. Ready for disk swap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
Index: storage/browser/blob/blob_data_snapshot.cc
diff --git a/storage/browser/blob/blob_data_snapshot.cc b/storage/browser/blob/blob_data_snapshot.cc
index 6ae74cd8d3220eef0ddfea2a2b4d5e87da788fe2..8eb8ee2f57b8d1842a0bb87e9ecb8e3a69886fe3 100644
--- a/storage/browser/blob/blob_data_snapshot.cc
+++ b/storage/browser/blob/blob_data_snapshot.cc
@@ -17,6 +17,14 @@ BlobDataSnapshot::BlobDataSnapshot(
items_(items) {
}
+BlobDataSnapshot::BlobDataSnapshot(const std::string& uuid,
+ const std::string& content_type,
+ const std::string& content_disposition)
+ : uuid_(uuid),
+ content_type_(content_type),
+ content_disposition_(content_disposition) {
+}
+
BlobDataSnapshot::BlobDataSnapshot(const BlobDataSnapshot& other)
: uuid_(other.uuid_),
content_type_(other.content_type_),

Powered by Google App Engine
This is Rietveld 408576698