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

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

Issue 2767813002: Bluetooth: macOS: Implementing read/write for descriptors (Closed)
Patch Set: Adding NSError logs (and merge) Created 3 years, 9 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_cbdescriptor_mac.h
diff --git a/device/bluetooth/test/mock_bluetooth_cbdescriptor_mac.h b/device/bluetooth/test/mock_bluetooth_cbdescriptor_mac.h
index 7a0caaa56c84916974a2021ddb5fc3192ea13666..38ac5f4f43748c4a2e98b92acd2da5444fbfa545 100644
--- a/device/bluetooth/test/mock_bluetooth_cbdescriptor_mac.h
+++ b/device/bluetooth/test/mock_bluetooth_cbdescriptor_mac.h
@@ -19,6 +19,9 @@
- (instancetype)initWithCharacteristic:(CBCharacteristic*)characteristic
CBUUID:(CBUUID*)uuid;
+- (void)simulateReadWithValue:(NSData*)value error:(NSError*)error;
+- (void)simulateWriteWithError:(NSError*)error;
+
@end
#endif // DEVICE_BLUETOOTH_TEST_MOCK_BLUETOOTH_CBDESCRIPTOR_MAC_H_

Powered by Google App Engine
This is Rietveld 408576698