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

Unified Diff: device/bluetooth/dbus/fake_bluetooth_media_client.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
Index: device/bluetooth/dbus/fake_bluetooth_media_client.cc
diff --git a/device/bluetooth/dbus/fake_bluetooth_media_client.cc b/device/bluetooth/dbus/fake_bluetooth_media_client.cc
index 246a14097add6c61721cf220ec3ff3f767a302f8..3b7a83b9a19a2c87f55ec8b3e82c7cb88424063f 100644
--- a/device/bluetooth/dbus/fake_bluetooth_media_client.cc
+++ b/device/bluetooth/dbus/fake_bluetooth_media_client.cc
@@ -78,7 +78,7 @@ void FakeBluetoothMediaClient::UnregisterEndpoint(
// TODO(mcchou): Come up with some corresponding actions.
VLOG(1) << "UnregisterEndpoint: " << endpoint_path.value();
- if (!ContainsKey(endpoints_, endpoint_path)) {
+ if (!base::ContainsKey(endpoints_, endpoint_path)) {
error_callback.Run(kFailedError, "Unknown media endpoint");
return;
}
@@ -128,7 +128,7 @@ void FakeBluetoothMediaClient::SetEndpointRegistered(
bool FakeBluetoothMediaClient::IsRegistered(
const dbus::ObjectPath& endpoint_path) {
- return ContainsKey(endpoints_, endpoint_path);
+ return base::ContainsKey(endpoints_, endpoint_path);
}
} // namespace bluez
« no previous file with comments | « device/bluetooth/dbus/fake_bluetooth_input_client.cc ('k') | device/bluetooth/dbus/fake_bluetooth_media_transport_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698