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

Unified Diff: content/browser/bluetooth/web_bluetooth_service_impl.cc

Issue 2228403003: content: 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
Index: content/browser/bluetooth/web_bluetooth_service_impl.cc
diff --git a/content/browser/bluetooth/web_bluetooth_service_impl.cc b/content/browser/bluetooth/web_bluetooth_service_impl.cc
index d559d92dfcf0d1153818804504edc618ab392873..dd558e67991a5f61f9db46a217cfcb8a548586a1 100644
--- a/content/browser/bluetooth/web_bluetooth_service_impl.cc
+++ b/content/browser/bluetooth/web_bluetooth_service_impl.cc
@@ -274,7 +274,8 @@ void WebBluetoothServiceImpl::GattServicesDiscovered(
}
// Sending get-service responses unexpectedly queued another request.
- DCHECK(!ContainsKey(pending_primary_services_requests_, device_address));
+ DCHECK(
+ !base::ContainsKey(pending_primary_services_requests_, device_address));
}
void WebBluetoothServiceImpl::GattCharacteristicValueChanged(
@@ -282,8 +283,8 @@ void WebBluetoothServiceImpl::GattCharacteristicValueChanged(
device::BluetoothRemoteGattCharacteristic* characteristic,
const std::vector<uint8_t>& value) {
// Don't notify of characteristics that we haven't returned.
- if (!ContainsKey(characteristic_id_to_service_id_,
- characteristic->GetIdentifier())) {
+ if (!base::ContainsKey(characteristic_id_to_service_id_,
+ characteristic->GetIdentifier())) {
return;
}
« no previous file with comments | « content/browser/bluetooth/bluetooth_device_chooser_controller.cc ('k') | content/browser/cache_storage/cache_storage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698