Files
ce_cdm/cdm/test/perf_test.h
2025-04-02 10:27:18 -07:00

25 lines
742 B
C++

// Copyright 2021 Google LLC. All Rights Reserved. This file and proprietary
// source code may only be used and distributed under the Widevine License
// Agreement.
#ifndef WVCDM_CDM_TEST_PERF_TEST_H_
#define WVCDM_CDM_TEST_PERF_TEST_H_
#include <string>
#include "cdm.h"
namespace CDM_NAMESPACE {
using InitFuncType = Cdm::Status (*)(Cdm::SecureOutputType, Cdm::IStorage*,
Cdm::IClock*, Cdm::ITimer*, Cdm::ILogger*,
Cdm::LogLevel);
using CreateFuncType =
Cdm* (*)(Cdm::IEventListener*, Cdm::IStorage*, bool, bool);
int PerfTestMain(InitFuncType init_func, CreateFuncType create_func);
} // namespace CDM_NAMESPACE
#endif // WVCDM_CDM_TEST_PERF_TEST_H_