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

Unified Diff: net/dns/host_cache.cc

Issue 1991823004: Fix spelling of a few histograms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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_cache.cc
diff --git a/net/dns/host_cache.cc b/net/dns/host_cache.cc
index e5dc823a49ac6e457dbc21b31d9d987b404045d9..ee3d96215f35fc61c5c934bfe07f08e073345ced 100644
--- a/net/dns/host_cache.cc
+++ b/net/dns/host_cache.cc
@@ -289,7 +289,7 @@ void HostCache::RecordUpdateStale(AddressListDeltaType delta,
break;
case DELTA_DISJOINT:
CACHE_HISTOGRAM_TIME("UpdateStale.ExpiredBy_Disjoint", stale.expired_by);
- CACHE_HISTOGRAM_COUNT("UpdateStale.NetworkChanges_Dijsoint",
+ CACHE_HISTOGRAM_COUNT("UpdateStale.NetworkChanges_Disjoint",
stale.network_changes);
break;
case MAX_DELTA_TYPE:
@@ -326,11 +326,11 @@ void HostCache::RecordErase(EraseReason reason,
entry.GetStaleness(now, network_changes_, &stale);
CACHE_HISTOGRAM_ENUM("Erase", reason, MAX_ERASE_REASON);
if (stale.is_stale()) {
- CACHE_HISTOGRAM_TIME("EvictStale.ExpiredBy", stale.expired_by);
- CACHE_HISTOGRAM_COUNT("EvictStale.NetworkChanges", stale.network_changes);
- CACHE_HISTOGRAM_COUNT("EvictStale.StaleHits", entry.stale_hits());
+ CACHE_HISTOGRAM_TIME("EraseStale.ExpiredBy", stale.expired_by);
+ CACHE_HISTOGRAM_COUNT("EraseStale.NetworkChanges", stale.network_changes);
+ CACHE_HISTOGRAM_COUNT("EraseStale.StaleHits", entry.stale_hits());
} else {
- CACHE_HISTOGRAM_TIME("EvictValid.ValidFor", -stale.expired_by);
+ CACHE_HISTOGRAM_TIME("EraseValid.ValidFor", -stale.expired_by);
}
}
« 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