#pragma once
#if ENABLE(ENCRYPTED_MEDIA)
#include <wtf/text/WTFString.h>
namespace WebCore {
struct CDMKeySystemConfiguration;
struct CDMMediaCapability;
struct CDMRestrictions;
enum class CDMEncryptionScheme : uint8_t;
enum class CDMKeyStatus : uint8_t;
enum class CDMMessageType : uint8_t;
enum class CDMRequirement : uint8_t;
enum class CDMSessionType : uint8_t;
}
namespace WTF {
template<typename>
struct LogArgument;
template <>
struct LogArgument<WebCore::CDMKeySystemConfiguration> {
static String toString(const WebCore::CDMKeySystemConfiguration&);
};
template <>
struct LogArgument<WebCore::CDMMediaCapability> {
static String toString(const WebCore::CDMMediaCapability&);
};
template <>
struct LogArgument<WebCore::CDMRestrictions> {
static String toString(const WebCore::CDMRestrictions&);
};
template <>
struct LogArgument<WebCore::CDMEncryptionScheme> {
static String toString(const WebCore::CDMEncryptionScheme&);
};
template <>
struct LogArgument<WebCore::CDMKeyStatus> {
static String toString(const WebCore::CDMKeyStatus&);
};
template <>
struct LogArgument<WebCore::CDMMessageType> {
static String toString(const WebCore::CDMMessageType&);
};
template <>
struct LogArgument<WebCore::CDMRequirement> {
static String toString(const WebCore::CDMRequirement&);
};
template <>
struct LogArgument<WebCore::CDMSessionType> {
static String toString(const WebCore::CDMSessionType&);
};
}
#endif // ENABLE(ENCRYPTED_MEDIA)