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

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

Issue 9696045: Expose a spdy session's pooled aliases in the net-internals page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix eroman's comments Created 8 years, 9 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 | « no previous file | net/spdy/spdy_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/net_internals/spdy_view.js
diff --git a/chrome/browser/resources/net_internals/spdy_view.js b/chrome/browser/resources/net_internals/spdy_view.js
index cf5ddbf6d77ae7ca4a497903d1a2adfcd2df8bd2..66e2426524b999d6ef9f6e44fcc5eb7ab82696c5 100644
--- a/chrome/browser/resources/net_internals/spdy_view.js
+++ b/chrome/browser/resources/net_internals/spdy_view.js
@@ -157,7 +157,11 @@ var SpdyView = (function() {
var session = spdySessions[i];
tablePrinter.addRow();
- tablePrinter.addCell(session.host_port_pair);
+ var host = session.host_port_pair;
+ if (session.aliases) {
eroman 2012/03/13 23:15:58 minor-nit: I suggest removing the curlies, for con
+ host += ' ' + session.aliases.join(' ');
+ }
+ tablePrinter.addCell(host);
tablePrinter.addCell(session.proxy);
var idCell = tablePrinter.addCell(session.source_id);
« no previous file with comments | « no previous file | net/spdy/spdy_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698