chromium/out/Default/gen/content/browser/xr/webxr_internals/mojom/webxr_internals.mojom-shared.h

// content/browser/xr/webxr_internals/mojom/webxr_internals.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 CONTENT_BROWSER_XR_WEBXR_INTERNALS_MOJOM_WEBXR_INTERNALS_MOJOM_SHARED_H_
#define CONTENT_BROWSER_XR_WEBXR_INTERNALS_MOJOM_WEBXR_INTERNALS_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 "content/browser/xr/webxr_internals/mojom/webxr_internals.mojom-shared-internal.h"
#include "device/vr/public/mojom/xr_device.mojom-shared.h"
#include "device/vr/public/mojom/xr_session.mojom-shared.h"
#include "mojo/public/mojom/base/time.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"






namespace webxr::mojom {
class DeviceInfoDataView;

class SessionRequestedRecordDataView;

class SessionRejectedRecordDataView;

class SessionStartedRecordDataView;

class SessionStoppedRecordDataView;

class RuntimeInfoDataView;



}  // webxr::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::webxr::mojom::DeviceInfoDataView> {};

template <>
struct MojomTypeTraits<::webxr::mojom::SessionRequestedRecordDataView> {};

template <>
struct MojomTypeTraits<::webxr::mojom::SessionRejectedRecordDataView> {};

template <>
struct MojomTypeTraits<::webxr::mojom::SessionStartedRecordDataView> {};

template <>
struct MojomTypeTraits<::webxr::mojom::SessionStoppedRecordDataView> {};

template <>
struct MojomTypeTraits<::webxr::mojom::RuntimeInfoDataView> {};

}  // namespace internal
}  // namespace mojo


namespace webxr::mojom {
// Interface base classes. They are used for type safety check.
class WebXrInternalsHandlerInterfaceBase {};

WebXrInternalsHandlerPtrDataView;
WebXrInternalsHandlerRequestDataView;
WebXrInternalsHandlerAssociatedPtrInfoDataView;
WebXrInternalsHandlerAssociatedRequestDataView;
class XRInternalsSessionListenerInterfaceBase {};

XRInternalsSessionListenerPtrDataView;
XRInternalsSessionListenerRequestDataView;
XRInternalsSessionListenerAssociatedPtrInfoDataView;
XRInternalsSessionListenerAssociatedRequestDataView;


class DeviceInfoDataView {};


class SessionRequestedRecordDataView {};


class SessionRejectedRecordDataView {};


class SessionStartedRecordDataView {};


class SessionStoppedRecordDataView {};


class RuntimeInfoDataView {};


}  // webxr::mojom

namespace std {

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::webxr::mojom::DeviceInfoDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::webxr::mojom::SessionRequestedRecordDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::webxr::mojom::SessionRejectedRecordDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::webxr::mojom::SessionStartedRecordDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::webxr::mojom::SessionStoppedRecordDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::webxr::mojom::RuntimeInfoDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace webxr::mojom {

inline void DeviceInfoDataView::GetOperatingSystemNameDataView(
    mojo::StringDataView* output) {}
inline void DeviceInfoDataView::GetOperatingSystemVersionDataView(
    mojo::StringDataView* output) {}
inline void DeviceInfoDataView::GetGpuGlVendorDataView(
    mojo::StringDataView* output) {}
inline void DeviceInfoDataView::GetGpuGlRendererDataView(
    mojo::StringDataView* output) {}


inline void SessionRequestedRecordDataView::GetOptionsDataView(
    ::device::mojom::XRSessionOptionsDataView* output) {}
inline void SessionRequestedRecordDataView::GetRequestedTimeDataView(
    ::mojo_base::mojom::TimeDataView* output) {}


inline void SessionRejectedRecordDataView::GetRejectedTimeDataView(
    ::mojo_base::mojom::TimeDataView* output) {}
inline void SessionRejectedRecordDataView::GetFailureReasonDescriptionDataView(
    mojo::StringDataView* output) {}
inline void SessionRejectedRecordDataView::GetRejectedFeaturesDataView(
    mojo::ArrayDataView<::device::mojom::XRSessionFeature>* output) {}


inline void SessionStartedRecordDataView::GetStartedTimeDataView(
    ::mojo_base::mojom::TimeDataView* output) {}


inline void SessionStoppedRecordDataView::GetStoppedTimeDataView(
    ::mojo_base::mojom::TimeDataView* output) {}


inline void RuntimeInfoDataView::GetSupportedFeaturesDataView(
    mojo::ArrayDataView<::device::mojom::XRSessionFeature>* output) {}



}  // webxr::mojom

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

#endif  // CONTENT_BROWSER_XR_WEBXR_INTERNALS_MOJOM_WEBXR_INTERNALS_MOJOM_SHARED_H_