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

Unified Diff: net/tools/quic/quic_http_response_cache.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_epoll_connection_helper.h ('k') | net/tools/quic/quic_http_response_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_http_response_cache.h
diff --git a/net/tools/quic/quic_in_memory_cache.h b/net/tools/quic/quic_http_response_cache.h
similarity index 97%
rename from net/tools/quic/quic_in_memory_cache.h
rename to net/tools/quic/quic_http_response_cache.h
index 1fdc340097d599a59ac9fec63d0548bb7ffc7a62..3a1857cf258b4a8ee7d22cb8f251a14a6887618f 100644
--- a/net/tools/quic/quic_in_memory_cache.h
+++ b/net/tools/quic/quic_http_response_cache.h
@@ -25,7 +25,7 @@ namespace net {
// In-memory cache for HTTP responses.
// Reads from disk cache generated by:
// `wget -p --save_headers <url>`
-class QuicInMemoryCache {
+class QuicHttpResponseCache {
public:
// A ServerPushInfo contains path of the push request and everything needed in
// comprising a response for the push request.
@@ -120,13 +120,13 @@ class QuicInMemoryCache {
private:
base::StringPiece host_;
base::StringPiece path_;
- QuicInMemoryCache* cache_;
+ QuicHttpResponseCache* cache_;
DISALLOW_COPY_AND_ASSIGN(ResourceFile);
};
- QuicInMemoryCache();
- ~QuicInMemoryCache();
+ QuicHttpResponseCache();
+ ~QuicHttpResponseCache();
// Retrieve a response from this cache for a given host and path..
// If no appropriate response exists, nullptr is returned.
@@ -213,7 +213,7 @@ class QuicInMemoryCache {
// server threads accessing those responses.
mutable base::Lock response_mutex_;
- DISALLOW_COPY_AND_ASSIGN(QuicInMemoryCache);
+ DISALLOW_COPY_AND_ASSIGN(QuicHttpResponseCache);
};
} // namespace net
« no previous file with comments | « net/tools/quic/quic_epoll_connection_helper.h ('k') | net/tools/quic/quic_http_response_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698