| 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 5bc02457f53be705fc48a2b785178cdce2f844e6..7b5a1bcf4a0c837608ab825fa6f7d5abd98192a1 100644
|
| --- a/device/bluetooth/test/mock_bluetooth_central_manager_mac.h
|
| +++ b/device/bluetooth/test/mock_bluetooth_central_manager_mac.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef DEVICE_BLUETOOTH_MOCK_BLUETOOTH_CENTRAL_MANAGER_MAC_H_
|
| #define DEVICE_BLUETOOTH_MOCK_BLUETOOTH_CENTRAL_MANAGER_MAC_H_
|
|
|
| +#include "base/mac/scoped_nsobject.h"
|
| #include "base/mac/sdk_forward_declarations.h"
|
| #include "build/build_config.h"
|
| #include "device/bluetooth/test/bluetooth_test_mac.h"
|
| @@ -16,13 +17,17 @@
|
| // type id (multiple methods named 'state' found), and a compiler warning when
|
| // mock_central_manager is of type CBCentralManager (CBCentralManager may not
|
| // respond to 'stub').
|
| -@interface MockCentralManager : NSObject
|
| +@interface MockCentralManager : NSObject {
|
| + @private
|
| + base::scoped_nsobject<NSArray> scan_uuids_;
|
| +}
|
|
|
| @property(nonatomic, assign) NSInteger scanForPeripheralsCallCount;
|
| @property(nonatomic, assign) NSInteger stopScanCallCount;
|
| @property(nonatomic, assign) id<CBCentralManagerDelegate> delegate;
|
| @property(nonatomic, assign) CBCentralManagerState state;
|
| @property(nonatomic, assign) device::BluetoothTestMac* bluetoothTestMac;
|
| +@property(nonatomic, copy, readonly) NSArray* scan_uuids;
|
|
|
| - (void)scanForPeripheralsWithServices:(NSArray*)serviceUUIDs
|
| options:(NSDictionary*)options;
|
| @@ -32,6 +37,8 @@
|
| - (void)connectPeripheral:(CBPeripheral*)peripheral
|
| options:(NSDictionary*)options;
|
|
|
| +- (void)resetEventCounts;
|
| +
|
| @end
|
|
|
| #endif // DEVICE_BLUETOOTH_MOCK_BLUETOOTH_CENTRAL_MANAGER_MAC_H_
|
|
|