// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef DEVICE_UDEV_LINUX_UDEV_WATCHER_H_ #define DEVICE_UDEV_LINUX_UDEV_WATCHER_H_ #include <memory> #include <optional> #include <string> #include <string_view> #include <vector> #include "base/component_export.h" #include "base/files/file_descriptor_watcher_posix.h" #include "base/memory/raw_ptr.h" #include "base/sequence_checker.h" #include "device/udev_linux/scoped_udev.h" namespace device { // This class wraps an instance of udev_monitor, watching for devices that are // added and removed from the system. This class has sequence affinity. class COMPONENT_EXPORT(DEVICE_UDEV_LINUX) UdevWatcher { … }; } // namespace device #endif // DEVICE_UDEV_LINUX_UDEV_WATCHER_H_