summaryrefslogtreecommitdiffstats
path: root/components/infobars
diff options
context:
space:
mode:
Diffstat (limited to 'components/infobars')
-rw-r--r--components/infobars/core/infobar_delegate.cc4
-rw-r--r--components/infobars/core/infobar_delegate.h2
2 files changed, 0 insertions, 6 deletions
diff --git a/components/infobars/core/infobar_delegate.cc b/components/infobars/core/infobar_delegate.cc
index de0ae13..4389240 100644
--- a/components/infobars/core/infobar_delegate.cc
+++ b/components/infobars/core/infobar_delegate.cc
@@ -54,10 +54,6 @@ bool InfoBarDelegate::ShouldExpire(const NavigationDetails& details) const {
void InfoBarDelegate::InfoBarDismissed() {
}
-AutoLoginInfoBarDelegate* InfoBarDelegate::AsAutoLoginInfoBarDelegate() {
- return nullptr;
-}
-
ConfirmInfoBarDelegate* InfoBarDelegate::AsConfirmInfoBarDelegate() {
return nullptr;
}
diff --git a/components/infobars/core/infobar_delegate.h b/components/infobars/core/infobar_delegate.h
index 9342292..94dc81b 100644
--- a/components/infobars/core/infobar_delegate.h
+++ b/components/infobars/core/infobar_delegate.h
@@ -9,7 +9,6 @@
#include "base/strings/string16.h"
#include "ui/base/window_open_disposition.h"
-class AutoLoginInfoBarDelegate;
class ConfirmInfoBarDelegate;
class InsecureContentInfoBarDelegate;
class MediaStreamInfoBarDelegate;
@@ -111,7 +110,6 @@ class InfoBarDelegate {
virtual void InfoBarDismissed();
// Type-checking downcast routines:
- virtual AutoLoginInfoBarDelegate* AsAutoLoginInfoBarDelegate();
virtual ConfirmInfoBarDelegate* AsConfirmInfoBarDelegate();
virtual InsecureContentInfoBarDelegate* AsInsecureContentInfoBarDelegate();
virtual MediaStreamInfoBarDelegate* AsMediaStreamInfoBarDelegate();