#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include <stdint.h>
#include <memory>
#include <utility>
#include "base/functional/bind.h"
#include "base/run_loop.h"
#include "base/test/test_message_loop.h"
#include "media/base/decryptor.h"
#include "media/base/mock_filters.h"
#include "media/base/test_helpers.h"
#include "media/base/timestamp_constants.h"
#include "media/base/video_frame.h"
#include "media/mojo/clients/mojo_decryptor.h"
#include "media/mojo/mojom/decryptor.mojom.h"
#include "media/mojo/services/mojo_decryptor_service.h"
#include "mojo/public/cpp/bindings/receiver.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
Invoke;
InSequence;
IsNull;
NotNull;
SaveArg;
StrictMock;
_;
namespace media {
class MojoDecryptorTest : public ::testing::Test { … };
TEST_F(MojoDecryptorTest, Reset_DuringDecryptAndDecode_Audio) { … }
TEST_F(MojoDecryptorTest, Reset_DuringDecryptAndDecode_Audio_ChunkedWrite) { … }
TEST_F(MojoDecryptorTest, Reset_DuringDecryptAndDecode_Video) { … }
TEST_F(MojoDecryptorTest, Reset_DuringDecryptAndDecode_Video_ChunkedWrite) { … }
TEST_F(MojoDecryptorTest, Reset_DuringDecryptAndDecode_AudioAndVideo) { … }
TEST_F(MojoDecryptorTest, VideoDecodeFreesBuffer) { … }
TEST_F(MojoDecryptorTest, VideoDecodeFreesMultipleBuffers) { … }
TEST_F(MojoDecryptorTest, VideoDecodeHoldThenFreeBuffers) { … }
TEST_F(MojoDecryptorTest, EOSBuffer) { … }
TEST_F(MojoDecryptorTest, DestroyClient) { … }
TEST_F(MojoDecryptorTest, DestroyService) { … }
}