summaryrefslogtreecommitdiffstats
path: root/net/http/http_cache.h
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-14 18:45:22 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-14 18:45:22 +0000
commit2fee523bdc6ea27048a4ed35c56624f9e240ec75 (patch)
tree3611ce002c8103b8636d0f26a674b08ccdf7a56c /net/http/http_cache.h
parent1ff1d273f4cdefcc23a15f86f9273fb95cf5bece (diff)
downloadchromium_src-2fee523bdc6ea27048a4ed35c56624f9e240ec75.zip
chromium_src-2fee523bdc6ea27048a4ed35c56624f9e240ec75.tar.gz
chromium_src-2fee523bdc6ea27048a4ed35c56624f9e240ec75.tar.bz2
Revert 156846 - Http Cache: Add code for simulating an infinite HTTP cache.
This is not completely wired yet. BUg=147383 TEST=net_unittests Review URL: https://chromiumcodereview.appspot.com/10909136 TBR=rvargas@google.com Review URL: https://codereview.chromium.org/10907241 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156849 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_cache.h')
-rw-r--r--net/http/http_cache.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/net/http/http_cache.h b/net/http/http_cache.h
index 6e82876..35f2e47 100644
--- a/net/http/http_cache.h
+++ b/net/http/http_cache.h
@@ -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 @@ class NET_EXPORT HttpCache : public HttpTransactionFactory,
// 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 NET_EXPORT HttpCache : public HttpTransactionFactory,
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 @@ class NET_EXPORT HttpCache : public HttpTransactionFactory,
scoped_ptr<PlaybackCacheMap> playback_cache_map_;
- InfiniteCache infinite_cache_;
-
DISALLOW_COPY_AND_ASSIGN(HttpCache);
};