Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Side by Side Diff: content/common/bluetooth/bluetooth_messages.h

Issue 1403723004: bluetooth: Implement BluetoothCharacteristicProperties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-query-cache
Patch Set: Address scheib's comments Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 int /* request_id */, 140 int /* request_id */,
141 std::string /* service_instance_id */) 141 std::string /* service_instance_id */)
142 142
143 // Informs the renderer that the primary service request |request_id| failed. 143 // Informs the renderer that the primary service request |request_id| failed.
144 IPC_MESSAGE_CONTROL3(BluetoothMsg_GetPrimaryServiceError, 144 IPC_MESSAGE_CONTROL3(BluetoothMsg_GetPrimaryServiceError,
145 int /* thread_id */, 145 int /* thread_id */,
146 int /* request_id */, 146 int /* request_id */,
147 blink::WebBluetoothError /* result */) 147 blink::WebBluetoothError /* result */)
148 148
149 // Informs the renderer that characteristic request |request_id| succeeded. 149 // Informs the renderer that characteristic request |request_id| succeeded.
150 IPC_MESSAGE_CONTROL3(BluetoothMsg_GetCharacteristicSuccess, 150 IPC_MESSAGE_CONTROL4(BluetoothMsg_GetCharacteristicSuccess,
151 int /* thread_id */, 151 int /* thread_id */,
152 int /* request_id */, 152 int /* request_id */,
153 std::string /* characteristic_instance_id */) 153 std::string /* characteristic_instance_id */,
154 uint32 /* characteristic_properties */)
154 155
155 // Informs the renderer that the characteristic request |request_id| failed. 156 // Informs the renderer that the characteristic request |request_id| failed.
156 IPC_MESSAGE_CONTROL3(BluetoothMsg_GetCharacteristicError, 157 IPC_MESSAGE_CONTROL3(BluetoothMsg_GetCharacteristicError,
157 int /* thread_id */, 158 int /* thread_id */,
158 int /* request_id */, 159 int /* request_id */,
159 blink::WebBluetoothError /* result */) 160 blink::WebBluetoothError /* result */)
160 161
161 // Informs the renderer that the value has been read. 162 // Informs the renderer that the value has been read.
162 IPC_MESSAGE_CONTROL3(BluetoothMsg_ReadCharacteristicValueSuccess, 163 IPC_MESSAGE_CONTROL3(BluetoothMsg_ReadCharacteristicValueSuccess,
163 int /* thread_id */, 164 int /* thread_id */,
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 266
266 // Register to receive characteristic value changed events. 267 // Register to receive characteristic value changed events.
267 IPC_MESSAGE_CONTROL2(BluetoothHostMsg_RegisterCharacteristic, 268 IPC_MESSAGE_CONTROL2(BluetoothHostMsg_RegisterCharacteristic,
268 int /* thread_id */, 269 int /* thread_id */,
269 std::string /* characteristics_instance_id */) 270 std::string /* characteristics_instance_id */)
270 271
271 // Unregister from characteristic value changed events. 272 // Unregister from characteristic value changed events.
272 IPC_MESSAGE_CONTROL2(BluetoothHostMsg_UnregisterCharacteristic, 273 IPC_MESSAGE_CONTROL2(BluetoothHostMsg_UnregisterCharacteristic,
273 int /* thread_id */, 274 int /* thread_id */,
274 std::string /* characteristics_instance_id */) 275 std::string /* characteristics_instance_id */)
OLDNEW
« no previous file with comments | « content/browser/bluetooth/bluetooth_dispatcher_host.cc ('k') | content/renderer/bluetooth/bluetooth_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698