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

Unified Diff: net/http/http_cache.h

Issue 10909136: Http Cache: Add code for simulating an infinite HTTP cache. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 months 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 | « no previous file | net/http/http_cache.cc » ('j') | net/http/infinite_cache.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
@@ -208,6 +209,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 +388,8 @@
scoped_ptr<PlaybackCacheMap> playback_cache_map_;
+ InfiniteCache infinite_cache_;
+
DISALLOW_COPY_AND_ASSIGN(HttpCache);
};
« no previous file with comments | « no previous file | net/http/http_cache.cc » ('j') | net/http/infinite_cache.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698