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

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

Issue 1228113004: Put the RenderFrame's ID into a per-frame WebBluetooth, and plumb that back to the browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@store-request-device-state-in-dispatcher
Patch Set: Rebase Created 5 years, 5 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 3fce338dd2710a4df29733fcff138e3f0bd4d703..6e05cb4aa7400ac1b0aa5d0c2ca8caeb120a1136 100644
--- a/content/common/bluetooth/bluetooth_messages.h
+++ b/content/common/bluetooth/bluetooth_messages.h
@@ -186,15 +186,10 @@ IPC_MESSAGE_CONTROL3(BluetoothMsg_WriteCharacteristicValueError,
// Messages sent from the renderer to the browser.
// Requests a bluetooth device from the browser.
-// TODO(scheib): UI to select and permit access to a device crbug.com/436280.
-// This will include refactoring messages to be associated with an origin
-// and making this initial requestDevice call with an associated frame.
-// This work is deferred to simplify initial prototype patches.
-// The Bluetooth feature, and the BluetoothDispatcherHost are behind
-// the --enable-experimental-web-platform-features flag.
-IPC_MESSAGE_CONTROL4(BluetoothHostMsg_RequestDevice,
+IPC_MESSAGE_CONTROL5(BluetoothHostMsg_RequestDevice,
int /* thread_id */,
int /* request_id */,
+ int /* frame_routing_id */,
std::vector<content::BluetoothScanFilter>,
std::vector<device::BluetoothUUID> /* optional_services */)
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/renderer/bluetooth/bluetooth_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698