Lines Matching refs:cache_
103 cache_(cache->AsWeakPtr()),
141 if (cache_) {
152 cache_->DoneWithEntry(entry_, this, cancel_request);
154 cache_->RemovePendingTransaction(this, &io_callback_);
164 // cache_ pointer to signal that we are dead. See DoCacheReadCompleted.
165 cache_.reset();
184 if (!cache_)
192 cache_key_ = cache_->GenerateCacheKey(request);
243 if (!cache_)
262 if (!cache_)
283 if (!cache_)
311 if (!cache_)
385 if (!cache_)
401 return cache_->DoomEntry(cache_key_, &io_callback_);
418 return cache_->OpenEntry(cache_key_, &new_entry_, &io_callback_);
448 if (cache_->mode() == PLAYBACK)
461 return cache_->CreateEntry(cache_key_, &new_entry_, &io_callback_);
495 int rv = cache_->AddTransactionToEntry(new_entry_, this);
751 switch (cache_->mode()) {
865 if (!cache_->disk_cache_.get())
870 if (cache_->mode() == RECORD || cache_->mode() == PLAYBACK)
906 cache_->ConvertWriterToReader(entry_);
958 if (!cache_)
1000 cache_->DoneReadingFromEntry(entry_, this);
1055 int rv = cache_->network_layer_->CreateTransaction(&network_trans_);
1108 cache_->mode() == net::HttpCache::PLAYBACK)
1291 cache_->DoneReadingFromEntry(entry_, this);
1391 if ((cache_->mode() != RECORD &&
1400 bool skip_transient_headers = (cache_->mode() != RECORD);
1458 if (cache_->mode() == RECORD)
1462 cache_->DoneWritingToEntry(entry_, success);
1468 int rv = cache_->DoomEntry(cache_key_, NULL);
1470 cache_->DoneWithEntry(entry_, this, false);
1479 if (!cache_)
1507 if (!cache_)
1516 cache_->DoneReadingFromEntry(entry_, this);
1535 if (!cache_)
1610 int ret = cache_->DoomEntry(cache_key_, NULL);
1636 cache_->ConvertWriterToReader(entry_);
1693 if (!cache_)