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

Unified Diff: net/http/http_server_properties_impl.h

Issue 1043973002: Introduce AlternativeServiceInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Early return. 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 52ab973bfd6e09201aa727cf1f176f62f4549ae1..5dea6b46462c152a09c6251638a1825c3c3c33d9 100644
--- a/net/http/http_server_properties_impl.h
+++ b/net/http/http_server_properties_impl.h
@@ -51,8 +51,8 @@ class NET_EXPORT HttpServerPropertiesImpl
void InitializeSpdyServers(std::vector<std::string>* spdy_servers,
bool support_spdy);
- void InitializeAlternateProtocolServers(
- AlternateProtocolMap* alternate_protocol_servers);
+ void InitializeAlternativeServiceServers(
+ AlternativeServiceMap* alternate_protocol_servers);
void InitializeSpdySettingsServers(SpdySettingsMap* spdy_settings_map);
@@ -101,7 +101,7 @@ class NET_EXPORT HttpServerPropertiesImpl
void ConfirmAlternativeService(
const AlternativeService& alternative_service) override;
void ClearAlternativeService(const HostPortPair& origin) override;
- const AlternateProtocolMap& alternate_protocol_map() const override;
+ const AlternativeServiceMap& alternative_service_map() const override;
void SetAlternateProtocolProbabilityThreshold(double threshold) override;
const SettingsMap& GetSpdySettings(
const HostPortPair& host_port_pair) override;
@@ -139,7 +139,7 @@ class NET_EXPORT HttpServerPropertiesImpl
typedef std::map<AlternativeService, int> RecentlyBrokenAlternativeServices;
// Return the iterator for |server|, or for its canonical host, or end.
- AlternateProtocolMap::const_iterator GetAlternateProtocolIterator(
+ AlternativeServiceMap::const_iterator GetAlternateProtocolIterator(
const HostPortPair& server);
// Return the canonical host for |server|, or end if none exists.
@@ -152,7 +152,7 @@ class NET_EXPORT HttpServerPropertiesImpl
SpdyServerHostPortMap spdy_servers_map_;
Http11ServerHostPortSet http11_servers_;
- AlternateProtocolMap alternate_protocol_map_;
+ AlternativeServiceMap alternative_service_map_;
BrokenAlternativeServices broken_alternative_services_;
// Class invariant: Every alternative service in broken_alternative_services_
// must also be in recently_broken_alternative_services_.
« 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