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_GleanDomStorageMetrics_h
#define mozilla_GleanDomStorageMetrics_h
#include "mozilla/glean/bindings/MetricTypes.h"
namespace mozilla::glean {
namespace localdomstorage {
/**
* generated from localdomstorage.preload_pending_on_first_access
*/
enum class PreloadPendingOnFirstAccessLabel: uint16_t {
eFalse = 0,
eTrue = 1,
e__Other__,
};
/**
* True when we had to wait for a pending preload on first access to localStorage data, false otherwise
* This metric was generated to correspond to the Legacy Telemetry boolean histogram LOCALDOMSTORAGE_PRELOAD_PENDING_ON_FIRST_ACCESS.
*/
constexpr impl::Labeled<impl::CounterMetric, PreloadPendingOnFirstAccessLabel> preload_pending_on_first_access(3849);
/**
* generated from localdomstorage.shutdown_database
* Time to flush and close the localStorage database (ms)
* This metric was generated to correspond to the Legacy Telemetry exponential histogram LOCALDOMSTORAGE_SHUTDOWN_DATABASE_MS.
*/
constexpr impl::TimingDistributionMetric shutdown_database(3850);
}
} // namespace mozilla::glean
#endif // mozilla_GleanDomStorageMetrics_h