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

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: 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/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..29ed9c7016ea21f259b939b66d0481e9e20c2e57 100644
--- a/chrome/browser/nacl_host/nacl_infobar_delegate.cc
+++ b/chrome/browser/nacl_host/nacl_infobar_delegate.cc
@@ -38,6 +38,10 @@ NaClInfoBarDelegate::NaClInfoBarDelegate() : ConfirmInfoBarDelegate() {
NaClInfoBarDelegate::~NaClInfoBarDelegate() {
}
+std::string NaClInfoBarDelegate::GetIdentifier() const {
+ return "NaClInfoBarDelegate";
+}
+
base::string16 NaClInfoBarDelegate::GetMessageText() const {
return l10n_util::GetStringUTF16(IDS_NACL_APP_MISSING_ARCH_MESSAGE);
}

Powered by Google App Engine
This is Rietveld 408576698