| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Messages for Web Bluetooth API. | 5 // Messages for Web Bluetooth API. |
| 6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
| 7 | 7 |
| 8 // Web Bluetooth Security | 8 // Web Bluetooth Security |
| 9 // The security mechanisms of Bluetooth are described in the specification: | 9 // The security mechanisms of Bluetooth are described in the specification: |
| 10 // https://webbluetoothchrome.github.io/web-bluetooth | 10 // https://webbluetoothchrome.github.io/web-bluetooth |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 IPC_STRUCT_TRAITS_MEMBER(product_version) | 99 IPC_STRUCT_TRAITS_MEMBER(product_version) |
| 100 IPC_STRUCT_TRAITS_MEMBER(paired) | 100 IPC_STRUCT_TRAITS_MEMBER(paired) |
| 101 IPC_STRUCT_TRAITS_MEMBER(uuids) | 101 IPC_STRUCT_TRAITS_MEMBER(uuids) |
| 102 IPC_STRUCT_TRAITS_END() | 102 IPC_STRUCT_TRAITS_END() |
| 103 | 103 |
| 104 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebBluetoothError, | 104 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebBluetoothError, |
| 105 blink::WebBluetoothError::ENUM_MAX_VALUE) | 105 blink::WebBluetoothError::ENUM_MAX_VALUE) |
| 106 | 106 |
| 107 IPC_STRUCT_TRAITS_BEGIN(content::BluetoothScanFilter) | 107 IPC_STRUCT_TRAITS_BEGIN(content::BluetoothScanFilter) |
| 108 IPC_STRUCT_TRAITS_MEMBER(services) | 108 IPC_STRUCT_TRAITS_MEMBER(services) |
| 109 IPC_STRUCT_TRAITS_MEMBER(name) |
| 110 IPC_STRUCT_TRAITS_MEMBER(namePrefix) |
| 109 IPC_STRUCT_TRAITS_END() | 111 IPC_STRUCT_TRAITS_END() |
| 110 | 112 |
| 111 // Messages sent from the browser to the renderer. | 113 // Messages sent from the browser to the renderer. |
| 112 | 114 |
| 113 // Informs the renderer that the device request |request_id| succeeded. | 115 // Informs the renderer that the device request |request_id| succeeded. |
| 114 IPC_MESSAGE_CONTROL3(BluetoothMsg_RequestDeviceSuccess, | 116 IPC_MESSAGE_CONTROL3(BluetoothMsg_RequestDeviceSuccess, |
| 115 int /* thread_id */, | 117 int /* thread_id */, |
| 116 int /* request_id */, | 118 int /* request_id */, |
| 117 content::BluetoothDevice /* device */) | 119 content::BluetoothDevice /* device */) |
| 118 | 120 |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 | 268 |
| 267 // Register to receive characteristic value changed events. | 269 // Register to receive characteristic value changed events. |
| 268 IPC_MESSAGE_CONTROL2(BluetoothHostMsg_RegisterCharacteristic, | 270 IPC_MESSAGE_CONTROL2(BluetoothHostMsg_RegisterCharacteristic, |
| 269 int /* thread_id */, | 271 int /* thread_id */, |
| 270 std::string /* characteristics_instance_id */) | 272 std::string /* characteristics_instance_id */) |
| 271 | 273 |
| 272 // Unregister from characteristic value changed events. | 274 // Unregister from characteristic value changed events. |
| 273 IPC_MESSAGE_CONTROL2(BluetoothHostMsg_UnregisterCharacteristic, | 275 IPC_MESSAGE_CONTROL2(BluetoothHostMsg_UnregisterCharacteristic, |
| 274 int /* thread_id */, | 276 int /* thread_id */, |
| 275 std::string /* characteristics_instance_id */) | 277 std::string /* characteristics_instance_id */) |
| OLD | NEW |