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

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

Issue 1902153003: bluetooth: Move connect/disconnect to mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-separate-connection-tests
Patch Set: Fix gypi Created 4 years, 7 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
« no previous file with comments | « content/browser/bluetooth/web_bluetooth_service_impl.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 int /* thread_id */, 112 int /* thread_id */,
113 int /* request_id */, 113 int /* request_id */,
114 content::BluetoothDevice /* device */) 114 content::BluetoothDevice /* device */)
115 115
116 // Informs the renderer that the device request |request_id| failed. 116 // Informs the renderer that the device request |request_id| failed.
117 IPC_MESSAGE_CONTROL3(BluetoothMsg_RequestDeviceError, 117 IPC_MESSAGE_CONTROL3(BluetoothMsg_RequestDeviceError,
118 int /* thread_id */, 118 int /* thread_id */,
119 int /* request_id */, 119 int /* request_id */,
120 blink::WebBluetoothError /* result */) 120 blink::WebBluetoothError /* result */)
121 121
122 // Informs the renderer that the connection request |request_id| succeeded.
123 IPC_MESSAGE_CONTROL2(BluetoothMsg_GATTServerConnectSuccess,
124 int /* thread_id */,
125 int /* request_id */)
126
127 // Informs the renderer that the connection request |request_id| failed.
128 IPC_MESSAGE_CONTROL3(BluetoothMsg_GATTServerConnectError,
129 int /* thread_id */,
130 int /* request_id */,
131 blink::WebBluetoothError /* result */)
132
133 // Messages sent from the renderer to the browser. 122 // Messages sent from the renderer to the browser.
134 123
135 // Requests a bluetooth device from the browser. 124 // Requests a bluetooth device from the browser.
136 IPC_MESSAGE_CONTROL5(BluetoothHostMsg_RequestDevice, 125 IPC_MESSAGE_CONTROL5(BluetoothHostMsg_RequestDevice,
137 int /* thread_id */, 126 int /* thread_id */,
138 int /* request_id */, 127 int /* request_id */,
139 int /* frame_routing_id */, 128 int /* frame_routing_id */,
140 std::vector<content::BluetoothScanFilter>, 129 std::vector<content::BluetoothScanFilter>,
141 std::vector<device::BluetoothUUID> /* optional_services */) 130 std::vector<device::BluetoothUUID> /* optional_services */)
142
143 // Connects to a bluetooth device.
144 IPC_MESSAGE_CONTROL4(BluetoothHostMsg_GATTServerConnect,
145 int /* thread_id */,
146 int /* request_id */,
147 int /* frame_routing_id */,
148 std::string /* device_id */)
149
150 // Disconnect from a device.
151 IPC_MESSAGE_CONTROL3(BluetoothHostMsg_GATTServerDisconnect,
152 int /* thread_id */,
153 int /* frame_routing_id */,
154 std::string /* device_id */)
OLDNEW
« no previous file with comments | « content/browser/bluetooth/web_bluetooth_service_impl.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698