Index: device/bluetooth/bluetooth_socket_mac.mm |
diff --git a/device/bluetooth/bluetooth_socket_mac.mm b/device/bluetooth/bluetooth_socket_mac.mm |
index 3751441f5217c4a85ddcd1a6fb95dfe45a252a5e..871726d0c458c8b85f134f5f8958fb020c05d70c 100644 |
--- a/device/bluetooth/bluetooth_socket_mac.mm |
+++ b/device/bluetooth/bluetooth_socket_mac.mm |
@@ -123,6 +123,30 @@ scoped_refptr<BluetoothSocket> BluetoothSocketMac::CreateBluetoothSocket( |
return scoped_refptr<BluetoothSocketMac>(bluetooth_socket); |
} |
+void BluetoothSocketMac::Connect( |
+ const base::Closure& success_callback, |
+ const ErrorCompletionCallback& error_callback) { |
+ 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::DrainableIOBuffer> buffer, |
+ const SendCompletionCallback& success_callback, |
+ const ErrorCompletionCallback& error_callback) { |
+ NOTIMPLEMENTED(); |
+} |
+ |
+#if false |
bool BluetoothSocketMac::Receive(net::GrowableIOBuffer* buffer) { |
CHECK(buffer->offset() == 0); |
int length = incoming_data_buffer_->offset(); |
@@ -154,7 +178,7 @@ bool BluetoothSocketMac::Send(net::DrainableIOBuffer* buffer) { |
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); |