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

Unified Diff: net/http/http_server_properties_impl.h

Issue 997953003: Add IsAlternativeServiceBroken(), remove is_broken. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove ignore_result. 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 | « net/http/http_server_properties.cc ('k') | net/http/http_server_properties_impl.cc » ('j') | no next file with comments »
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 64085dd305f80a4a12c76de8ea732417be61bc7f..8d1ebd73c5646f2e119aa31f1bbbd15cb8a732b8 100644
--- a/net/http/http_server_properties_impl.h
+++ b/net/http/http_server_properties_impl.h
@@ -99,6 +99,8 @@ class NET_EXPORT HttpServerPropertiesImpl
AlternateProtocol alternate_protocol,
double probability) override;
void SetBrokenAlternateProtocol(const HostPortPair& server) override;
+ bool IsAlternativeServiceBroken(
+ const AlternativeService& alternative_service) override;
bool WasAlternateProtocolRecentlyBroken(const HostPortPair& server) override;
void ConfirmAlternateProtocol(const HostPortPair& server) override;
void ClearAlternateProtocol(const HostPortPair& server) override;
@@ -122,6 +124,8 @@ class NET_EXPORT HttpServerPropertiesImpl
const ServerNetworkStatsMap& server_network_stats_map() const override;
private:
+ friend class HttpServerPropertiesImplPeer;
+
// |spdy_servers_map_| has flattened representation of servers (host, port)
// that either support or not support SPDY protocol.
typedef base::MRUCache<std::string, bool> SpdyServerHostPortMap;
« no previous file with comments | « net/http/http_server_properties.cc ('k') | net/http/http_server_properties_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698