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

Unified Diff: content/test/layouttest_support.cc

Issue 1922923002: bluetooth: Move requestDevice to mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-separate-tests-request-device
Patch Set: Remove debug log Created 4 years, 7 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: content/test/layouttest_support.cc
diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc
index 5b5a0f617c4929612aa3251b00489b13afa4242f..7614b8942af42bb6ba9422508d1ef3758d0698f0 100644
--- a/content/test/layouttest_support.cc
+++ b/content/test/layouttest_support.cc
@@ -15,7 +15,7 @@
#include "components/test_runner/test_common.h"
#include "components/test_runner/web_frame_test_proxy.h"
#include "components/test_runner/web_test_proxy.h"
-#include "content/browser/bluetooth/bluetooth_dispatcher_host.h"
+#include "content/browser/bluetooth/bluetooth_adapter_factory_wrapper.h"
#include "content/browser/renderer_host/render_process_host_impl.h"
#include "content/browser/renderer_host/render_widget_host_impl.h"
#include "content/child/geofencing/web_geofencing_provider_impl.h"
@@ -360,11 +360,11 @@ void SetBluetoothAdapter(int render_process_id,
static_cast<RenderProcessHostImpl*>(
RenderProcessHost::FromID(render_process_id));
- BluetoothDispatcherHost* dispatcher_host =
- render_process_host_impl->GetBluetoothDispatcherHost();
+ BluetoothAdapterFactoryWrapper* wrapper =
+ render_process_host_impl->GetBluetoothAdapterFactoryWrapper();
- if (dispatcher_host != NULL)
- dispatcher_host->SetBluetoothAdapterForTesting(std::move(adapter));
+ if (wrapper != nullptr)
+ wrapper->SetBluetoothAdapterForTesting(std::move(adapter));
}
void SetGeofencingMockProvider(bool service_available) {

Powered by Google App Engine
This is Rietveld 408576698