Home | History | Annotate | Download | only in http

Lines Matching refs:cache_

105       cache_(cache->AsWeakPtr()),
141 if (cache_) {
152 cache_->DoneWithEntry(entry_, this, cancel_request);
154 cache_->RemovePendingTransaction(this);
164 // cache_ pointer to signal that we are dead. See DoCacheReadCompleted.
165 cache_.reset();
173 if (!cache_ || !entry_)
225 if (!cache_)
249 if (!cache_)
268 if (!cache_)
289 if (!cache_)
317 if (!cache_)
376 if (cache_)
377 return cache_->GetLoadStateForPendingTransaction(this);
577 return cache_->GetBackendForTransaction(this);
587 cache_key_ = cache_->GenerateCacheKey(request_);
631 int rv = cache_->network_layer_->CreateTransaction(&network_trans_);
641 if (!cache_)
721 if (!cache_)
736 if (!cache_)
753 return cache_->OpenEntry(cache_key_, &new_entry_, this);
783 if (cache_->mode() == PLAYBACK)
796 return cache_->CreateEntry(cache_key_, &new_entry_, this);
831 return cache_->DoomEntry(cache_key_, this);
851 return cache_->AddTransactionToEntry(new_entry_, this);
907 if (cache_->GetSession() && cache_->GetSession()->network_delegate()) {
910 return cache_->GetSession()->network_delegate()->NotifyBeforeSendHeaders(
968 cache_->DoneReadingFromEntry(entry_, this);
999 int ret = cache_->DoomEntry(cache_key_, NULL);
1025 cache_->ConvertWriterToReader(entry_);
1245 if (!cache_)
1274 if (!cache_)
1283 cache_->DoneReadingFromEntry(entry_, this);
1306 if (!cache_)
1339 switch (cache_->mode()) {
1440 if (!cache_->disk_cache_.get())
1445 if (cache_->mode() == RECORD || cache_->mode() == PLAYBACK)
1498 cache_->ConvertWriterToReader(entry_);
1639 if (cache_->mode() == net::HttpCache::PLAYBACK)
1832 cache_->DoneReadingFromEntry(entry_, this);
1889 if ((cache_->mode() != RECORD &&
1898 bool skip_transient_headers = (cache_->mode() != RECORD);
1930 if (cache_->mode() == RECORD)
1934 cache_->DoneWritingToEntry(entry_, success);
1941 int rv = cache_->DoomEntry(cache_key_, NULL);
1943 cache_->DoneWithEntry(entry_, this, false);