chromium/device/vr/orientation/orientation_session.cc

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

#include "device/vr/orientation/orientation_session.h"

#include <utility>

#include "base/functional/bind.h"
#include "device/vr/orientation/orientation_device.h"

namespace device {

VROrientationSession::VROrientationSession(
    VROrientationDevice* device,
    mojo::PendingReceiver<mojom::XRFrameDataProvider> magic_window_receiver,
    mojo::PendingReceiver<mojom::XRSessionController> session_receiver)
    :{}

VROrientationSession::~VROrientationSession() = default;

// Gets frame data for sessions.
void VROrientationSession::GetFrameData(
    mojom::XRFrameDataRequestOptionsPtr options,
    mojom::XRFrameDataProvider::GetFrameDataCallback callback) {}

void VROrientationSession::GetEnvironmentIntegrationProvider(
    mojo::PendingAssociatedReceiver<mojom::XREnvironmentIntegrationProvider>
        environment_provider) {}

// XRSessionController
void VROrientationSession::SetFrameDataRestricted(bool frame_data_restricted) {}

void VROrientationSession::OnMojoConnectionError() {}

}  // namespace device