Index: chrome/browser/plugins/chrome_plugin_service_filter.cc |
diff --git a/chrome/browser/plugins/chrome_plugin_service_filter.cc b/chrome/browser/plugins/chrome_plugin_service_filter.cc |
index 6fc88d83df9d295d226dd6b22d74ad6777e39b53..fd1fa5160ec5cfea62a1defd133dded36e84f785 100644 |
--- a/chrome/browser/plugins/chrome_plugin_service_filter.cc |
+++ b/chrome/browser/plugins/chrome_plugin_service_filter.cc |
@@ -77,6 +77,7 @@ class NPAPIRemovalInfoBarDelegate : public ConfirmInfoBarDelegate { |
~NPAPIRemovalInfoBarDelegate() override; |
// ConfirmInfobarDelegate: |
+ infobars::InfoBarDelegate::InfoBarIdentifier GetIdentifier() const override; |
int GetIconId() const override; |
base::string16 GetMessageText() const override; |
int GetButtons() const override; |
@@ -151,6 +152,11 @@ NPAPIRemovalInfoBarDelegate::NPAPIRemovalInfoBarDelegate( |
NPAPIRemovalInfoBarDelegate::~NPAPIRemovalInfoBarDelegate() { |
} |
+infobars::InfoBarDelegate::InfoBarIdentifier |
+NPAPIRemovalInfoBarDelegate::GetIdentifier() const { |
+ return NPAPI_REMOVAL_INFOBAR_DELEGATE; |
+} |
+ |
int NPAPIRemovalInfoBarDelegate::GetIconId() const { |
return IDR_INFOBAR_WARNING; |
} |