Index: device/bluetooth/bluetooth_adapter_win.cc |
diff --git a/device/bluetooth/bluetooth_adapter_win.cc b/device/bluetooth/bluetooth_adapter_win.cc |
index 6bbdb0573b9d1988ae4b86c862170dfd14823711..1ae692870c651e7bcca1e02c852c9e0a4c9fb8a5 100644 |
--- a/device/bluetooth/bluetooth_adapter_win.cc |
+++ b/device/bluetooth/bluetooth_adapter_win.cc |
@@ -167,8 +167,16 @@ void BluetoothAdapterWin::CreateRfcommService( |
bool insecure, |
const CreateServiceCallback& callback, |
const CreateServiceErrorCallback& error_callback) { |
- // TODO(keybuk): implement. |
- NOTIMPLEMENTED(); |
+ // Note that |insecure| is ignored. |
+ scoped_refptr<BluetoothSocketWin> socket = |
+ BluetoothSocketWin::CreateBluetoothSocket( |
+ ui_task_runner_, |
+ socket_thread_, |
+ NULL, |
+ net::NetLog::Source()); |
+ socket->Listen(this, uuid, channel, |
+ base::Bind(callback, socket), |
+ error_callback); |
} |
void BluetoothAdapterWin::CreateL2capService( |