Lines Matching defs:BluetoothAdapter
25 // BluetoothAdapter represents a local Bluetooth adapter which may be used to
31 class BluetoothAdapter : public base::RefCounted<BluetoothAdapter> {
41 virtual void AdapterPresentChanged(BluetoothAdapter* adapter,
47 virtual void AdapterPoweredChanged(BluetoothAdapter* adapter,
53 virtual void AdapterDiscoverableChanged(BluetoothAdapter* adapter,
59 virtual void AdapterDiscoveringChanged(BluetoothAdapter* adapter,
65 virtual void DeviceAdded(BluetoothAdapter* adapter,
71 virtual void DeviceChanged(BluetoothAdapter* adapter,
78 virtual void DeviceRemoved(BluetoothAdapter* adapter,
96 static base::WeakPtr<BluetoothAdapter> CreateAdapter(
100 base::WeakPtr<BluetoothAdapter> GetWeakPtrForTesting();
105 virtual void AddObserver(BluetoothAdapter::Observer* observer) = 0;
107 BluetoothAdapter::Observer* observer) = 0;
247 friend class base::RefCounted<BluetoothAdapter>;
249 BluetoothAdapter();
250 virtual ~BluetoothAdapter();
253 // An implementation of BluetoothAdapter keeps an internal reference count to
297 // BluetoothAdapter in the event that the adapter unexpectedly stops
330 base::WeakPtrFactory<BluetoothAdapter> weak_ptr_factory_;