summaryrefslogtreecommitdiffstats
path: root/dom/webauthn/AuthrsTransport.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/webauthn/AuthrsTransport.h')
-rw-r--r--dom/webauthn/AuthrsTransport.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/dom/webauthn/AuthrsTransport.h b/dom/webauthn/AuthrsTransport.h
new file mode 100644
index 0000000000..234fa2294c
--- /dev/null
+++ b/dom/webauthn/AuthrsTransport.h
@@ -0,0 +1,17 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+#ifndef DOM_WEBAUTHN_AUTHRS_BRIDGE_H_
+#define DOM_WEBAUTHN_AUTHRS_BRIDGE_H_
+
+#include "mozilla/AlreadyAddRefed.h"
+#include "nsIWebAuthnController.h"
+
+namespace mozilla::dom {
+
+already_AddRefed<nsIWebAuthnTransport> NewAuthrsTransport();
+
+} // namespace mozilla::dom
+
+#endif // DOM_WEBAUTHN_AUTHRS_BRIDGE_H_