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

Unified Diff: content/browser/bluetooth/web_bluetooth_service_impl.h

Issue 2304213002: Show device connection and paired status in chooser on Mac (Closed)
Patch Set: address more comments Created 4 years, 3 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/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..6c6fb5e3d8d38760453a88a693e7484e76c466b4 100644
--- a/content/browser/bluetooth/web_bluetooth_service_impl.h
+++ b/content/browser/bluetooth/web_bluetooth_service_impl.h
@@ -61,6 +61,8 @@ class CONTENT_EXPORT WebBluetoothServiceImpl
// Sets the connection error handler for WebBluetoothServiceImpl's Binding.
void SetClientConnectionErrorHandler(base::Closure closure);
+ bool IsDevicePaired(const std::string& device_address);
Jeffrey Yasskin 2016/09/14 23:52:03 Comment that this returns whether the device is pa
juncai 2016/09/15 01:00:02 Done.
+
private:
friend class FrameConnectedBluetoothDevicesTest;
typedef base::Callback<void(device::BluetoothDevice*)>

Powered by Google App Engine
This is Rietveld 408576698