#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;
void VROrientationSession::GetFrameData(
mojom::XRFrameDataRequestOptionsPtr options,
mojom::XRFrameDataProvider::GetFrameDataCallback callback) { … }
void VROrientationSession::GetEnvironmentIntegrationProvider(
mojo::PendingAssociatedReceiver<mojom::XREnvironmentIntegrationProvider>
environment_provider) { … }
void VROrientationSession::SetFrameDataRestricted(bool frame_data_restricted) { … }
void VROrientationSession::OnMojoConnectionError() { … }
}