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 7ea613eda7b7313e82e68fcb735899e0f4486e7c..caaf2093030d6ce801a2664ebd73867c355397d4 100644 |
--- a/net/http/http_server_properties_impl.cc |
+++ b/net/http/http_server_properties_impl.cc |
@@ -343,6 +343,12 @@ void HttpServerPropertiesImpl::SetBrokenAlternateProtocol( |
} |
} |
+void HttpServerPropertiesImpl::MarkAlternativeServiceRecentlyBroken( |
+ const AlternativeService& alternative_service) { |
+ if (!ContainsKey(recently_broken_alternative_services_, alternative_service)) |
+ recently_broken_alternative_services_[alternative_service] = 1; |
+} |
+ |
bool HttpServerPropertiesImpl::IsAlternativeServiceBroken( |
const AlternativeService& alternative_service) { |
return ContainsKey(broken_alternative_services_, alternative_service); |