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

Unified Diff: net/http/http_cache.h

Issue 10907241: Revert 156846 - 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') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_cache.h
===================================================================
--- net/http/http_cache.h (revision 156848)
+++ net/http/http_cache.h (working copy)
@@ -32,7 +32,6 @@
#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;
@@ -184,9 +183,6 @@
// 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;
@@ -212,7 +208,6 @@
class Transaction;
class WorkItem;
friend class Transaction;
- friend class InfiniteCache;
struct PendingOp; // Info for an entry under construction.
typedef std::list<Transaction*> TransactionList;
@@ -391,8 +386,6 @@
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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698