Chromium Code Reviews| Index: content/common/bluetooth/bluetooth_messages.h |
| diff --git a/content/common/bluetooth/bluetooth_messages.h b/content/common/bluetooth/bluetooth_messages.h |
| index 53623e773ea63739c6b5b60ddba9c56fb54ed73b..4fe6c6bd6feb66c3f14be8383a161b69f9cf3589 100644 |
| --- a/content/common/bluetooth/bluetooth_messages.h |
| +++ b/content/common/bluetooth/bluetooth_messages.h |
| @@ -164,6 +164,21 @@ IPC_MESSAGE_CONTROL3(BluetoothMsg_GetCharacteristicError, |
| int /* request_id */, |
| blink::WebBluetoothError /* result */) |
| +// Informs the renderer that characteristic request |request_id| succeeded. |
|
Jeffrey Yasskin
2016/02/24 23:20:29
s/characteristic/multiple-characteristic/?
ortuno
2016/02/25 23:08:27
Done.
|
| +IPC_MESSAGE_CONTROL5( |
| + BluetoothMsg_GetCharacteristicsSuccess, |
| + int /* thread_id */, |
| + int /* request_id */, |
| + std::vector<std::string> /* characteristics_instance_ids */, |
| + std::vector<std::string> /* characteristics_uuids */, |
| + std::vector<uint32_t> /* characteristics_properties */) |
| + |
| +// Informs the renderer that the characteristic request |request_id| failed. |
| +IPC_MESSAGE_CONTROL3(BluetoothMsg_GetCharacteristicsError, |
| + int /* thread_id */, |
| + int /* request_id */, |
| + blink::WebBluetoothError /* result */) |
| + |
| // Informs the renderer that the value has been read. |
| IPC_MESSAGE_CONTROL3(BluetoothMsg_ReadCharacteristicValueSuccess, |
| int /* thread_id */, |
| @@ -253,6 +268,14 @@ IPC_MESSAGE_CONTROL5(BluetoothHostMsg_GetCharacteristic, |
| std::string /* service_instance_id */, |
| std::string /* characteristic_uuid */) |
| +// Gets GATT Characteristics within a GATT Service. |
| +IPC_MESSAGE_CONTROL5(BluetoothHostMsg_GetCharacteristics, |
| + int /* thread_id */, |
| + int /* request_id */, |
| + int /* frame_routing_id */, |
| + std::string /* service_instance_id */, |
| + std::string /* characteristic_uuid */) |
| + |
| // Reads the characteristics value from a bluetooth device. |
| IPC_MESSAGE_CONTROL4(BluetoothHostMsg_ReadValue, |
| int /* thread_id */, |