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

Unified Diff: chrome/browser/nacl_host/nacl_infobar_delegate.cc

Issue 1520543004: Add method for identifying different InfoBars (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nit again 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/nacl_host/nacl_infobar_delegate.cc
diff --git a/chrome/browser/nacl_host/nacl_infobar_delegate.cc b/chrome/browser/nacl_host/nacl_infobar_delegate.cc
index 0b98c923832b817aea143c8a8273dac95fab38eb..3bb7131a3b7ee3d6dc495001222e1afe1771eb03 100644
--- a/chrome/browser/nacl_host/nacl_infobar_delegate.cc
+++ b/chrome/browser/nacl_host/nacl_infobar_delegate.cc
@@ -38,6 +38,11 @@ NaClInfoBarDelegate::NaClInfoBarDelegate() : ConfirmInfoBarDelegate() {
NaClInfoBarDelegate::~NaClInfoBarDelegate() {
}
+infobars::InfoBarDelegate::InfoBarIdentifier
+NaClInfoBarDelegate::GetIdentifier() const {
+ return NACL_INFOBAR_DELEGATE;
+}
+
base::string16 NaClInfoBarDelegate::GetMessageText() const {
return l10n_util::GetStringUTF16(IDS_NACL_APP_MISSING_ARCH_MESSAGE);
}

Powered by Google App Engine
This is Rietveld 408576698