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

Unified Diff: chrome/browser/chooser_controller/chooser_controller.h

Issue 2304213002: Show device connection and paired status in chooser on Mac (Closed)
Patch Set: added code to handle text identation Created 4 years, 3 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/chooser_controller/chooser_controller.h
diff --git a/chrome/browser/chooser_controller/chooser_controller.h b/chrome/browser/chooser_controller/chooser_controller.h
index 6a58361c614650682ac071d4dbbd71f466b32407..6e3f69a1a5ea9987a662f14e9f1c613a3042d324 100644
--- a/chrome/browser/chooser_controller/chooser_controller.h
+++ b/chrome/browser/chooser_controller/chooser_controller.h
@@ -85,6 +85,14 @@ class ChooserController {
// The |index|th option string which is listed in the chooser.
virtual base::string16 GetOption(size_t index) const = 0;
+ // Returns if the |index|th option is connected.
+ // This function returns false by default.
+ virtual bool IsConnected(size_t index) const;
+
+ // Returns if the |index|th option is paired.
+ // This function returns false by default.
+ virtual bool IsPaired(size_t index) const;
+
// Refresh the list of options.
virtual void RefreshOptions() = 0;

Powered by Google App Engine
This is Rietveld 408576698