Home | History | Annotate | Download | only in appcache

Lines Matching refs:m_newestCache

66         ASSERT(m_newestCache);
68 ASSERT(m_caches.contains(m_newestCache.get()));
72 ASSERT(m_newestCache->group() == this);
77 ASSERT(!m_newestCache);
225 associateDocumentLoaderWithCache(loader, m_newestCache.get());
227 if (ApplicationCacheResource* resource = m_newestCache->resourceForURL(url)) {
233 m_newestCache->addResource(ApplicationCacheResource::create(url, loader->response(), ApplicationCacheResource::Master, loader->mainResourceData()));
344 ASSERT(!m_newestCache);
350 ASSERT(m_caches.contains(m_newestCache.get()));
354 m_newestCache.release();
373 m_newestCache = newestCache;
375 m_caches.add(m_newestCache.get());
376 m_newestCache->setGroup(this);
416 if (!m_newestCache) {
426 m_newestCache ? m_newestCache->manifestResource() : 0);
468 if (!m_newestCache)
471 if (m_newestCache && response.httpStatusCode() == 304) { // Not modified.
472 ApplicationCacheResource* newestCachedResource = m_newestCache->resourceForURL(url);
499 ASSERT(m_newestCache);
500 ApplicationCacheResource* newestCachedResource = m_newestCache->resourceForURL(handle->request().url());
571 ASSERT(m_newestCache);
572 ApplicationCacheResource* newestCachedResource = m_newestCache->resourceForURL(url);
610 bool isUpgradeAttempt = m_newestCache;
622 ApplicationCacheResource* newestManifest = m_newestCache->manifestResource();
658 ApplicationCache::ResourceMap::const_iterator end = m_newestCache->end();
659 for (ApplicationCache::ResourceMap::const_iterator it = m_newestCache->begin(); it != end; ++it) {
739 bool isUpgradeAttempt = m_newestCache;
778 RefPtr<ApplicationCache> oldNewestCache = (m_newestCache == m_cacheBeingUpdated) ? 0 : m_newestCache;
795 m_cacheBeingUpdated = m_newestCache.release();
856 m_currentHandle = createResourceHandle(KURL(ParsedURLString, it->first), m_newestCache ? m_newestCache->resourceForURL(it->first) : 0);
911 if (!m_newestCache && !m_cacheBeingUpdated)
912 m_newestCache = cache;