| Index: content/common/bluetooth/bluetooth_messages.h
|
| diff --git a/content/common/bluetooth/bluetooth_messages.h b/content/common/bluetooth/bluetooth_messages.h
|
| index 007e7f3f8f05e9b7540d3a98d48e47a4040f79dd..6e570bec8a2cb62c8f89bf505aa357002708e117 100644
|
| --- a/content/common/bluetooth/bluetooth_messages.h
|
| +++ b/content/common/bluetooth/bluetooth_messages.h
|
| @@ -81,6 +81,7 @@
|
| #include "ipc/ipc_message_macros.h"
|
| #include "content/common/bluetooth/bluetooth_device.h"
|
| #include "content/common/bluetooth/bluetooth_error.h"
|
| +#include "content/common/bluetooth/bluetooth_scan_filter.h"
|
|
|
| #define IPC_MESSAGE_START BluetoothMsgStart
|
|
|
| @@ -103,6 +104,10 @@ IPC_STRUCT_TRAITS_END()
|
| IPC_ENUM_TRAITS_MAX_VALUE(content::BluetoothError,
|
| content::BluetoothError::ENUM_MAX_VALUE)
|
|
|
| +IPC_STRUCT_TRAITS_BEGIN(content::BluetoothScanFilter)
|
| +IPC_STRUCT_TRAITS_MEMBER(services)
|
| +IPC_STRUCT_TRAITS_END()
|
| +
|
| // Messages sent from the browser to the renderer.
|
|
|
| // Informs the renderer that the device request |request_id| succeeded.
|
| @@ -179,9 +184,11 @@ IPC_MESSAGE_CONTROL4(BluetoothMsg_ReadCharacteristicValueError,
|
| // This work is deferred to simplify initial prototype patches.
|
| // The Bluetooth feature, and the BluetoothDispatcherHost are behind
|
| // the --enable-experimental-web-platform-features flag.
|
| -IPC_MESSAGE_CONTROL2(BluetoothHostMsg_RequestDevice,
|
| +IPC_MESSAGE_CONTROL4(BluetoothHostMsg_RequestDevice,
|
| int /* thread_id */,
|
| - int /* request_id */)
|
| + int /* request_id */,
|
| + std::vector<content::BluetoothScanFilter>,
|
| + std::vector<device::BluetoothUUID> /* optional_services */)
|
|
|
| // Connects to a bluetooth device.
|
| IPC_MESSAGE_CONTROL3(BluetoothHostMsg_ConnectGATT,
|
|
|