Index: device/bluetooth/bluetooth_device.h |
diff --git a/device/bluetooth/bluetooth_device.h b/device/bluetooth/bluetooth_device.h |
index 7a29cac6235287c51a90fba637199bc483b8d22f..28fd7ac12d18dec7797222a67bd63c79d47d6c6e 100644 |
--- a/device/bluetooth/bluetooth_device.h |
+++ b/device/bluetooth/bluetooth_device.h |
@@ -369,11 +369,12 @@ class BluetoothDevice { |
const ErrorCallback& error_callback) = 0; |
// Returns the list of discovered GATT services. |
- std::vector<BluetoothGattService*> GetGattServices() const; |
+ virtual std::vector<BluetoothGattService*> GetGattServices() const; |
// Returns the GATT service with device-specific identifier |identifier|. |
// Returns NULL, if no such service exists. |
- BluetoothGattService* GetGattService(const std::string& identifier) const; |
+ virtual BluetoothGattService* GetGattService( |
+ const std::string& identifier) const; |
protected: |
BluetoothDevice(); |