tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

desktop_capture_metadata.h (1065B)


      1 /*
      2 *  Copyright (c) 2022 The WebRTC project authors. All Rights Reserved.
      3 *
      4 *  Use of this source code is governed by a BSD-style license
      5 *  that can be found in the LICENSE file in the root of the source
      6 *  tree. An additional intellectual property rights grant can be found
      7 *  in the file PATENTS.  All contributing project authors may
      8 *  be found in the AUTHORS file in the root of the source tree.
      9 */
     10 
     11 #ifndef MODULES_DESKTOP_CAPTURE_DESKTOP_CAPTURE_METADATA_H_
     12 #define MODULES_DESKTOP_CAPTURE_DESKTOP_CAPTURE_METADATA_H_
     13 
     14 #if defined(WEBRTC_USE_GIO)
     15 #include "modules/portal/xdg_session_details.h"
     16 #endif  // defined(WEBRTC_USE_GIO)
     17 
     18 namespace webrtc {
     19 
     20 // Container for the metadata associated with a desktop capturer.
     21 struct DesktopCaptureMetadata {
     22 #if defined(WEBRTC_USE_GIO)
     23  // Details about the XDG desktop session handle (used by wayland
     24  // implementation in remoting)
     25  xdg_portal::SessionDetails session_details;
     26 #endif  // defined(WEBRTC_USE_GIO)
     27 };
     28 
     29 }  // namespace webrtc
     30 
     31 #endif  // MODULES_DESKTOP_CAPTURE_DESKTOP_CAPTURE_METADATA_H_