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

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: Cleanup and added one more histogram 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 | « storage/browser/blob/blob_data_snapshot.h ('k') | storage/browser/blob/blob_storage_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_),
« no previous file with comments | « storage/browser/blob/blob_data_snapshot.h ('k') | storage/browser/blob/blob_storage_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698