| Index: net/http/http_cache.h
|
| ===================================================================
|
| --- net/http/http_cache.h (revision 156633)
|
| +++ net/http/http_cache.h (working copy)
|
| @@ -32,6 +32,7 @@
|
| #include "net/base/net_export.h"
|
| #include "net/http/http_network_session.h"
|
| #include "net/http/http_transaction_factory.h"
|
| +#include "net/http/infinite_cache.h"
|
|
|
| class GURL;
|
|
|
| @@ -183,6 +184,9 @@
|
| // Initializes the Infinite Cache, if selected by the field trial.
|
| void InitializeInfiniteCache(const FilePath& path);
|
|
|
| + // Returns a pointer to the Infinite Cache.
|
| + InfiniteCache* infinite_cache() { return &infinite_cache_; }
|
| +
|
| // HttpTransactionFactory implementation:
|
| virtual int CreateTransaction(scoped_ptr<HttpTransaction>* trans,
|
| HttpTransactionDelegate* delegate) OVERRIDE;
|
| @@ -208,6 +212,7 @@
|
| class Transaction;
|
| class WorkItem;
|
| friend class Transaction;
|
| + friend class InfiniteCache;
|
| struct PendingOp; // Info for an entry under construction.
|
|
|
| typedef std::list<Transaction*> TransactionList;
|
| @@ -386,6 +391,8 @@
|
|
|
| scoped_ptr<PlaybackCacheMap> playback_cache_map_;
|
|
|
| + InfiniteCache infinite_cache_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(HttpCache);
|
| };
|
|
|
|
|