Chromium Code Reviews| Index: net/http/http_cache_transaction.h |
| =================================================================== |
| --- net/http/http_cache_transaction.h (revision 134667) |
| +++ net/http/http_cache_transaction.h (working copy) |
| @@ -85,9 +85,12 @@ |
| // This transaction is being deleted and we are not done writing to the cache. |
| // We need to indicate that the response data was truncated. Returns true on |
| - // success. |
| + // success. Keep in mind that this operation may have side effects as deleting |
|
gavinp
2012/05/09 22:10:12
Nit: Keep in mind that this operation may have sid
|
| + // the active entry. |
| bool AddTruncatedFlag(); |
| + HttpCache::ActiveEntry* entry() { return entry_; } |
| + |
| // 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 |