1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23

fuchsia_web / webengine / mojom / web_engine_media_resource_provider_mojom_traits.h [blame]

// 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 FUCHSIA_WEB_WEBENGINE_MOJOM_WEB_ENGINE_MEDIA_RESOURCE_PROVIDER_MOJOM_TRAITS_H_
#define FUCHSIA_WEB_WEBENGINE_MOJOM_WEB_ENGINE_MEDIA_RESOURCE_PROVIDER_MOJOM_TRAITS_H_

#include <fuchsia/media/cpp/fidl.h>

#include "mojo/public/cpp/base/fuchsia/fidl_interface_request_mojom_traits.h"

namespace mojo {

template <>
struct StructTraits<mojom::AudioConsumerRequestDataView,
                    fidl::InterfaceRequest<fuchsia::media::AudioConsumer>>
    : public FidlInterfaceRequestStructTraits<
          mojom::AudioConsumerRequestDataView,
          fuchsia::media::AudioConsumer> {};

}  // namespace mojo

#endif  // FUCHSIA_WEB_WEBENGINE_MOJOM_WEB_ENGINE_MEDIA_RESOURCE_PROVIDER_MOJOM_TRAITS_H_