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

#include <ResourceLoadStatisticsStore.h>

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

Public Member Functions

WEBCORE_EXPORT std::unique_ptr< KeyedEncodercreateEncoderFromData ()
 
WEBCORE_EXPORT void readDataFromDecoder (KeyedDecoder &)
 
WEBCORE_EXPORT String statisticsForOrigin (const String &)
 
bool isEmpty () const
 
size_t size () const
 
void clear ()
 
ResourceLoadStatisticsensureResourceStatisticsForPrimaryDomain (const String &)
 
void setResourceStatisticsForPrimaryDomain (const String &, ResourceLoadStatistics &&)
 
bool isPrevalentResource (const String &) const
 
WEBCORE_EXPORT void mergeStatistics (const Vector< ResourceLoadStatistics > &)
 
WEBCORE_EXPORT Vector< ResourceLoadStatisticstakeStatistics ()
 
WEBCORE_EXPORT void setNotificationCallback (std::function< void()> handler)
 
void fireDataModificationHandler ()
 
void setTimeToLiveUserInteraction (double seconds)
 
WEBCORE_EXPORT void processStatistics (std::function< void(ResourceLoadStatistics &)> &&)
 
WEBCORE_EXPORT bool hasHadRecentUserInteraction (ResourceLoadStatistics &)
 
WEBCORE_EXPORT Vector< StringprevalentResourceDomainsWithoutUserInteraction ()
 
WEBCORE_EXPORT void updateStatisticsForRemovedDataRecords (const Vector< String > &prevalentResourceDomains)
 
WEBCORE_EXPORT std::unique_ptr< KeyedEncodercreateEncoderFromData ()
 
WEBCORE_EXPORT void readDataFromDecoder (KeyedDecoder &)
 
WEBCORE_EXPORT String statisticsForOrigin (const String &)
 
bool isEmpty () const
 
size_t size () const
 
void clear ()
 
ResourceLoadStatisticsensureResourceStatisticsForPrimaryDomain (const String &)
 
void setResourceStatisticsForPrimaryDomain (const String &, ResourceLoadStatistics &&)
 
bool isPrevalentResource (const String &) const
 
WEBCORE_EXPORT void mergeStatistics (const Vector< ResourceLoadStatistics > &)
 
WEBCORE_EXPORT Vector< ResourceLoadStatisticstakeStatistics ()
 
WEBCORE_EXPORT void setNotificationCallback (std::function< void()> handler)
 
void fireDataModificationHandler ()
 
void setTimeToLiveUserInteraction (double seconds)
 
WEBCORE_EXPORT void processStatistics (std::function< void(ResourceLoadStatistics &)> &&)
 
WEBCORE_EXPORT bool hasHadRecentUserInteraction (ResourceLoadStatistics &)
 
WEBCORE_EXPORT Vector< StringprevalentResourceDomainsWithoutUserInteraction ()
 
WEBCORE_EXPORT void updateStatisticsForRemovedDataRecords (const Vector< String > &prevalentResourceDomains)
 
- Public Member Functions inherited from WTF::RefCounted< ResourceLoadStatisticsStore >
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 WEBCORE_EXPORT Ref< ResourceLoadStatisticsStorecreate ()
 
static WEBCORE_EXPORT Ref< ResourceLoadStatisticsStorecreate ()
 

Additional Inherited Members

- Protected Member Functions inherited from WTF::RefCounted< ResourceLoadStatisticsStore >
 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 Function Documentation

◆ clear() [1/2]

void WebCore::ResourceLoadStatisticsStore::clear ( )
inline

◆ clear() [2/2]

void WebCore::ResourceLoadStatisticsStore::clear ( )
inline

◆ create() [1/2]

static WEBCORE_EXPORT Ref<ResourceLoadStatisticsStore> WebCore::ResourceLoadStatisticsStore::create ( )
static

◆ create() [2/2]

Ref< ResourceLoadStatisticsStore > WebCore::ResourceLoadStatisticsStore::create ( )
static

◆ createEncoderFromData() [1/2]

std::unique_ptr< KeyedEncoder > WebCore::ResourceLoadStatisticsStore::createEncoderFromData ( )

◆ createEncoderFromData() [2/2]

WEBCORE_EXPORT std::unique_ptr<KeyedEncoder> WebCore::ResourceLoadStatisticsStore::createEncoderFromData ( )

◆ ensureResourceStatisticsForPrimaryDomain() [1/2]

ResourceLoadStatistics & WebCore::ResourceLoadStatisticsStore::ensureResourceStatisticsForPrimaryDomain ( const String primaryDomain)

◆ ensureResourceStatisticsForPrimaryDomain() [2/2]

ResourceLoadStatistics& WebCore::ResourceLoadStatisticsStore::ensureResourceStatisticsForPrimaryDomain ( const String )

◆ fireDataModificationHandler() [1/2]

void WebCore::ResourceLoadStatisticsStore::fireDataModificationHandler ( )

◆ fireDataModificationHandler() [2/2]

void WebCore::ResourceLoadStatisticsStore::fireDataModificationHandler ( )

◆ hasHadRecentUserInteraction() [1/2]

bool WebCore::ResourceLoadStatisticsStore::hasHadRecentUserInteraction ( ResourceLoadStatistics resourceStatistic)

◆ hasHadRecentUserInteraction() [2/2]

WEBCORE_EXPORT bool WebCore::ResourceLoadStatisticsStore::hasHadRecentUserInteraction ( ResourceLoadStatistics )

◆ isEmpty() [1/2]

bool WebCore::ResourceLoadStatisticsStore::isEmpty ( void  ) const
inline

◆ isEmpty() [2/2]

bool WebCore::ResourceLoadStatisticsStore::isEmpty ( void  ) const
inline

◆ isPrevalentResource() [1/2]

bool WebCore::ResourceLoadStatisticsStore::isPrevalentResource ( const String primaryDomain) const

◆ isPrevalentResource() [2/2]

bool WebCore::ResourceLoadStatisticsStore::isPrevalentResource ( const String ) const

◆ mergeStatistics() [1/2]

void WebCore::ResourceLoadStatisticsStore::mergeStatistics ( const Vector< ResourceLoadStatistics > &  statistics)

◆ mergeStatistics() [2/2]

WEBCORE_EXPORT void WebCore::ResourceLoadStatisticsStore::mergeStatistics ( const Vector< ResourceLoadStatistics > &  )

◆ prevalentResourceDomainsWithoutUserInteraction() [1/2]

Vector< String > WebCore::ResourceLoadStatisticsStore::prevalentResourceDomainsWithoutUserInteraction ( )

◆ prevalentResourceDomainsWithoutUserInteraction() [2/2]

WEBCORE_EXPORT Vector<String> WebCore::ResourceLoadStatisticsStore::prevalentResourceDomainsWithoutUserInteraction ( )

◆ processStatistics() [1/2]

void WebCore::ResourceLoadStatisticsStore::processStatistics ( std::function< void(ResourceLoadStatistics &)> &&  processFunction)

◆ processStatistics() [2/2]

WEBCORE_EXPORT void WebCore::ResourceLoadStatisticsStore::processStatistics ( std::function< void(ResourceLoadStatistics &)> &&  )

◆ readDataFromDecoder() [1/2]

WEBCORE_EXPORT void WebCore::ResourceLoadStatisticsStore::readDataFromDecoder ( KeyedDecoder )

◆ readDataFromDecoder() [2/2]

void WebCore::ResourceLoadStatisticsStore::readDataFromDecoder ( KeyedDecoder decoder)

◆ setNotificationCallback() [1/2]

WEBCORE_EXPORT void WebCore::ResourceLoadStatisticsStore::setNotificationCallback ( std::function< void()>  handler)

◆ setNotificationCallback() [2/2]

void WebCore::ResourceLoadStatisticsStore::setNotificationCallback ( std::function< void()>  handler)

◆ setResourceStatisticsForPrimaryDomain() [1/2]

void WebCore::ResourceLoadStatisticsStore::setResourceStatisticsForPrimaryDomain ( const String ,
ResourceLoadStatistics &&   
)

◆ setResourceStatisticsForPrimaryDomain() [2/2]

void WebCore::ResourceLoadStatisticsStore::setResourceStatisticsForPrimaryDomain ( const String primaryDomain,
ResourceLoadStatistics &&  statistics 
)

◆ setTimeToLiveUserInteraction() [1/2]

void WebCore::ResourceLoadStatisticsStore::setTimeToLiveUserInteraction ( double  seconds)

◆ setTimeToLiveUserInteraction() [2/2]

void WebCore::ResourceLoadStatisticsStore::setTimeToLiveUserInteraction ( double  seconds)

◆ size() [1/2]

size_t WebCore::ResourceLoadStatisticsStore::size ( ) const
inline

◆ size() [2/2]

size_t WebCore::ResourceLoadStatisticsStore::size ( ) const
inline

◆ statisticsForOrigin() [1/2]

String WebCore::ResourceLoadStatisticsStore::statisticsForOrigin ( const String origin)

◆ statisticsForOrigin() [2/2]

WEBCORE_EXPORT String WebCore::ResourceLoadStatisticsStore::statisticsForOrigin ( const String )

◆ takeStatistics() [1/2]

WEBCORE_EXPORT Vector<ResourceLoadStatistics> WebCore::ResourceLoadStatisticsStore::takeStatistics ( )

◆ takeStatistics() [2/2]

Vector< ResourceLoadStatistics > WebCore::ResourceLoadStatisticsStore::takeStatistics ( )

◆ updateStatisticsForRemovedDataRecords() [1/2]

WEBCORE_EXPORT void WebCore::ResourceLoadStatisticsStore::updateStatisticsForRemovedDataRecords ( const Vector< String > &  prevalentResourceDomains)

◆ updateStatisticsForRemovedDataRecords() [2/2]

void WebCore::ResourceLoadStatisticsStore::updateStatisticsForRemovedDataRecords ( const Vector< String > &  prevalentResourceDomains)

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