Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(327)

Unified Diff: trunk/src/device/bluetooth/bluetooth_socket_chromeos.cc

Issue 227493006: Revert 262175 "* Replace "read" method with onReceiveXxx events." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: trunk/src/device/bluetooth/bluetooth_socket_chromeos.cc
===================================================================
--- trunk/src/device/bluetooth/bluetooth_socket_chromeos.cc (revision 262179)
+++ trunk/src/device/bluetooth/bluetooth_socket_chromeos.cc (working copy)
@@ -47,28 +47,6 @@
close(fd_);
}
-void BluetoothSocketChromeOS::Close() { 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::IOBuffer> buffer,
- int buffer_size,
- const SendCompletionCallback& success_callback,
- const ErrorCompletionCallback& error_callback) {
- NOTIMPLEMENTED();
-}
-
-#if 0
bool BluetoothSocketChromeOS::Receive(net::GrowableIOBuffer *buffer) {
base::ThreadRestrictions::AssertIOAllowed();
@@ -175,7 +153,6 @@
std::string BluetoothSocketChromeOS::GetLastErrorMessage() const {
return error_message_;
}
-#endif
// static
scoped_refptr<device::BluetoothSocket> BluetoothSocketChromeOS::Create(
« no previous file with comments | « trunk/src/device/bluetooth/bluetooth_socket_chromeos.h ('k') | trunk/src/device/bluetooth/bluetooth_socket_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698