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

Unified Diff: net/disk_cache/disk_cache.h

Issue 10808047: Add HttpCache histograms focussed on blocking and transaction type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remediate to review Created 8 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/disk_cache.h
diff --git a/net/disk_cache/disk_cache.h b/net/disk_cache/disk_cache.h
index 3e2970359060ccdb0e456a334b561a7842edff74..29688b117f9c21e5e3953efbd4b958de27aff55c 100644
--- a/net/disk_cache/disk_cache.h
+++ b/net/disk_cache/disk_cache.h
@@ -67,6 +67,9 @@ class NET_EXPORT Backend {
// callback from within this method.
virtual ~Backend() {}
+ // Returns the type of this cache.
+ virtual net::CacheType GetCacheType() const = 0;
+
// Returns the number of entries in the cache.
virtual int32 GetEntryCount() const = 0;

Powered by Google App Engine
This is Rietveld 408576698