| Index: net/tools/quic/quic_in_memory_cache.h
|
| diff --git a/net/tools/quic/quic_in_memory_cache.h b/net/tools/quic/quic_in_memory_cache.h
|
| index f92c67922df9235fa166b577755b6ebecaa8fa4d..aaff60b2d1aeaa137ee85096e437357dfc696531 100644
|
| --- a/net/tools/quic/quic_in_memory_cache.h
|
| +++ b/net/tools/quic/quic_in_memory_cache.h
|
| @@ -21,8 +21,6 @@ namespace test {
|
| class QuicInMemoryCachePeer;
|
| } // namespace
|
|
|
| -extern std::string FLAGS_quic_in_memory_cache_dir;
|
| -
|
| class QuicServer;
|
|
|
| // In-memory cache for HTTP responses.
|
| @@ -93,6 +91,9 @@ class QuicInMemoryCache {
|
| base::StringPiece path,
|
| SpecialResponseType response_type);
|
|
|
| + // |cache_cirectory| can be generated using `wget -p --save-headers <url>`.
|
| + void InitializeFromDirectory(const std::string& cache_directory);
|
| +
|
| private:
|
| typedef base::hash_map<std::string, Response*> ResponseMap;
|
| friend struct DefaultSingletonTraits<QuicInMemoryCache>;
|
| @@ -103,8 +104,6 @@ class QuicInMemoryCache {
|
|
|
| void ResetForTests();
|
|
|
| - void Initialize();
|
| -
|
| void AddResponseImpl(base::StringPiece host,
|
| base::StringPiece path,
|
| SpecialResponseType response_type,
|
|
|