Chromium Code Reviews| Index: content/renderer/bluetooth/bluetooth_dispatcher.cc |
| diff --git a/content/renderer/bluetooth/bluetooth_dispatcher.cc b/content/renderer/bluetooth/bluetooth_dispatcher.cc |
| index 82bad22cb0993b98088c0f0bcf98e5f4d63f24cb..1e38a4099eb9d81458fc1139f8bfd04f4cfbf1b6 100644 |
| --- a/content/renderer/bluetooth/bluetooth_dispatcher.cc |
| +++ b/content/renderer/bluetooth/bluetooth_dispatcher.cc |
| @@ -663,10 +663,13 @@ void BluetoothDispatcher::OnReadValueError(int thread_id, |
| pending_read_value_requests_.Remove(request_id); |
| } |
| -void BluetoothDispatcher::OnWriteValueSuccess(int thread_id, int request_id) { |
| +void BluetoothDispatcher::OnWriteValueSuccess( |
| + int thread_id, |
| + int request_id, |
| + const std::vector<uint8_t>& value) { |
|
ortuno
2016/01/20 16:34:40
I don't think you need to send back the value. You
|
| DCHECK(pending_write_value_requests_.Lookup(request_id)) << request_id; |
| - pending_write_value_requests_.Lookup(request_id)->onSuccess(); |
| + pending_write_value_requests_.Lookup(request_id)->onSuccess(value); |
| pending_write_value_requests_.Remove(request_id); |
| } |