#include "media/gpu/chromeos/mailbox_frame_registry.h"
#include "gpu/command_buffer/common/mailbox.h"
#include "media/base/video_frame.h"
#include "media/gpu/chromeos/video_frame_resource.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace media {
namespace {
scoped_refptr<FrameResource> GenerateFrame(base::TimeDelta timestamp) { … }
}
class MailboxFrameRegistryTest : public ::testing::Test { … };
TEST_F(MailboxFrameRegistryTest, RegisterAccessUnregister) { … }
TEST_F(MailboxFrameRegistryTest, CheckRegistryLifecycle) { … }
TEST_F(MailboxFrameRegistryTest, InvalidFrameAccess) { … }
}