#include "third_party/blink/renderer/platform/scheduler/common/back_forward_cache_disabling_feature_tracker.h"
#include "third_party/blink/renderer/platform/scheduler/common/thread_scheduler_base.h"
namespace blink {
namespace scheduler {
BackForwardCacheDisablingFeatureTracker::
BackForwardCacheDisablingFeatureTracker(
TraceableVariableController* tracing_controller,
ThreadSchedulerBase* scheduler)
: … { … }
void BackForwardCacheDisablingFeatureTracker::SetDelegate(
FrameOrWorkerScheduler::Delegate* delegate) { … }
void BackForwardCacheDisablingFeatureTracker::Reset() { … }
void BackForwardCacheDisablingFeatureTracker::AddFeatureInternal(
SchedulingPolicy::Feature feature) { … }
void BackForwardCacheDisablingFeatureTracker::AddNonStickyFeature(
SchedulingPolicy::Feature feature,
std::unique_ptr<SourceLocation> source_location,
FrameOrWorkerScheduler::SchedulingAffectingFeatureHandle* handle) { … }
void BackForwardCacheDisablingFeatureTracker::AddStickyFeature(
SchedulingPolicy::Feature feature,
std::unique_ptr<SourceLocation> source_location) { … }
void BackForwardCacheDisablingFeatureTracker::Remove(
FeatureAndJSLocationBlockingBFCache feature_and_js_location) { … }
WTF::HashSet<SchedulingPolicy::Feature>
BackForwardCacheDisablingFeatureTracker::
GetActiveFeaturesTrackedForBackForwardCacheMetrics() { … }
BFCacheBlockingFeatureAndLocations& BackForwardCacheDisablingFeatureTracker::
GetActiveNonStickyFeaturesTrackedForBackForwardCache() { … }
const BFCacheBlockingFeatureAndLocations&
BackForwardCacheDisablingFeatureTracker::
GetActiveStickyFeaturesTrackedForBackForwardCache() const { … }
void BackForwardCacheDisablingFeatureTracker::
NotifyDelegateAboutFeaturesAfterCurrentTask(
TracingType tracing_type,
SchedulingPolicy::Feature traced_feature) { … }
void BackForwardCacheDisablingFeatureTracker::ReportFeaturesToDelegate() { … }
}
}