OLD | NEW |
(Empty) | |
| 1 // Copyright 2013 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. |
| 4 |
| 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_SERVICE_RECORD_MAC_H_ |
| 6 #define DEVICE_BLUETOOTH_BLUETOOTH_SERVICE_RECORD_MAC_H_ |
| 7 |
| 8 #include "device/bluetooth/bluetooth_service_record.h" |
| 9 |
| 10 #ifdef __OBJC__ |
| 11 @class IOBluetoothDevice; |
| 12 @class IOBluetoothSDPServiceRecord; |
| 13 #else |
| 14 class IOBluetoothDevice; |
| 15 class IOBluetoothSDPServiceRecord; |
| 16 #endif |
| 17 |
| 18 namespace device { |
| 19 |
| 20 class BluetoothServiceRecordMac : public BluetoothServiceRecord { |
| 21 public: |
| 22 explicit BluetoothServiceRecordMac(IOBluetoothSDPServiceRecord* record); |
| 23 virtual ~BluetoothServiceRecordMac(); |
| 24 |
| 25 IOBluetoothDevice* GetIOBluetoothDevice() const { |
| 26 return device_; |
| 27 } |
| 28 |
| 29 private: |
| 30 IOBluetoothDevice* device_; |
| 31 |
| 32 DISALLOW_COPY_AND_ASSIGN(BluetoothServiceRecordMac); |
| 33 }; |
| 34 |
| 35 } // namespace device |
| 36 |
| 37 #endif // DEVICE_BLUETOOTH_BLUETOOTH_SERVICE_RECORD_MAC_H_ |
OLD | NEW |