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

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

Issue 1120373004: bluetooth: Browser-side implementation of connectGATT. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-request-device-implementation
Patch Set: Address jyasskin's comments Created 5 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 side-by-side diff with in-line comments
Download patch
Index: content/common/bluetooth/bluetooth_messages.h
diff --git a/content/common/bluetooth/bluetooth_messages.h b/content/common/bluetooth/bluetooth_messages.h
index 12da0317ff8949e959ad068fe827ae6d03a115d8..ccef513dbcbd2f77a3f4433315fbbbbfcc1e529e 100644
--- a/content/common/bluetooth/bluetooth_messages.h
+++ b/content/common/bluetooth/bluetooth_messages.h
@@ -123,6 +123,12 @@ IPC_MESSAGE_CONTROL3(BluetoothMsg_ConnectGATTSuccess,
int /* request_id */,
std::string /* device_instance_id */)
+// Informs the renderer that the connection request |request_id| failed.
+IPC_MESSAGE_CONTROL3(BluetoothMsg_ConnectGATTError,
+ int /* thread_id */,
+ int /* request_id */,
+ content::BluetoothError /* result */)
+
// Messages sent from the renderer to the browser.
// Requests a bluetooth device from the browser.

Powered by Google App Engine
This is Rietveld 408576698