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

Unified Diff: components/test_runner/web_test_delegate.h

Issue 1815483003: bluetooth: Create Mojo equivalent of SetBluetoothMockDataSet (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-mojo
Patch Set: Add gyp Created 4 years, 9 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: components/test_runner/web_test_delegate.h
diff --git a/components/test_runner/web_test_delegate.h b/components/test_runner/web_test_delegate.h
index e1dd85e22d2df55377c67fb58a34e81551870d73..1cc4829101a3b92ef06e2b27017c29486ba0d4d6 100644
--- a/components/test_runner/web_test_delegate.h
+++ b/components/test_runner/web_test_delegate.h
@@ -171,9 +171,17 @@ class WebTestDelegate {
// Change the device color profile while running a layout test.
virtual void SetDeviceColorProfile(const std::string& name) = 0;
- // Change the bluetooth test data while running a layout test.
+ // Change the bluetooth test data while running a layout test, uses
+ // IPC::Message to communicate with the browser.
+ // TODO(ortuno): Remove after moving Web Bluetooth to Mojo.
+ // http://crbug.com/508771
virtual void SetBluetoothMockDataSet(const std::string& data_set) = 0;
+ // Set the bluetooth adapter while running a layout test, uses Mojo to
+ // communicate with the browser.
+ virtual void SetBluetoothFakeAdapter(const std::string& adapter_name,
+ const base::Closure& callback) = 0;
+
// Makes the Bluetooth chooser record its input and wait for instructions from
// the test program on how to proceed.
virtual void SetBluetoothManualChooser() = 0;

Powered by Google App Engine
This is Rietveld 408576698