| 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
|
|
|