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

Unified Diff: net/tools/quic/quic_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/quic_process_packet_interface.h ('k') | net/tools/quic/quic_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_server.h
diff --git a/net/tools/quic/quic_server.h b/net/tools/quic/quic_server.h
index 5e0db6b4fd19b60f25d3bf7fab6ffb7f516d7947..7bce8e6b05c31f9a55cd8f773115ca27e09a420d 100644
--- a/net/tools/quic/quic_server.h
+++ b/net/tools/quic/quic_server.h
@@ -20,10 +20,11 @@
#include "net/quic/core/crypto/quic_crypto_server_config.h"
#include "net/quic/core/quic_config.h"
#include "net/quic/core/quic_framer.h"
+#include "net/quic/core/quic_version_manager.h"
#include "net/quic/platform/api/quic_socket_address.h"
#include "net/tools/epoll_server/epoll_server.h"
#include "net/tools/quic/quic_default_packet_writer.h"
-#include "net/tools/quic/quic_in_memory_cache.h"
+#include "net/tools/quic/quic_http_response_cache.h"
namespace net {
@@ -37,12 +38,12 @@ class QuicPacketReader;
class QuicServer : public EpollCallbackInterface {
public:
QuicServer(std::unique_ptr<ProofSource> proof_source,
- QuicInMemoryCache* in_memory_cache);
+ QuicHttpResponseCache* response_cache);
QuicServer(std::unique_ptr<ProofSource> proof_source,
const QuicConfig& config,
const QuicCryptoServerConfig::ConfigOptions& server_config_options,
const QuicVersionVector& supported_versions,
- QuicInMemoryCache* in_memory_cache);
+ QuicHttpResponseCache* response_cache);
~QuicServer() override;
@@ -86,7 +87,7 @@ class QuicServer : public EpollCallbackInterface {
QuicVersionManager* version_manager() { return &version_manager_; }
- QuicInMemoryCache* in_memory_cache() { return in_memory_cache_; }
+ QuicHttpResponseCache* response_cache() { return response_cache_; }
private:
friend class net::test::QuicServerPeer;
@@ -129,7 +130,7 @@ class QuicServer : public EpollCallbackInterface {
// space than allowed on the stack.
std::unique_ptr<QuicPacketReader> packet_reader_;
- QuicInMemoryCache* in_memory_cache_; // unowned.
+ QuicHttpResponseCache* response_cache_; // unowned.
DISALLOW_COPY_AND_ASSIGN(QuicServer);
};
« no previous file with comments | « net/tools/quic/quic_process_packet_interface.h ('k') | net/tools/quic/quic_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698