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

Unified Diff: content/common/bluetooth/bluetooth_messages.h

Issue 1082273006: bluetooth: Impl uses new WebBluetoothGATTRemoteServer content/browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes based on comments Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/child/bluetooth/web_bluetooth_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/bluetooth/bluetooth_messages.h
diff --git a/content/common/bluetooth/bluetooth_messages.h b/content/common/bluetooth/bluetooth_messages.h
index a89404a2bdee2ebdd3275e54497187df17d2bdd0..d9a1c94104cfa052de3b981006d422ede35dc5c5 100644
--- a/content/common/bluetooth/bluetooth_messages.h
+++ b/content/common/bluetooth/bluetooth_messages.h
@@ -118,6 +118,12 @@ IPC_MESSAGE_CONTROL3(BluetoothMsg_RequestDeviceError,
int /* request_id */,
content::BluetoothError /* result */)
+// Informs the renderer that the connection request |request_id| succeeded.
+IPC_MESSAGE_CONTROL3(BluetoothMsg_ConnectGATTSuccess,
+ int /* thread_id */,
+ int /* request_id */,
+ std::string /* device_instance_id */)
+
// Messages sent from the renderer to the browser.
// Requests a bluetooth device from the browser.
@@ -131,6 +137,12 @@ IPC_MESSAGE_CONTROL2(BluetoothHostMsg_RequestDevice,
int /* thread_id */,
int /* request_id */)
+// Connects to a bluetooth device.
+IPC_MESSAGE_CONTROL3(BluetoothHostMsg_ConnectGATT,
+ int /* thread_id */,
+ int /* request_id */,
+ std::string /* device_instance_id */)
+
// Configures the mock data set in the browser used while under test.
// TODO(scheib): Disable testing in non-test executables. crbug.com/436284.
IPC_MESSAGE_CONTROL1(BluetoothHostMsg_SetBluetoothMockDataSetForTesting,
« no previous file with comments | « content/child/bluetooth/web_bluetooth_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698