chromium/third_party/webrtc/modules/desktop_capture/linux/x11/x_error_trap.cc

/*
 *  Copyright (c) 2013 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/desktop_capture/linux/x11/x_error_trap.h"

#include <stddef.h>

#include <atomic>

#include "rtc_base/checks.h"

namespace webrtc {

namespace {

static int g_last_xserver_error_code =;
static std::atomic<Display*> g_display_for_error_handler =;

Mutex* AcquireMutex() {}

int XServerErrorHandler(Display* display, XErrorEvent* error_event) {}

}  // namespace

XErrorTrap::XErrorTrap(Display* display) :{}

int XErrorTrap::GetLastErrorAndDisable() {}

XErrorTrap::~XErrorTrap() {}

}  // namespace webrtc