 Chromium Code Reviews
 Chromium Code Reviews Issue 1815483003:
  bluetooth: Create Mojo equivalent of SetBluetoothMockDataSet  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-mojo
    
  
    Issue 1815483003:
  bluetooth: Create Mojo equivalent of SetBluetoothMockDataSet  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-mojo| Index: components/test_runner/test_runner.h | 
| diff --git a/components/test_runner/test_runner.h b/components/test_runner/test_runner.h | 
| index b671cee215287d1b1665da684844b895d6bed672..6ce1edbaed140df81437f0a45e3a84e8db21ded9 100644 | 
| --- a/components/test_runner/test_runner.h | 
| +++ b/components/test_runner/test_runner.h | 
| @@ -530,6 +530,8 @@ class TestRunner : public WebTestRunner, | 
| // 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); | 
| 
Jeffrey Yasskin
2016/03/24 23:47:53
Can you remove the old interface in the same patch
 
ortuno
2016/03/28 23:26:44
Done.
 
Jeffrey Yasskin
2016/03/29 01:59:13
Cool, thanks. Another reasonable answer would have
 | 
| + void SetBluetoothFakeAdapter(const std::string& adapter_name, | 
| + v8::Local<v8::Function> callback); | 
| // Makes the Bluetooth chooser record its input and wait for instructions from | 
| // the test program on how to proceed. |