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

Unified Diff: net/dns/host_cache.cc

Issue 2958023002: Add histograms and NetLog for host cache persistence (Closed)
Patch Set: use scoped timer Created 3 years, 6 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 | « components/cronet/host_cache_persistence_manager_unittest.cc ('k') | net/log/net_log_event_type_list.h » ('j') | 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 ce95a3143a3c454683978f36ee1b2221dadb71f7..460043f35c96cf419960cce7232ea907a0333d27 100644
--- a/net/dns/host_cache.cc
+++ b/net/dns/host_cache.cc
@@ -342,7 +342,6 @@ void HostCache::GetAsListValue(base::ListValue* entry_list,
}
}
-// TODO(mgersh): Add histograms to track failures.
bool HostCache::RestoreFromListValue(const base::ListValue& old_cache) {
for (auto it = old_cache.begin(); it != old_cache.end(); it++) {
const base::DictionaryValue* entry_dict;
« no previous file with comments | « components/cronet/host_cache_persistence_manager_unittest.cc ('k') | net/log/net_log_event_type_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698