#include "media/mojo/services/mojo_cdm_helper.h"
#include "base/functional/bind.h"
#include "base/run_loop.h"
#include "base/test/task_environment.h"
#include "build/build_config.h"
#include "media/cdm/api/content_decryption_module.h"
#include "media/mojo/mojom/cdm_storage.mojom.h"
#include "mojo/public/cpp/bindings/associated_receiver.h"
#include "mojo/public/cpp/bindings/pending_receiver.h"
#include "mojo/public/cpp/bindings/self_owned_receiver.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/origin.h"
Status;
namespace media {
namespace {
class MockFileIOClient : public cdm::FileIOClient { … };
class TestCdmFile : public mojom::CdmFile { … };
class MockCdmStorage : public mojom::CdmStorage { … };
class TestFrameInterfaceFactory : public mojom::FrameInterfaceFactory { … };
}
class MojoCdmHelperTest : public testing::Test { … };
TEST_F(MojoCdmHelperTest, CreateCdmFileIO_OpenClose) { … }
TEST_F(MojoCdmHelperTest, CreateCdmFileIO_OpenWithoutClose) { … }
}