#include "remoting/host/linux/gnome_display_config_dbus_client.h"
#include <string>
#include <utility>
#include "base/ranges/algorithm.h"
#include "remoting/base/logging.h"
#include "third_party/webrtc/modules/portal/scoped_glib.h"
namespace remoting {
namespace {
constexpr char kDisplayConfigInterfaceName[] = …;
constexpr char kDisplayConfigObjectPath[] = …;
std::string VariantToString(GVariant* variant) { … }
}
GnomeDisplayConfigDBusClient::GnomeDisplayConfigDBusClient() { … }
GnomeDisplayConfigDBusClient::~GnomeDisplayConfigDBusClient() { … }
void GnomeDisplayConfigDBusClient::Init() { … }
void GnomeDisplayConfigDBusClient::GetMonitorsConfig(
GnomeDisplayConfigDBusClient::Callback callback) { … }
void GnomeDisplayConfigDBusClient::ApplyMonitorsConfig(
GnomeDisplayConfig config) { … }
void GnomeDisplayConfigDBusClient::FakeDisplayConfigForTest(
ScopedGVariant config) { … }
void GnomeDisplayConfigDBusClient::OnDBusGetReply(GObject* object,
GAsyncResult* result,
gpointer user_data) { … }
void GnomeDisplayConfigDBusClient::OnDisplayConfigCurrentStateReply(
GObject* object,
GAsyncResult* result,
gpointer user_data) { … }
void GnomeDisplayConfigDBusClient::OnApplyMonitorsConfigReply(
GObject* source_object,
GAsyncResult* result,
gpointer user_data) { … }
void GnomeDisplayConfigDBusClient::CallDBusGetCurrentState() { … }
void GnomeDisplayConfigDBusClient::OnDBusGet(
ScopedGObject<GDBusConnection> dbus_connection) { … }
void GnomeDisplayConfigDBusClient::OnDisplayConfigCurrentState(
ScopedGVariant config) { … }
void GnomeDisplayConfigDBusClient::OnDisplayConfigCurrentStateError() { … }
}