#include "remoting/host/linux/clipboard_portal.h"
#include <gio/gio.h>
#include <gio/gunixfdlist.h>
#include <glib-object.h>
#include "base/check.h"
#include "remoting/base/logging.h"
#include "third_party/webrtc/modules/portal/portal_request_response.h"
#include "third_party/webrtc/modules/portal/scoped_glib.h"
#include "third_party/webrtc/modules/portal/xdg_desktop_portal_utils.h"
namespace remoting::xdg_portal {
namespace {
constexpr char kClipboardInterfaceName[] = …;
Scoped;
RequestResponse;
RequestSessionProxy;
SessionDetails;
}
ClipboardPortal::ClipboardPortal(PortalNotifier* notifier)
: … { … }
ClipboardPortal::~ClipboardPortal() { … }
void ClipboardPortal::SetSessionDetails(const SessionDetails& session_details) { … }
void ClipboardPortal::Start() { … }
void ClipboardPortal::OnClipboardPortalProxyRequested(GObject* ,
GAsyncResult* result,
gpointer user_data) { … }
void ClipboardPortal::OnPortalDone(RequestResponse result) { … }
void ClipboardPortal::RequestClipboard() { … }
void ClipboardPortal::OnClipboardRequest(GObject* object,
GAsyncResult* result,
gpointer user_data) { … }
SessionDetails ClipboardPortal::GetSessionDetails() { … }
}