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

Unified Diff: net/tools/quic/test_tools/quic_test_server.h

Issue 2547583002: Landing Recent QUIC changes until Fri Nov 18 23:21:04 2016 +0000 (Closed)
Patch Set: Remove explicit HTTP/2 enum usage Created 4 years 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 | « net/tools/quic/test_tools/quic_test_client.h ('k') | net/tools/quic/test_tools/quic_test_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/test_tools/quic_test_server.h
diff --git a/net/tools/quic/test_tools/quic_test_server.h b/net/tools/quic/test_tools/quic_test_server.h
index 3fbce5f6f852aa6dc0157184d163143fb589f475..26a8e7669922ca86e25d057086178933efd7f3ad 100644
--- a/net/tools/quic/test_tools/quic_test_server.h
+++ b/net/tools/quic/test_tools/quic_test_server.h
@@ -38,7 +38,7 @@ class QuicTestServer : public QuicServer {
QuicCryptoServerStream::Helper* helper,
const QuicCryptoServerConfig* crypto_config,
QuicCompressedCertsCache* compressed_certs_cache,
- QuicInMemoryCache* in_memory_cache) = 0;
+ QuicHttpResponseCache* response_cache) = 0;
};
// Factory for creating QuicSimpleServerStreams.
@@ -50,7 +50,7 @@ class QuicTestServer : public QuicServer {
virtual QuicSimpleServerStream* CreateStream(
QuicStreamId id,
QuicSpdySession* session,
- QuicInMemoryCache* in_memory_cache) = 0;
+ QuicHttpResponseCache* response_cache) = 0;
};
class CryptoStreamFactory {
@@ -64,11 +64,11 @@ class QuicTestServer : public QuicServer {
};
QuicTestServer(std::unique_ptr<ProofSource> proof_source,
- QuicInMemoryCache* in_memory_cache);
+ QuicHttpResponseCache* response_cache);
QuicTestServer(std::unique_ptr<ProofSource> proof_source,
const QuicConfig& config,
const QuicVersionVector& supported_versions,
- QuicInMemoryCache* in_memory_cache);
+ QuicHttpResponseCache* response_cache);
// Create a custom dispatcher which creates custom sessions.
QuicDispatcher* CreateQuicDispatcher() override;
@@ -99,7 +99,7 @@ class ImmediateGoAwaySession : public QuicSimpleServerSession {
QuicCryptoServerStream::Helper* helper,
const QuicCryptoServerConfig* crypto_config,
QuicCompressedCertsCache* compressed_certs_cache,
- QuicInMemoryCache* in_memory_cache);
+ QuicHttpResponseCache* response_cache);
// Override to send GoAway.
void OnStreamFrame(const QuicStreamFrame& frame) override;
« no previous file with comments | « net/tools/quic/test_tools/quic_test_client.h ('k') | net/tools/quic/test_tools/quic_test_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698