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

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

Issue 2595373003: Bluetooth: mac: Working on macOS descriptor implementation. (Closed)
Patch Set: Fixes Created 3 years, 11 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_cbperipheral_mac.h
diff --git a/device/bluetooth/test/mock_bluetooth_cbperipheral_mac.h b/device/bluetooth/test/mock_bluetooth_cbperipheral_mac.h
index 35ed7050302dd10cc118ed2db19b0c4b7a0db8e4..68aad269a4311f1fde776e04007acd0bf27c4b1e 100644
--- a/device/bluetooth/test/mock_bluetooth_cbperipheral_mac.h
+++ b/device/bluetooth/test/mock_bluetooth_cbperipheral_mac.h
@@ -15,6 +15,8 @@ namespace device {
class BluetoothTestMac;
}
+@class MockCBCharacteristic;
+
// This class mocks the behavior of a CBPeripheral.
@interface MockCBPeripheral : NSObject
@@ -39,8 +41,10 @@ class BluetoothTestMac;
- (void)addServices:(NSArray*)services;
- (void)didDiscoverServicesWithError:(NSError*)error;
- (void)removeService:(CBService*)uuid;
-- (void)didModifyServices:(NSArray*)invalidatedServices;
- (void)mockDidDiscoverEvents;
+- (void)didModifyServices:(NSArray*)invalidatedServices;
+- (void)didDiscoverDescriptorsWithCharacteristic:
+ (MockCBCharacteristic*)characteristic_mock;
@end
« no previous file with comments | « device/bluetooth/test/mock_bluetooth_cbdescriptor_mac.mm ('k') | device/bluetooth/test/mock_bluetooth_cbperipheral_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698