| 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 affa99695a4e0fe9fa76d2f2d506d775c8ffd95b..d0a9dc6705a01ae65684a445185864eab69a8b10 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -169,6 +169,8 @@
|
| #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/public/interfaces/adapter.mojom.h"
|
| #include "device/usb/public/interfaces/chooser_service.mojom.h"
|
| #include "device/usb/public/interfaces/device_manager.mojom.h"
|
| #include "gin/v8_initializer.h"
|
| @@ -2963,6 +2965,9 @@ void ChromeContentBrowserClient::RegisterRenderFrameMojoInterfaces(
|
| base::Bind(&CreateWebUsbChooserService, render_frame_host));
|
| }
|
|
|
| + registry->AddInterface<bluetooth::mojom::Adapter>(
|
| + base::Bind(&bluetooth::Adapter::Create));
|
| +
|
| if (!render_frame_host->GetParent()) {
|
| // Register mojo CredentialManager interface only for main frame.
|
| registry->AddInterface(
|
|
|