// 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. #ifndef MEDIA_GPU_VAAPI_TEST_FAKE_LIBVA_DRIVER_CONTEXT_DELEGATE_H_ #define MEDIA_GPU_VAAPI_TEST_FAKE_LIBVA_DRIVER_CONTEXT_DELEGATE_H_ #include "base/memory/raw_ptr.h" namespace media::internal { class FakeBuffer; class FakeSurface; // A ContextDelegate implements the details of a specific task (e.g., software // decoding). A FakeContext can delegate work to a ContextDelegate through a // task-agnostic API. // // Users of a ContextDelegate instance must not assume any of its methods are // thread-safe. class ContextDelegate { … }; } // namespace media::internal #endif // MEDIA_GPU_VAAPI_TEST_FAKE_LIBVA_DRIVER_CONTEXT_DELEGATE_H_