| Index: net/http/http_cache_transaction.h
|
| diff --git a/net/http/http_cache_transaction.h b/net/http/http_cache_transaction.h
|
| index 545e05c8c82522e703c215b748d0dd1a00e364bb..cbb5c3e37448e1cd5c1e6544e7013c55726c481f 100644
|
| --- a/net/http/http_cache_transaction.h
|
| +++ b/net/http/http_cache_transaction.h
|
| @@ -43,7 +43,7 @@ class SSLPrivateKey;
|
|
|
| // This is the transaction that is returned by the HttpCache transaction
|
| // factory.
|
| -class HttpCache::Transaction : public HttpTransaction {
|
| +class NET_EXPORT_PRIVATE HttpCache::Transaction : public HttpTransaction {
|
| public:
|
| // The transaction has the following modes, which apply to how it may access
|
| // its cache entry.
|
| @@ -183,6 +183,12 @@ class HttpCache::Transaction : public HttpTransaction {
|
| // Returns the estimate of dynamically allocated memory in bytes.
|
| size_t EstimateMemoryUsage() const;
|
|
|
| + // Sets fail state such that a future Read fails with |error_code|.
|
| + void SetSharedWritingFailState(int error_code);
|
| +
|
| + RequestPriority priority() const { return priority_; }
|
| + PartialData* partial() { return partial_.get(); }
|
| +
|
| private:
|
| static const size_t kNumValidationHeaders = 2;
|
| // Helper struct to pair a header name with its value, for
|
|
|