diff options
Diffstat (limited to 'content/public/test/layouttest_support.h')
-rw-r--r-- | content/public/test/layouttest_support.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/content/public/test/layouttest_support.h b/content/public/test/layouttest_support.h index c8ec1e5..0d7cfa9 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 |