| Index: device/bluetooth/test/mock_bluetooth_device.cc
|
| diff --git a/device/bluetooth/test/mock_bluetooth_device.cc b/device/bluetooth/test/mock_bluetooth_device.cc
|
| index 3fbfaadad745a1b4b0ffd9dd5078889e59c2d281..fb38b7ee4e675a655e4646f69f85345b9749ef45 100644
|
| --- a/device/bluetooth/test/mock_bluetooth_device.cc
|
| +++ b/device/bluetooth/test/mock_bluetooth_device.cc
|
| @@ -60,6 +60,22 @@ MockBluetoothDevice::MockBluetoothDevice(MockBluetoothAdapter* adapter,
|
|
|
| MockBluetoothDevice::~MockBluetoothDevice() {}
|
|
|
| +scoped_ptr<device::BluetoothGattConnection>
|
| +MockBluetoothDevice::CreateGattConnection(
|
| + const GattConnectionCallback& callback,
|
| + const ConnectErrorCallback& error_callback) {
|
| + return scoped_ptr<device::BluetoothGattConnection>(
|
| + CreateGattConnectionRaw(callback, error_callback))
|
| + .Pass();
|
| +}
|
| +
|
| +scoped_ptr<device::BluetoothGattConnection>
|
| +MockBluetoothDevice::CreateGattConnectionImpl() {
|
| + return scoped_ptr<device::BluetoothGattConnection>(
|
| + CreateGattConnectionImplRaw())
|
| + .Pass();
|
| +}
|
| +
|
| void MockBluetoothDevice::AddMockService(
|
| scoped_ptr<MockBluetoothGattService> mock_service) {
|
| mock_services_.push_back(mock_service.Pass());
|
|
|