// 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_GleanDomCacheMetrics_h
#define mozilla_GleanDomCacheMetrics_h
#include "mozilla/glean/bindings/MetricTypes.h"
namespace mozilla::glean {
namespace cache {
/**
* generated from cache.schema_init_error
*/
enum class SchemaInitErrorLabel: uint16_t {
eFutureVersion = 0,
eOther = 1,
e__Other__,
};
/**
* Counts errors encountered when initializing or migrating a Cache API caches.sqlite schema during quota initialization. Labeled by error category: "future_version" when the on-disk schema version exceeds the code's latest version (e.g. profile downgrade), "other" for all remaining schema errors.
*/
constexpr impl::Labeled<impl::CounterMetric<impl::CounterType::eBaseOrLabeled>, SchemaInitErrorLabel> schema_init_error(4143);
}
} // namespace mozilla::glean
#endif // mozilla_GleanDomCacheMetrics_h