diff options
author | scottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-07 19:58:52 +0000 |
---|---|---|
committer | scottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-07 19:58:52 +0000 |
commit | dc85cefeac3ce32fe326af854676f4d0ca3bd90a (patch) | |
tree | 73fc7ff21bc50d1c36c8c082397f7f6651d23c76 /device/bluetooth/bluetooth_socket_mac.mm | |
parent | 4b22d0aac0b8300ea268a92ae071235902efad83 (diff) | |
download | chromium_src-dc85cefeac3ce32fe326af854676f4d0ca3bd90a.zip chromium_src-dc85cefeac3ce32fe326af854676f4d0ca3bd90a.tar.gz chromium_src-dc85cefeac3ce32fe326af854676f4d0ca3bd90a.tar.bz2 |
Revert 262175 "* Replace "read" method with onReceiveXxx events."
Failed compile on Linux CrOS Full: http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Full/builds/2043/steps/compile/logs/stdio
> * Replace "read" method with onReceiveXxx events.
> * Few minor changes to idl file.
> * Socket implementation on Windows fully implemented and with (hopefully) correct threading usage.
> * ChromeOS and MacOS socket implementation empty for now (they will come in later CLs).
>
> BUG=336824,340363, 340413, 343651, 344081
>
> Review URL: https://codereview.chromium.org/180163009
TBR=rpaquay@chromium.org
Review URL: https://codereview.chromium.org/227493006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262180 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'device/bluetooth/bluetooth_socket_mac.mm')
-rw-r--r-- | device/bluetooth/bluetooth_socket_mac.mm | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/device/bluetooth/bluetooth_socket_mac.mm b/device/bluetooth/bluetooth_socket_mac.mm index b4a88c0..3751441 100644 --- a/device/bluetooth/bluetooth_socket_mac.mm +++ b/device/bluetooth/bluetooth_socket_mac.mm @@ -123,27 +123,6 @@ scoped_refptr<BluetoothSocket> BluetoothSocketMac::CreateBluetoothSocket( 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 @@ 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); |