diff options
Diffstat (limited to 'net/http/http_cache_transaction.h')
-rw-r--r-- | net/http/http_cache_transaction.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/http/http_cache_transaction.h b/net/http/http_cache_transaction.h index a458379..f19f76a 100644 --- a/net/http/http_cache_transaction.h +++ b/net/http/http_cache_transaction.h @@ -97,6 +97,12 @@ class HttpCache::Transaction : public HttpTransaction { // success. bool AddTruncatedFlag(); + // Returns the LoadState of the writer transaction of a given ActiveEntry. In + // other words, returns the LoadState of this transaction without asking the + // http cache, because this transaction should be the one currently writing + // to the cache entry. + LoadState GetWriterLoadState() const; + CompletionCallback* io_callback() { return &io_callback_; } private: |