#include "third_party/blink/renderer/modules/background_fetch/background_fetch_record.h"
#include "third_party/blink/renderer/core/fetch/request.h"
#include "third_party/blink/renderer/core/fetch/response.h"
#include "third_party/blink/renderer/platform/bindings/script_state.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
namespace blink {
BackgroundFetchRecord::BackgroundFetchRecord(Request* request,
ScriptState* script_state)
: … { … }
BackgroundFetchRecord::~BackgroundFetchRecord() = default;
void BackgroundFetchRecord::ResolveResponseReadyProperty(Response* response) { … }
ScriptPromise<Response> BackgroundFetchRecord::responseReady(
ScriptState* script_state) { … }
Request* BackgroundFetchRecord::request() const { … }
void BackgroundFetchRecord::UpdateState(
BackgroundFetchRecord::State updated_state) { … }
void BackgroundFetchRecord::SetResponseAndUpdateState(
mojom::blink::FetchAPIResponsePtr& response) { … }
bool BackgroundFetchRecord::IsRecordPending() { … }
void BackgroundFetchRecord::OnRequestCompleted(
mojom::blink::FetchAPIResponsePtr response) { … }
const KURL& BackgroundFetchRecord::ObservedUrl() const { … }
void BackgroundFetchRecord::Trace(Visitor* visitor) const { … }
}