// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef EXTENSIONS_COMMON_MOJOM_CHANNEL_MOJOM_TRAITS_H_ #define EXTENSIONS_COMMON_MOJOM_CHANNEL_MOJOM_TRAITS_H_ #include "base/notreached.h" #include "components/version_info/channel.h" #include "extensions/common/mojom/channel.mojom-shared.h" #include "mojo/public/cpp/bindings/enum_traits.h" namespace mojo { template <> struct EnumTraits<extensions::mojom::Channel, version_info::Channel> { … }; } // namespace mojo #endif // EXTENSIONS_COMMON_MOJOM_CHANNEL_MOJOM_TRAITS_H_