| Index: device/bluetooth/bluetooth_device.h | 
| diff --git a/device/bluetooth/bluetooth_device.h b/device/bluetooth/bluetooth_device.h | 
| index 82cc1ce1336836ccda653183c904a4f21ba0f393..93ac0b164bab8f89a94e0717e754bb0f88f59244 100644 | 
| --- a/device/bluetooth/bluetooth_device.h | 
| +++ b/device/bluetooth/bluetooth_device.h | 
| @@ -17,6 +17,7 @@ | 
| #include "base/gtest_prod_util.h" | 
| #include "base/memory/ref_counted.h" | 
| #include "base/strings/string16.h" | 
| +#include "base/time/time.h" | 
| #include "device/bluetooth/bluetooth_export.h" | 
| #include "device/bluetooth/bluetooth_uuid.h" | 
| #include "net/log/net_log.h" | 
| @@ -467,6 +468,12 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothDevice { | 
| // empty string. | 
| static std::string CanonicalizeAddress(const std::string& address); | 
|  | 
| +  // Return the timestamp for when this device was last seen. | 
| +  base::Time GetLastUpdateTime() const { return last_update_time_; } | 
| + | 
| +  // Update the last time this device was seen. | 
| +  void UpdateTimestamp(); | 
| + | 
| // Return associated BluetoothAdapter. | 
| BluetoothAdapter* GetAdapter() { return adapter_; } | 
|  | 
| @@ -483,6 +490,7 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothDevice { | 
| BluetoothGattConnection_ErrorAfterConnection); | 
| FRIEND_TEST_ALL_PREFIXES(BluetoothTest, | 
| BluetoothGattConnection_DisconnectGatt_Cleanup); | 
| +  FRIEND_TEST_ALL_PREFIXES(BluetoothTest, RemoveOutdatedDevices); | 
|  | 
| BluetoothDevice(BluetoothAdapter* adapter); | 
|  | 
| @@ -547,6 +555,9 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothDevice { | 
| // the specific data. The data is stored as BinaryValue. | 
| scoped_ptr<base::DictionaryValue> services_data_; | 
|  | 
| +  // Timestamp for when an advertisement was last seen. | 
| +  base::Time last_update_time_; | 
| + | 
| private: | 
| // Returns a localized string containing the device's bluetooth address and | 
| // a device type for display when |name_| is empty. | 
|  |