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

Unified Diff: net/http/http_cache.cc

Issue 428253003: QUIC - enable persisting QuicServerInfo to disk cache. Deleted unused (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with TOT 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
« no previous file with comments | « chrome/browser/resources/net_internals/quic_view.html ('k') | net/http/http_network_session.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
« no previous file with comments | « chrome/browser/resources/net_internals/quic_view.html ('k') | net/http/http_network_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698