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

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

Issue 2242943002: Update device name in chooser when device changes name (desktops) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updated device name in chooser when device changes name 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/chooser_controller/chooser_controller.h
diff --git a/chrome/browser/chooser_controller/chooser_controller.h b/chrome/browser/chooser_controller/chooser_controller.h
index c5a3609b5377cd44fff62e24534b980e7b021967..340dbbe8ae89d8471531e42026e90b840a320833 100644
--- a/chrome/browser/chooser_controller/chooser_controller.h
+++ b/chrome/browser/chooser_controller/chooser_controller.h
@@ -46,6 +46,9 @@ class ChooserController {
// since the options have already been updated.
virtual void OnOptionRemoved(size_t index) = 0;
+ // Called when |index|th option needs to be updated.
msw 2016/08/12 22:19:33 nit: "Called when the option at |index| has been u
juncai 2016/08/15 18:11:19 Done.
+ virtual void OnOptionUpdated(size_t index) = 0;
+
// Called when the device adapter is turned on or off.
virtual void OnAdapterEnabledChanged(bool enabled) = 0;

Powered by Google App Engine
This is Rietveld 408576698