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

Unified Diff: components/cronet/android/cronet_url_request_context_adapter.cc

Issue 2901093004: Add and persist a new field in AlternativeServiceInfo to list QUIC verisons advertised (Closed)
Patch Set: fix compile in components Created 3 years, 6 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/android/cronet_url_request_context_adapter.cc
diff --git a/components/cronet/android/cronet_url_request_context_adapter.cc b/components/cronet/android/cronet_url_request_context_adapter.cc
index e042a2a49860a3d713adb257b77192b6ca273fea..a32864395c9e3ce9467d27006ad836b86d2a3d8a 100644
--- a/components/cronet/android/cronet_url_request_context_adapter.cc
+++ b/components/cronet/android/cronet_url_request_context_adapter.cc
@@ -63,6 +63,7 @@
#include "net/nqe/network_qualities_prefs_manager.h"
#include "net/proxy/proxy_config_service_android.h"
#include "net/proxy/proxy_service.h"
+#include "net/quic/core/quic_versions.h"
#include "net/sdch/sdch_owner.h"
#include "net/ssl/channel_id_service.h"
#include "net/url_request/url_request_context.h"
@@ -763,7 +764,8 @@ void CronetURLRequestContextAdapter::InitializeOnNetworkThread(
net::AlternativeService alternative_service(
net::kProtoQUIC, "", static_cast<uint16_t>(quic_hint.alternate_port));
context_->http_server_properties()->SetAlternativeService(
- quic_server, alternative_service, base::Time::Max());
+ quic_server, alternative_service, base::Time::Max(),
+ QuicVersionVector());
Ryan Hamilton 2017/06/07 20:52:23 Would QuicSupportedVersions() be a better choice h
Zhongyi Shi 2017/06/08 23:11:16 Originally, an empty list should work, as the vers
}
}
« no previous file with comments | « no previous file | components/grpc_support/test/get_stream_engine.cc » ('j') | net/http/http_network_transaction_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698