Index: content/public/test/layouttest_support.h |
diff --git a/content/public/test/layouttest_support.h b/content/public/test/layouttest_support.h |
index c8ec1e5d86ad69a13fd41fd1f31464e150e2afd1..0d7cfa9e05f282f1d19cb474ad31f780c190d062 100644 |
--- a/content/public/test/layouttest_support.h |
+++ b/content/public/test/layouttest_support.h |
@@ -26,6 +26,10 @@ class WebView; |
class WebURLResponse; |
} |
+namespace device { |
+class BluetoothAdapter; |
+} |
+ |
namespace content { |
class PageState; |
@@ -94,7 +98,8 @@ void SetDeviceScaleFactor(RenderView* render_view, float factor); |
void SetDeviceColorProfile(RenderView* render_view, const std::string& name); |
// Change the bluetooth test adapter while running a layout test. |
-void SetBluetoothAdapter(int render_process_id, const std::string& name); |
+void SetBluetoothAdapter(int render_process_id, |
+ scoped_refptr<device::BluetoothAdapter> adapter); |
// Enables mock geofencing service while running a layout test. |
// |service_available| indicates if the mock service should mock geofencing |