Index: chrome/browser/plugins/plugin_infobar_delegates.cc |
diff --git a/chrome/browser/plugins/plugin_infobar_delegates.cc b/chrome/browser/plugins/plugin_infobar_delegates.cc |
index 80cb2ebcbf58d20c8d245447e4835f6c353e693a..35fb5ff371df55f5aed2d2c3d29e2496916628b9 100644 |
--- a/chrome/browser/plugins/plugin_infobar_delegates.cc |
+++ b/chrome/browser/plugins/plugin_infobar_delegates.cc |
@@ -103,6 +103,11 @@ OutdatedPluginInfoBarDelegate::~OutdatedPluginInfoBarDelegate() { |
content::RecordAction(UserMetricsAction("OutdatedPluginInfobar.Closed")); |
} |
+infobars::InfoBarDelegate::InfoBarIdentifier |
+OutdatedPluginInfoBarDelegate::GetIdentifier() const { |
+ return OUTDATED_PLUGIN_INFOBAR_DELEGATE; |
+} |
+ |
void OutdatedPluginInfoBarDelegate::InfoBarDismissed() { |
content::RecordAction(UserMetricsAction("OutdatedPluginInfobar.Dismissed")); |
} |
@@ -234,6 +239,11 @@ PluginMetroModeInfoBarDelegate::PluginMetroModeInfoBarDelegate( |
PluginMetroModeInfoBarDelegate::~PluginMetroModeInfoBarDelegate() { |
} |
+infobars::InfoBarDelegate::InfoBarIdentifier |
+PluginMetroModeInfoBarDelegate::GetIdentifier() const { |
+ return PLUGIN_METRO_MODE_INFOBAR_DELEGATE; |
+} |
+ |
int PluginMetroModeInfoBarDelegate::GetIconId() const { |
return IDR_INFOBAR_PLUGIN_INSTALL; |
} |