Index: net/spdy/spdy_session.cc |
diff --git a/net/spdy/spdy_session.cc b/net/spdy/spdy_session.cc |
index e9c7cd80996e71899832243ae478bd5bee216a18..4d187429a85915356f6263233a52b9436e23adbe 100644 |
--- a/net/spdy/spdy_session.cc |
+++ b/net/spdy/spdy_session.cc |
@@ -1132,6 +1132,12 @@ Value* SpdySession::GetInfoAsValue() const { |
dict->SetInteger("source_id", net_log_.source().id); |
dict->SetString("host_port_pair", host_port_proxy_pair_.first.ToString()); |
+ ListValue* alias_list = new ListValue(); |
+ for (std::set<HostPortProxyPair>::const_iterator it = pooled_aliases_.begin(); |
+ it != pooled_aliases_.end(); it++) { |
+ alias_list->Append(Value::CreateStringValue(it->first.ToString())); |
+ } |
+ dict->Set("aliases", alias_list); |
eroman
2012/03/13 20:08:42
I suggest only setting the aliases property if the
Ryan Hamilton
2012/03/13 21:55:37
Done. (I had thought we would prefer the property
|
dict->SetString("proxy", host_port_proxy_pair_.second.ToURI()); |
dict->SetInteger("active_streams", active_streams_.size()); |