Index: device/bluetooth/bluetooth_adapter_win.h |
diff --git a/device/bluetooth/bluetooth_adapter_win.h b/device/bluetooth/bluetooth_adapter_win.h |
index 0265624dd997a6037a8ef93085f95c5f3335dfd6..9b0ac4aaf13611a04abcf56524c168eb3fd7ecf6 100644 |
--- a/device/bluetooth/bluetooth_adapter_win.h |
+++ b/device/bluetooth/bluetooth_adapter_win.h |
@@ -9,6 +9,7 @@ |
#include <utility> |
#include <vector> |
+#include "base/hash_tables.h" |
#include "base/memory/ref_counted.h" |
#include "base/memory/scoped_vector.h" |
#include "base/memory/weak_ptr.h" |
@@ -66,6 +67,10 @@ class BluetoothAdapterWin : public BluetoothAdapter, |
const ScopedVector<BluetoothTaskManagerWin::DeviceState>& devices) |
OVERRIDE; |
+ virtual void DevicesUpdated( |
+ const ScopedVector<BluetoothTaskManagerWin::DeviceState>& devices) |
+ OVERRIDE; |
+ |
private: |
friend class BluetoothAdapterFactory; |
friend class BluetoothAdapterWinTest; |
@@ -94,6 +99,7 @@ class BluetoothAdapterWin : public BluetoothAdapter, |
bool initialized_; |
bool powered_; |
DiscoveryStatus discovery_status_; |
+ base::hash_set<std::string> discovered_devices_; |
std::vector<std::pair<base::Closure, ErrorCallback> > |
on_start_discovery_callbacks_; |