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

Unified Diff: components/test_runner/test_runner.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 | « no previous file | components/test_runner/test_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/test_runner.h
diff --git a/components/test_runner/test_runner.h b/components/test_runner/test_runner.h
index be68d1db44fd409c1d85855bd5ac9ffd2b96adff..815fe2ed23f13e3c9c585f2d7ddca46305699745 100644
--- a/components/test_runner/test_runner.h
+++ b/components/test_runner/test_runner.h
@@ -530,13 +530,14 @@ class TestRunner : public WebTestRunner,
void SetColorProfile(const std::string& name,
v8::Local<v8::Function> callback);
- // Change the bluetooth test data while running a layout test and resets the
- // chooser to accept the first device.
- void SetBluetoothMockDataSet(const std::string& name);
-
- // Makes the Bluetooth chooser record its input and wait for instructions from
- // the test program on how to proceed.
- void SetBluetoothManualChooser();
+ // Change the bluetooth test data while running a layout test.
+ void SetBluetoothFakeAdapter(const std::string& adapter_name,
+ v8::Local<v8::Function> callback);
+
+ // If |enable| is true, makes the Bluetooth chooser record its input and wait
+ // for instructions from the test program on how to proceed. Otherwise falls
+ // back to the browser's default chooser.
+ void SetBluetoothManualChooser(bool enable);
// Calls |callback| with a DOMString[] representing the events recorded since
// the last call to this function.
« no previous file with comments | « no previous file | components/test_runner/test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698