#include "third_party/blink/renderer/core/loader/frame_resource_fetcher_properties.h"
#include "base/metrics/field_trial_params.h"
#include "third_party/blink/public/platform/modules/service_worker/web_service_worker_network_provider.h"
#include "third_party/blink/public/platform/web_effective_connection_type.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/frame/settings.h"
#include "third_party/blink/renderer/core/loader/document_loader.h"
#include "third_party/blink/renderer/core/page/page.h"
#include "third_party/blink/renderer/core/script/fetch_client_settings_object_impl.h"
#include "third_party/blink/renderer/platform/loader/fetch/fetch_client_settings_object.h"
#include "third_party/blink/renderer/platform/loader/fetch/fetch_client_settings_object_snapshot.h"
#include "third_party/blink/renderer/platform/network/network_state_notifier.h"
namespace blink {
namespace {
BASE_FEATURE(…);
constexpr base::FeatureParam<int> kOutstandingLimitForBackgroundMainFrame{ … };
constexpr base::FeatureParam<int> kOutstandingLimitForBackgroundSubFrame{ … };
}
FrameResourceFetcherProperties::FrameResourceFetcherProperties(
DocumentLoader& document_loader,
Document& document)
: … { … }
void FrameResourceFetcherProperties::Trace(Visitor* visitor) const { … }
bool FrameResourceFetcherProperties::IsOutermostMainFrame() const { … }
mojom::ControllerServiceWorkerMode
FrameResourceFetcherProperties::GetControllerServiceWorkerMode() const { … }
int64_t FrameResourceFetcherProperties::ServiceWorkerId() const { … }
bool FrameResourceFetcherProperties::IsPaused() const { … }
LoaderFreezeMode FrameResourceFetcherProperties::FreezeMode() const { … }
bool FrameResourceFetcherProperties::IsLoadComplete() const { … }
bool FrameResourceFetcherProperties::ShouldBlockLoadingSubResource() const { … }
bool FrameResourceFetcherProperties::IsSubframeDeprioritizationEnabled() const { … }
scheduler::FrameStatus FrameResourceFetcherProperties::GetFrameStatus() const { … }
int FrameResourceFetcherProperties::GetOutstandingThrottledLimit() const { … }
}