1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
7 #include "device/udev_linux/udev.h"
11 void UdevDeleter::operator()(udev
* dev
) const {
15 void UdevEnumerateDeleter::operator()(udev_enumerate
* enumerate
) const {
16 udev_enumerate_unref(enumerate
);
19 void UdevDeviceDeleter::operator()(udev_device
* device
) const {
20 udev_device_unref(device
);
23 void UdevMonitorDeleter::operator()(udev_monitor
* monitor
) const {
24 udev_monitor_unref(monitor
);