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

Unified Diff: net/disk_cache/backend_impl.h

Issue 12224017: Create a new disk_cache type, SHADER_CACHE. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix OnExternalCacheHit handling. Created 7 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
Index: net/disk_cache/backend_impl.h
diff --git a/net/disk_cache/backend_impl.h b/net/disk_cache/backend_impl.h
index 91faa83373b510c7ede43ec2914adfb755dd70ea..41d8f01ca6271cc9353084d7c7197b0182452095 100644
--- a/net/disk_cache/backend_impl.h
+++ b/net/disk_cache/backend_impl.h
@@ -117,6 +117,9 @@ class NET_EXPORT_PRIVATE BackendImpl : public Backend {
LruData* GetLruData();
// Updates the ranking information for an entry.
+ void UpdateRankOnCacheHit(EntryImpl* entry, bool modified);
+
+ // Updates the ranking information for an entry.
void UpdateRank(EntryImpl* entry, bool modified);
// A node was recovered from a crash, it may not be on the index, so this

Powered by Google App Engine
This is Rietveld 408576698