| Index: device/bluetooth/bluetooth_socket_mac.h
|
| diff --git a/device/bluetooth/bluetooth_socket_mac.h b/device/bluetooth/bluetooth_socket_mac.h
|
| index 4d7bfb7e018fbca160366647fab4b45c536e5360..93774b681ab391eef53700da3a8b33eda9eef37c 100644
|
| --- a/device/bluetooth/bluetooth_socket_mac.h
|
| +++ b/device/bluetooth/bluetooth_socket_mac.h
|
| @@ -43,9 +43,16 @@ class BluetoothSocketMac : public BluetoothSocket {
|
| IOBluetoothSDPServiceRecord* record);
|
|
|
| // BluetoothSocket override
|
| - virtual bool Receive(net::GrowableIOBuffer* buffer) OVERRIDE;
|
| - virtual bool Send(net::DrainableIOBuffer* buffer) OVERRIDE;
|
| - virtual std::string GetLastErrorMessage() const 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;
|
|
|
| // called by BluetoothRFCOMMChannelDelegate.
|
| void OnDataReceived(IOBluetoothRFCOMMChannel* rfcomm_channel,
|
|
|