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_GleanProtocolhandlerMetrics_h
#define mozilla_GleanProtocolhandlerMetrics_h
#include "mozilla/glean/bindings/MetricTypes.h"
namespace mozilla::glean {
namespace protocolhandler_mailto {
/**
* generated from protocolhandler.mailto.handler_prompt_shown
*/
enum class HandlerPromptShownLabel: uint16_t {
eOsDefault = 0,
eFxDefault = 1,
e__Other__,
};
/**
* A website was visited, which called registerProtocolHandler for mailto://
*/
constexpr impl::Labeled<impl::CounterMetric, HandlerPromptShownLabel> handler_prompt_shown(705);
/**
* generated from protocolhandler.mailto.prompt_clicked
*/
enum class PromptClickedLabel: uint16_t {
eSetOsDefault = 0,
eSetOsDefaultError = 1,
eSetOsDefaultImpossible = 2,
eDismissOsDefault = 3,
eSetLocalDefault = 4,
eDismissLocalDefault = 5,
e__Other__,
};
/**
* User clicked on a button to approve setting the current site as default web mail site. The sum of all counters is the total amount of user interactions and dismissing the same dialog often could be a sign of a bug.
*/
constexpr impl::Labeled<impl::CounterMetric, PromptClickedLabel> prompt_clicked(706);
}
} // namespace mozilla::glean
#endif // mozilla_GleanProtocolhandlerMetrics_h