Home | History | Annotate | Download | only in appcache

Lines Matching refs:entry

45 void AppCache::AddEntry(const GURL& url, const AppCacheEntry& entry) {
47 entries_.insert(EntryMap::value_type(url, entry));
48 cache_size_ += entry.response_size();
51 bool AppCache::AddOrModifyEntry(const GURL& url, const AppCacheEntry& entry) {
53 entries_.insert(EntryMap::value_type(url, entry));
55 // Entry already exists. Merge the types of the new and existing entries.
57 ret.first->second.add_types(entry.types());
59 cache_size_ += entry.response_size(); // New entry. Add to cache size.
102 const AppCacheEntry* entry = GetEntryAndUrlWithResponseId(
104 if (!entry || !entry->IsExecutable())
162 const AppCacheDatabase::EntryRecord& entry = entries.at(i);
163 AddEntry(entry.url, AppCacheEntry(entry.flags, entry.response_id,
164 entry.response_size));
262 AppCacheEntry* entry = GetEntry(url_no_ref);
263 if (entry) {
264 *found_entry = *entry;
273 entry = GetEntry(intercept_namespace->target_url);
274 DCHECK(entry);
275 *found_entry = *entry;
282 entry = GetEntry(fallback_namespace->target_url);
283 DCHECK(entry);
284 *found_fallback_entry = *entry;