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

Unified Diff: net/http/http_server_properties_impl.h

Issue 858433004: Modify SetAlternateProtocol and HasAlternateProtocol behavior. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactor. Created 5 years, 11 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_server_properties_impl.cc » ('j') | net/http/http_server_properties_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_server_properties_impl.h
diff --git a/net/http/http_server_properties_impl.h b/net/http/http_server_properties_impl.h
index 5ff6f48f2562a60d7b8eaa7909b42023b9c6a2a7..7a5441c57fbebffea2432701bead388ae51f67cb 100644
--- a/net/http/http_server_properties_impl.h
+++ b/net/http/http_server_properties_impl.h
@@ -182,6 +182,10 @@ class NET_EXPORT HttpServerPropertiesImpl
// been marked broken.
typedef std::map<HostPortPair, int> BrokenAlternateProtocolMap;
+ // Return the iterator for |server|, or for its canonical host, or end.
+ AlternateProtocolMap::const_iterator GetAlternateProtocolIterator(
+ const HostPortPair& server);
+
// Return the canonical host for |server|, or end if none exists.
CanonicalHostMap::const_iterator GetCanonicalHost(HostPortPair server) const;
« no previous file with comments | « no previous file | net/http/http_server_properties_impl.cc » ('j') | net/http/http_server_properties_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698