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

Unified Diff: content/shell/browser/blink_test_controller.cc

Issue 1353053002: Handle RESCAN events from the Bluetooth chooser by starting or extending a discovery session. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Sync 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
Index: content/shell/browser/blink_test_controller.cc
diff --git a/content/shell/browser/blink_test_controller.cc b/content/shell/browser/blink_test_controller.cc
index eb15b2d986733cd20868c79ce8a9010335a667e8..b9e84e5ae68b68654d8068a9a4e113cfdd906cf6 100644
--- a/content/shell/browser/blink_test_controller.cc
+++ b/content/shell/browser/blink_test_controller.cc
@@ -753,6 +753,8 @@ void BlinkTestController::OnSendBluetoothManualChooserEvent(
event = BluetoothChooser::Event::CANCELLED;
} else if (event_name == "selected") {
event = BluetoothChooser::Event::SELECTED;
+ } else if (event_name == "rescan") {
+ event = BluetoothChooser::Event::RESCAN;
} else {
printer_->AddErrorMessage(base::StringPrintf(
"FAIL: Unexpected sendBluetoothManualChooserEvent() event name '%s'.",

Powered by Google App Engine
This is Rietveld 408576698