Generated file

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_GleanCleardataMetrics_h
#define mozilla_GleanCleardataMetrics_h
#include "mozilla/glean/bindings/MetricTypes.h"
namespace mozilla::glean {
namespace private_browsing_cleanup {
/**
* generated from private_browsing.cleanup.duration
* Wall-clock time from clearPrivateBrowsingData() call start to callback invocation. This currently does not keep track of regular PBM teardown (last PBM window exited).
*/
constexpr impl::TimingDistributionMetric duration(4745);
/**
* generated from private_browsing.cleanup.error_rate
* Rate of clearPrivateBrowsingData() calls that reported at least one observer failure. Denominator is incremented on every call; numerator is incremented when hadFailures is true or the promise rejects. This currently does not keep track of regular PBM teardown (last PBM window exited).
*/
constexpr impl::RateMetric error_rate(4746);
}
} // namespace mozilla::glean
#endif // mozilla_GleanCleardataMetrics_h