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

Unified Diff: net/http/http_server_properties_manager.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_impl_unittest.cc ('k') | net/http/http_server_properties_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_server_properties_manager.h
diff --git a/net/http/http_server_properties_manager.h b/net/http/http_server_properties_manager.h
index 1eae51d1866af4037af256fb4c3f815b0544ebfd..9a5f6b92388b1b80ee51f8b83cc365a52fd9e99a 100644
--- a/net/http/http_server_properties_manager.h
+++ b/net/http/http_server_properties_manager.h
@@ -86,20 +86,19 @@ class NET_EXPORT HttpServerPropertiesManager : public HttpServerProperties {
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 alternate_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_impl_unittest.cc ('k') | net/http/http_server_properties_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698