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

Unified Diff: device/bluetooth/bluetooth_socket_mac.mm

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_mac.h ('k') | device/bluetooth/bluetooth_socket_thread_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..b4a88c02c4004319cbc0991229731cc4d9f93085 100644
--- a/device/bluetooth/bluetooth_socket_mac.mm
+++ b/device/bluetooth/bluetooth_socket_mac.mm
@@ -123,6 +123,27 @@ 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();
@@ -154,7 +175,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);
« no previous file with comments | « device/bluetooth/bluetooth_socket_mac.h ('k') | device/bluetooth/bluetooth_socket_thread_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698