chromium/third_party/blink/renderer/modules/webcodecs/gpu_factories_retriever.cc

// Copyright 2021 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/modules/webcodecs/gpu_factories_retriever.h"

#include "media/video/gpu_video_accelerator_factories.h"
#include "third_party/blink/public/platform/platform.h"
#include "third_party/blink/renderer/platform/scheduler/public/main_thread.h"
#include "third_party/blink/renderer/platform/wtf/cross_thread_functional.h"
#include "third_party/blink/renderer/platform/wtf/functional.h"
#include "third_party/blink/renderer/platform/wtf/wtf.h"

namespace blink {

// Define a function that is allowed to access MainThreadTaskRunnerRestricted.
MainThreadTaskRunnerRestricted AccessMainThreadForGpuFactories() {}

namespace {

media::GpuVideoAcceleratorFactories* GetGpuFactoriesOnMainThread() {}

void RetrieveGpuFactories(OutputCB result_callback) {}

void OnSupportKnown(OutputCB result_cb,
                    media::GpuVideoAcceleratorFactories* factories) {}

}  // namespace

void RetrieveGpuFactoriesWithKnownEncoderSupport(OutputCB callback) {}

void RetrieveGpuFactoriesWithKnownDecoderSupport(OutputCB callback) {}

}  // namespace blink