chromium/third_party/blink/renderer/core/fileapi/file_backed_blob_factory_dispatcher.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_backed_blob_factory_dispatcher.h"

#include "mojo/public/cpp/bindings/pending_associated_receiver.h"
#include "third_party/blink/public/common/features.h"
#include "third_party/blink/public/mojom/blob/file_backed_blob_factory.mojom-blink.h"
#include "third_party/blink/public/platform/task_type.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/frame/local_frame.h"
#include "third_party/blink/renderer/platform/wtf/casting.h"

namespace blink {
namespace {

mojom::blink::FileBackedBlobFactory* GetFileBackedBlobFactory(
    HeapMojoRemote<mojom::blink::FileBackedBlobFactory>& remote,
    ExecutionContext* execution_context) {}

mojom::blink::FileBackedBlobFactory* GetFileBackedBlobFactory(
    HeapMojoAssociatedRemote<mojom::blink::FileBackedBlobFactory>& remote,
    ExecutionContext* execution_context,
    LocalFrame* frame) {}

}  // namespace

FileBackedBlobFactoryDispatcher::FileBackedBlobFactoryDispatcher(
    ExecutionContext& context)
    :{}

// static
mojom::blink::FileBackedBlobFactory*
FileBackedBlobFactoryDispatcher::GetFileBackedBlobFactory(
    ExecutionContext* context) {}

void FileBackedBlobFactoryDispatcher::SetFileBackedBlobFactoryForTesting(
    mojo::PendingAssociatedRemote<mojom::blink::FileBackedBlobFactory>
        factory) {}

void FileBackedBlobFactoryDispatcher::FlushForTesting() {}

void FileBackedBlobFactoryDispatcher::Trace(Visitor* visitor) const {}

// static
FileBackedBlobFactoryDispatcher* FileBackedBlobFactoryDispatcher::From(
    ExecutionContext& context) {}

mojom::blink::FileBackedBlobFactory*
FileBackedBlobFactoryDispatcher::GetFileBackedBlobFactory() {}

// static
const char FileBackedBlobFactoryDispatcher::kSupplementName[] =;

}  // namespace blink