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

Unified Diff: chrome/browser/android/media/media_throttle_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/android/media/media_throttle_infobar_delegate.cc
diff --git a/chrome/browser/android/media/media_throttle_infobar_delegate.cc b/chrome/browser/android/media/media_throttle_infobar_delegate.cc
index ae7b0510a3104333820a0e7ae2199dfba4254cda..435d79802c2e7013fe964b1b55123e1eaef1c043 100644
--- a/chrome/browser/android/media/media_throttle_infobar_delegate.cc
+++ b/chrome/browser/android/media/media_throttle_infobar_delegate.cc
@@ -49,6 +49,10 @@ MediaThrottleInfoBarDelegate::~MediaThrottleInfoBarDelegate() {
UMA_THROTTLE_INFOBAR_RESPONSE_COUNT);
}
+std::string MediaThrottleInfoBarDelegate::GetIdentifier() const {
+ return "MediaThrottleInfoBarDelegate";
+}
+
MediaThrottleInfoBarDelegate*
MediaThrottleInfoBarDelegate::AsMediaThrottleInfoBarDelegate() {
return this;

Powered by Google App Engine
This is Rietveld 408576698