#include "third_party/blink/renderer/core/loader/pending_link_preload.h"
#include "base/task/single_thread_task_runner.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/loader/link_loader.h"
#include "third_party/blink/renderer/core/loader/preload_helper.h"
#include "third_party/blink/renderer/core/loader/render_blocking_resource_manager.h"
#include "third_party/blink/renderer/core/timing/render_blocking_metrics_reporter.h"
#include "third_party/blink/renderer/platform/heap/prefinalizer.h"
#include "third_party/blink/renderer/platform/loader/fetch/resource_finish_observer.h"
namespace blink {
class PendingLinkPreload::FinishObserver final : public ResourceFinishObserver { … };
PendingLinkPreload::PendingLinkPreload(Document& document, LinkLoader* loader)
: … { … }
PendingLinkPreload::~PendingLinkPreload() = default;
void PendingLinkPreload::AddResource(Resource* resource) { … }
void PendingLinkPreload::NotifyModuleLoadFinished(ModuleScript* module) { … }
void PendingLinkPreload::NotifyFinished() { … }
void PendingLinkPreload::UnblockRendering() { … }
scoped_refptr<base::SingleThreadTaskRunner>
PendingLinkPreload::GetLoadingTaskRunner() { … }
void PendingLinkPreload::Dispose() { … }
Resource* PendingLinkPreload::GetResourceForTesting() const { … }
void PendingLinkPreload::Trace(Visitor* visitor) const { … }
}