Chromium Code Reviews| Index: net/disk_cache/disk_cache.h |
| diff --git a/net/disk_cache/disk_cache.h b/net/disk_cache/disk_cache.h |
| index 973b6e61a507b1be1d97707eb744ef8a33dc2366..03af1bcbdc9543385523ddbd9e86fd81c157bd2e 100644 |
| --- a/net/disk_cache/disk_cache.h |
| +++ b/net/disk_cache/disk_cache.h |
| @@ -137,6 +137,11 @@ class NET_API Backend { |
| // Return a list of cache statistics. |
| virtual void GetStats( |
| std::vector<std::pair<std::string, std::string> >* stats) = 0; |
| + |
| + // Improves the rank of the specified resource in the LRU cache as if it had |
| + // been used directly. This allows feedback from the renderer's memory cache |
|
rvargas (doing something else)
2011/07/28 22:27:01
There should not be a reference to the renderer's
|
| + // to improve the selection of resources in the disk cache. |
| + virtual void OnExternalCacheHit(const std::string& key) = 0; |
| }; |
| // This interface represents an entry in the disk cache. |