summaryrefslogtreecommitdiffstats
path: root/net/http/http_cache.h
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-14 21:29:32 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-14 21:29:32 +0000
commit78e813bc5d8f1aab6752f6b104b2287e19113f1e (patch)
tree6c1f424a06e5d401c006a0b9be701c98a097b6e4 /net/http/http_cache.h
parent74d1ee5ad4d9cf4208ee26ad21176f121010f075 (diff)
downloadchromium_src-78e813bc5d8f1aab6752f6b104b2287e19113f1e.zip
chromium_src-78e813bc5d8f1aab6752f6b104b2287e19113f1e.tar.gz
chromium_src-78e813bc5d8f1aab6752f6b104b2287e19113f1e.tar.bz2
Revert 52334 - Http Cache: chain GetLoadState from transactions waiting for
access to an entry to the transaction that has exclusive access to that entry. This means that requests that are blocked on the single writer lock of the http cache will report the load state of the request that has the lock, and WAITING_FOR_CACHE is reserved for requests that are actually waiting for the entry to be created by the cache. BUG=43582 TEST=net_unittests Review URL: http://codereview.chromium.org/2976004 TBR=rvargas@google.com Review URL: http://codereview.chromium.org/2921010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52405 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_cache.h')
-rw-r--r--net/http/http_cache.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/http/http_cache.h b/net/http/http_cache.h
index daa6d28..7961343 100644
--- a/net/http/http_cache.h
+++ b/net/http/http_cache.h
@@ -28,7 +28,6 @@
#include "base/weak_ptr.h"
#include "net/base/cache_type.h"
#include "net/base/completion_callback.h"
-#include "net/base/load_states.h"
#include "net/http/http_transaction_factory.h"
class GURL;
@@ -311,9 +310,6 @@ class HttpCache : public HttpTransactionFactory,
// transactions can start reading from this entry.
void ConvertWriterToReader(ActiveEntry* entry);
- // Returns the LoadState of the provided pending transaction.
- LoadState GetLoadStateForPendingTransaction(const Transaction* trans);
-
// Removes the transaction |trans|, from the pending list of an entry
// (PendingOp, active or doomed entry).
void RemovePendingTransaction(Transaction* trans);