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

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

Issue 2577183002: Add UMA for the number of devices in the chooser when a device is paired (Closed)
Patch Set: address comments Created 4 years 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/shell.cc
diff --git a/content/shell/browser/shell.cc b/content/shell/browser/shell.cc
index 7659e7f562169b24a6ae2fb9d7911ba6b6926ba5..6a1e65f05f0cd160afa0e26067282d826a7cf0e5 100644
--- a/content/shell/browser/shell.cc
+++ b/content/shell/browser/shell.cc
@@ -453,10 +453,11 @@ JavaScriptDialogManager* Shell::GetJavaScriptDialogManager(
std::unique_ptr<BluetoothChooser> Shell::RunBluetoothChooser(
RenderFrameHost* frame,
- const BluetoothChooser::EventHandler& event_handler) {
+ const BluetoothChooser::EventHandler& event_handler,
+ bool accept_all_devices) {
if (switches::IsRunLayoutTestSwitchPresent()) {
- return BlinkTestController::Get()->RunBluetoothChooser(frame,
- event_handler);
+ return BlinkTestController::Get()->RunBluetoothChooser(frame, event_handler,
+ accept_all_devices);
}
return nullptr;
}

Powered by Google App Engine
This is Rietveld 408576698