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

Unified Diff: components/test_runner/web_test_delegate.h

Issue 1351393002: Make getBluetoothManualChooserEvents() asynchronous. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Go back to the callback interface. Created 5 years, 3 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/shell/browser/blink_test_controller.h » ('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 190618059bf6f53936a04e997fad4496f5d27f35..26b135a61c3b0fc9491ae8cd0691c26b3e54f374 100644
--- a/components/test_runner/web_test_delegate.h
+++ b/components/test_runner/web_test_delegate.h
@@ -166,7 +166,9 @@ class WebTestDelegate {
virtual void SetBluetoothManualChooser() = 0;
// Returns the events recorded since the last call to this function.
- virtual std::vector<std::string> GetBluetoothManualChooserEvents() = 0;
+ virtual void GetBluetoothManualChooserEvents(
+ const base::Callback<void(const std::vector<std::string>& events)>&
+ callback) = 0;
// Calls the BluetoothChooser::EventHandler with the arguments here. Valid
// event strings are:
« no previous file with comments | « components/test_runner/test_runner.cc ('k') | content/shell/browser/blink_test_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698