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

Unified Diff: net/disk_cache/mem_backend_impl.h

Issue 7461106: Inform disk cache of WebKit memory cache hits. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move http check 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_backend_impl.h
diff --git a/net/disk_cache/mem_backend_impl.h b/net/disk_cache/mem_backend_impl.h
index 52a78f624defa7de75f8bf742777a4834329252a..26a2556e210d67fa59ef13c60d3405fb2cc46461 100644
--- a/net/disk_cache/mem_backend_impl.h
+++ b/net/disk_cache/mem_backend_impl.h
@@ -80,6 +80,7 @@ class NET_TEST MemBackendImpl : public Backend {
virtual void EndEnumeration(void** iter);
virtual void GetStats(
std::vector<std::pair<std::string, std::string> >* stats) {}
+ virtual void OnExternalCacheHit(const std::string& key);
private:
typedef base::hash_map<std::string, MemEntryImpl*> EntryMap;

Powered by Google App Engine
This is Rietveld 408576698