Index: net/disk_cache/rankings.cc |
diff --git a/net/disk_cache/rankings.cc b/net/disk_cache/rankings.cc |
index ff9913e252aea37d54a9f62876255374a4e68a98..b648776fd5bee4358f0372bfe66d79303045d725 100644 |
--- a/net/disk_cache/rankings.cc |
+++ b/net/disk_cache/rankings.cc |
@@ -9,9 +9,13 @@ |
#include "net/disk_cache/disk_format.h" |
#include "net/disk_cache/entry_impl.h" |
#include "net/disk_cache/errors.h" |
-#include "net/disk_cache/histogram_macros.h" |
#include "net/disk_cache/stress_support.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/histogram_macros.h" |
+ |
using base::Time; |
using base::TimeTicks; |