1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "device/bluetooth/bluetooth_channel_mac.h"
7 #import <IOBluetooth/IOBluetooth.h>
9 #include "base/logging.h"
10 #include "device/bluetooth/bluetooth_classic_device_mac.h"
14 BluetoothChannelMac::BluetoothChannelMac() : socket_(NULL) {
17 BluetoothChannelMac::~BluetoothChannelMac() {
20 void BluetoothChannelMac::SetSocket(BluetoothSocketMac* socket) {
25 std::string BluetoothChannelMac::GetDeviceAddress() {
26 return BluetoothClassicDeviceMac::GetDeviceAddress(GetDevice());