Chromium Code Reviews| Index: device/bluetooth/bluetooth_device_mac.h |
| diff --git a/device/bluetooth/bluetooth_device_mac.h b/device/bluetooth/bluetooth_device_mac.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..b4fdb5cf2afe4de891a6d84ae4700b17842e4a67 |
| --- /dev/null |
| +++ b/device/bluetooth/bluetooth_device_mac.h |
| @@ -0,0 +1,29 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_MAC_H_ |
| +#define DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_MAC_H_ |
| + |
| +#include "device/bluetooth/bluetooth_device.h" |
| + |
| +@class NSDate; |
| + |
| +namespace device { |
| + |
| +class BluetoothDeviceMac : public BluetoothDevice { |
| + public: |
| + // Returns the time of the most recent interaction with the device. Returns |
| + // nil if the device has never been seen. |
| + virtual NSDate* GetLastUpdateTime() const = 0; |
| + |
| + protected: |
| + BluetoothDeviceMac(); |
|
scheib
2015/06/30 16:58:18
I'm presuming the chrome compile or presubmit tool
krstnmnlsn
2015/06/30 17:39:11
Tried to avoid it as well. But the compiler compl
|
| + ~BluetoothDeviceMac() override; |
|
armansito
2015/06/30 20:44:39
The destructor should probably be public.
krstnmnlsn
2015/07/01 17:37:16
Done. Can you tell me what the thinking is?
|
| + |
| + DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceMac); |
| +}; |
| + |
| +} // namespace device |
| + |
| +#endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_MAC_H_ |