Chromium Code Reviews| Index: chrome/browser/infobars/infobar_delegate.h |
| diff --git a/chrome/browser/infobars/infobar_delegate.h b/chrome/browser/infobars/infobar_delegate.h |
| index e3ddb70508eee055e8d678d982c992140c89c3e7..b2474d32218a378f87af0fabaff343ceb7192484 100644 |
| --- a/chrome/browser/infobars/infobar_delegate.h |
| +++ b/chrome/browser/infobars/infobar_delegate.h |
| @@ -10,6 +10,7 @@ |
| #include "base/string16.h" |
| #include "webkit/glue/window_open_disposition.h" |
| +class AutoLoginInfoBarDelegate; |
| class ConfirmInfoBarDelegate; |
| class ExtensionInfoBarDelegate; |
| class InfoBar; |
| @@ -97,6 +98,7 @@ class InfoBarDelegate { |
| virtual Type GetInfoBarType() const; |
| // Type-checking downcast routines: |
| + virtual AutoLoginInfoBarDelegate* AsAutoLoginInfoBarDelegate(); |
|
Peter Kasting
2012/06/27 17:39:05
Why are you adding this? You don't call it direct
Philippe
2012/06/28 09:24:00
I understand your concern here. This CL only upstr
|
| virtual ConfirmInfoBarDelegate* AsConfirmInfoBarDelegate(); |
| virtual ExtensionInfoBarDelegate* AsExtensionInfoBarDelegate(); |
| virtual InsecureContentInfoBarDelegate* AsInsecureContentInfoBarDelegate(); |