chromium/ui/events/ozone/device/udev/device_manager_udev.cc

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/351564777): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "ui/events/ozone/device/udev/device_manager_udev.h"

#include <stddef.h>

#include <memory>
#include <string>

#include "base/logging.h"
#include "base/observer_list.h"
#include "base/strings/stringprintf.h"
#include "base/task/current_thread.h"
#include "base/trace_event/trace_event.h"
#include "device/udev_linux/udev.h"
#include "device/udev_linux/udev_loader.h"
#include "ui/events/ozone/device/device_event.h"
#include "ui/events/ozone/device/device_event_observer.h"

namespace ui {

namespace {

const char* const kSubsystems[] =;

// Start monitoring input device changes.
device::ScopedUdevMonitorPtr UdevCreateMonitor(struct udev* udev) {}

}  // namespace

DeviceManagerUdev::DeviceManagerUdev()
    :{}

DeviceManagerUdev::~DeviceManagerUdev() {}

void DeviceManagerUdev::CreateMonitor() {}

void DeviceManagerUdev::ScanDevices(DeviceEventObserver* observer) {}

void DeviceManagerUdev::AddObserver(DeviceEventObserver* observer) {}

void DeviceManagerUdev::RemoveObserver(DeviceEventObserver* observer) {}

void DeviceManagerUdev::OnFileCanReadWithoutBlocking(int fd) {}

void DeviceManagerUdev::OnFileCanWriteWithoutBlocking(int fd) {}

std::unique_ptr<DeviceEvent> DeviceManagerUdev::ProcessMessage(
    udev_device* device) {}

}  // namespace ui