Chromium Code Reviews| 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 71fb48b244cb8e6fee0f474832a27def252e25e0..527c84d1672f51c545b0c6e560df7b932c18eddf 100644 |
| --- a/chrome/browser/chrome_content_browser_client.cc |
| +++ b/chrome/browser/chrome_content_browser_client.cc |
| @@ -164,6 +164,8 @@ |
| #include "content/public/common/sandbox_type.h" |
| #include "content/public/common/url_utils.h" |
| #include "content/public/common/web_preferences.h" |
| +#include "device/bluetooth/adapter.h" |
|
ortuno
2016/09/28 09:44:54
I think you need to add the device/bluetooth depen
mbrunson
2016/09/28 21:20:34
Done.
|
| +#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" |
| @@ -2911,6 +2913,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( |