Index: net/http/http_cache_transaction.h |
diff --git a/net/http/http_cache_transaction.h b/net/http/http_cache_transaction.h |
index 080d8b923bffea7c40e20dfaf7ddbe10c608f234..90d1cf1c33004585c9099ee7a75be6d418d022de 100644 |
--- a/net/http/http_cache_transaction.h |
+++ b/net/http/http_cache_transaction.h |
@@ -175,6 +175,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 |