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

Unified Diff: chrome/browser/resources/net_internals/index.html

Issue 1558027: Add the host resolver cache to the new net internals page. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync with fragment changes Created 10 years, 8 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 | « chrome/browser/resources/net_internals/dnsview.js ('k') | chrome/browser/resources/net_internals/main.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/net_internals/index.html
===================================================================
--- chrome/browser/resources/net_internals/index.html (revision 43905)
+++ chrome/browser/resources/net_internals/index.html (working copy)
@@ -10,6 +10,7 @@
<script src="view.js"></script>
<script src="tabswitcherview.js"></script>
<script src="main.js"></script>
+ <script src="dnsview.js"></script>
<script src="requestsview.js"></script>
<script src="detailsview.js"></script>
<script src="sourceentry.js"></script>
@@ -54,8 +55,32 @@
<tbody id=badProxiesTableBody></tbody>
</table>
</div>
+ <!-- Host resolver info -->
+ <div id=dnsTabContent>
+ <h4>
+ Host resolver cache
+ <input type=button value="Clear host cache" id=clearHostResolverCache />
+ </h4>
+ <ul>
+ <li>Capacity: <span id=hostResolverCacheCapacity></span></li>
+ <li>Time to live (ms) for success entries:
+ <span id=hostResolverCacheTTLSuccess></span></li>
+ <li>Time to live (ms) for failure entries:
+ <span id=hostResolverCacheTTLFailure></span></li>
+ </ul>
+
+ <table border=1>
+ <thead>
+ <th>Hostname</th>
+ <th>Family</th>
+ <th>Addresses</th>
+ <th>Expires</th>
+ </thead>
+ <tbody id=hostResolverCacheTbody>
+ </tbody>
+ </table>
+ </div>
<!-- Sections TODO -->
- <div id=dnsTabContent>TODO: display dns information (outstanding jobs, host cache).</div>
<div id=socketsTabContent>TODO: display socket information (outstanding connect jobs)</div>
<div id=httpCacheTabContent>TODO: display http cache information (disk cache navigator)</div>
« no previous file with comments | « chrome/browser/resources/net_internals/dnsview.js ('k') | chrome/browser/resources/net_internals/main.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698