Index: device/bluetooth/bluetooth_service_record_win.cc |
diff --git a/device/bluetooth/bluetooth_service_record_win.cc b/device/bluetooth/bluetooth_service_record_win.cc |
index 061316e075077e5b7a467ad18bf3fd4ba9e4b865..c4fccde37137db8bfbe3a4a0593410ce6f8248a7 100644 |
--- a/device/bluetooth/bluetooth_service_record_win.cc |
+++ b/device/bluetooth/bluetooth_service_record_win.cc |
@@ -152,4 +152,11 @@ BluetoothServiceRecordWin::BluetoothServiceRecordWin( |
} |
} |
+bool BluetoothServiceRecordWin::IsEqual( |
+ const BluetoothServiceRecordWin& other) { |
+ return device_address_ == other.device_address_ && name_ == other.name_ && |
+ uuid_ == other.uuid_ && supports_rfcomm_ == other.supports_rfcomm_ && |
+ rfcomm_channel_ == other.rfcomm_channel_; |
+} |
+ |
} // namespace device |