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

Unified Diff: net/disk_cache/backend_impl.cc

Issue 12880: Disk cache: Add support for an extra data stream for each cache entry.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years 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: net/disk_cache/backend_impl.cc
===================================================================
--- net/disk_cache/backend_impl.cc (revision 6334)
+++ net/disk_cache/backend_impl.cc (working copy)
@@ -540,6 +540,10 @@
block_files_.DeleteBlock(block_address, deep);
}
+LruData* BackendImpl::GetLruData() {
+ return &data_->header.lru;
+}
+
void BackendImpl::UpdateRank(CacheRankingsBlock* node, bool modified) {
if (!read_only_)
rankings_.UpdateRank(node, modified);

Powered by Google App Engine
This is Rietveld 408576698