| Index: net/http/http_cache_transaction.cc
|
| ===================================================================
|
| --- net/http/http_cache_transaction.cc (revision 95711)
|
| +++ net/http/http_cache_transaction.cc (working copy)
|
| @@ -365,6 +365,15 @@
|
| void HttpCache::Transaction::StopCaching() {
|
| }
|
|
|
| +void HttpCache::Transaction::DoneReading() {
|
| + if (cache_ && entry_) {
|
| + DCHECK(reading_);
|
| + DCHECK_NE(mode_, UPDATE);
|
| + if (mode_ & WRITE)
|
| + DoneWritingToEntry(true);
|
| + }
|
| +}
|
| +
|
| const HttpResponseInfo* HttpCache::Transaction::GetResponseInfo() const {
|
| // Null headers means we encountered an error or haven't a response yet
|
| if (auth_response_.headers)
|
|
|