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

Unified Diff: device/bluetooth/bluetooth_classic_device_mac.h

Issue 1211013005: Added class BluetoothDeviceMac, returns mac device timing data (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pre-hash
Patch Set: adding a retain Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: device/bluetooth/bluetooth_classic_device_mac.h
diff --git a/device/bluetooth/bluetooth_classic_device_mac.h b/device/bluetooth/bluetooth_classic_device_mac.h
index c0426ec6260b85cf19f20ead443d72d045176499..ba6e8063fb49a96ed0221d85201062acf8635bec 100644
--- a/device/bluetooth/bluetooth_classic_device_mac.h
+++ b/device/bluetooth/bluetooth_classic_device_mac.h
@@ -12,13 +12,13 @@
#include "base/basictypes.h"
#include "base/mac/scoped_nsobject.h"
#include "base/observer_list.h"
-#include "device/bluetooth/bluetooth_device.h"
+#include "device/bluetooth/bluetooth_device_mac.h"
@class IOBluetoothDevice;
namespace device {
-class BluetoothClassicDeviceMac : public BluetoothDevice {
+class BluetoothClassicDeviceMac : public BluetoothDeviceMac {
public:
explicit BluetoothClassicDeviceMac(IOBluetoothDevice* device);
~BluetoothClassicDeviceMac() override;
@@ -64,9 +64,8 @@ class BluetoothClassicDeviceMac : public BluetoothDevice {
const GattConnectionCallback& callback,
const ConnectErrorCallback& error_callback) override;
- // Returns the timestamp when the device was last seen during an inquiry.
- // Returns nil if the device has never been seen during an inquiry.
- NSDate* GetLastInquiryUpdate();
+ // BluetoothDeviceMac override.
+ NSDate* GetLastUpdateTime() const override;
// Returns the Bluetooth address for the |device|. The returned address has a
// normalized format (see below).

Powered by Google App Engine
This is Rietveld 408576698