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

Unified Diff: device/bluetooth/bluetooth_socket_chromeos.cc

Issue 180163009: chrome.bluetooth API improvements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix ChromeOS Full build. 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
« no previous file with comments | « device/bluetooth/bluetooth_socket_chromeos.h ('k') | device/bluetooth/bluetooth_socket_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..7725b6d9a60aca544cdfef2508e3500047b97d53 100644
--- a/device/bluetooth/bluetooth_socket_chromeos.cc
+++ b/device/bluetooth/bluetooth_socket_chromeos.cc
@@ -47,6 +47,28 @@ BluetoothSocketChromeOS::~BluetoothSocketChromeOS() {
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();
@@ -153,6 +175,7 @@ bool BluetoothSocketChromeOS::Send(net::DrainableIOBuffer *buffer) {
std::string BluetoothSocketChromeOS::GetLastErrorMessage() const {
return error_message_;
}
+#endif
// static
scoped_refptr<device::BluetoothSocket> BluetoothSocketChromeOS::Create(
« no previous file with comments | « device/bluetooth/bluetooth_socket_chromeos.h ('k') | device/bluetooth/bluetooth_socket_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698