chromium/third_party/blink/renderer/core/fileapi/file_reader_client.cc

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/core/fileapi/file_reader_client.h"

#include "third_party/blink/renderer/core/fileapi/file_read_type.h"
#include "third_party/blink/renderer/core/fileapi/file_reader_loader.h"
#include "third_party/blink/renderer/core/html/parser/text_resource_decoder.h"
#include "third_party/blink/renderer/platform/wtf/text/base64.h"
#include "third_party/blink/renderer/platform/wtf/text/string_builder.h"

namespace blink {

FileErrorCode FileReaderAccumulator::DidStartLoading(uint64_t total_bytes) {}

FileErrorCode FileReaderAccumulator::DidReceiveData(
    base::span<const uint8_t> data) {}

void FileReaderAccumulator::DidFinishLoading() {}

void FileReaderAccumulator::DidFail(FileErrorCode) {}

std::pair<FileErrorCode, FileReaderData> SyncedFileReaderAccumulator::Load(
    scoped_refptr<BlobDataHandle> handle,
    scoped_refptr<base::SingleThreadTaskRunner> task_runner) {}

void SyncedFileReaderAccumulator::DidFail(FileErrorCode error_code) {}
void SyncedFileReaderAccumulator::DidFinishLoading(FileReaderData obj) {}

}  // namespace blink