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

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: MMerge with ToT 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
« no previous file with comments | « components/test_runner/test_runner.cc ('k') | content/content_shell.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c92010dd0546c2ce10b7b4165a9677b363f3f41d..28b838ced40f3da1498522f726957898c20887e1 100644
--- a/components/test_runner/web_test_delegate.h
+++ b/components/test_runner/web_test_delegate.h
@@ -162,12 +162,15 @@ 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.
- virtual void SetBluetoothMockDataSet(const std::string& data_set) = 0;
-
- // Makes the Bluetooth chooser record its input and wait for instructions from
- // the test program on how to proceed.
- virtual void SetBluetoothManualChooser() = 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;
+
+ // If |enable| is true makes the Bluetooth chooser record its input and wait
+ // for instructions from the test program on how to proceed. Otherwise
+ // fall backs to the browser's default chooser.
+ virtual void SetBluetoothManualChooser(bool enable) = 0;
// Returns the events recorded since the last call to this function.
virtual void GetBluetoothManualChooserEvents(
« no previous file with comments | « components/test_runner/test_runner.cc ('k') | content/content_shell.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698