chromium/out/Default/gen/components/media_router/common/mojom/media_status.mojom-shared.h

// components/media_router/common/mojom/media_status.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 COMPONENTS_MEDIA_ROUTER_COMMON_MOJOM_MEDIA_STATUS_MOJOM_SHARED_H_
#define COMPONENTS_MEDIA_ROUTER_COMMON_MOJOM_MEDIA_STATUS_MOJOM_SHARED_H_

#include <stdint.h>

#include <functional>
#include <iosfwd>
#include <type_traits>
#include <utility>
#include "mojo/public/cpp/bindings/array_data_view.h"
#include "mojo/public/cpp/bindings/enum_traits.h"
#include "mojo/public/cpp/bindings/interface_data_view.h"
#include "mojo/public/cpp/bindings/lib/bindings_internal.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/map_data_view.h"
#include "mojo/public/cpp/bindings/string_data_view.h"

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

#include "components/media_router/common/mojom/media_status.mojom-shared-internal.h"
#include "mojo/public/mojom/base/time.mojom-shared.h"
#include "ui/gfx/geometry/mojom/geometry.mojom-shared.h"
#include "url/mojom/url.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"






namespace media_router::mojom {
class MediaImageDataView;

class MediaStatusDataView;



}  // media_router::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::media_router::mojom::MediaImageDataView> {};

template <>
struct MojomTypeTraits<::media_router::mojom::MediaStatusDataView> {};

}  // namespace internal
}  // namespace mojo


namespace media_router::mojom {


enum class MediaStatus_PlayState : int32_t {};

 std::ostream& operator<<(std::ostream& os, MediaStatus_PlayState value);
inline bool IsKnownEnumValue(MediaStatus_PlayState value) {}
// Interface base classes. They are used for type safety check.
class MediaStatusObserverInterfaceBase {};

MediaStatusObserverPtrDataView;
MediaStatusObserverRequestDataView;
MediaStatusObserverAssociatedPtrInfoDataView;
MediaStatusObserverAssociatedRequestDataView;


class MediaImageDataView {};


class MediaStatusDataView {};


}  // media_router::mojom

namespace std {

template <>
struct hash<::media_router::mojom::MediaStatus_PlayState>
    : public mojo::internal::EnumHashImpl<::media_router::mojom::MediaStatus_PlayState> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::media_router::mojom::MediaStatus_PlayState, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::media_router::mojom::MediaImageDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::media_router::mojom::MediaStatusDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace media_router::mojom {

inline void MediaImageDataView::GetUrlDataView(
    ::url::mojom::UrlDataView* output) {}
inline void MediaImageDataView::GetSizeDataView(
    ::gfx::mojom::SizeDataView* output) {}


inline void MediaStatusDataView::GetTitleDataView(
    mojo::StringDataView* output) {}
inline void MediaStatusDataView::GetSecondaryTitleDataView(
    mojo::StringDataView* output) {}
inline void MediaStatusDataView::GetDurationDataView(
    ::mojo_base::mojom::TimeDeltaDataView* output) {}
inline void MediaStatusDataView::GetCurrentTimeDataView(
    ::mojo_base::mojom::TimeDeltaDataView* output) {}
inline void MediaStatusDataView::GetImagesDataView(
    mojo::ArrayDataView<MediaImageDataView>* output) {}



}  // media_router::mojom

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

namespace perfetto {

template <>
struct  TraceFormatTraits<::media_router::mojom::MediaStatus_PlayState> {};

} // namespace perfetto

#endif  // COMPONENTS_MEDIA_ROUTER_COMMON_MOJOM_MEDIA_STATUS_MOJOM_SHARED_H_