New issue
Advanced search Search tips

Issue 639928 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Aug 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Modify UsbDeviceFilter::MatchesAny to return true for empty filters

Project Member Reported by juncai@chromium.org, Aug 22 2016

Issue description

Since some code that calls UsbDeviceFilter::MatchesAny already checks if filters is empty, it would be nice to move this check inside the function. Also it will make writing test easier since test code can just use an empty filters to make UsbDeviceFilter::MatchesAny return true.
 

Comment 2 by juncai@chromium.org, Aug 23 2016

Status: Fixed (was: Started)

Sign in to add a comment