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

#include <ApplicationCache.h>

Inheritance diagram for WebCore::ApplicationCache:
WTF::RefCounted< ApplicationCache > WTF::RefCounted< ApplicationCache > WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase

Public Types

using ResourceMap = HashMap< String, RefPtr< ApplicationCacheResource > >
 
using ResourceMap = HashMap< String, RefPtr< ApplicationCacheResource > >
 

Public Member Functions

 ~ApplicationCache ()
 
void addResource (Ref< ApplicationCacheResource > &&)
 
void setManifestResource (Ref< ApplicationCacheResource > &&)
 
ApplicationCacheResourcemanifestResource () const
 
void setGroup (ApplicationCacheGroup *)
 
ApplicationCacheGroupgroup () const
 
bool isComplete ()
 
ApplicationCacheResourceresourceForRequest (const ResourceRequest &)
 
ApplicationCacheResourceresourceForURL (const String &url)
 
void setAllowsAllNetworkRequests (bool value)
 
bool allowsAllNetworkRequests () const
 
void setOnlineWhitelist (const Vector< URL > &onlineWhitelist)
 
const Vector< URL > & onlineWhitelist () const
 
bool isURLInOnlineWhitelist (const URL &)
 
void setFallbackURLs (const FallbackURLVector &)
 
const FallbackURLVectorfallbackURLs () const
 
bool urlMatchesFallbackNamespace (const URL &, URL *fallbackURL=nullptr)
 
void dump ()
 
const ResourceMapresources () const
 
void setStorageID (unsigned storageID)
 
unsigned storageID () const
 
void clearStorageID ()
 
int64_t estimatedSizeInStorage () const
 
 ~ApplicationCache ()
 
void addResource (Ref< ApplicationCacheResource > &&)
 
void setManifestResource (Ref< ApplicationCacheResource > &&)
 
ApplicationCacheResourcemanifestResource () const
 
void setGroup (ApplicationCacheGroup *)
 
ApplicationCacheGroupgroup () const
 
bool isComplete ()
 
ApplicationCacheResourceresourceForRequest (const ResourceRequest &)
 
ApplicationCacheResourceresourceForURL (const String &url)
 
void setAllowsAllNetworkRequests (bool value)
 
bool allowsAllNetworkRequests () const
 
void setOnlineWhitelist (const Vector< URL > &onlineWhitelist)
 
const Vector< URL > & onlineWhitelist () const
 
bool isURLInOnlineWhitelist (const URL &)
 
void setFallbackURLs (const FallbackURLVector &)
 
const FallbackURLVectorfallbackURLs () const
 
bool urlMatchesFallbackNamespace (const URL &, URL *fallbackURL=nullptr)
 
void dump ()
 
const ResourceMapresources () const
 
void setStorageID (unsigned storageID)
 
unsigned storageID () const
 
void clearStorageID ()
 
int64_t estimatedSizeInStorage () const
 
- Public Member Functions inherited from WTF::RefCounted< ApplicationCache >
void deref () const
 
void deref () const
 
void deref () const
 
- Public Member Functions inherited from WTF::RefCountedBase
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 

Static Public Member Functions

static Ref< ApplicationCachecreate ()
 
static bool requestIsHTTPOrHTTPSGet (const ResourceRequest &)
 
static Ref< ApplicationCachecreate ()
 
static bool requestIsHTTPOrHTTPSGet (const ResourceRequest &)
 

Additional Inherited Members

- Protected Member Functions inherited from WTF::RefCounted< ApplicationCache >
 RefCounted ()
 
 RefCounted ()
 
 RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
- Protected Member Functions inherited from WTF::RefCountedBase
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 

Member Typedef Documentation

◆ ResourceMap [1/2]

◆ ResourceMap [2/2]

Constructor & Destructor Documentation

◆ ~ApplicationCache() [1/2]

WebCore::ApplicationCache::~ApplicationCache ( )

◆ ~ApplicationCache() [2/2]

WebCore::ApplicationCache::~ApplicationCache ( )

Member Function Documentation

◆ addResource() [1/2]

void WebCore::ApplicationCache::addResource ( Ref< ApplicationCacheResource > &&  resource)

◆ addResource() [2/2]

void WebCore::ApplicationCache::addResource ( Ref< ApplicationCacheResource > &&  )

◆ allowsAllNetworkRequests() [1/2]

bool WebCore::ApplicationCache::allowsAllNetworkRequests ( ) const
inline

◆ allowsAllNetworkRequests() [2/2]

bool WebCore::ApplicationCache::allowsAllNetworkRequests ( ) const
inline

◆ clearStorageID() [1/2]

void WebCore::ApplicationCache::clearStorageID ( )

◆ clearStorageID() [2/2]

void WebCore::ApplicationCache::clearStorageID ( )

◆ create() [1/2]

static Ref<ApplicationCache> WebCore::ApplicationCache::create ( )
inlinestatic

◆ create() [2/2]

static Ref<ApplicationCache> WebCore::ApplicationCache::create ( )
inlinestatic

◆ dump() [1/2]

void WebCore::ApplicationCache::dump ( )

◆ dump() [2/2]

void WebCore::ApplicationCache::dump ( )

◆ estimatedSizeInStorage() [1/2]

int64_t WebCore::ApplicationCache::estimatedSizeInStorage ( ) const
inline

◆ estimatedSizeInStorage() [2/2]

int64_t WebCore::ApplicationCache::estimatedSizeInStorage ( ) const
inline

◆ fallbackURLs() [1/2]

const FallbackURLVector& WebCore::ApplicationCache::fallbackURLs ( ) const
inline

◆ fallbackURLs() [2/2]

const FallbackURLVector& WebCore::ApplicationCache::fallbackURLs ( ) const
inline

◆ group() [1/2]

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

◆ group() [2/2]

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

◆ isComplete() [1/2]

bool WebCore::ApplicationCache::isComplete ( )

◆ isComplete() [2/2]

bool WebCore::ApplicationCache::isComplete ( )

◆ isURLInOnlineWhitelist() [1/2]

bool WebCore::ApplicationCache::isURLInOnlineWhitelist ( const URL )

◆ isURLInOnlineWhitelist() [2/2]

bool WebCore::ApplicationCache::isURLInOnlineWhitelist ( const URL url)

◆ manifestResource() [1/2]

ApplicationCacheResource* WebCore::ApplicationCache::manifestResource ( ) const
inline

◆ manifestResource() [2/2]

ApplicationCacheResource* WebCore::ApplicationCache::manifestResource ( ) const
inline

◆ onlineWhitelist() [1/2]

const Vector<URL>& WebCore::ApplicationCache::onlineWhitelist ( ) const
inline

◆ onlineWhitelist() [2/2]

const Vector<URL>& WebCore::ApplicationCache::onlineWhitelist ( ) const
inline

◆ requestIsHTTPOrHTTPSGet() [1/2]

static bool WebCore::ApplicationCache::requestIsHTTPOrHTTPSGet ( const ResourceRequest )
static

◆ requestIsHTTPOrHTTPSGet() [2/2]

bool WebCore::ApplicationCache::requestIsHTTPOrHTTPSGet ( const ResourceRequest request)
static

◆ resourceForRequest() [1/2]

ApplicationCacheResource * WebCore::ApplicationCache::resourceForRequest ( const ResourceRequest request)

◆ resourceForRequest() [2/2]

ApplicationCacheResource* WebCore::ApplicationCache::resourceForRequest ( const ResourceRequest )

◆ resourceForURL() [1/2]

ApplicationCacheResource * WebCore::ApplicationCache::resourceForURL ( const String url)

◆ resourceForURL() [2/2]

ApplicationCacheResource* WebCore::ApplicationCache::resourceForURL ( const String url)

◆ resources() [1/2]

const ResourceMap& WebCore::ApplicationCache::resources ( ) const
inline

◆ resources() [2/2]

const ResourceMap& WebCore::ApplicationCache::resources ( ) const
inline

◆ setAllowsAllNetworkRequests() [1/2]

void WebCore::ApplicationCache::setAllowsAllNetworkRequests ( bool  value)
inline

◆ setAllowsAllNetworkRequests() [2/2]

void WebCore::ApplicationCache::setAllowsAllNetworkRequests ( bool  value)
inline

◆ setFallbackURLs() [1/2]

void WebCore::ApplicationCache::setFallbackURLs ( const FallbackURLVector )

◆ setFallbackURLs() [2/2]

void WebCore::ApplicationCache::setFallbackURLs ( const FallbackURLVector fallbackURLs)

◆ setGroup() [1/2]

void WebCore::ApplicationCache::setGroup ( ApplicationCacheGroup )

◆ setGroup() [2/2]

void WebCore::ApplicationCache::setGroup ( ApplicationCacheGroup group)

◆ setManifestResource() [1/2]

void WebCore::ApplicationCache::setManifestResource ( Ref< ApplicationCacheResource > &&  )

◆ setManifestResource() [2/2]

void WebCore::ApplicationCache::setManifestResource ( Ref< ApplicationCacheResource > &&  manifest)

◆ setOnlineWhitelist() [1/2]

void WebCore::ApplicationCache::setOnlineWhitelist ( const Vector< URL > &  onlineWhitelist)

◆ setOnlineWhitelist() [2/2]

void WebCore::ApplicationCache::setOnlineWhitelist ( const Vector< URL > &  onlineWhitelist)

◆ setStorageID() [1/2]

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

◆ setStorageID() [2/2]

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

◆ storageID() [1/2]

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

◆ storageID() [2/2]

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

◆ urlMatchesFallbackNamespace() [1/2]

bool WebCore::ApplicationCache::urlMatchesFallbackNamespace ( const URL ,
URL fallbackURL = nullptr 
)

◆ urlMatchesFallbackNamespace() [2/2]

bool WebCore::ApplicationCache::urlMatchesFallbackNamespace ( const URL url,
URL fallbackURL = nullptr 
)

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