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

Unified Diff: device/bluetooth/bluetooth_device_mac.mm

Issue 224893002: device/bluetooth: Rename device::bluetooth_utils::UUID to device::BluetoothUUID (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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
« no previous file with comments | « device/bluetooth/bluetooth_device_mac.h ('k') | device/bluetooth/bluetooth_device_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_device_mac.mm
diff --git a/device/bluetooth/bluetooth_device_mac.mm b/device/bluetooth/bluetooth_device_mac.mm
index 5d37a548c6c3fb9f0c67b6a3a69947f434156e4d..6fbad23ee33270130c8612f77bb83b301939ba53 100644
--- a/device/bluetooth/bluetooth_device_mac.mm
+++ b/device/bluetooth/bluetooth_device_mac.mm
@@ -179,10 +179,11 @@ void BluetoothDeviceMac::Forget(const ErrorCallback& error_callback) {
}
void BluetoothDeviceMac::ConnectToService(
- const std::string& service_uuid,
+ const device::BluetoothUUID& service_uuid,
const SocketCallback& callback) {
IOBluetoothSDPServiceRecord* record =
- [device_ getServiceRecordForUUID:GetIOBluetoothSDPUUID(service_uuid)];
+ [device_ getServiceRecordForUUID:GetIOBluetoothSDPUUID(
+ service_uuid.canonical_value())];
if (record != nil) {
BluetoothServiceRecordMac service_record(record);
scoped_refptr<BluetoothSocket> socket(
« no previous file with comments | « device/bluetooth/bluetooth_device_mac.h ('k') | device/bluetooth/bluetooth_device_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698