Chromium Code Reviews| Index: components/infobars/core/infobar_delegate.h |
| diff --git a/components/infobars/core/infobar_delegate.h b/components/infobars/core/infobar_delegate.h |
| index 00fc964da37ad339044b8b9c02a040b1a433ac34..12bfd906784ad7b2d35e624238b5634d0e3d60ac 100644 |
| --- a/components/infobars/core/infobar_delegate.h |
| +++ b/components/infobars/core/infobar_delegate.h |
| @@ -9,6 +9,7 @@ |
| #include "base/strings/string16.h" |
| #include "ui/base/window_open_disposition.h" |
| +class AccountChooserInfoBarDelegateAndroid; |
| class AutoLoginInfoBarDelegate; |
| class ConfirmInfoBarDelegate; |
| class InsecureContentInfoBarDelegate; |
| @@ -104,6 +105,8 @@ class InfoBarDelegate { |
| virtual Type GetInfoBarType() const; |
| // Type-checking downcast routines: |
| + virtual AccountChooserInfoBarDelegateAndroid* |
| + AsAccountChooserInfoBarDelegateAndroid(); |
|
Peter Kasting
2015/02/16 20:37:07
You don't need this method.
You only use it in Ac
melandory
2015/02/17 16:16:58
Done.
|
| virtual AutoLoginInfoBarDelegate* AsAutoLoginInfoBarDelegate(); |
| virtual ConfirmInfoBarDelegate* AsConfirmInfoBarDelegate(); |
| virtual InsecureContentInfoBarDelegate* AsInsecureContentInfoBarDelegate(); |