Index: chrome/browser/resources/net_internals/dataview.js |
=================================================================== |
--- chrome/browser/resources/net_internals/dataview.js (revision 47239) |
+++ chrome/browser/resources/net_internals/dataview.js (working copy) |
@@ -92,6 +92,16 @@ |
this.appendRequestsPrintedAsText_(text); |
+ text.push(''); |
+ text.push('----------------------------------------------'); |
+ text.push(' Http cache stats'); |
+ text.push('----------------------------------------------'); |
+ text.push(''); |
+ |
+ var httpCacheStats = g_browser.httpCacheInfo_.currentData_.stats; |
+ for (var statName in httpCacheStats) |
+ text.push(statName + ': ' + httpCacheStats[statName]); |
+ |
// Open a new window to display this text. |
this.setText_(text.join('\n')); |
}; |