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

Unified Diff: content/shell/browser/layout_test/layout_test_bluetooth_chooser_factory.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
Index: content/shell/browser/layout_test/layout_test_bluetooth_chooser_factory.cc
diff --git a/content/shell/browser/layout_test/layout_test_bluetooth_chooser_factory.cc b/content/shell/browser/layout_test/layout_test_bluetooth_chooser_factory.cc
index 66b6233d79bea48fdb79f08cc912c2d8ab45fa7b..a91c1ce1fa298df5e3657acb194deeab67ad1330 100644
--- a/content/shell/browser/layout_test/layout_test_bluetooth_chooser_factory.cc
+++ b/content/shell/browser/layout_test/layout_test_bluetooth_chooser_factory.cc
@@ -61,8 +61,12 @@ class LayoutTestBluetoothChooserFactory::Chooser : public BluetoothChooser {
}
}
- void AddDevice(const std::string& device_id,
- const base::string16& device_name) override {
+ void AddOrUpdateDevice(const std::string& device_id,
+ bool should_update_name,
+ const base::string16& device_name,
+ bool is_gatt_connected,
+ bool is_paired,
+ const int8_t* rssi) override {
CheckFactory();
std::string event = "add-device(";
event += base::UTF16ToUTF8(device_name);

Powered by Google App Engine
This is Rietveld 408576698