Index: chrome/browser/chrome_content_browser_client.cc |
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc |
index d0a9dc6705a01ae65684a445185864eab69a8b10..1abcd881cf5a846db7e0005b209b27445c166a3a 100644 |
--- a/chrome/browser/chrome_content_browser_client.cc |
+++ b/chrome/browser/chrome_content_browser_client.cc |
@@ -169,7 +169,7 @@ |
#include "content/public/common/service_names.h" |
#include "content/public/common/url_utils.h" |
#include "content/public/common/web_preferences.h" |
-#include "device/bluetooth/adapter.h" |
+#include "device/bluetooth/adapter_factory.h" |
#include "device/bluetooth/public/interfaces/adapter.mojom.h" |
#include "device/usb/public/interfaces/chooser_service.mojom.h" |
#include "device/usb/public/interfaces/device_manager.mojom.h" |
@@ -2965,8 +2965,8 @@ void ChromeContentBrowserClient::RegisterRenderFrameMojoInterfaces( |
base::Bind(&CreateWebUsbChooserService, render_frame_host)); |
} |
- registry->AddInterface<bluetooth::mojom::Adapter>( |
- base::Bind(&bluetooth::Adapter::Create)); |
+ registry->AddInterface<bluetooth::mojom::AdapterFactory>( |
+ base::Bind(&bluetooth::AdapterFactory::Create)); |
if (!render_frame_host->GetParent()) { |
// Register mojo CredentialManager interface only for main frame. |