Files
tubestation/toolkit/components/telemetry/TelemetryOriginEnums.h

37 lines
904 B
C++

/* This file might later be auto-generated */
/* 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_TelemetryOriginEnums_h
#define mozilla_TelemetryOriginEnums_h
#include <stdint.h>
namespace mozilla {
namespace Telemetry {
enum class OriginMetricID : uint32_t {
// category: content.blocking
ContentBlocking_Blocked = 0,
ContentBlocking_Exempt = 1,
// category: telemetry.test
TelemetryTest_Test1 = 2,
TelemetryTest_Test2 = 3,
// meta
Count = 4,
};
static const char* const MetricIDToString[4] = {
"content.blocking_blocked",
"content.blocking_exempt",
"telemetry.test_test1",
"telemetry.test_test2",
};
} // namespace Telemetry
} // namespace mozilla
#endif // mozilla_TelemetryOriginEnums_h