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

Unified Diff: net/base/net_log_util.cc

Issue 1043973002: Introduce AlternativeServiceInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Early return. Created 5 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/http/http_network_transaction_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/net_log_util.cc
diff --git a/net/base/net_log_util.cc b/net/base/net_log_util.cc
index 75be128851425df39202c8ab91a839427e28904d..4c2bc5a768acd0b2650041d15e0f339dffd8217b 100644
--- a/net/base/net_log_util.cc
+++ b/net/base/net_log_util.cc
@@ -470,14 +470,14 @@ NET_EXPORT scoped_ptr<base::DictionaryValue> GetNetInfo(
const net::HttpServerProperties& http_server_properties =
*context->http_server_properties();
- const net::AlternateProtocolMap& map =
- http_server_properties.alternate_protocol_map();
+ const net::AlternativeServiceMap& map =
+ http_server_properties.alternative_service_map();
- for (net::AlternateProtocolMap::const_iterator it = map.begin();
- it != map.end(); ++it) {
+ for (net::AlternativeServiceMap::const_iterator it = map.begin();
+ it != map.end(); ++it) {
base::DictionaryValue* dict = new base::DictionaryValue();
dict->SetString("host_port_pair", it->first.ToString());
- dict->SetString("alternate_protocol", it->second.ToString());
+ dict->SetString("alternative_service", it->second.ToString());
dict_list->Append(dict);
}
« no previous file with comments | « no previous file | net/http/http_network_transaction_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698