Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(404)

Unified Diff: device/bluetooth/bluetooth_service_record_win.cc

Issue 424093004: Improve processing of Bluetooth device discovery on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address code review feedback (nits and memory leak). Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/bluetooth/bluetooth_service_record_win.h ('k') | device/bluetooth/bluetooth_task_manager_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « device/bluetooth/bluetooth_service_record_win.h ('k') | device/bluetooth/bluetooth_task_manager_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698