Chromium Code Reviews
DescriptionModify UsbDeviceFilter::MatchesAny to return true for empty filters
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 code a little easier.
BUG=639928
Committed: https://crrev.com/d893fe00f1bf2562d754475b85adb23b09f2559f
Cr-Commit-Position: refs/heads/master@{#413785}
Patch Set 1 : modified UsbDeviceFilter::MatchesAny to return true for empty filters #Patch Set 2 : fixed code for unit test #
Dependent Patchsets: Messages
Total messages: 18 (11 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||