blob: 13d71378e15634f495575b801a48a848a27e7365 [file] [log] [blame]
// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "permission_broker/allow_usb_device_rule.h"
#include <libudev.h>
using std::string;
namespace permission_broker {
AllowUsbDeviceRule::AllowUsbDeviceRule()
: UsbSubsystemUdevRule("AllowUsbDeviceRule") {}
AllowUsbDeviceRule::~AllowUsbDeviceRule() {}
Rule::Result AllowUsbDeviceRule::ProcessUsbDevice(struct udev_device *device) {
return ALLOW;
}
} // namespace permission_broker