Revert 269361 "Fix WebURLLoaderImpl::Context leak if a pending r..."
[chromium-blink-merge.git] / device / bluetooth / bluetooth_service_record_mac.h
blob13eb56bf7b70161af2238e60cbd4edf8501ae4cf
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.
5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_SERVICE_RECORD_MAC_H_
6 #define DEVICE_BLUETOOTH_BLUETOOTH_SERVICE_RECORD_MAC_H_
8 #include "device/bluetooth/bluetooth_service_record.h"
10 #ifdef __OBJC__
11 @class IOBluetoothDevice;
12 @class IOBluetoothSDPServiceRecord;
13 #else
14 class IOBluetoothDevice;
15 class IOBluetoothSDPServiceRecord;
16 #endif
18 namespace device {
20 class BluetoothServiceRecordMac : public BluetoothServiceRecord {
21 public:
22 explicit BluetoothServiceRecordMac(IOBluetoothSDPServiceRecord* record);
23 virtual ~BluetoothServiceRecordMac();
25 IOBluetoothDevice* GetIOBluetoothDevice() const {
26 return device_;
29 private:
30 IOBluetoothDevice* device_;
32 DISALLOW_COPY_AND_ASSIGN(BluetoothServiceRecordMac);
35 } // namespace device
37 #endif // DEVICE_BLUETOOTH_BLUETOOTH_SERVICE_RECORD_MAC_H_