Index: net/disk_cache/v3/eviction_v3.cc |
diff --git a/net/disk_cache/v3/eviction_v3.cc b/net/disk_cache/v3/eviction_v3.cc |
index 64b4c2950a690e55ed8dfbcb2df74f3ec97bd1ab..26af44f575e700c5f9927d4415e2c4468ddc8dff 100644 |
--- a/net/disk_cache/v3/eviction_v3.cc |
+++ b/net/disk_cache/v3/eviction_v3.cc |
@@ -38,8 +38,11 @@ |
#include "net/disk_cache/trace.h" |
#include "net/disk_cache/v3/backend_impl_v3.h" |
#include "net/disk_cache/v3/entry_impl_v3.h" |
-#include "net/disk_cache/v3/histogram_macros.h" |
+// Define BLOCKFILE_BACKEND_IMPL_OBJ to be a disk_cache::BackendImpl* in order |
+// to use the CACHE_UMA histogram macro. |
+#define BLOCKFILE_BACKEND_IMPL_OBJ backend_ |
+#include "net/disk_cache/v3/histogram_macros.h" |
using base::Time; |
using base::TimeTicks; |