Roll src/third_party/WebKit 787a07c:716df21 (svn 201034:201036)
[chromium-blink-merge.git] / device / bluetooth / bluetooth_device_mac.h
blob19d1c755ab46bc0205fece86c02ec43c0d7eeef3
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
3 // found in the LICENSE file.
5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_MAC_H_
6 #define DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_MAC_H_
8 #include "device/bluetooth/bluetooth_device.h"
10 @class NSDate;
12 namespace device {
14 class BluetoothDeviceMac : public BluetoothDevice {
15 public:
16 ~BluetoothDeviceMac() override;
18 // Returns the time of the most recent interaction with the device. Returns
19 // nil if the device has never been seen.
20 virtual NSDate* GetLastUpdateTime() const = 0;
22 protected:
23 BluetoothDeviceMac();
25 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceMac);
28 } // namespace device
30 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_MAC_H_