summaryrefslogtreecommitdiffstats
path: root/chromium/net/disk_cache/simple/simple_histogram_macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/net/disk_cache/simple/simple_histogram_macros.h')
-rw-r--r--chromium/net/disk_cache/simple/simple_histogram_macros.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chromium/net/disk_cache/simple/simple_histogram_macros.h b/chromium/net/disk_cache/simple/simple_histogram_macros.h
index f800a6f40a3..39fdff73ceb 100644
--- a/chromium/net/disk_cache/simple/simple_histogram_macros.h
+++ b/chromium/net/disk_cache/simple/simple_histogram_macros.h
@@ -16,6 +16,9 @@
#define SIMPLE_CACHE_THUNK(uma_type, args) UMA_HISTOGRAM_##uma_type args
+// TODO(pasko): add histograms for shader cache as soon as it becomes possible
+// for a user to get shader cache with the |SimpleBackendImpl| without altering
+// any flags.
#define SIMPLE_CACHE_UMA(uma_type, uma_name, cache_type, ...) \
do { \
switch (cache_type) { \
@@ -31,6 +34,8 @@
SIMPLE_CACHE_THUNK( \
uma_type, ("SimpleCache.Media." uma_name, ##__VA_ARGS__)); \
break; \
+ case net::SHADER_CACHE: \
+ break; \
default: \
NOTREACHED(); \
break; \