Searched refs:cache_state_ (Results 1 – 2 of 2) sorted by relevance
288 uri_form_(URI_DEFAULT), cache_(NULL), cache_state_(CS_READY) { in HttpClient()440 ASSERT(CS_READY == cache_state_); in BeginCacheFile()505 ASSERT(CS_READY == cache_state_); in CheckCache()535 cache_state_ = CS_READY; in CheckCache()567 cache_state_ = CS_READING; in ReadCacheBody()595 ASSERT(CS_READY == cache_state_); in PrepareValidate()612 cache_state_ = CS_VALIDATING; in PrepareValidate()617 ASSERT(CS_VALIDATING == cache_state_); in CompleteValidate()656 if (CS_VALIDATING == cache_state_) { in onHttpHeaderComplete()661 cache_state_ = CS_READY; in onHttpHeaderComplete()[all …]
182 bool IsCacheActive() const { return (cache_state_ > CS_READY); } in IsCacheActive()196 CacheState cache_state_; variable