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

Unified Diff: chrome/browser/resources/net_internals/dns_view.js

Issue 9197009: Adds custom ttl argument to HostCache::Set. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 8 years, 11 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: chrome/browser/resources/net_internals/dns_view.js
diff --git a/chrome/browser/resources/net_internals/dns_view.js b/chrome/browser/resources/net_internals/dns_view.js
index e5dfa927e8f1465fea3daa398b0c5798940cb522..dbbb10160fea9b4b757bef861ce1813fdc4e5466 100644
--- a/chrome/browser/resources/net_internals/dns_view.js
+++ b/chrome/browser/resources/net_internals/dns_view.js
@@ -71,8 +71,6 @@ var DnsView = (function() {
// Clear the existing values.
$(DnsView.DEFAULT_FAMILY_SPAN_ID).innerHTML = '';
$(DnsView.CAPACITY_SPAN_ID).innerHTML = '';
- $(DnsView.TTL_SUCCESS_SPAN_ID).innerHTML = '';
- $(DnsView.TTL_FAILURE_SPAN_ID).innerHTML = '';
$(DnsView.CACHE_TBODY_ID).innerHTML = '';
$(DnsView.ACTIVE_SPAN_ID).innerHTML = '0';
$(DnsView.EXPIRED_SPAN_ID).innerHTML = '0';
@@ -91,10 +89,6 @@ var DnsView = (function() {
// Fill in the basic cache information.
var hostResolverCache = hostResolverInfo.cache;
$(DnsView.CAPACITY_SPAN_ID).innerText = hostResolverCache.capacity;
- $(DnsView.TTL_SUCCESS_SPAN_ID).innerText =
- hostResolverCache.ttl_success_ms;
- $(DnsView.TTL_FAILURE_SPAN_ID).innerText =
- hostResolverCache.ttl_failure_ms;
var expiredEntries = 0;
// Date the cache was logged. This will be either now, when actively

Powered by Google App Engine
This is Rietveld 408576698