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

Unified Diff: net/http/http_server_properties_manager.cc

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_manager.h ('k') | net/http/http_stream_factory_impl_job.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.cc
diff --git a/net/http/http_server_properties_manager.cc b/net/http/http_server_properties_manager.cc
index af728840f5ba8273ea91629eaf323e723b222127..873c8ca700faae8a9b1b39de9e47877d9000828b 100644
--- a/net/http/http_server_properties_manager.cc
+++ b/net/http/http_server_properties_manager.cc
@@ -146,6 +146,26 @@ void HttpServerPropertiesManager::SetSupportsSpdy(const HostPortPair& server,
ScheduleUpdatePrefsOnNetworkThread();
}
+bool HttpServerPropertiesManager::RequiresHTTP11(
+ const net::HostPortPair& server) {
+ DCHECK(network_task_runner_->RunsTasksOnCurrentThread());
+ return http_server_properties_impl_->RequiresHTTP11(server);
+}
+
+void HttpServerPropertiesManager::SetHTTP11Required(
+ const net::HostPortPair& server) {
+ DCHECK(network_task_runner_->RunsTasksOnCurrentThread());
+
+ http_server_properties_impl_->SetHTTP11Required(server);
+ ScheduleUpdatePrefsOnNetworkThread();
+}
+
+void HttpServerPropertiesManager::MaybeForceHTTP11(const HostPortPair& server,
+ SSLConfig* ssl_config) {
+ DCHECK(network_task_runner_->RunsTasksOnCurrentThread());
+ http_server_properties_impl_->MaybeForceHTTP11(server, ssl_config);
+}
+
bool HttpServerPropertiesManager::HasAlternateProtocol(
const HostPortPair& server) {
DCHECK(network_task_runner_->RunsTasksOnCurrentThread());
« no previous file with comments | « net/http/http_server_properties_manager.h ('k') | net/http/http_stream_factory_impl_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698