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

Unified Diff: storage/common/data_element.cc

Issue 1108083002: Create blobs from Disk Cache entries. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
« storage/common/data_element.h ('K') | « storage/common/data_element.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: storage/common/data_element.cc
diff --git a/storage/common/data_element.cc b/storage/common/data_element.cc
index c6d52f4dac646af95feb85a26ce35aa2c8075db3..965fb92b70f71f19b1af7d0ed88ae14a39ebdb45 100644
--- a/storage/common/data_element.cc
+++ b/storage/common/data_element.cc
@@ -46,4 +46,8 @@ void DataElement::SetToFileSystemUrlRange(
expected_modification_time_ = expected_modification_time;
}
+void DataElement::SetToDiskCacheEntry() {
+ type_ = TYPE_DISK_CACHE_ENTRY;
+}
+
} // namespace storage
« storage/common/data_element.h ('K') | « storage/common/data_element.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698