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

Unified Diff: chrome/browser/ui/bluetooth/bluetooth_chooser_desktop.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: Fix content_shell 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/bluetooth_chooser_desktop.h
diff --git a/chrome/browser/ui/bluetooth/bluetooth_chooser_desktop.h b/chrome/browser/ui/bluetooth/bluetooth_chooser_desktop.h
index 77c2cd21c3fca62dd8abfeb1d34464512991748a..077a6c21f66e2c4869e5e27528a29195e21b4ede 100644
--- a/chrome/browser/ui/bluetooth/bluetooth_chooser_desktop.h
+++ b/chrome/browser/ui/bluetooth/bluetooth_chooser_desktop.h
@@ -22,8 +22,8 @@ class BluetoothChooserDesktop : public content::BluetoothChooser {
// 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,
+ const base::string16& device_name) override;
void RemoveDevice(const std::string& device_id) override;
private:

Powered by Google App Engine
This is Rietveld 408576698