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

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

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.h
diff --git a/content/renderer/bluetooth/web_bluetooth_impl.h b/content/renderer/bluetooth/web_bluetooth_impl.h
index 3075d1b5c3ed6918653abd8e7de1a5017412a4d8..ffb3c3f85fddc7c15fd3fbbba11a6e56c9f32688 100644
--- a/content/renderer/bluetooth/web_bluetooth_impl.h
+++ b/content/renderer/bluetooth/web_bluetooth_impl.h
@@ -23,14 +23,16 @@ namespace content {
class BluetoothDispatcher;
class ThreadSafeSender;
+class ServiceRegistry;
// Implementation of blink::WebBluetooth. Passes calls through to the thread
// specific BluetoothDispatcher.
class CONTENT_EXPORT WebBluetoothImpl
: NON_EXPORTED_BASE(public blink::WebBluetooth) {
public:
- explicit WebBluetoothImpl(ThreadSafeSender* thread_safe_sender);
- WebBluetoothImpl(ThreadSafeSender* thread_safe_sender, int frame_routing_id);
+ WebBluetoothImpl(ThreadSafeSender* thread_safe_sender,
+ ServiceRegistry* service_registry,
+ int frame_routing_id);
~WebBluetoothImpl() override;
// blink::WebBluetooth interface:
@@ -79,6 +81,7 @@ class CONTENT_EXPORT WebBluetoothImpl
const scoped_refptr<ThreadSafeSender> thread_safe_sender_;
const int frame_routing_id_;
+ ServiceRegistry* service_registry_;
DISALLOW_COPY_AND_ASSIGN(WebBluetoothImpl);
};

Powered by Google App Engine
This is Rietveld 408576698