Index: device/bluetooth/test/mock_bluetooth_central_manager_mac.mm |
diff --git a/device/bluetooth/test/mock_bluetooth_central_manager_mac.mm b/device/bluetooth/test/mock_bluetooth_central_manager_mac.mm |
index 0b0f10f0e565d6c058407a2a37f12466b8ae86f9..ca6164c8017650b37ca6a4633b7b925fcd0a1640 100644 |
--- a/device/bluetooth/test/mock_bluetooth_central_manager_mac.mm |
+++ b/device/bluetooth/test/mock_bluetooth_central_manager_mac.mm |
@@ -9,6 +9,7 @@ |
@synthesize scanForPeripheralsCallCount = _scanForPeripheralsCallCount; |
@synthesize stopScanCallCount = _stopScanCallCount; |
@synthesize delegate = _delegate; |
+@synthesize state = _state; |
- (instancetype)init { |
_scanForPeripheralsCallCount = 0; |
@@ -22,10 +23,6 @@ |
return [self init]; |
} |
-- (CBCentralManagerState)state { |
- return CBCentralManagerStatePoweredOn; |
-} |
- |
- (void)scanForPeripheralsWithServices:(NSArray*)serviceUUIDs |
options:(NSDictionary*)options { |
_scanForPeripheralsCallCount++; |