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

Unified Diff: net/quic/quic_stream_factory.cc

Issue 1035713003: Confirm QUIC alternative service upon success. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« net/quic/quic_client_session.cc ('K') | « net/quic/quic_stream_factory.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_stream_factory.cc
diff --git a/net/quic/quic_stream_factory.cc b/net/quic/quic_stream_factory.cc
index cbcd45eed6f4641b1e701ab9d7fe6a625d307f9b..49c18f8f903454e1acbd8fdd33c503e0f6f74058 100644
--- a/net/quic/quic_stream_factory.cc
+++ b/net/quic/quic_stream_factory.cc
@@ -1072,6 +1072,14 @@ bool QuicStreamFactory::WasQuicRecentlyBroken(
alternative_service);
}
+void QuicStreamFactory::ConfirmQuic(const QuicServerId& server_id) const {
+ if (!http_server_properties_)
+ return;
+ const AlternativeService alternative_service(QUIC,
+ server_id.host_port_pair());
+ http_server_properties_->ConfirmAlternativeService(alternative_service);
+}
+
bool QuicStreamFactory::CryptoConfigCacheIsEmpty(
const QuicServerId& server_id) {
QuicCryptoClientConfig::CachedState* cached =
« net/quic/quic_client_session.cc ('K') | « net/quic/quic_stream_factory.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698