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

Unified Diff: net/disk_cache/v3/histogram_macros.h

Issue 140893013: Clean up dependencies for disk_cache histogram_macros.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup pipelining compatibility client 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
Index: net/disk_cache/v3/histogram_macros.h
diff --git a/net/disk_cache/v3/histogram_macros.h b/net/disk_cache/v3/histogram_macros.h
index 4f37970116c287a79a27638bab18917a5e0abbaa..99a9cbe5ca5e0a1eb28e9245cd460079093010f0 100644
--- a/net/disk_cache/v3/histogram_macros.h
+++ b/net/disk_cache/v3/histogram_macros.h
@@ -84,11 +84,7 @@
#define CACHE_HISTOGRAM_CACHE_ERROR(name, sample) \
CACHE_HISTOGRAM_ENUMERATION(name, sample, 50)
-#ifdef NET_DISK_CACHE_BACKEND_IMPL_CC_
-#define BACKEND_OBJ this
-#else
-#define BACKEND_OBJ backend_
-#endif
+#define BACKEND_OBJ CACHE_HISTOGRAM_MACROS_BACKEND_IMPL_OBJ
// Generates a UMA histogram of the given type, generating the proper name for
// it (asking backend_->HistogramName), and adding the provided sample.

Powered by Google App Engine
This is Rietveld 408576698