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

Unified Diff: net/http/http_server_properties_impl.h

Issue 1216703002: Implement multiple alternative services per origin. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nit. Created 5 years, 5 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 3ea0875c2009a717b3659297782d4cac113a7541..3abf5c83f4c267854516c4a20cc4303107651d0f 100644
--- a/net/http/http_server_properties_impl.h
+++ b/net/http/http_server_properties_impl.h
@@ -87,10 +87,14 @@ class NET_EXPORT HttpServerPropertiesImpl
void SetHTTP11Required(const HostPortPair& server) override;
void MaybeForceHTTP11(const HostPortPair& server,
SSLConfig* ssl_config) override;
- AlternativeService GetAlternativeService(const HostPortPair& origin) override;
- void SetAlternativeService(const HostPortPair& origin,
+ AlternativeServiceVector GetAlternativeServices(
+ const HostPortPair& origin) override;
+ bool SetAlternativeService(const HostPortPair& origin,
const AlternativeService& alternative_service,
double alternative_probability) override;
+ bool SetAlternativeServices(const HostPortPair& origin,
+ const AlternativeServiceInfoVector&
+ alternative_service_info_vector) override;
void MarkAlternativeServiceBroken(
const AlternativeService& alternative_service) override;
void MarkAlternativeServiceRecentlyBroken(
@@ -101,7 +105,7 @@ class NET_EXPORT HttpServerPropertiesImpl
const AlternativeService& alternative_service) override;
void ConfirmAlternativeService(
const AlternativeService& alternative_service) override;
- void ClearAlternativeService(const HostPortPair& origin) override;
+ void ClearAlternativeServices(const HostPortPair& origin) override;
const AlternativeServiceMap& alternative_service_map() const override;
scoped_ptr<base::Value> GetAlternativeServiceInfoAsValue() const override;
void SetAlternativeServiceProbabilityThreshold(double threshold) override;
« 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