chromium/third_party/webrtc/modules/video_capture/linux/camera_portal.cc

/*
 *  Copyright (c) 2023 The WebRTC project authors. All Rights Reserved.
 *
 *  Use of this source code is governed by a BSD-style license
 *  that can be found in the LICENSE file in the root of the source
 *  tree. An additional intellectual property rights grant can be found
 *  in the file PATENTS.  All contributing project authors may
 *  be found in the AUTHORS file in the root of the source tree.
 */

#include "modules/video_capture/linux/camera_portal.h"

#include <gio/gio.h>
#include <gio/gunixfdlist.h>

#include "modules/portal/pipewire_utils.h"
#include "modules/portal/xdg_desktop_portal_utils.h"
#include "rtc_base/synchronization/mutex.h"

namespace webrtc {

RequestResponse;
RequestResponseFromPortalResponse;
RequestSessionProxy;

constexpr char kCameraInterfaceName[] =;

class CameraPortalPrivate {};

CameraPortalPrivate::CameraPortalPrivate(CameraPortal::PortalNotifier* notifier)
    :{}

CameraPortalPrivate::~CameraPortalPrivate() {}

void CameraPortalPrivate::Start() {}

// static
void CameraPortalPrivate::OnProxyRequested(GObject* gobject,
                                           GAsyncResult* result,
                                           gpointer user_data) {}

void CameraPortalPrivate::ProxyRequested(GDBusProxy* proxy) {}

// static
void CameraPortalPrivate::OnAccessResponse(GDBusProxy* proxy,
                                           GAsyncResult* result,
                                           gpointer user_data) {}

// static
void CameraPortalPrivate::OnResponseSignalEmitted(GDBusConnection* connection,
                                                  const char* sender_name,
                                                  const char* object_path,
                                                  const char* interface_name,
                                                  const char* signal_name,
                                                  GVariant* parameters,
                                                  gpointer user_data) {}

void CameraPortalPrivate::OnOpenResponse(GDBusProxy* proxy,
                                         GAsyncResult* result,
                                         gpointer user_data) {}

void CameraPortalPrivate::OnPortalDone(RequestResponse result, int fd) {}

CameraPortal::CameraPortal(PortalNotifier* notifier)
    :{}

CameraPortal::~CameraPortal() {}

void CameraPortal::Start() {}

}  // namespace webrtc