| Index: device/bluetooth/bluetooth_socket_chromeos.cc
|
| diff --git a/device/bluetooth/bluetooth_socket_chromeos.cc b/device/bluetooth/bluetooth_socket_chromeos.cc
|
| index 85544d283968f4a9c84505e5248ffe23798f50c2..26b655486883490e25236d55b84a92a4cbe85081 100644
|
| --- a/device/bluetooth/bluetooth_socket_chromeos.cc
|
| +++ b/device/bluetooth/bluetooth_socket_chromeos.cc
|
| @@ -47,6 +47,31 @@ BluetoothSocketChromeOS::~BluetoothSocketChromeOS() {
|
| close(fd_);
|
| }
|
|
|
| +void BluetoothSocketChromeOS::Connect(
|
| + const base::Closure& success_callback,
|
| + const ErrorCompletionCallback& error_callback) {
|
| + NOTIMPLEMENTED();
|
| +}
|
| +
|
| +void BluetoothSocketChromeOS::Disconnect(const base::Closure& callback) {
|
| + NOTIMPLEMENTED();
|
| +}
|
| +
|
| +void BluetoothSocketChromeOS::Receive(
|
| + int count,
|
| + const ReceiveCompletionCallback& success_callback,
|
| + const ReceiveErrorCompletionCallback& error_callback) {
|
| + NOTIMPLEMENTED();
|
| +}
|
| +
|
| +void BluetoothSocketChromeOS::Send(
|
| + scoped_refptr<net::DrainableIOBuffer> buffer,
|
| + const SendCompletionCallback& success_callback,
|
| + const ErrorCompletionCallback& error_callback) {
|
| + NOTIMPLEMENTED();
|
| +}
|
| +
|
| +#if false
|
| bool BluetoothSocketChromeOS::Receive(net::GrowableIOBuffer *buffer) {
|
| base::ThreadRestrictions::AssertIOAllowed();
|
|
|
| @@ -153,6 +178,7 @@ bool BluetoothSocketChromeOS::Send(net::DrainableIOBuffer *buffer) {
|
| std::string BluetoothSocketChromeOS::GetLastErrorMessage() const {
|
| return error_message_;
|
| }
|
| +#endif
|
|
|
| // static
|
| scoped_refptr<device::BluetoothSocket> BluetoothSocketChromeOS::Create(
|
|
|