#include <stddef.h>
#include <stdint.h>
#include <cstring>
#include "base/memory/shared_memory_mapping.h"
#include "base/memory/unsafe_shared_memory_region.h"
#include "media/base/video_frame.h"
#include "media/cdm/api/content_decryption_module.h"
#include "media/cdm/cdm_helpers.h"
#include "media/mojo/services/mojo_cdm_allocator.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/geometry/size.h"
namespace media {
class MojoCdmAllocatorTest : public testing::Test { … };
TEST_F(MojoCdmAllocatorTest, CreateCdmBuffer) { … }
TEST_F(MojoCdmAllocatorTest, ReuseCdmBuffer) { … }
TEST_F(MojoCdmAllocatorTest, MaxFreeBuffers) { … }
TEST_F(MojoCdmAllocatorTest, CreateCdmVideoFrame) { … }
}