Index: net/http/http_server_properties_impl.cc |
diff --git a/net/http/http_server_properties_impl.cc b/net/http/http_server_properties_impl.cc |
index de94dfed7e38e082f1a3fcc41e03c32e70ec3311..ef6d1ed54d9036f753005cbc2edd6542ff467eb2 100644 |
--- a/net/http/http_server_properties_impl.cc |
+++ b/net/http/http_server_properties_impl.cc |
@@ -266,6 +266,11 @@ void HttpServerPropertiesImpl::SetBrokenAlternateProtocol( |
alternate_protocol_map_[server].protocol = ALTERNATE_PROTOCOL_BROKEN; |
} |
+void HttpServerPropertiesImpl::ClearAlternateProtocol( |
+ const HostPortPair& server) { |
+ alternate_protocol_map_.erase(server); |
+} |
+ |
const AlternateProtocolMap& |
HttpServerPropertiesImpl::alternate_protocol_map() const { |
return alternate_protocol_map_; |