| 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 IPC_STRUCT_TRAITS_BEGIN(content::BluetoothDevice) | 95 IPC_STRUCT_TRAITS_BEGIN(content::BluetoothDevice) |
| 96 IPC_STRUCT_TRAITS_MEMBER(id) | 96 IPC_STRUCT_TRAITS_MEMBER(id) |
| 97 IPC_STRUCT_TRAITS_MEMBER(name) | 97 IPC_STRUCT_TRAITS_MEMBER(name) |
| 98 IPC_STRUCT_TRAITS_MEMBER(tx_power) | 98 IPC_STRUCT_TRAITS_MEMBER(tx_power) |
| 99 IPC_STRUCT_TRAITS_MEMBER(rssi) | 99 IPC_STRUCT_TRAITS_MEMBER(rssi) |
| 100 IPC_STRUCT_TRAITS_MEMBER(device_class) | 100 IPC_STRUCT_TRAITS_MEMBER(device_class) |
| 101 IPC_STRUCT_TRAITS_MEMBER(vendor_id_source) | 101 IPC_STRUCT_TRAITS_MEMBER(vendor_id_source) |
| 102 IPC_STRUCT_TRAITS_MEMBER(vendor_id) | 102 IPC_STRUCT_TRAITS_MEMBER(vendor_id) |
| 103 IPC_STRUCT_TRAITS_MEMBER(product_id) | 103 IPC_STRUCT_TRAITS_MEMBER(product_id) |
| 104 IPC_STRUCT_TRAITS_MEMBER(product_version) | 104 IPC_STRUCT_TRAITS_MEMBER(product_version) |
| 105 IPC_STRUCT_TRAITS_MEMBER(paired) | |
| 106 IPC_STRUCT_TRAITS_MEMBER(uuids) | 105 IPC_STRUCT_TRAITS_MEMBER(uuids) |
| 107 IPC_STRUCT_TRAITS_END() | 106 IPC_STRUCT_TRAITS_END() |
| 108 | 107 |
| 109 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebBluetoothError, | 108 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebBluetoothError, |
| 110 blink::WebBluetoothError::ENUM_MAX_VALUE) | 109 blink::WebBluetoothError::ENUM_MAX_VALUE) |
| 111 | 110 |
| 112 IPC_STRUCT_TRAITS_BEGIN(content::BluetoothScanFilter) | 111 IPC_STRUCT_TRAITS_BEGIN(content::BluetoothScanFilter) |
| 113 IPC_STRUCT_TRAITS_MEMBER(services) | 112 IPC_STRUCT_TRAITS_MEMBER(services) |
| 114 IPC_STRUCT_TRAITS_MEMBER(name) | 113 IPC_STRUCT_TRAITS_MEMBER(name) |
| 115 IPC_STRUCT_TRAITS_MEMBER(namePrefix) | 114 IPC_STRUCT_TRAITS_MEMBER(namePrefix) |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 | 272 |
| 274 // Register to receive characteristic value changed events. | 273 // Register to receive characteristic value changed events. |
| 275 IPC_MESSAGE_CONTROL2(BluetoothHostMsg_RegisterCharacteristic, | 274 IPC_MESSAGE_CONTROL2(BluetoothHostMsg_RegisterCharacteristic, |
| 276 int /* thread_id */, | 275 int /* thread_id */, |
| 277 std::string /* characteristics_instance_id */) | 276 std::string /* characteristics_instance_id */) |
| 278 | 277 |
| 279 // Unregister from characteristic value changed events. | 278 // Unregister from characteristic value changed events. |
| 280 IPC_MESSAGE_CONTROL2(BluetoothHostMsg_UnregisterCharacteristic, | 279 IPC_MESSAGE_CONTROL2(BluetoothHostMsg_UnregisterCharacteristic, |
| 281 int /* thread_id */, | 280 int /* thread_id */, |
| 282 std::string /* characteristics_instance_id */) | 281 std::string /* characteristics_instance_id */) |
| OLD | NEW |