Home
last modified time | relevance | path

Searched refs:db_cache_ (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/chrome/browser/predictors/
Dautocomplete_action_predictor.cc281 db_cache_.clear(); in DeleteAllRows()
301 for (DBCacheMap::iterator it = db_cache_.begin(); it != db_cache_.end();) { in DeleteRowsWithURLs()
308 db_cache_.erase(it++); in DeleteRowsWithURLs()
360 DBCacheMap::iterator it = db_cache_.find(key); in OnOmniboxOpenedUrl()
361 if (it == db_cache_.end()) { in OnOmniboxOpenedUrl()
406 DCHECK(db_cache_.find(key) == db_cache_.end()); in AddAndUpdateRows()
408 db_cache_[key] = value; in AddAndUpdateRows()
417 DBCacheMap::iterator db_it = db_cache_.find(key); in AddAndUpdateRows()
418 DCHECK(db_it != db_cache_.end()); in AddAndUpdateRows()
439 DCHECK(db_cache_.empty()); in CreateCaches()
[all …]
Dautocomplete_action_predictor.h237 DBCacheMap db_cache_; variable
Dautocomplete_action_predictor_unittest.cc209 DBCacheMap* db_cache() { return &predictor_->db_cache_; } in db_cache()
/external/chromium/chrome/browser/history/
Dtext_database_manager.cc87 db_cache_(DBCache::NO_AUTO_EVICT), in TextDatabaseManager()
138 DBCache::iterator iter = db_cache_.Get(*i); in CommitTransaction()
139 if (iter == db_cache_.end()) { in CommitTransaction()
148 db_cache_.ShrinkToSize(kCacheDBSize); in CommitTransaction()
383 db_cache_.Clear(); in DeleteAll()
493 DBCache::iterator found_db = db_cache_.Get(id); in GetDB()
494 if (found_db != db_cache_.end()) { in GetDB()
512 db_cache_.Put(id, new_db); in GetDB()
524 db_cache_.ShrinkToSize(kCacheDBSize); in GetDB()
Dtext_database_manager.h277 DBCache db_cache_; variable
/external/chromium_org/chrome/browser/ui/webui/predictors/
Dpredictors_handler.cc65 autocomplete_action_predictor_->db_cache_.begin(); in RequestAutocompleteActionPredictorDb()
66 it != autocomplete_action_predictor_->db_cache_.end(); in RequestAutocompleteActionPredictorDb()