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

Side by Side Diff: device/bluetooth/bluetooth_service_record_mac.h

Issue 12539004: Implemented BluetoothServiceRecordMac with unittest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added BluetoothServiceRecordMac::~BluetoothServiceRecordMac() Created 7 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 unified diff | Download patch
« no previous file with comments | « no previous file | device/bluetooth/bluetooth_service_record_mac.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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_
OLDNEW
« no previous file with comments | « no previous file | device/bluetooth/bluetooth_service_record_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698