Index: chrome/browser/ui/hung_plugin_tab_helper.cc |
diff --git a/chrome/browser/ui/hung_plugin_tab_helper.cc b/chrome/browser/ui/hung_plugin_tab_helper.cc |
index 3da82e5846a04575d94b8b2754cdad4b54a24143..50d43242dd9e5e0115480ab345ec509891d11244 100644 |
--- a/chrome/browser/ui/hung_plugin_tab_helper.cc |
+++ b/chrome/browser/ui/hung_plugin_tab_helper.cc |
@@ -147,6 +147,7 @@ class HungPluginInfoBarDelegate : public ConfirmInfoBarDelegate { |
~HungPluginInfoBarDelegate() override; |
// ConfirmInfoBarDelegate: |
+ infobars::InfoBarDelegate::InfoBarIdentifier GetIdentifier() const override; |
int GetIconId() const override; |
base::string16 GetMessageText() const override; |
int GetButtons() const override; |
@@ -187,6 +188,11 @@ HungPluginInfoBarDelegate::HungPluginInfoBarDelegate( |
HungPluginInfoBarDelegate::~HungPluginInfoBarDelegate() { |
} |
+infobars::InfoBarDelegate::InfoBarIdentifier |
+HungPluginInfoBarDelegate::GetIdentifier() const { |
+ return HUNG_PLUGIN_INFOBAR_DELEGATE; |
+} |
+ |
int HungPluginInfoBarDelegate::GetIconId() const { |
return IDR_INFOBAR_PLUGIN_CRASHED; |
} |