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

Unified Diff: net/http/http_cache.cc

Issue 420313005: Land Recent QUIC Changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Final_0723
Patch Set: change QUIC packet size to 1350 Created 6 years, 5 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_cache.cc
diff --git a/net/http/http_cache.cc b/net/http/http_cache.cc
index c45ab4118ca0ce849114a98eb6e6cf2d0af6eda1..30742c843304bcc77a2e6677e7bae640a24c9f4e 100644
--- a/net/http/http_cache.cc
+++ b/net/http/http_cache.cc
@@ -1014,7 +1014,7 @@ bool HttpCache::RemovePendingTransactionFromPendingOp(PendingOp* pending_op,
}
void HttpCache::SetupQuicServerInfoFactory(HttpNetworkSession* session) {
- if (session && session->params().enable_quic_persist_server_info &&
+ if (session &&
!session->quic_stream_factory()->has_quic_server_info_factory()) {
DCHECK(!quic_server_info_factory_);
quic_server_info_factory_.reset(new QuicServerInfoFactoryAdaptor(this));

Powered by Google App Engine
This is Rietveld 408576698