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 193b76bf25dc8a7a34e3ac5fa5411c309d4b6d3c..695a813f19e9985cfbc4de8df7253747a3da8c2d 100644 |
--- a/content/renderer/bluetooth/web_bluetooth_impl.h |
+++ b/content/renderer/bluetooth/web_bluetooth_impl.h |
@@ -37,9 +37,7 @@ class CONTENT_EXPORT WebBluetoothImpl |
: NON_EXPORTED_BASE(public blink::mojom::WebBluetoothServiceClient), |
NON_EXPORTED_BASE(public blink::WebBluetooth) { |
public: |
- WebBluetoothImpl(ServiceRegistry* service_registry, |
- ThreadSafeSender* thread_safe_sender, |
- int frame_routing_id); |
+ WebBluetoothImpl(ServiceRegistry* service_registry); |
~WebBluetoothImpl() override; |
// blink::WebBluetooth interface: |
@@ -85,6 +83,10 @@ class CONTENT_EXPORT WebBluetoothImpl |
mojo::Array<uint8_t> value) override; |
// Callbacks for WebBluetoothService calls: |
+ void OnRequestDeviceComplete( |
+ std::unique_ptr<blink::WebBluetoothRequestDeviceCallbacks> callbacks, |
+ const blink::mojom::WebBluetoothError error, |
+ blink::mojom::WebBluetoothDevicePtr device); |
void OnConnectComplete( |
std::unique_ptr<blink::WebBluetoothRemoteGATTServerConnectCallbacks> |
callbacks, |
@@ -118,8 +120,6 @@ class CONTENT_EXPORT WebBluetoothImpl |
const std::string& characteristic_instance_id, |
const std::vector<uint8_t>& value); |
- BluetoothDispatcher* GetDispatcher(); |
- |
blink::mojom::WebBluetoothService& GetWebBluetoothService(); |
ServiceRegistry* const service_registry_; |
blink::mojom::WebBluetoothServicePtr web_bluetooth_service_; |
@@ -134,9 +134,6 @@ class CONTENT_EXPORT WebBluetoothImpl |
// Binding associated with |web_bluetooth_service_|. |
mojo::AssociatedBinding<blink::mojom::WebBluetoothServiceClient> binding_; |
- const scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
- const int frame_routing_id_; |
- |
DISALLOW_COPY_AND_ASSIGN(WebBluetoothImpl); |
}; |