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

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

Issue 2304213002: Show device connection and paired status in chooser on Mac (Closed)
Patch Set: use vector icons 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..5ada3c7337f464ca827c6d74f769702895a63141 100644
--- a/chrome/browser/chooser_controller/chooser_controller.h
+++ b/chrome/browser/chooser_controller/chooser_controller.h
@@ -85,6 +85,12 @@ 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.
Jeffrey Yasskin 2016/09/07 02:01:47 For virtual functions with a default, mention the
juncai 2016/09/09 20:06:15 Done.
+ virtual bool IsConnected(size_t index) const;
+
+ // Returns if the |index|th option is paired.
+ 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