summaryrefslogtreecommitdiffstats
path: root/device/bluetooth/bluetooth_adapter_win.h
diff options
context:
space:
mode:
authoryoungki@chromium.org <youngki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-17 12:46:16 +0000
committeryoungki@chromium.org <youngki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-17 12:46:16 +0000
commit269543e261505b409a45903151411fb51a7a1813 (patch)
tree01360482bb4201ca1ad000c0172b27ae575bc4a2 /device/bluetooth/bluetooth_adapter_win.h
parent3666eab0be5dfd18fdc2eeae8634dc1b96a73434 (diff)
downloadchromium_src-269543e261505b409a45903151411fb51a7a1813.zip
chromium_src-269543e261505b409a45903151411fb51a7a1813.tar.gz
chromium_src-269543e261505b409a45903151411fb51a7a1813.tar.bz2
Implemented BluetoothAdapterWin::SetPowered().
I implemented BluetoothAdapterWin::AddObserver() and BluetoothAdapterWin::RemoveObserver(), although I am not calling any observer method in the implementation yet. I will do it when I finish implementing Discovery API. BUG=135470 Review URL: https://chromiumcodereview.appspot.com/11967027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177398 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'device/bluetooth/bluetooth_adapter_win.h')
-rw-r--r--device/bluetooth/bluetooth_adapter_win.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/device/bluetooth/bluetooth_adapter_win.h b/device/bluetooth/bluetooth_adapter_win.h
index b5a3187..56abf6d 100644
--- a/device/bluetooth/bluetooth_adapter_win.h
+++ b/device/bluetooth/bluetooth_adapter_win.h
@@ -66,6 +66,9 @@ class BluetoothAdapterWin : public BluetoothAdapter,
base::ThreadChecker thread_checker_;
+ // List of observers interested in event notifications from us.
+ ObserverList<BluetoothAdapter::Observer> observers_;
+
// 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_;