Index: chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc |
diff --git a/chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc b/chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc |
index f658f69fe277d266ea952c9ce1091d047698ca27..5b7a203bb3d01a1636e768d02c704dfb1cc60429 100644 |
--- a/chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc |
+++ b/chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc |
@@ -107,7 +107,9 @@ base::string16 BluetoothChooserController::GetStatus() const { |
return status_text_; |
} |
-void BluetoothChooserController::Select(size_t index) { |
+void BluetoothChooserController::Select(const std::vector<size_t>& indices) { |
+ DCHECK(indices.size() == 1); |
Reilly Grant (use Gerrit)
2016/11/22 20:55:27
DCHECK_EQ(indices.size(), 1)
juncai
2016/11/22 23:12:06
Done.
|
+ size_t index = indices[0]; |
RecordInteractionWithChooser(event_handler_.is_null()); |
if (event_handler_.is_null()) { |
return; |