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 BluetoothServiceRecordMac(IOBluetoothSDPServiceRecord* record); | |
Mark Mentovai
2013/03/11 22:38:48
explicit. http://google-styleguide.googlecode.com/
youngki
2013/03/12 04:15:12
Done.
| |
23 | |
24 IOBluetoothDevice* GetIOBluetoothDevice() const { | |
25 return device_; | |
26 } | |
27 | |
28 private: | |
29 IOBluetoothDevice* device_; | |
30 | |
31 DISALLOW_COPY_AND_ASSIGN(BluetoothServiceRecordMac); | |
32 }; | |
33 | |
34 } // namespace device | |
35 | |
36 #endif // DEVICE_BLUETOOTH_BLUETOOTH_SERVICE_RECORD_MAC_H_ | |
OLD | NEW |