Home
last modified time | relevance | path

Searched refs:validation_cache_ (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/components/nacl/browser/
Dnacl_validation_cache.cc23 : validation_cache_(kValidationCacheCacheSize) { in NaClValidationCache()
38 iter = validation_cache_.Get(signature); in QueryKnownToValidate()
40 iter = validation_cache_.Peek(signature); in QueryKnownToValidate()
42 if (iter != validation_cache_.end()) { in QueryKnownToValidate()
51 validation_cache_.Put(signature, true); in SetKnownToValidate()
59 pickle->WriteInt(validation_cache_.size()); in Serialize()
64 for (iter = validation_cache_.rbegin(); in Serialize()
65 iter != validation_cache_.rend(); in Serialize()
76 validation_cache_.Clear(); in Reset()
105 validation_cache_.Clear(); in DeserializeImpl()
[all …]
Dnacl_validation_cache.h39 return validation_cache_.size(); in size()
46 ValidationCacheType::const_iterator iter = validation_cache_.begin(); in GetContents()
47 for (iter = validation_cache_.begin(); in GetContents()
48 iter != validation_cache_.end(); in GetContents()
59 ValidationCacheType validation_cache_; variable
Dnacl_browser.cc360 validation_cache_.Reset(); in OnValidationCacheLoaded()
363 validation_cache_.Deserialize(&pickle); in OnValidationCacheLoaded()
371 validation_cache_.Reset(); in RunWithoutValidationCache()
449 return validation_cache_.QueryKnownToValidate(signature, false) || in QueryKnownToValidate()
452 bool result = validation_cache_.QueryKnownToValidate(signature, true); in QueryKnownToValidate()
466 validation_cache_.SetKnownToValidate(signature); in SetKnownToValidate()
481 validation_cache_.Reset(); in ClearValidationCache()
534 validation_cache_.Serialize(pickle); in PersistValidationCache()
Dnacl_browser.h75 return validation_cache_.GetValidationCacheKey(); in GetValidationCacheKey()
163 NaClValidationCache validation_cache_;