// -*- 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/Maybe.h"
#include "mozilla/Telemetry.h"
#include "mozilla/DataMutex.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
