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

Unified Diff: chrome/browser/banners/app_banner_infobar_delegate_desktop.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/banners/app_banner_infobar_delegate_desktop.cc
diff --git a/chrome/browser/banners/app_banner_infobar_delegate_desktop.cc b/chrome/browser/banners/app_banner_infobar_delegate_desktop.cc
index e718bc93bb28ad3f5714a89ff27c774c4ced8471..939e052f9f28c61a78a2664b6e8ce6319423d45c 100644
--- a/chrome/browser/banners/app_banner_infobar_delegate_desktop.cc
+++ b/chrome/browser/banners/app_banner_infobar_delegate_desktop.cc
@@ -93,6 +93,10 @@ bool AppBannerInfoBarDelegateDesktop::Accept() {
return true;
}
+std::string AppBannerInfoBarDelegateDesktop::GetIdentifier() const {
+ return "AppBannerInfoBarDelegateDesktop";
+}
+
void AppBannerInfoBarDelegateDesktop::InfoBarDismissed() {
TrackUserResponse(USER_RESPONSE_WEB_APP_DISMISSED);
has_user_interaction_ = true;

Powered by Google App Engine
This is Rietveld 408576698