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

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

Issue 2210873003: bluetooth: Allow updates on chooser items. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-fix-advertised-services
Patch Set: Make const Created 4 years, 4 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 | « content/shell/browser/layout_test/layout_test_first_device_bluetooth_chooser.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/layout_test/layout_test_first_device_bluetooth_chooser.cc
diff --git a/content/shell/browser/layout_test/layout_test_first_device_bluetooth_chooser.cc b/content/shell/browser/layout_test/layout_test_first_device_bluetooth_chooser.cc
index f4f4c30041770e167d4429d01090524b65b3ceda..d888d18414b35be353950dd630ae27880e5ef61a 100644
--- a/content/shell/browser/layout_test/layout_test_first_device_bluetooth_chooser.cc
+++ b/content/shell/browser/layout_test/layout_test_first_device_bluetooth_chooser.cc
@@ -45,10 +45,14 @@ void LayoutTestFirstDeviceBluetoothChooser::ShowDiscoveryState(
}
}
-void LayoutTestFirstDeviceBluetoothChooser::AddDevice(
- const std::string& deviceId,
- const base::string16& deviceName) {
- event_handler_.Run(Event::SELECTED, deviceId);
+void LayoutTestFirstDeviceBluetoothChooser::AddOrUpdateDevice(
+ const std::string& device_id,
+ bool should_update_name,
+ const base::string16& deviceName,
+ bool is_gatt_connected,
+ bool is_paired,
+ const int8_t* rssi) {
+ event_handler_.Run(Event::SELECTED, device_id);
}
} // namespace content
« no previous file with comments | « content/shell/browser/layout_test/layout_test_first_device_bluetooth_chooser.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698