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

Unified Diff: net/http/http_server_properties_manager.h

Issue 851503003: Update from https://crrev.com/311076 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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.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 4a8c71bcbc7a0b0775a9258de69cb580fa5c983f..5be571f344a47bab77e6eef489cd763e4f10407c 100644
--- a/net/http/http_server_properties_manager.h
+++ b/net/http/http_server_properties_manager.h
@@ -92,6 +92,16 @@ class NET_EXPORT HttpServerPropertiesManager : public HttpServerProperties {
// persisitent store. Should only be called from IO thread.
void SetSupportsSpdy(const HostPortPair& server, bool support_spdy) override;
+ // Returns true if |server| has required HTTP/1.1 via HTTP/2 error code.
+ bool RequiresHTTP11(const HostPortPair& server) override;
+
+ // Require HTTP/1.1 on subsequent connections. Not persisted.
+ void SetHTTP11Required(const HostPortPair& server) override;
+
+ // Modify SSLConfig to force HTTP/1.1 if necessary.
+ void MaybeForceHTTP11(const HostPortPair& server,
+ SSLConfig* ssl_config) override;
+
// Returns true if |server| has an Alternate-Protocol header.
bool HasAlternateProtocol(const HostPortPair& server) override;
« no previous file with comments | « net/http/http_server_properties_impl.cc ('k') | net/http/http_server_properties_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698