chromium/out/Default/gen/device/vr/public/mojom/xr_session.mojom.cc

// device/vr/public/mojom/xr_session.mojom.cc is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-private-field"
#endif

#include "device/vr/public/mojom/xr_session.mojom.h"

#include <math.h>
#include <stdint.h>
#include <utility>

#include "base/debug/alias.h"
#include "base/hash/md5_constexpr.h"
#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
#include "base/task/thread_pool/thread_pool_instance.h"
#include "base/trace_event/trace_event.h"
#include "base/trace_event/typed_macros.h"
#include "mojo/public/cpp/bindings/features.h"
#include "mojo/public/cpp/bindings/lib/default_construct_tag_internal.h"
#include "mojo/public/cpp/bindings/lib/generated_code_util.h"
#include "mojo/public/cpp/bindings/lib/message_internal.h"
#include "mojo/public/cpp/bindings/lib/proxy_to_responder.h"
#include "mojo/public/cpp/bindings/lib/send_message_helper.h"
#include "mojo/public/cpp/bindings/lib/serialization_util.h"
#include "mojo/public/cpp/bindings/lib/unserialized_message_context.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/mojo_buildflags.h"
#include "mojo/public/cpp/bindings/urgent_message_scope.h"
#include "mojo/public/interfaces/bindings/interface_control_messages.mojom.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"

#include "device/vr/public/mojom/xr_session.mojom-params-data.h"
#include "device/vr/public/mojom/xr_session.mojom-shared-message-ids.h"

#include "device/vr/public/mojom/xr_session.mojom-import-headers.h"
#include "device/vr/public/mojom/xr_session.mojom-test-utils.h"


namespace device::mojom {
XRTrackedImage::XRTrackedImage()
    :{}

XRTrackedImage::XRTrackedImage(
    const ::SkBitmap& bitmap_in,
    const ::gfx::Size& size_in_pixels_in,
    float width_in_meters_in)
    :{}

XRTrackedImage::~XRTrackedImage() = default;

void XRTrackedImage::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool XRTrackedImage::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
XRDepthOptions::XRDepthOptions()
    :{}

XRDepthOptions::XRDepthOptions(
    std::vector<XRDepthUsage> usage_preferences_in,
    std::vector<XRDepthDataFormat> data_format_preferences_in)
    :{}

XRDepthOptions::~XRDepthOptions() = default;

void XRDepthOptions::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool XRDepthOptions::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
XRSessionOptions::XRSessionOptions()
    :{}

XRSessionOptions::XRSessionOptions(
    XRSessionMode mode_in,
    std::vector<XRSessionFeature> required_features_in,
    std::vector<XRSessionFeature> optional_features_in,
    std::vector<XRTrackedImagePtr> tracked_images_in,
    XRDepthOptionsPtr depth_options_in,
    uint64_t trace_id_in)
    :{}

XRSessionOptions::~XRSessionOptions() = default;

void XRSessionOptions::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool XRSessionOptions::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
XrFrameStatistics::XrFrameStatistics()
    :{}

XrFrameStatistics::XrFrameStatistics(
    uint64_t trace_id_in,
    ::base::TimeDelta duration_in,
    uint64_t num_frames_in,
    uint64_t dropped_frames_in,
    ::base::TimeDelta frame_data_time_in,
    ::base::TimeDelta page_animation_frame_time_in)
    :{}

XrFrameStatistics::~XrFrameStatistics() = default;

void XrFrameStatistics::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool XrFrameStatistics::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
XrLogMessage::XrLogMessage()
    :{}

XrLogMessage::XrLogMessage(
    uint64_t trace_id_in,
    const std::string& message_in)
    :{}

XrLogMessage::~XrLogMessage() = default;
size_t XrLogMessage::Hash(size_t seed) const {}

void XrLogMessage::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool XrLogMessage::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}


}  // device::mojom


namespace mojo {


// static
bool StructTraits<::device::mojom::XRTrackedImage::DataView, ::device::mojom::XRTrackedImagePtr>::Read(
    ::device::mojom::XRTrackedImage::DataView input,
    ::device::mojom::XRTrackedImagePtr* output) {}


// static
bool StructTraits<::device::mojom::XRDepthOptions::DataView, ::device::mojom::XRDepthOptionsPtr>::Read(
    ::device::mojom::XRDepthOptions::DataView input,
    ::device::mojom::XRDepthOptionsPtr* output) {}


// static
bool StructTraits<::device::mojom::XRSessionOptions::DataView, ::device::mojom::XRSessionOptionsPtr>::Read(
    ::device::mojom::XRSessionOptions::DataView input,
    ::device::mojom::XRSessionOptionsPtr* output) {}


// static
bool StructTraits<::device::mojom::XrFrameStatistics::DataView, ::device::mojom::XrFrameStatisticsPtr>::Read(
    ::device::mojom::XrFrameStatistics::DataView input,
    ::device::mojom::XrFrameStatisticsPtr* output) {}


// static
bool StructTraits<::device::mojom::XrLogMessage::DataView, ::device::mojom::XrLogMessagePtr>::Read(
    ::device::mojom::XrLogMessage::DataView input,
    ::device::mojom::XrLogMessagePtr* output) {}

}  // namespace mojo


// Symbols declared in the -test-utils.h header are defined here instead of a
// separate .cc file to save compile time.


namespace device::mojom {




}  // device::mojom


#if defined(__clang__)
#pragma clang diagnostic pop
#endif