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

Unified Diff: device/bluetooth/bluetooth_adapter_chromeos.cc

Issue 278663002: Implement chrome.bluetoothSocket.listenUsing*() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix BluetoothAdapterMac include typo Created 6 years, 7 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: device/bluetooth/bluetooth_adapter_chromeos.cc
diff --git a/device/bluetooth/bluetooth_adapter_chromeos.cc b/device/bluetooth/bluetooth_adapter_chromeos.cc
index c7e8d9ac4c9b81e245fd8c9765cb1237c037f786..1812c7be2ab1b9f49742828d8c65698dc9860f20 100644
--- a/device/bluetooth/bluetooth_adapter_chromeos.cc
+++ b/device/bluetooth/bluetooth_adapter_chromeos.cc
@@ -22,11 +22,15 @@
#include "device/bluetooth/bluetooth_device.h"
#include "device/bluetooth/bluetooth_device_chromeos.h"
#include "device/bluetooth/bluetooth_pairing_chromeos.h"
+#include "device/bluetooth/bluetooth_socket_chromeos.h"
#include "device/bluetooth/bluetooth_socket_thread.h"
+#include "device/bluetooth/bluetooth_uuid.h"
#include "third_party/cros_system_api/dbus/service_constants.h"
using device::BluetoothAdapter;
using device::BluetoothDevice;
+using device::BluetoothSocket;
+using device::BluetoothUUID;
namespace {
@@ -233,6 +237,25 @@ void BluetoothAdapterChromeOS::ReadLocalOutOfBandPairingData(
error_callback.Run();
}
+void BluetoothAdapterChromeOS::CreateRfcommService(
+ const BluetoothUUID& uuid,
+ int channel,
+ bool insecure,
+ const CreateServiceCallback& callback,
+ const CreateServiceErrorCallback& error_callback) {
+ // TODO(keybuk): implement.
+ NOTIMPLEMENTED();
+}
+
+void BluetoothAdapterChromeOS::CreateL2capService(
+ const BluetoothUUID& uuid,
+ int psm,
+ const CreateServiceCallback& callback,
+ const CreateServiceErrorCallback& error_callback) {
+ // TODO(keybuk): implement.
+ NOTIMPLEMENTED();
+}
+
void BluetoothAdapterChromeOS::RemovePairingDelegateInternal(
BluetoothDevice::PairingDelegate* pairing_delegate) {
// Before removing a pairing delegate make sure that there aren't any devices

Powered by Google App Engine
This is Rietveld 408576698