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

Unified Diff: net/http/http_server_properties_impl.h

Issue 1017453008: Make GetAlternateProtocol return AlternativeService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/server/origin/g in other methods too. 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.h ('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 cd6c7eb7f746377210f66253836da7b287480b43..f6336e7ceb6f280919b8d7c5169821f3ed55dc98 100644
--- a/net/http/http_server_properties_impl.h
+++ b/net/http/http_server_properties_impl.h
@@ -92,20 +92,19 @@ 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,
+ AlternativeService GetAlternativeService(const HostPortPair& origin) override;
+ void SetAlternateProtocol(const HostPortPair& origin,
uint16 alternate_port,
AlternateProtocol alternate_protocol,
double probability) override;
- void SetBrokenAlternateProtocol(const HostPortPair& server) override;
+ void SetBrokenAlternateProtocol(const HostPortPair& origin) override;
void MarkAlternativeServiceRecentlyBroken(
const AlternativeService& alternative_service) 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;
+ bool WasAlternateProtocolRecentlyBroken(const HostPortPair& origin) override;
+ void ConfirmAlternateProtocol(const HostPortPair& origin) override;
+ void ClearAlternateProtocol(const HostPortPair& origin) 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.h ('k') | net/http/http_server_properties_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698