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

Unified Diff: device/bluetooth/test/mock_bluetooth_cbservice_mac.h

Issue 1950033002: bluetooth: mac: Initial BluetoothRemoteGattCharacteristicMac implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@servicescan_cleanup
Patch Set: Addressing comments Created 4 years, 6 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/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

Powered by Google App Engine
This is Rietveld 408576698