#ifndef THIRD_PARTY_BLINK_RENDERER_MODULES_WEBCODECS_DECRYPT_CONFIG_UTIL_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_WEBCODECS_DECRYPT_CONFIG_UTIL_H_
#include <optional>
#include "media/base/encryption_scheme.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_decrypt_config.h"
#include "third_party/blink/renderer/modules/modules_export.h"
namespace media {
class DecryptConfig;
}
namespace blink {
MODULES_EXPORT std::unique_ptr<media::DecryptConfig> CreateMediaDecryptConfig(
const DecryptConfig& js_config);
MODULES_EXPORT std::optional<media::EncryptionScheme> ToMediaEncryptionScheme(
const String& scheme);
}
#endif