| Index: device/bluetooth/bluetooth_socket_chromeos.h
|
| diff --git a/device/bluetooth/bluetooth_socket_chromeos.h b/device/bluetooth/bluetooth_socket_chromeos.h
|
| index 1c52c679f0e76b2a343e5e2477cfa0eff56cde18..526fc58a9441c359939f49c8b514b939cca683c1 100644
|
| --- a/device/bluetooth/bluetooth_socket_chromeos.h
|
| +++ b/device/bluetooth/bluetooth_socket_chromeos.h
|
| @@ -32,10 +32,17 @@ namespace chromeos {
|
| class CHROMEOS_EXPORT BluetoothSocketChromeOS
|
| : public device::BluetoothSocket {
|
| public:
|
| - // BluetoothSocket override.
|
| - virtual bool Receive(net::GrowableIOBuffer* buffer) OVERRIDE;
|
| - virtual bool Send(net::DrainableIOBuffer* buffer) OVERRIDE;
|
| - virtual std::string GetLastErrorMessage() const OVERRIDE;
|
| + // BluetoothSocket override
|
| + virtual void Connect(const base::Closure& success_callback,
|
| + const ErrorCompletionCallback& error_callback) OVERRIDE;
|
| + virtual void Disconnect(const base::Closure& callback) OVERRIDE;
|
| + virtual void Receive(int count,
|
| + const ReceiveCompletionCallback& success_callback,
|
| + const ReceiveErrorCompletionCallback& error_callback)
|
| + OVERRIDE;
|
| + virtual void Send(scoped_refptr<net::DrainableIOBuffer> buffer,
|
| + const SendCompletionCallback& success_callback,
|
| + const ErrorCompletionCallback& error_callback) OVERRIDE;
|
|
|
| // Create an instance of a BluetoothSocket from the passed file descriptor
|
| // received over D-Bus in |fd|, the descriptor will be taken from that object
|
|
|