blob: 8d9ac0ae74f715ed1b70486cdde75bf4edd93ae5 [file] [log] [blame]
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef REMOTING_HOST_INPUT_INJECTOR_METADATA_H_
#define REMOTING_HOST_INPUT_INJECTOR_METADATA_H_
#if defined(WEBRTC_USE_PIPEWIRE)
#include "third_party/webrtc/modules/portal/xdg_session_details.h"
#endif // defined(WEBRTC_USE_PIPEWIRE)
namespace remoting {
struct InputInjectorMetadata {
#if defined(WEBRTC_USE_PIPEWIRE)
// Details of the XDG desktop portal session (required by the wayland input
// injector).
webrtc::xdg_portal::SessionDetails session_details;
#endif // defined(WEBRTC_USE_PIPEWIRE)
};
} // namespace remoting
#endif // REMOTING_HOST_INPUT_INJECTOR_METADATA_H_