diff options
author | youngki@chromium.org <youngki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-17 12:46:16 +0000 |
---|---|---|
committer | youngki@chromium.org <youngki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-17 12:46:16 +0000 |
commit | 269543e261505b409a45903151411fb51a7a1813 (patch) | |
tree | 01360482bb4201ca1ad000c0172b27ae575bc4a2 /device/bluetooth/bluetooth_adapter_win.h | |
parent | 3666eab0be5dfd18fdc2eeae8634dc1b96a73434 (diff) | |
download | chromium_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.h | 3 |
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_; |