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..9fcb0205bc40912b76c16b7c78713e4469521b7c 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_ID; |
+} |
+ |
int HungPluginInfoBarDelegate::GetIconId() const { |
return IDR_INFOBAR_PLUGIN_CRASHED; |
} |