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

Unified Diff: net/http/http_stream_factory.h

Issue 1824903002: Change the AlternativeServiceMap with SchemeOriginPair key. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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_unittest.cc ('k') | net/http/http_stream_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_stream_factory.h
diff --git a/net/http/http_stream_factory.h b/net/http/http_stream_factory.h
index 59956e1c24fb6c69d01b2f3f260b6edd385436d0..f8cbfcfe5c0d680d95238488cbd67231a68a1139 100644
--- a/net/http/http_stream_factory.h
+++ b/net/http/http_stream_factory.h
@@ -201,9 +201,10 @@ class NET_EXPORT HttpStreamFactory {
public:
virtual ~HttpStreamFactory();
- void ProcessAlternativeServices(HttpNetworkSession* session,
- const HttpResponseHeaders* headers,
- const HostPortPair& http_host_port_pair);
+ void ProcessAlternativeServices(
+ HttpNetworkSession* session,
+ const HttpResponseHeaders* headers,
+ const url::SchemeHostPort& scheme_origin_pair);
GURL ApplyHostMappingRules(const GURL& url, HostPortPair* endpoint);
@@ -270,13 +271,13 @@ class NET_EXPORT HttpStreamFactory {
void ProcessAlternativeService(
const base::WeakPtr<HttpServerProperties>& http_server_properties,
base::StringPiece alternative_service_str,
- const HostPortPair& http_host_port_pair,
+ const url::SchemeHostPort& http_host_port_pair,
const HttpNetworkSession& session);
void ProcessAlternateProtocol(
const base::WeakPtr<HttpServerProperties>& http_server_properties,
const std::vector<std::string>& alternate_protocol_values,
- const HostPortPair& http_host_port_pair,
+ const url::SchemeHostPort& http_host_port_pair,
const HttpNetworkSession& session);
static bool spdy_enabled_;
« no previous file with comments | « net/http/http_server_properties_manager_unittest.cc ('k') | net/http/http_stream_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698