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

Unified Diff: net/disk_cache/mem_entry_impl.h

Issue 7461106: Inform disk cache of WebKit memory cache hits. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 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/mem_entry_impl.h
diff --git a/net/disk_cache/mem_entry_impl.h b/net/disk_cache/mem_entry_impl.h
index db46c4d51b64389554f21327ac7b0c9ba33347dc..3c30938a45b565ca22ea4fbccbc4c26d409c21e3 100644
--- a/net/disk_cache/mem_entry_impl.h
+++ b/net/disk_cache/mem_entry_impl.h
@@ -112,6 +112,7 @@ class MemEntryImpl : public Entry {
virtual bool CouldBeSparse() const;
virtual void CancelSparseIO() {}
virtual int ReadyForSparseIO(net::CompletionCallback* completion_callback);
+ virtual void UpdateRankForExternalCacheHit();
private:
typedef base::hash_map<int, MemEntryImpl*> EntryMap;

Powered by Google App Engine
This is Rietveld 408576698