Index: chrome/browser/extensions/extension_infobar_delegate.cc |
diff --git a/chrome/browser/extensions/extension_infobar_delegate.cc b/chrome/browser/extensions/extension_infobar_delegate.cc |
index c741d94ee4d677e542899cf944818d54aefa4785..a530d35e47f97f081f2f4dd9804b17bdddbe9dd9 100644 |
--- a/chrome/browser/extensions/extension_infobar_delegate.cc |
+++ b/chrome/browser/extensions/extension_infobar_delegate.cc |
@@ -58,6 +58,15 @@ void ExtensionInfoBarDelegate::InfoBarClosed() { |
delete this; |
} |
+ExtensionInfoBarDelegate* ExtensionInfoBarDelegate:: |
+AsExtensionInfoBarDelegate() { |
Lei Zhang
2010/09/23 22:05:41
style-wise, is this the better way to wrap really
|
+ return this; |
+} |
+ |
+InfoBarDelegate::Type ExtensionInfoBarDelegate::GetInfoBarType() { |
+ return PAGE_ACTION_TYPE; |
+} |
+ |
void ExtensionInfoBarDelegate::Observe(NotificationType type, |
const NotificationSource& source, |
const NotificationDetails& details) { |