// Copyright 2019 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_VIDEO_FAKE_GPU_MEMORY_BUFFER_H_ #define MEDIA_VIDEO_FAKE_GPU_MEMORY_BUFFER_H_ #include <memory> #include "gpu/ipc/common/gpu_memory_buffer_support.h" #include "media/base/video_types.h" #include "ui/gfx/gpu_memory_buffer.h" namespace media { // A fake implementation of gfx::GpuMemoryBuffer for testing purposes. class FakeGpuMemoryBuffer : public gfx::GpuMemoryBuffer { … }; class FakeGpuMemoryBufferSupport : public gpu::GpuMemoryBufferSupport { … }; } // namespace media #endif // MEDIA_VIDEO_FAKE_GPU_MEMORY_BUFFER_H_