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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 2379573006: bluetooth: Standardize Bluetooth adapter access in Adapter service. (Closed)
Patch Set: Change Mojo interface Created 4 years, 2 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: 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 48ee5e3d74962a6fe05623ca8d7f2ae0be3f8108..00cd92b39494e9ea118620a37ae77819d8db6ddf 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -170,7 +170,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"
@@ -2978,8 +2978,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.

Powered by Google App Engine
This is Rietveld 408576698