#include "third_party/blink/renderer/core/loader/text_track_loader.h"
#include "services/network/public/mojom/fetch_api.mojom-blink.h"
#include "third_party/blink/public/platform/task_type.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/core/inspector/console_message.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/loader/fetch/fetch_initiator_type_names.h"
#include "third_party/blink/renderer/platform/loader/fetch/fetch_parameters.h"
#include "third_party/blink/renderer/platform/loader/fetch/raw_resource.h"
#include "third_party/blink/renderer/platform/loader/fetch/resource_fetcher.h"
#include "third_party/blink/renderer/platform/loader/fetch/resource_loader_options.h"
#include "third_party/blink/renderer/platform/weborigin/security_origin.h"
#include "third_party/blink/renderer/platform/wtf/shared_buffer.h"
namespace blink {
TextTrackLoader::TextTrackLoader(TextTrackLoaderClient& client,
Document& document)
: … { … }
TextTrackLoader::~TextTrackLoader() = default;
void TextTrackLoader::CueLoadTimerFired(TimerBase* timer) { … }
void TextTrackLoader::Detach() { … }
void TextTrackLoader::CancelLoad() { … }
void TextTrackLoader::DataReceived(Resource* resource,
base::span<const char> data) { … }
void TextTrackLoader::NotifyFinished(Resource* resource) { … }
bool TextTrackLoader::Load(const KURL& url,
CrossOriginAttributeValue cross_origin) { … }
void TextTrackLoader::NewCuesParsed() { … }
void TextTrackLoader::FileFailedToParse() { … }
void TextTrackLoader::GetNewCues(
HeapVector<Member<TextTrackCue>>& output_cues) { … }
void TextTrackLoader::GetNewStyleSheets(
HeapVector<Member<CSSStyleSheet>>& output_sheets) { … }
void TextTrackLoader::Trace(Visitor* visitor) const { … }
}