// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef MEDIA_MOJO_MOJOM_CDM_KEY_INFORMATION_MOJOM_TRAITS_H_ #define MEDIA_MOJO_MOJOM_CDM_KEY_INFORMATION_MOJOM_TRAITS_H_ #include "media/base/cdm_key_information.h" #include "media/mojo/mojom/content_decryption_module.mojom.h" namespace mojo { template <> struct EnumTraits<media::mojom::CdmKeyStatus, media::CdmKeyInformation::KeyStatus> { … }; template <> struct StructTraits<media::mojom::CdmKeyInformationDataView, std::unique_ptr<media::CdmKeyInformation>> { … }; } // namespace mojo #endif // MEDIA_MOJO_MOJOM_CDM_KEY_INFORMATION_MOJOM_TRAITS_H_