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

Unified Diff: trunk/src/device/bluetooth/bluetooth_device_win.cc

Issue 224763003: Revert 261566 "device/bluetooth: Rename device::bluetooth_utils:..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 9 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
Index: trunk/src/device/bluetooth/bluetooth_device_win.cc
===================================================================
--- trunk/src/device/bluetooth/bluetooth_device_win.cc (revision 261569)
+++ trunk/src/device/bluetooth/bluetooth_device_win.cc (working copy)
@@ -161,7 +161,7 @@
}
void BluetoothDeviceWin::ConnectToService(
- const device::BluetoothUUID& service_uuid,
+ const std::string& service_uuid,
const SocketCallback& callback) {
for (ServiceRecordList::const_iterator iter = service_record_list_.begin();
iter != service_record_list_.end();
@@ -202,11 +202,11 @@
}
const BluetoothServiceRecord* BluetoothDeviceWin::GetServiceRecord(
- const device::BluetoothUUID& uuid) const {
+ const std::string& uuid) const {
for (ServiceRecordList::const_iterator iter = service_record_list_.begin();
iter != service_record_list_.end();
++iter) {
- if ((*iter)->uuid() == uuid)
+ if ((*iter)->uuid().compare(uuid) == 0)
return *iter;
}
return NULL;
« no previous file with comments | « trunk/src/device/bluetooth/bluetooth_device_win.h ('k') | trunk/src/device/bluetooth/bluetooth_device_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698