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

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

Issue 2085005: Removed the "Reload" button from the HTTP cache tab of the net-internals page... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 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 | « chrome/browser/dom_ui/net_internals_ui.cc ('k') | chrome/browser/resources/net_internals/httpcacheview.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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'));
};
« no previous file with comments | « chrome/browser/dom_ui/net_internals_ui.cc ('k') | chrome/browser/resources/net_internals/httpcacheview.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698