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

Unified Diff: chrome/browser/ui/bluetooth/chrome_extension_bluetooth_chooser.h

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: chrome/browser/ui/bluetooth/chrome_extension_bluetooth_chooser.h
diff --git a/chrome/browser/ui/bluetooth/chrome_extension_bluetooth_chooser.h b/chrome/browser/ui/bluetooth/chrome_extension_bluetooth_chooser.h
index 6e4d1a5bc7ba7ef15f47e499ff7612f9228c2065..5f9123a7ae7bdb924e9af6d33f670de29088ba06 100644
--- a/chrome/browser/ui/bluetooth/chrome_extension_bluetooth_chooser.h
+++ b/chrome/browser/ui/bluetooth/chrome_extension_bluetooth_chooser.h
@@ -29,8 +29,12 @@ class ChromeExtensionBluetoothChooser : public content::BluetoothChooser {
// content::BluetoothChooser:
void SetAdapterPresence(AdapterPresence presence) override;
void ShowDiscoveryState(DiscoveryState state) override;
- 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;
void RemoveDevice(const std::string& device_id) override;
private:

Powered by Google App Engine
This is Rietveld 408576698