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

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

Issue 6465001: Display more information at chrome://net-internals/#spdy... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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/index.html » ('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 74346)
+++ chrome/browser/resources/net_internals/dataview.js (working copy)
@@ -270,6 +270,20 @@
text.push('');
text.push('----------------------------------------------');
+ text.push(' SPDY Status');
+ text.push('----------------------------------------------');
+ text.push('');
+
+ text.push('SPDY Enabled: ' + data.spdyStatus.spdy_enabled);
+ text.push('Use Alternate Protocol: ' +
+ data.spdyStatus.use_alternate_protocols);
+ text.push('Force SPDY Always: ' + data.spdyStatus.force_spdy_always);
+ text.push('Force SPDY Over SSL: ' + data.spdyStatus.force_spdy_over_ssl);
+ text.push('Next Protocols: ' + data.spdyStatus.next_protos);
+
+
+ text.push('');
+ text.push('----------------------------------------------');
text.push(' SPDY Sessions');
text.push('----------------------------------------------');
text.push('');
@@ -282,6 +296,22 @@
text.push(spdyTablePrinter.toText(2));
}
+ text.push('');
+ text.push('----------------------------------------------');
+ text.push(' Alternate Protocol Mappings');
+ text.push('----------------------------------------------');
+ text.push('');
+
+ if (data.spdyAlternateProtocolMappings == null ||
+ data.spdyAlternateProtocolMappings.length == 0) {
+ text.push('None');
+ } else {
+ var spdyTablePrinter =
+ SpdyView.createAlternateProtocolMappingsTablePrinter(
+ data.spdyAlternateProtocolMappings);
+ text.push(spdyTablePrinter.toText(2));
+ }
+
if (g_browser.isPlatformWindows()) {
text.push('');
text.push('----------------------------------------------');
« no previous file with comments | « chrome/browser/dom_ui/net_internals_ui.cc ('k') | chrome/browser/resources/net_internals/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698