Chromium Code Reviews| 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 2982e0168804e4a383ec5a1099556191eea81534..b9ce21391b2880dbbddf08ed47b64892fb25dfaa 100644 |
| --- a/chrome/browser/chooser_controller/chooser_controller.h |
| +++ b/chrome/browser/chooser_controller/chooser_controller.h |
| @@ -55,6 +55,9 @@ class ChooserController { |
| // Returns the text to be displayed in the chooser title. |
| base::string16 GetTitle(); |
| + // Returns the label for OK button. |
| + virtual base::string16 GetOkButtonLabel() const; |
|
Reilly Grant (use Gerrit)
2016/07/11 23:39:01
This function should be pure virtual.
juncai
2016/07/12 00:10:51
Done.
|
| + |
| // The number of options users can pick from. For example, it can be |
| // the number of USB/Bluetooth device names which are listed in the |
| // chooser so that users can grant permission. |