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

Unified Diff: net/http/http_server_properties_impl.h

Issue 665083009: ABANDONED Handle multiple AlternateProtocols for each HostPortPair. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re: 18. Created 5 years, 10 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 5c84226bb0513822dbe1e1302c733ee9d61bf841..a75f723769e80f3c15286b56dd20ca7ad53b12dc 100644
--- a/net/http/http_server_properties_impl.h
+++ b/net/http/http_server_properties_impl.h
@@ -80,16 +80,25 @@ class NET_EXPORT HttpServerPropertiesImpl
void SetHTTP11Required(const HostPortPair& server) override;
void MaybeForceHTTP11(const HostPortPair& server,
SSLConfig* ssl_config) override;
- AlternateProtocolInfo GetAlternateProtocol(
- const HostPortPair& server) override;
- void SetAlternateProtocol(const HostPortPair& server,
+ AlternateProtocols GetAlternateProtocols(const HostPortPair& server) override;
+ void AddAlternateProtocol(const HostPortPair& server,
uint16 alternate_port,
AlternateProtocol alternate_protocol,
double probability) override;
- void SetBrokenAlternateProtocol(const HostPortPair& server) override;
- bool WasAlternateProtocolRecentlyBroken(const HostPortPair& server) override;
- void ConfirmAlternateProtocol(const HostPortPair& server) override;
- void ClearAlternateProtocol(const HostPortPair& server) override;
+ void SetBrokenAlternateProtocol(
+ const HostPortPair& server,
+ const AlternateProtocolInfo& broken_alternate_protocol) override;
+ bool WasAlternateProtocolRecentlyBroken(
+ const HostPortPair& server,
+ const AlternateProtocolInfo& alternate_protocol) const override;
+ void ConfirmAlternateProtocol(
+ const HostPortPair& server,
+ const AlternateProtocolInfo& alternate_protocol) override;
+ void ClearAlternateProtocols(const HostPortPair& server) override;
+ void ClearNonBrokenAlternateProtocols(const HostPortPair& server) override;
+ void RemoveAlternateProtocol(
+ const HostPortPair& server,
+ const AlternateProtocolInfo& alternate_protocol) override;
const AlternateProtocolMap& alternate_protocol_map() const override;
void SetAlternateProtocolProbabilityThreshold(double threshold) override;
const SettingsMap& GetSpdySettings(
« 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