chromium/out/Default/gen/services/viz/privileged/mojom/gl/context_lost_reason.mojom-shared.h

// services/viz/privileged/mojom/gl/context_lost_reason.mojom-shared.h is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef SERVICES_VIZ_PRIVILEGED_MOJOM_GL_CONTEXT_LOST_REASON_MOJOM_SHARED_H_
#define SERVICES_VIZ_PRIVILEGED_MOJOM_GL_CONTEXT_LOST_REASON_MOJOM_SHARED_H_

#include <stdint.h>

#include <functional>
#include <iosfwd>
#include <type_traits>
#include <utility>

#include "third_party/perfetto/include/perfetto/tracing/traced_value_forward.h"

#include "services/viz/privileged/mojom/gl/context_lost_reason.mojom-shared-internal.h"







namespace viz::mojom {


}  // viz::mojom

namespace mojo {
namespace internal {

}  // namespace internal
}  // namespace mojo


namespace viz::mojom {


enum class ContextLostReason : int32_t {};

 std::ostream& operator<<(std::ostream& os, ContextLostReason value);
inline bool IsKnownEnumValue(ContextLostReason value) {}


}  // viz::mojom

namespace std {

template <>
struct hash<::viz::mojom::ContextLostReason>
    : public mojo::internal::EnumHashImpl<::viz::mojom::ContextLostReason> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::viz::mojom::ContextLostReason, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace viz::mojom {


}  // viz::mojom

// Declare TraceFormatTraits for enums, which should be defined in ::perfetto
// namespace.

namespace perfetto {

template <>
struct  TraceFormatTraits<::viz::mojom::ContextLostReason> {};

} // namespace perfetto

#endif  // SERVICES_VIZ_PRIVILEGED_MOJOM_GL_CONTEXT_LOST_REASON_MOJOM_SHARED_H_