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

Unified Diff: chrome/browser/ui/bluetooth/bluetooth_chooser_controller_unittest.cc

Issue 2518933004: Add multiple selection support to chooser on desktops (Closed)
Patch Set: address comments Created 4 years, 1 month 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: chrome/browser/ui/bluetooth/bluetooth_chooser_controller_unittest.cc
diff --git a/chrome/browser/ui/bluetooth/bluetooth_chooser_controller_unittest.cc b/chrome/browser/ui/bluetooth/bluetooth_chooser_controller_unittest.cc
index 414ac09573b2c4f2b3a1d513af451545cd2304f5..6e2ccd18df5af6a6a0dca129240f3581a6f95ea4 100644
--- a/chrome/browser/ui/bluetooth/bluetooth_chooser_controller_unittest.cc
+++ b/chrome/browser/ui/bluetooth/bluetooth_chooser_controller_unittest.cc
@@ -351,7 +351,8 @@ TEST_F(BluetoothChooserControllerWithDevicesAddedTest, RefreshOptions) {
TEST_F(BluetoothChooserControllerWithDevicesAddedTest,
SelectingOneDeviceShouldCallEventHandler) {
- bluetooth_chooser_controller_.Select(0);
+ std::vector<size_t> indices{0};
+ bluetooth_chooser_controller_.Select(indices);
EXPECT_EQ(content::BluetoothChooser::Event::SELECTED, last_event_);
EXPECT_EQ("id_a", last_device_id_);
}
« no previous file with comments | « chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc ('k') | chrome/browser/ui/cocoa/chooser_content_view_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698