blob: 3023cc2ff08ed9f88a15247f79eef11ed953d43e [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_RENDERER_MODULES_NFC_NFC_ERROR_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_NFC_NFC_ERROR_H_
#include "services/device/public/mojom/nfc.mojom-blink.h"
#include "third_party/blink/renderer/platform/wtf/allocator.h"
namespace blink {
class DOMException;
class ScriptPromiseResolver;
class NFCError {
STATIC_ONLY(NFCError);
public:
// Required by CallbackPromiseAdapter
using WebType = const device::mojom::blink::NFCErrorType&;
static DOMException* Take(ScriptPromiseResolver*,
const device::mojom::blink::NFCErrorType&);
};
} // namespace blink
#endif // THIRD_PARTY_BLINK_RENDERER_MODULES_NFC_NFC_ERROR_H_