| 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..62b216cf6271bf1457914bc15291a144671dc835 100644
|
| --- a/net/http/http_cache_transaction.h
|
| +++ b/net/http/http_cache_transaction.h
|
| @@ -175,6 +175,9 @@ class HttpCache::Transaction : public HttpTransaction {
|
| // Returns the estimate of dynamically allocated memory in bytes.
|
| size_t EstimateMemoryUsage() const;
|
|
|
| + // ### comment
|
| + bool MaybeRejectBasedOnMemoryEntryData(uint8_t in_memory_info);
|
| +
|
| private:
|
| static const size_t kNumValidationHeaders = 2;
|
| // Helper struct to pair a header name with its value, for
|
| @@ -367,6 +370,11 @@ class HttpCache::Transaction : public HttpTransaction {
|
| // copy is valid). Returns true if able to make the request conditional.
|
| bool ConditionalizeRequest();
|
|
|
| + // Determines if saved response permits conditionalization, and extracts
|
| + // etag/last-modified values. Only depends on response_.headers.
|
| + bool ResponseConditionalizable(std::string* etag_value,
|
| + std::string* last_modified_value);
|
| +
|
| // Makes sure that a 206 response is expected. Returns true on success.
|
| // On success, handling_206_ will be set to true if we are processing a
|
| // partial entry.
|
|
|