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

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

Issue 1542163002: Switch to standard integer types in device/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win Created 4 years, 12 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
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 "base/macros.h"
8 #include "device/bluetooth/bluetooth_device.h" 9 #include "device/bluetooth/bluetooth_device.h"
9 10
10 @class NSDate; 11 @class NSDate;
11 12
12 namespace device { 13 namespace device {
13 14
14 class BluetoothAdapterMac; 15 class BluetoothAdapterMac;
15 16
16 class BluetoothDeviceMac : public BluetoothDevice { 17 class BluetoothDeviceMac : public BluetoothDevice {
17 public: 18 public:
18 ~BluetoothDeviceMac() override; 19 ~BluetoothDeviceMac() override;
19 20
20 // Returns the time of the most recent interaction with the device. Returns 21 // Returns the time of the most recent interaction with the device. Returns
21 // nil if the device has never been seen. 22 // nil if the device has never been seen.
22 virtual NSDate* GetLastUpdateTime() const = 0; 23 virtual NSDate* GetLastUpdateTime() const = 0;
23 24
24 protected: 25 protected:
25 BluetoothDeviceMac(BluetoothAdapterMac* adapter); 26 BluetoothDeviceMac(BluetoothAdapterMac* adapter);
26 27
27 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceMac); 28 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceMac);
28 }; 29 };
29 30
30 } // namespace device 31 } // namespace device
31 32
32 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_MAC_H_ 33 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_MAC_H_
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_device_bluez.cc ('k') | device/bluetooth/bluetooth_device_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698