Index: content/browser/bluetooth/web_bluetooth_service_impl.h |
diff --git a/content/browser/bluetooth/web_bluetooth_service_impl.h b/content/browser/bluetooth/web_bluetooth_service_impl.h |
index 94b2fb02c344fced7fa8208e87650962227f2127..c946d2d057e1c6c8ca14824109364b800bd52e06 100644 |
--- a/content/browser/bluetooth/web_bluetooth_service_impl.h |
+++ b/content/browser/bluetooth/web_bluetooth_service_impl.h |
@@ -61,6 +61,10 @@ class CONTENT_EXPORT WebBluetoothServiceImpl |
// Sets the connection error handler for WebBluetoothServiceImpl's Binding. |
void SetClientConnectionErrorHandler(base::Closure closure); |
+ // Returns whether the device is paired with the |render_frame_host_|'s |
+ // GetLastCommittedOrigin(). |
+ bool IsDevicePaired(const std::string& device_address); |
+ |
private: |
friend class FrameConnectedBluetoothDevicesTest; |
typedef base::Callback<void(device::BluetoothDevice*)> |