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

Unified Diff: device/bluetooth/test/bluetooth_test_mac.mm

Issue 2499913002: bluetooth: android: Implement RetrieveGattConnectedDevicesWithFilter
Patch Set: rebase Created 4 years 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/bluetooth/test/bluetooth_test_mac.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/test/bluetooth_test_mac.mm
diff --git a/device/bluetooth/test/bluetooth_test_mac.mm b/device/bluetooth/test/bluetooth_test_mac.mm
index 5732531dd66ee342f07dd9c4ecc2247eee59da66..b91261dfb767d5c968a07a5c5d2821c49e5fe6a8 100644
--- a/device/bluetooth/test/bluetooth_test_mac.mm
+++ b/device/bluetooth/test/bluetooth_test_mac.mm
@@ -249,11 +249,11 @@ void BluetoothTestMac::SimulateGattConnection(BluetoothDevice* device) {
}
void BluetoothTestMac::SimulateConnectedLowEnergyDevice(
- ConnectedDeviceType device_ordinal) {
+ ConnectedDeviceType device_type) {
const char* identifier = nullptr;
NSString* name = nil;
scoped_nsobject<NSMutableSet> cbUUIDs([[NSMutableSet alloc] init]);
- switch (device_ordinal) {
+ switch (device_type) {
case ConnectedDeviceType::GENERIC_DEVICE:
name = @(kTestDeviceName.c_str());
identifier = kTestPeripheralUUID1.c_str();
« no previous file with comments | « device/bluetooth/test/bluetooth_test_mac.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698