webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
WebCore::ApplicationCacheGroup Class Referencefinal

#include <ApplicationCacheGroup.h>

Inheritance diagram for WebCore::ApplicationCacheGroup:
WebCore::ResourceHandleClient

Public Types

enum  UpdateStatus { Idle, Checking, Downloading }
 

Public Member Functions

 ApplicationCacheGroup (Ref< ApplicationCacheStorage > &&, const URL &manifestURL)
 
virtual ~ApplicationCacheGroup ()
 
ApplicationCacheStorage & storage ()
 
const URL & manifestURL () const
 
const SecurityOrigin & origin () const
 
UpdateStatus updateStatus () const
 
void setUpdateStatus (UpdateStatus status)
 
void setStorageID (unsigned storageID)
 
unsigned storageID () const
 
void clearStorageID ()
 
void update (Frame &, ApplicationCacheUpdateOption)
 
void cacheDestroyed (ApplicationCache &)
 
void abort (Frame &)
 
bool cacheIsComplete (ApplicationCache &cache)
 
void stopLoadingInFrame (Frame &)
 
ApplicationCache * newestCache () const
 
void setNewestCache (Ref< ApplicationCache > &&)
 
void makeObsolete ()
 
bool isObsolete () const
 
void finishedLoadingMainResource (DocumentLoader &)
 
void failedLoadingMainResource (DocumentLoader &)
 
void disassociateDocumentLoader (DocumentLoader &)
 

Static Public Member Functions

static ApplicationCache * cacheForMainRequest (const ResourceRequest &, DocumentLoader *)
 
static ApplicationCache * fallbackCacheForMainRequest (const ResourceRequest &, DocumentLoader *)
 
static void selectCache (Frame &, const URL &manifestURL)
 
static void selectCacheWithoutManifestURL (Frame &)
 

Friends

class ChromeClientCallbackTimer
 

Member Enumeration Documentation

◆ UpdateStatus

Enumerator
Idle 
Checking 
Downloading 

Constructor & Destructor Documentation

◆ ApplicationCacheGroup()

WebCore::ApplicationCacheGroup::ApplicationCacheGroup ( Ref< ApplicationCacheStorage > &&  storage,
const URL &  manifestURL 
)
explicit

◆ ~ApplicationCacheGroup()

WebCore::ApplicationCacheGroup::~ApplicationCacheGroup ( )
virtual

Member Function Documentation

◆ abort()

void WebCore::ApplicationCacheGroup::abort ( Frame &  frame)

◆ cacheDestroyed()

void WebCore::ApplicationCacheGroup::cacheDestroyed ( ApplicationCache &  cache)

◆ cacheForMainRequest()

ApplicationCache * WebCore::ApplicationCacheGroup::cacheForMainRequest ( const ResourceRequest &  request,
DocumentLoader *  documentLoader 
)
static

◆ cacheIsComplete()

bool WebCore::ApplicationCacheGroup::cacheIsComplete ( ApplicationCache &  cache)
inline

◆ clearStorageID()

void WebCore::ApplicationCacheGroup::clearStorageID ( )

◆ disassociateDocumentLoader()

void WebCore::ApplicationCacheGroup::disassociateDocumentLoader ( DocumentLoader &  loader)

◆ failedLoadingMainResource()

void WebCore::ApplicationCacheGroup::failedLoadingMainResource ( DocumentLoader &  loader)

◆ fallbackCacheForMainRequest()

ApplicationCache * WebCore::ApplicationCacheGroup::fallbackCacheForMainRequest ( const ResourceRequest &  request,
DocumentLoader *  documentLoader 
)
static

◆ finishedLoadingMainResource()

void WebCore::ApplicationCacheGroup::finishedLoadingMainResource ( DocumentLoader &  loader)

◆ isObsolete()

bool WebCore::ApplicationCacheGroup::isObsolete ( ) const
inline

◆ makeObsolete()

void WebCore::ApplicationCacheGroup::makeObsolete ( )

◆ manifestURL()

const URL& WebCore::ApplicationCacheGroup::manifestURL ( ) const
inline

◆ newestCache()

ApplicationCache* WebCore::ApplicationCacheGroup::newestCache ( ) const
inline

◆ origin()

const SecurityOrigin& WebCore::ApplicationCacheGroup::origin ( ) const
inline

◆ selectCache()

void WebCore::ApplicationCacheGroup::selectCache ( Frame &  frame,
const URL &  manifestURL 
)
static

◆ selectCacheWithoutManifestURL()

void WebCore::ApplicationCacheGroup::selectCacheWithoutManifestURL ( Frame &  frame)
static

◆ setNewestCache()

void WebCore::ApplicationCacheGroup::setNewestCache ( Ref< ApplicationCache > &&  newestCache)

◆ setStorageID()

void WebCore::ApplicationCacheGroup::setStorageID ( unsigned  storageID)
inline

◆ setUpdateStatus()

void WebCore::ApplicationCacheGroup::setUpdateStatus ( UpdateStatus  status)

◆ stopLoadingInFrame()

void WebCore::ApplicationCacheGroup::stopLoadingInFrame ( Frame &  frame)

◆ storage()

ApplicationCacheStorage& WebCore::ApplicationCacheGroup::storage ( )
inline

◆ storageID()

unsigned WebCore::ApplicationCacheGroup::storageID ( ) const
inline

◆ update()

void WebCore::ApplicationCacheGroup::update ( Frame &  frame,
ApplicationCacheUpdateOption  updateOption 
)

◆ updateStatus()

UpdateStatus WebCore::ApplicationCacheGroup::updateStatus ( ) const
inline

Friends And Related Function Documentation

◆ ChromeClientCallbackTimer


The documentation for this class was generated from the following files: