| 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 a3dad77e563bc3fb3cc6e4e05a621e80b1546301..8bbf442ea56f89cbf84db71f2a5a398e6ad1c573 100644
|
| --- a/device/bluetooth/test/mock_bluetooth_device.cc
|
| +++ b/device/bluetooth/test/mock_bluetooth_device.cc
|
| @@ -8,7 +8,7 @@
|
| #include <utility>
|
|
|
| #include "base/strings/utf_string_conversions.h"
|
| -#include "device/bluetooth/bluetooth_gatt_service.h"
|
| +#include "device/bluetooth/bluetooth_remote_gatt_service.h"
|
| #include "device/bluetooth/test/mock_bluetooth_adapter.h"
|
|
|
| namespace device {
|
| @@ -68,18 +68,18 @@ void MockBluetoothDevice::AddMockService(
|
| mock_services_.push_back(std::move(mock_service));
|
| }
|
|
|
| -std::vector<BluetoothGattService*> MockBluetoothDevice::GetMockServices()
|
| +std::vector<BluetoothRemoteGattService*> MockBluetoothDevice::GetMockServices()
|
| const {
|
| - std::vector<BluetoothGattService*> services;
|
| - for (BluetoothGattService* service : mock_services_) {
|
| + std::vector<BluetoothRemoteGattService*> services;
|
| + for (BluetoothRemoteGattService* service : mock_services_) {
|
| services.push_back(service);
|
| }
|
| return services;
|
| }
|
|
|
| -BluetoothGattService* MockBluetoothDevice::GetMockService(
|
| +BluetoothRemoteGattService* MockBluetoothDevice::GetMockService(
|
| const std::string& identifier) const {
|
| - for (BluetoothGattService* service : mock_services_) {
|
| + for (BluetoothRemoteGattService* service : mock_services_) {
|
| if (service->GetIdentifier() == identifier)
|
| return service;
|
| }
|
|
|