#ifndef UI_GFX_MOJOM_CA_LAYER_RESULT_MOJOM_TRAITS_H_
#define UI_GFX_MOJOM_CA_LAYER_RESULT_MOJOM_TRAITS_H_
#include "build/build_config.h"
#include "ui/gfx/ca_layer_result.h"
#if BUILDFLAG(IS_APPLE)
#include "ui/gfx/mojom/ca_layer_result.mojom-shared.h"
#endif
namespace mojo {
#if BUILDFLAG(IS_APPLE)
template <>
struct EnumTraits<gfx::mojom::CALayerResult, gfx::CALayerResult> {
static gfx::mojom::CALayerResult ToMojom(
gfx::CALayerResult ca_layer_error_codde);
static bool FromMojom(gfx::mojom::CALayerResult input,
gfx::CALayerResult* out);
};
#endif
}
#endif