Index: device/bluetooth/test/mock_bluetooth_cbservice_mac.h |
diff --git a/device/bluetooth/test/mock_bluetooth_cbservice_mac.h b/device/bluetooth/test/mock_bluetooth_cbservice_mac.h |
index 553370649f751d3a03c222038def7f1a09e3f745..acfce3955ed78a512763e29850eff8a940962136 100644 |
--- a/device/bluetooth/test/mock_bluetooth_cbservice_mac.h |
+++ b/device/bluetooth/test/mock_bluetooth_cbservice_mac.h |
@@ -17,7 +17,12 @@ |
@property(readonly, nonatomic) BOOL isPrimary; |
@property(readonly, nonatomic) CBService* service; |
-- (instancetype)initWithCBUUID:(CBUUID*)uuid primary:(BOOL)isPrimary; |
+- (instancetype)initWithPeripheral:(CBPeripheral*)peripheral |
+ CBUUID:(CBUUID*)uuid |
+ primary:(BOOL)isPrimary; |
+ |
+// Creates and adds a mock characteristic. |
+- (void)addCharacteristicWithUUID:(CBUUID*)cb_uuid properties:(int)properties; |
@end |