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

Unified Diff: content/renderer/bluetooth/web_bluetooth_impl.cc

Issue 1775953004: bluetooth: Move writeValue to mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@my-origin
Patch Set: Moar cleanup Created 4 years, 9 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/renderer/bluetooth/web_bluetooth_impl.cc
diff --git a/content/renderer/bluetooth/web_bluetooth_impl.cc b/content/renderer/bluetooth/web_bluetooth_impl.cc
index 2df80b3ad7421d2ef0dc55b3a12fa2c0ff923dba..029e287a35819a8007fe348473b51c3c155f8e3f 100644
--- a/content/renderer/bluetooth/web_bluetooth_impl.cc
+++ b/content/renderer/bluetooth/web_bluetooth_impl.cc
@@ -10,13 +10,12 @@
namespace content {
-WebBluetoothImpl::WebBluetoothImpl(ThreadSafeSender* thread_safe_sender)
- : WebBluetoothImpl(thread_safe_sender, MSG_ROUTING_NONE) {}
-
WebBluetoothImpl::WebBluetoothImpl(ThreadSafeSender* thread_safe_sender,
+ ServiceRegistry* service_registry,
int frame_routing_id)
: thread_safe_sender_(thread_safe_sender),
- frame_routing_id_(frame_routing_id) {}
+ frame_routing_id_(frame_routing_id),
+ service_registry_(service_registry) {}
WebBluetoothImpl::~WebBluetoothImpl() {
}
@@ -108,7 +107,7 @@ void WebBluetoothImpl::registerCharacteristicObject(
BluetoothDispatcher* WebBluetoothImpl::GetDispatcher() {
return BluetoothDispatcher::GetOrCreateThreadSpecificInstance(
- thread_safe_sender_.get());
+ thread_safe_sender_.get(), service_registry_);
}
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698