| Index: device/bluetooth/test/mock_bluetooth_central_manager_mac.h
|
| diff --git a/device/bluetooth/test/mock_bluetooth_central_manager_mac.h b/device/bluetooth/test/mock_bluetooth_central_manager_mac.h
|
| index 535d72d272bc609e25e66672b6864a790a644e94..5bc02457f53be705fc48a2b785178cdce2f844e6 100644
|
| --- a/device/bluetooth/test/mock_bluetooth_central_manager_mac.h
|
| +++ b/device/bluetooth/test/mock_bluetooth_central_manager_mac.h
|
| @@ -7,12 +7,9 @@
|
|
|
| #include "base/mac/sdk_forward_declarations.h"
|
| #include "build/build_config.h"
|
| +#include "device/bluetooth/test/bluetooth_test_mac.h"
|
|
|
| -#if defined(OS_IOS)
|
| #import <CoreBluetooth/CoreBluetooth.h>
|
| -#else
|
| -#import <IOBluetooth/IOBluetooth.h>
|
| -#endif
|
|
|
| // Class to mock a CBCentralManager. Cannot use a OCMockObject because mocking
|
| // the 'state' property gives a compiler warning when mock_central_manager is of
|
| @@ -25,12 +22,16 @@
|
| @property(nonatomic, assign) NSInteger stopScanCallCount;
|
| @property(nonatomic, assign) id<CBCentralManagerDelegate> delegate;
|
| @property(nonatomic, assign) CBCentralManagerState state;
|
| +@property(nonatomic, assign) device::BluetoothTestMac* bluetoothTestMac;
|
|
|
| - (void)scanForPeripheralsWithServices:(NSArray*)serviceUUIDs
|
| options:(NSDictionary*)options;
|
|
|
| - (void)stopScan;
|
|
|
| +- (void)connectPeripheral:(CBPeripheral*)peripheral
|
| + options:(NSDictionary*)options;
|
| +
|
| @end
|
|
|
| #endif // DEVICE_BLUETOOTH_MOCK_BLUETOOTH_CENTRAL_MANAGER_MAC_H_
|
|
|