chromium/content/services/isolated_xr_device/xr_test_hook_wrapper.cc

// 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.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/342213636): Remove this and spanify to fix the errors.
#pragma allow_unsafe_buffers
#endif

#include "content/services/isolated_xr_device/xr_test_hook_wrapper.h"
#include "base/task/single_thread_task_runner.h"

namespace device {

// TODO(crbug.com/41418750): Remove these as conversion functions as part
// of the switch to only mojom types.
ControllerRole MojoToDeviceControllerRole(
    device_test::mojom::ControllerRole role) {}

PoseFrameData MojoToDevicePoseFrameData(
    device_test::mojom::PoseFrameDataPtr& pose) {}

device_test::mojom::Eye XrEyeToMojoEye(XrEye eye) {}

XRTestHookWrapper::XRTestHookWrapper(
    mojo::PendingRemote<device_test::mojom::XRTestHook> pending_hook)
    :{}

void XRTestHookWrapper::OnFrameSubmitted(const std::vector<ViewData>& views) {}

DeviceConfig XRTestHookWrapper::WaitGetDeviceConfig() {}

PoseFrameData XRTestHookWrapper::WaitGetPresentingPose() {}

PoseFrameData XRTestHookWrapper::WaitGetMagicWindowPose() {}

ControllerRole XRTestHookWrapper::WaitGetControllerRoleForTrackedDeviceIndex(
    unsigned int index) {}

TrackedDeviceClass XRTestHookWrapper::WaitGetTrackedDeviceClass(
    unsigned int index) {}

ControllerFrameData XRTestHookWrapper::WaitGetControllerData(
    unsigned int index) {}

device_test::mojom::EventData XRTestHookWrapper::WaitGetEventData() {}

bool XRTestHookWrapper::WaitGetCanCreateSession() {}

void XRTestHookWrapper::AttachCurrentThread() {}

void XRTestHookWrapper::DetachCurrentThread() {}

scoped_refptr<base::SingleThreadTaskRunner>
XRTestHookWrapper::GetBoundTaskRunner() {}

XRTestHookWrapper::~XRTestHookWrapper() = default;

}  // namespace device