| Index: trunk/src/device/bluetooth/bluetooth_socket_mac.mm
|
| ===================================================================
|
| --- trunk/src/device/bluetooth/bluetooth_socket_mac.mm (revision 262179)
|
| +++ trunk/src/device/bluetooth/bluetooth_socket_mac.mm (working copy)
|
| @@ -123,27 +123,6 @@
|
| return scoped_refptr<BluetoothSocketMac>(bluetooth_socket);
|
| }
|
|
|
| -void BluetoothSocketMac::Close() { NOTIMPLEMENTED(); }
|
| -
|
| -void BluetoothSocketMac::Disconnect(const base::Closure& callback) {
|
| - NOTIMPLEMENTED();
|
| -}
|
| -
|
| -void BluetoothSocketMac::Receive(
|
| - int count,
|
| - const ReceiveCompletionCallback& success_callback,
|
| - const ReceiveErrorCompletionCallback& error_callback) {
|
| - NOTIMPLEMENTED();
|
| -}
|
| -
|
| -void BluetoothSocketMac::Send(scoped_refptr<net::IOBuffer> buffer,
|
| - int buffer_size,
|
| - const SendCompletionCallback& success_callback,
|
| - const ErrorCompletionCallback& error_callback) {
|
| - NOTIMPLEMENTED();
|
| -}
|
| -
|
| -#if 0
|
| bool BluetoothSocketMac::Receive(net::GrowableIOBuffer* buffer) {
|
| CHECK(buffer->offset() == 0);
|
| int length = incoming_data_buffer_->offset();
|
| @@ -175,7 +154,7 @@
|
| std::string BluetoothSocketMac::GetLastErrorMessage() const {
|
| return error_message_;
|
| }
|
| -#endif
|
| +
|
| void BluetoothSocketMac::OnDataReceived(
|
| IOBluetoothRFCOMMChannel* rfcomm_channel, void* data, size_t length) {
|
| DCHECK(rfcomm_channel_ == rfcomm_channel);
|
|
|