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

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

Issue 1284073002: bluetooth: Add adapter to BluetoothDevice (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bt-drop-callback-
Patch Set: Merge TOT Created 5 years, 3 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 | « device/bluetooth/bluetooth_device_chromeos.cc ('k') | device/bluetooth/bluetooth_device_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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_MAC_H_ 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_MAC_H_
6 #define DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_MAC_H_ 6 #define DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_MAC_H_
7 7
8 #include "device/bluetooth/bluetooth_device.h" 8 #include "device/bluetooth/bluetooth_device.h"
9 9
10 @class NSDate; 10 @class NSDate;
11 11
12 namespace device { 12 namespace device {
13 13
14 class BluetoothAdapterMac;
15
14 class BluetoothDeviceMac : public BluetoothDevice { 16 class BluetoothDeviceMac : public BluetoothDevice {
15 public: 17 public:
16 ~BluetoothDeviceMac() override; 18 ~BluetoothDeviceMac() override;
17 19
18 // Returns the time of the most recent interaction with the device. Returns 20 // Returns the time of the most recent interaction with the device. Returns
19 // nil if the device has never been seen. 21 // nil if the device has never been seen.
20 virtual NSDate* GetLastUpdateTime() const = 0; 22 virtual NSDate* GetLastUpdateTime() const = 0;
21 23
22 protected: 24 protected:
23 BluetoothDeviceMac(); 25 BluetoothDeviceMac(BluetoothAdapterMac* adapter);
24 26
25 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceMac); 27 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceMac);
26 }; 28 };
27 29
28 } // namespace device 30 } // namespace device
29 31
30 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_MAC_H_ 32 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_MAC_H_
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_device_chromeos.cc ('k') | device/bluetooth/bluetooth_device_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698