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

Unified Diff: components/cronet/ios/cronet_environment.cc

Issue 1904483004: Change SupportsSpdy dict, SpdySettingsMap, ServerNetworkStatsMap, AlternativeServiceMap and disk da… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix compile after sync code, introduced by commit 388755 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
Index: components/cronet/ios/cronet_environment.cc
diff --git a/components/cronet/ios/cronet_environment.cc b/components/cronet/ios/cronet_environment.cc
index 6c7d39c345089e27becf06532df0f733e37cdd2f..d8d0d41bf4f7d097ce67646aa54abc4c9c29d958 100644
--- a/components/cronet/ios/cronet_environment.cc
+++ b/components/cronet/ios/cronet_environment.cc
@@ -44,6 +44,7 @@
#include "net/url_request/static_http_user_agent_settings.h"
#include "net/url_request/url_request_context_storage.h"
#include "net/url_request/url_request_job_factory_impl.h"
+#include "url/scheme_host_port.h"
#include "url/url_util.h"
namespace {
@@ -327,9 +328,10 @@ void CronetEnvironment::InitializeOnNetworkThread() {
for (const auto& quic_hint : quic_hints_) {
net::AlternativeService alternative_service(net::AlternateProtocol::QUIC,
"", quic_hint.port());
-
+ url::SchemeHostPort quic_hint_server("https", quic_hint.host(),
+ quic_hint.port());
main_context_->http_server_properties()->SetAlternativeService(
- quic_hint, alternative_service, base::Time::Max());
+ quic_hint_server, alternative_service, base::Time::Max());
params.quic_host_whitelist.insert(quic_hint.host());
}
« no previous file with comments | « components/cronet/android/url_request_context_adapter.cc ('k') | content/browser/loader/resource_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698