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

Unified Diff: device/bluetooth/bluetooth_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_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..19d1c755ab46bc0205fece86c02ec43c0d7eeef3
--- /dev/null
+++ b/device/bluetooth/bluetooth_device_mac.h
@@ -0,0 +1,30 @@
+// 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:
+ ~BluetoothDeviceMac() override;
+
+ // 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();
+
+ DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceMac);
+};
+
+} // namespace device
+
+#endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_MAC_H_

Powered by Google App Engine
This is Rietveld 408576698