Index: device/bluetooth/test/mock_bluetooth_device.h |
diff --git a/device/bluetooth/test/mock_bluetooth_device.h b/device/bluetooth/test/mock_bluetooth_device.h |
index f111b9dde1e4ca3529572fc9ac5fc9fb13c2180f..6027c7b1f99fd90da8eb736a30951f998f54d127 100644 |
--- a/device/bluetooth/test/mock_bluetooth_device.h |
+++ b/device/bluetooth/test/mock_bluetooth_device.h |
@@ -19,7 +19,7 @@ |
namespace device { |
-class BluetoothGattService; |
+class BluetoothRemoteGattService; |
class MockBluetoothAdapter; |
class MockBluetoothDevice : public BluetoothDevice { |
@@ -88,8 +88,10 @@ class MockBluetoothDevice : public BluetoothDevice { |
void(const GattConnectionCallback& callback, |
const ConnectErrorCallback& error_callback)); |
- MOCK_CONST_METHOD0(GetGattServices, std::vector<BluetoothGattService*>()); |
- MOCK_CONST_METHOD1(GetGattService, BluetoothGattService*(const std::string&)); |
+ MOCK_CONST_METHOD0(GetGattServices, |
+ std::vector<BluetoothRemoteGattService*>()); |
+ MOCK_CONST_METHOD1(GetGattService, |
+ BluetoothRemoteGattService*(const std::string&)); |
MOCK_METHOD0(CreateGattConnectionImpl, void()); |
MOCK_METHOD0(DisconnectGatt, void()); |
@@ -102,8 +104,9 @@ class MockBluetoothDevice : public BluetoothDevice { |
// .WillByDefault(Invoke(*mock_device, |
// &MockBluetoothDevice::GetMockServices)); |
void AddMockService(std::unique_ptr<MockBluetoothGattService> mock_device); |
- std::vector<BluetoothGattService*> GetMockServices() const; |
- BluetoothGattService* GetMockService(const std::string& identifier) const; |
+ std::vector<BluetoothRemoteGattService*> GetMockServices() const; |
+ BluetoothRemoteGattService* GetMockService( |
+ const std::string& identifier) const; |
private: |
uint32_t bluetooth_class_; |