Index: net/disk_cache/v3/entry_impl_v3.cc |
diff --git a/net/disk_cache/v3/entry_impl_v3.cc b/net/disk_cache/v3/entry_impl_v3.cc |
index d748ed2393ed2fb77a358d54b38e8b9234bd87c6..331e0825cfe63a8aa5584f01ab83944f8919130d 100644 |
--- a/net/disk_cache/v3/entry_impl_v3.cc |
+++ b/net/disk_cache/v3/entry_impl_v3.cc |
@@ -15,9 +15,13 @@ |
#include "net/disk_cache/net_log_parameters.h" |
#include "net/disk_cache/v3/backend_impl_v3.h" |
#include "net/disk_cache/v3/disk_format_v3.h" |
-#include "net/disk_cache/v3/histogram_macros.h" |
// #include "net/disk_cache/v3/sparse_control_v3.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::TimeDelta; |
using base::TimeTicks; |