Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Unified Diff: device/usb/webusb_descriptors.cc

Issue 2230083003: device: Use stl utilities from the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/usb/usb_service_linux.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/webusb_descriptors.cc
diff --git a/device/usb/webusb_descriptors.cc b/device/usb/webusb_descriptors.cc
index c21dc6f39c29e4c2cc1617854fa322a9776d9b3c..57468182278ebb3d1bbf7c554698a97db1b8780d 100644
--- a/device/usb/webusb_descriptors.cc
+++ b/device/usb/webusb_descriptors.cc
@@ -580,15 +580,15 @@ bool FindInWebUsbAllowedOrigins(
if (!allowed_origins)
return false;
- if (ContainsValue(allowed_origins->origins, origin))
+ if (base::ContainsValue(allowed_origins->origins, origin))
return true;
for (const auto& config : allowed_origins->configurations) {
- if (ContainsValue(config.origins, origin))
+ if (base::ContainsValue(config.origins, origin))
return true;
for (const auto& function : config.functions) {
- if (ContainsValue(function.origins, origin))
+ if (base::ContainsValue(function.origins, origin))
return true;
}
}
« no previous file with comments | « device/usb/usb_service_linux.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698