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

Unified Diff: net/disk_cache/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/entry_impl.h
diff --git a/net/disk_cache/entry_impl.h b/net/disk_cache/entry_impl.h
index d54c3066ba7f22b50499160918b8394aed6cdd20..9911d8e1e3226ad5b70499e06d1b000876198c30 100644
--- a/net/disk_cache/entry_impl.h
+++ b/net/disk_cache/entry_impl.h
@@ -46,6 +46,7 @@ class NET_TEST EntryImpl : public Entry, public base::RefCounted<EntryImpl> {
int GetAvailableRangeImpl(int64 offset, int len, int64* start);
void CancelSparseIOImpl();
int ReadyForSparseIOImpl(CompletionCallback* callback);
+ void UpdateRankForExternalCacheHitImpl();
inline CacheEntryBlock* entry() {
return &entry_;
@@ -148,6 +149,7 @@ class NET_TEST EntryImpl : public Entry, public base::RefCounted<EntryImpl> {
virtual bool CouldBeSparse() const;
virtual void CancelSparseIO();
virtual int ReadyForSparseIO(net::CompletionCallback* completion_callback);
+ virtual void UpdateRankForExternalCacheHit();
private:
enum {

Powered by Google App Engine
This is Rietveld 408576698