25 lines
732 B
C++
25 lines
732 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 widevine {
|
|
|
|
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 widevine
|
|
|
|
#endif // WVCDM_CDM_TEST_PERF_TEST_H_
|