| Index: device/bluetooth/test/mock_bluetooth_gatt_notify_session.cc
|
| diff --git a/device/bluetooth/test/mock_bluetooth_gatt_notify_session.cc b/device/bluetooth/test/mock_bluetooth_gatt_notify_session.cc
|
| index 4123e2d342dbaaca59093d62c1ff4ac8538de20e..e4123f67741db1a75d06e85469e36288f1613452 100644
|
| --- a/device/bluetooth/test/mock_bluetooth_gatt_notify_session.cc
|
| +++ b/device/bluetooth/test/mock_bluetooth_gatt_notify_session.cc
|
| @@ -11,8 +11,9 @@
|
| namespace device {
|
|
|
| MockBluetoothGattNotifySession::MockBluetoothGattNotifySession(
|
| - base::WeakPtr<BluetoothRemoteGattCharacteristic> characteristic)
|
| - : BluetoothGattNotifySession(characteristic) {
|
| + const std::string& characteristic_identifier) {
|
| + ON_CALL(*this, GetCharacteristicIdentifier())
|
| + .WillByDefault(Return(characteristic_identifier));
|
| ON_CALL(*this, IsActive()).WillByDefault(Return(true));
|
| }
|
|
|
|
|