Index: content/browser/frame_host/render_frame_host_impl.h |
diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h |
index 2b6952c1656ec8b8a9dcd7e367dfd0563e30d622..1d147f3315e8537d13180e45487bfbc40e9455b3 100644 |
--- a/content/browser/frame_host/render_frame_host_impl.h |
+++ b/content/browser/frame_host/render_frame_host_impl.h |
@@ -11,6 +11,7 @@ |
#include <map> |
#include <set> |
#include <string> |
+#include <unordered_set> |
#include <vector> |
#include "base/callback.h" |
@@ -809,7 +810,8 @@ class CONTENT_EXPORT RenderFrameHostImpl |
mojo::InterfaceRequest<blink::mojom::WebBluetoothService> request); |
// Deletes the Web Bluetooth Service owned by the frame. |
- void DeleteWebBluetoothService(); |
+ void DeleteWebBluetoothService( |
+ WebBluetoothServiceImpl* web_bluetooth_service); |
// service_manager::InterfaceFactory<media::mojom::InterfaceFactory> |
void Create(const service_manager::Identity& remote_identity, |
@@ -990,7 +992,8 @@ class CONTENT_EXPORT RenderFrameHostImpl |
app_web_message_port_message_filter_; |
#endif |
- std::unique_ptr<WebBluetoothServiceImpl> web_bluetooth_service_; |
+ std::unordered_set<std::unique_ptr<WebBluetoothServiceImpl>> |
+ web_bluetooth_services_; |
// The object managing the accessibility tree for this frame. |
std::unique_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; |