chromium/third_party/blink/renderer/modules/smart_card/smart_card_util.cc

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/modules/smart_card/smart_card_util.h"
#include "services/device/public/mojom/smart_card.mojom-blink.h"
#include "third_party/blink/renderer/bindings/core/v8/script_promise_resolver.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_smart_card_access_mode.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_smart_card_protocol.h"
#include "third_party/blink/renderer/core/dom/abort_signal.h"

namespace blink {

device::mojom::blink::SmartCardShareMode ToMojoSmartCardShareMode(
    V8SmartCardAccessMode access_mode) {}

device::mojom::blink::SmartCardProtocolsPtr ToMojoSmartCardProtocols(
    const Vector<V8SmartCardProtocol>& preferred_protocols) {}

void RejectWithAbortionReason(ScriptPromiseResolverBase* resolver,
                              AbortSignal* signal) {}

}  // namespace blink