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

Unified Diff: net/dns/host_resolver_impl.cc

Issue 2452863003: Fix DNS logging macro that was broken by adding another net priority. (Closed)
Patch Set: Actually, make new priorities result in a build error Created 4 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/dns/host_resolver_impl.cc
diff --git a/net/dns/host_resolver_impl.cc b/net/dns/host_resolver_impl.cc
index 4a5be1834ffb7e438ac04d330d96a83ed59982a3..bfff315cb84424a60aaddfe011c09a39b71a689f 100644
--- a/net/dns/host_resolver_impl.cc
+++ b/net/dns/host_resolver_impl.cc
@@ -254,7 +254,7 @@ bool IsGloballyReachable(const IPAddress& dest,
case LOW: DNS_HISTOGRAM(basename "_LOW", time); break; \
case LOWEST: DNS_HISTOGRAM(basename "_LOWEST", time); break; \
case IDLE: DNS_HISTOGRAM(basename "_IDLE", time); break; \
- default: NOTREACHED(); break; \
+ case THROTTLED: DNS_HISTOGRAM(basename "_THROTTLED", time); break; \
} \
DNS_HISTOGRAM(basename, time); \
} while (0)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698