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
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef mozilla_GleanToolkitXreMetrics_h
#define mozilla_GleanToolkitXreMetrics_h
#include "mozilla/glean/bindings/MetricTypes.h"
namespace mozilla::glean {
namespace os_environment {
/**
* generated from os.environment.is_admin_without_uac
* Indicates that the process is lauched with Admin privileges but without UAC. This metric was generated to correspond to the Legacy Telemetry scalar os.environment.is_admin_without_uac.
*/
constexpr impl::BooleanMetric is_admin_without_uac(422);
}
namespace e10s {
/**
* generated from e10s.enabled
* Whether e10s is on, i.e. browser tabs open by default in a different
* process.
* See `nsIXULRuntime.browserTabsRemoteAutostart`
*/
constexpr impl::BooleanMetric enabled(5900);
/**
* generated from e10s.multi_processes
* Maximum number of processes that will be launched for regular web content.
* See `nsIXULRuntime.maxWebProcessCount`
*/
constexpr impl::QuantityMetric multi_processes(5901);
}
namespace fission {
/**
* generated from fission.enabled
* Whether fission is enabled this session, and subframes can load in a
* different process.
* See `nsIXULRuntime.fissionAutostart`
*/
constexpr impl::BooleanMetric enabled(5902);
}
namespace gecko {
/**
* generated from gecko.build_id
* The Buildid of the Gecko engine, example: 20200205124310 (Migrated from the geckoview metric of the same name).
*/
constexpr impl::StringMetric build_id(5903);
/**
* generated from gecko.safe_mode_usage
* Whether the user is in safe mode (No, Yes, Forced)
* This metric was generated to correspond to the Legacy Telemetry enumerated histogram SAFE_MODE_USAGE.
*/
constexpr impl::CustomDistributionMetric safe_mode_usage(5904);
/**
* generated from gecko.version
* The version of the Gecko engine, example: 74.0a1 (Migrated from the geckoview metric of the same name).
*/
constexpr impl::StringMetric version(5905);
}
namespace launcher_process {
/**
* generated from launcher.process.state
* Whether, and in what mode, the launcher process is enabled (or not).
* See `nsIXULRuntime.launcherProcessState`
*/
constexpr impl::QuantityMetric state(5906);
}
} // namespace mozilla::glean
#endif // mozilla_GleanToolkitXreMetrics_h