blob: 565fcca59d1f44ccf00210e50534ae3d16cac9fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
// -*- mode: C++ -*-
/* This file is auto-generated by run_glean_parser.py.
It is only for internal use by types in
toolkit/components/glean/bindings/private */
#include "mozilla/AppShutdown.h"
#include "mozilla/ClearOnShutdown.h"
#include "mozilla/Maybe.h"
#include "mozilla/Telemetry.h"
#include "mozilla/Tuple.h"
#include "mozilla/DataMutex.h"
#include "nsThreadUtils.h"
#ifndef mozilla_glean_EventGifftMap_h
#define mozilla_glean_EventGifftMap_h
namespace mozilla::glean {
using Telemetry::EventID;
static inline Maybe<EventID> EventIdForMetric(uint32_t aId) {
switch(aId) {
case 17: { // test.nested.event_metric
return Some(EventID::EventMetric_EnumNames_AreStrange);
}
case 18: { // test.nested.event_metric_with_extra
return Some(EventID::EventMetric_EnumName_WithExtra);
}
default: {
return Nothing();
}
}
}
} // namespace mozilla::glean
#endif // mozilla_glean_EventGifftMaps_h
|