Index: device/bluetooth/bluetooth_adapter_win.h |
diff --git a/device/bluetooth/bluetooth_adapter_win.h b/device/bluetooth/bluetooth_adapter_win.h |
index de76b18e8eb7719b0994d5c782dd90685655601f..8e0cba7d77b546b90e91427ee18f3cbb00df3385 100644 |
--- a/device/bluetooth/bluetooth_adapter_win.h |
+++ b/device/bluetooth/bluetooth_adapter_win.h |
@@ -16,6 +16,7 @@ class BluetoothAdapterFactory; |
class BluetoothDevice; |
class BluetoothAdapterWin : public BluetoothAdapter { |
+ public: |
// BluetoothAdapter override |
virtual void AddObserver(BluetoothAdapter::Observer* observer) OVERRIDE; |
virtual void RemoveObserver(BluetoothAdapter::Observer* observer) OVERRIDE; |
@@ -44,6 +45,12 @@ class BluetoothAdapterWin : public BluetoothAdapter { |
BluetoothAdapterWin(); |
virtual ~BluetoothAdapterWin(); |
+ // Obtains the default adapter info (the first bluetooth radio info) and |
+ // tracks future changes to it. |
+ void TrackDefaultAdapter(); |
+ |
+ void UpdateAdapterState(); |
+ |
// NOTE: This should remain the last member so it'll be destroyed and |
// invalidate its weak pointers before any other members are destroyed. |
base::WeakPtrFactory<BluetoothAdapterWin> weak_ptr_factory_; |