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

Unified Diff: content/shell/browser/layout_test/layout_test_content_browser_client.cc

Issue 2737343003: bluetooth: Add FakeBluetooth interface (Closed)
Patch Set: move web-bluetooth-test.js Created 3 years, 8 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
« no previous file with comments | « content/shell/browser/content_shell_browser_manifest_overlay.json ('k') | device/bluetooth/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/layout_test/layout_test_content_browser_client.cc
diff --git a/content/shell/browser/layout_test/layout_test_content_browser_client.cc b/content/shell/browser/layout_test/layout_test_content_browser_client.cc
index f5aeb063dffce0b62921e716d9a104fe28df193f..d58245d8eeb3b4ec66294ac6716d3eea8391d465 100644
--- a/content/shell/browser/layout_test/layout_test_content_browser_client.cc
+++ b/content/shell/browser/layout_test/layout_test_content_browser_client.cc
@@ -21,6 +21,7 @@
#include "content/shell/common/layout_test/layout_test_switches.h"
#include "content/shell/common/shell_messages.h"
#include "content/shell/renderer/layout_test/blink_test_helpers.h"
+#include "device/bluetooth/test/fake_bluetooth.h"
#include "services/service_manager/public/cpp/binder_registry.h"
namespace content {
@@ -80,6 +81,9 @@ void LayoutTestContentBrowserClient::ExposeInterfacesToRenderer(
registry->AddInterface(
base::Bind(&LayoutTestBluetoothFakeAdapterSetterImpl::Create),
ui_task_runner);
+
+ registry->AddInterface(base::Bind(&bluetooth::FakeBluetooth::Create),
+ ui_task_runner);
}
void LayoutTestContentBrowserClient::OverrideWebkitPrefs(
« no previous file with comments | « content/shell/browser/content_shell_browser_manifest_overlay.json ('k') | device/bluetooth/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698