Copy as Markdown
Other Tools
// -*- mode: C++ -*-
// AUTOGENERATED BY glean_parser. DO NOT EDIT.
/* 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
#ifndef mozilla_GleanDomWebauthnMetrics_h
#define mozilla_GleanDomWebauthnMetrics_h
#include "mozilla/glean/bindings/MetricTypes.h"
namespace mozilla::glean {
namespace webauthn_create {
/**
* generated from webauthn_create.authenticator_attachment
*/
enum class AuthenticatorAttachmentLabel: uint16_t {
eCrossPlatform = 0,
ePlatform = 1,
eUnknown = 2,
e__Other__,
};
/**
* The number of successfully created credentials by authenticator attachment modality.
*/
constexpr impl::Labeled<impl::CounterMetric, AuthenticatorAttachmentLabel> authenticator_attachment(3848);
/**
* generated from webauthn_create.failure
* The total number of failed calls to navigator.credentials.create.
*/
constexpr impl::CounterMetric failure(3849);
/**
* generated from webauthn_create.passkey
* The number of client-side discoverable credentials (passkeys) created.
*/
constexpr impl::CounterMetric passkey(3850);
/**
* generated from webauthn_create.success
* The total number of successful calls to navigator.credentials.create.
*/
constexpr impl::CounterMetric success(3851);
}
namespace webauthn_get {
/**
* generated from webauthn_get.authenticator_attachment
*/
enum class AuthenticatorAttachmentLabel: uint16_t {
eCrossPlatform = 0,
ePlatform = 1,
eUnknown = 2,
e__Other__,
};
/**
* The number of successfully asserted credentials by authenticator attachment modality.
*/
constexpr impl::Labeled<impl::CounterMetric, AuthenticatorAttachmentLabel> authenticator_attachment(3852);
/**
* generated from webauthn_get.failure
* The total number of failed calls to navigator.credentials.get.
*/
constexpr impl::CounterMetric failure(3853);
/**
* generated from webauthn_get.success
* The total number of successful calls to navigator.credentials.get.
*/
constexpr impl::CounterMetric success(3854);
}
} // namespace mozilla::glean
#endif // mozilla_GleanDomWebauthnMetrics_h