void ApplicationCacheHost::abort() { ApplicationCacheGroup* cacheGroup = candidateApplicationCacheGroup(); if (cacheGroup) cacheGroup->abort(m_documentLoader.frame()); else { ApplicationCache* cache = applicationCache(); if (cache) cache->group()->abort(m_documentLoader.frame()); } }
bool ApplicationCacheHost::canCacheInPageCache() { return !applicationCache() && !candidateApplicationCacheGroup(); }