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

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

Issue 1410223003: bluetooth: mac: Fix incorrect use of AdvertisementData dictionary strings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bta-merge-uuids-
Patch Set: Created 5 years, 2 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/bluetooth/bluetooth_adapter_mac_unittest.mm ('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 744747bf49adc48f1a7c2ee9231ed8b84f4afe3f..0b02ff47e28137dc1680b8465ef726f161223b34 100644
--- a/device/bluetooth/test/bluetooth_test_mac.mm
+++ b/device/bluetooth/test/bluetooth_test_mac.mm
@@ -40,13 +40,13 @@ CBPeripheral* CreateMockPeripheral(NSString* peripheral_identifier) {
NSDictionary* CreateAdvertisementData(NSString* name, NSArray* uuids) {
NSMutableDictionary* advertisement_data =
[NSMutableDictionary dictionaryWithDictionary:@{
- @"CBAdvertisementDataLocalNameKey" : name,
- @"CBAdvertisementDataServiceDataKey" : [NSDictionary dictionary],
- @"CBAdvertisementDataIsConnectable" : @(YES),
+ CBAdvertisementDataLocalNameKey : name,
+ CBAdvertisementDataServiceDataKey : [NSDictionary dictionary],
+ CBAdvertisementDataIsConnectable : @(YES),
}];
if (uuids)
[advertisement_data setObject:uuids
- forKey:@"CBAdvertisementDataServiceUUIDsKey"];
+ forKey:CBAdvertisementDataServiceUUIDsKey];
return advertisement_data;
}
« no previous file with comments | « device/bluetooth/bluetooth_adapter_mac_unittest.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698