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

Unified Diff: chrome/browser/android/banners/app_banner_infobar_delegate_android.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/android/banners/app_banner_infobar_delegate_android.cc
diff --git a/chrome/browser/android/banners/app_banner_infobar_delegate_android.cc b/chrome/browser/android/banners/app_banner_infobar_delegate_android.cc
index 450d117f33f55f2495609b6e72dce2a9fa89e5d0..32fbd8f1fdfa5e3c5a799e4c533935a9f9369904 100644
--- a/chrome/browser/android/banners/app_banner_infobar_delegate_android.cc
+++ b/chrome/browser/android/banners/app_banner_infobar_delegate_android.cc
@@ -162,6 +162,10 @@ void AppBannerInfoBarDelegateAndroid::SendBannerAccepted(
platform));
}
+std::string AppBannerInfoBarDelegateAndroid::GetIdentifier() const {
+ return "AppBannerInfoBarDelegateAndroid";
+}
+
gfx::Image AppBannerInfoBarDelegateAndroid::GetIcon() const {
return gfx::Image::CreateFrom1xBitmap(*app_icon_.get());
}

Powered by Google App Engine
This is Rietveld 408576698