Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5322)

Unified Diff: chrome/browser/plugins/plugin_infobar_delegates.h

Issue 1520543004: Add method for identifying different InfoBars (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/plugins/plugin_infobar_delegates.h
diff --git a/chrome/browser/plugins/plugin_infobar_delegates.h b/chrome/browser/plugins/plugin_infobar_delegates.h
index 754036c2c6d51351d6895b2b090390911b64224a..60bd547c4e9f013f03924d7968e6726269f83a78 100644
--- a/chrome/browser/plugins/plugin_infobar_delegates.h
+++ b/chrome/browser/plugins/plugin_infobar_delegates.h
@@ -46,6 +46,7 @@ class OutdatedPluginInfoBarDelegate : public ConfirmInfoBarDelegate,
~OutdatedPluginInfoBarDelegate() override;
// ConfirmInfoBarDelegate:
+ std::string GetIdentifier() const override;
void InfoBarDismissed() override;
int GetIconId() const override;
base::string16 GetMessageText() const override;
@@ -100,6 +101,7 @@ class PluginMetroModeInfoBarDelegate : public ConfirmInfoBarDelegate {
~PluginMetroModeInfoBarDelegate() override;
// ConfirmInfoBarDelegate:
+ std::string GetIdentifier() const override;
int GetIconId() const override;
base::string16 GetMessageText() const override;
int GetButtons() const override;

Powered by Google App Engine
This is Rietveld 408576698