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

Unified Diff: net/disk_cache/backend_impl.cc

Issue 140893013: Clean up dependencies for disk_cache histogram_macros.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: spelling Created 6 years, 10 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
« no previous file with comments | « chrome/browser/net/http_pipelining_compatibility_client.cc ('k') | net/disk_cache/backend_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/backend_impl.cc
diff --git a/net/disk_cache/backend_impl.cc b/net/disk_cache/backend_impl.cc
index d10a19d9af09e76c553c99c9a54d07a0d8c30f6a..9adf5a84c7d9da18ce9ca1315ba45e6a76c1e94c 100644
--- a/net/disk_cache/backend_impl.cc
+++ b/net/disk_cache/backend_impl.cc
@@ -28,8 +28,9 @@
#include "net/disk_cache/experiments.h"
#include "net/disk_cache/file.h"
-// This has to be defined before including histogram_macros.h from this file.
-#define NET_DISK_CACHE_BACKEND_IMPL_CC_
+// Define BLOCKFILE_BACKEND_IMPL_OBJ to be a disk_cache::BackendImpl* in order
rvargas (doing something else) 2014/02/11 19:41:48 nit: I much prefer the original comment. It explai
+// to use the CACHE_UMA histogram macro.
+#define BLOCKFILE_BACKEND_IMPL_OBJ this
#include "net/disk_cache/histogram_macros.h"
using base::Time;
« no previous file with comments | « chrome/browser/net/http_pipelining_compatibility_client.cc ('k') | net/disk_cache/backend_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698