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

Unified Diff: net/http/http_server_properties_manager.cc

Issue 1017453008: Make GetAlternateProtocol return AlternativeService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile error. 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
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 1c4bc235a3152f06682f619d7dda8436572c3fe2..4c281e9e6c83eaa203c060ef919be6fe39fefb38 100644
--- a/net/http/http_server_properties_manager.cc
+++ b/net/http/http_server_properties_manager.cc
@@ -180,10 +180,10 @@ void HttpServerPropertiesManager::MaybeForceHTTP11(const HostPortPair& server,
http_server_properties_impl_->MaybeForceHTTP11(server, ssl_config);
}
-AlternateProtocolInfo HttpServerPropertiesManager::GetAlternateProtocol(
- const HostPortPair& server) {
+AlternativeService HttpServerPropertiesManager::GetAlternativeService(
+ const HostPortPair& origin) {
DCHECK(network_task_runner_->RunsTasksOnCurrentThread());
- return http_server_properties_impl_->GetAlternateProtocol(server);
+ return http_server_properties_impl_->GetAlternativeService(origin);
}
void HttpServerPropertiesManager::SetAlternateProtocol(

Powered by Google App Engine
This is Rietveld 408576698