| Index: device/bluetooth/test/mock_bluetooth_gatt_characteristic.h
|
| diff --git a/device/bluetooth/test/mock_bluetooth_gatt_characteristic.h b/device/bluetooth/test/mock_bluetooth_gatt_characteristic.h
|
| index 7ffec2cab29477ac6005d3d7dc563ea5d2493715..021cc599bdc42861c9ccad9f5ca812fafb0f673e 100644
|
| --- a/device/bluetooth/test/mock_bluetooth_gatt_characteristic.h
|
| +++ b/device/bluetooth/test/mock_bluetooth_gatt_characteristic.h
|
| @@ -49,6 +49,8 @@ class MockBluetoothGattCharacteristic
|
| MOCK_METHOD1(UpdateValue, bool(const std::vector<uint8_t>&));
|
| MOCK_METHOD2(StartNotifySession,
|
| void(const NotifySessionCallback&, const ErrorCallback&));
|
| + MOCK_METHOD2(StopNotifySession,
|
| + void(BluetoothGattNotifySession*, const base::Closure&));
|
| MOCK_METHOD2(ReadRemoteCharacteristic,
|
| void(const ValueCallback&, const ErrorCallback&));
|
| MOCK_METHOD3(WriteRemoteCharacteristic,
|
| @@ -56,6 +58,16 @@ class MockBluetoothGattCharacteristic
|
| const base::Closure&,
|
| const ErrorCallback&));
|
|
|
| + protected:
|
| + MOCK_METHOD3(SubscribeToNotifications,
|
| + void(BluetoothRemoteGattDescriptor*,
|
| + const base::Closure&,
|
| + const ErrorCallback&));
|
| + MOCK_METHOD3(UnsubscribeFromNotifications,
|
| + void(BluetoothRemoteGattDescriptor*,
|
| + const base::Closure&,
|
| + const ErrorCallback&));
|
| +
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(MockBluetoothGattCharacteristic);
|
| };
|
|
|