#ifndef THIRD_PARTY_BLINK_RENDERER_MODULES_SMART_CARD_SMART_CARD_UTIL_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_SMART_CARD_SMART_CARD_UTIL_H_
#include "services/device/public/mojom/smart_card.mojom-blink-forward.h"
#include "third_party/blink/renderer/platform/wtf/forward.h"
namespace blink {
class AbortSignal;
class ScriptPromiseResolverBase;
class V8SmartCardAccessMode;
class V8SmartCardProtocol;
device::mojom::blink::SmartCardShareMode ToMojoSmartCardShareMode(
V8SmartCardAccessMode access_mode);
device::mojom::blink::SmartCardProtocolsPtr ToMojoSmartCardProtocols(
const Vector<V8SmartCardProtocol>& preferred_protocols);
void RejectWithAbortionReason(ScriptPromiseResolverBase* resolver,
AbortSignal* signal);
}
#endif