Lines Matching refs:device
13 #include "device/bluetooth/bluetooth_adapter.h"
14 #include "device/bluetooth/bluetooth_device.h"
15 #include "device/bluetooth/bluetooth_socket.h"
16 #include "device/bluetooth/bluetooth_uuid.h"
26 // Represents a Bluetooth connection with a remote device. The connection is a
29 public device::BluetoothAdapter::Observer {
35 const device::BluetoothUUID& uuid);
45 virtual void DeviceRemoved(device::BluetoothAdapter* adapter,
46 device::BluetoothDevice* device) OVERRIDE;
50 device::BluetoothDevice* device,
51 const device::BluetoothUUID& uuid,
52 const device::BluetoothDevice::ConnectToServiceCallback& callback,
53 const device::BluetoothDevice::ConnectToServiceErrorCallback&
61 void OnAdapterInitialized(scoped_refptr<device::BluetoothAdapter> adapter);
62 void OnConnected(scoped_refptr<device::BluetoothSocket> socket);
67 void OnReceiveError(device::BluetoothSocket::ErrorReason error_reason,
71 // remote device that |this| connection should connect to.
72 const device::BluetoothUUID uuid_;
76 scoped_refptr<device::BluetoothAdapter> adapter_;
80 scoped_refptr<device::BluetoothSocket> socket_;