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

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: 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/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 09a2db5f66db6103ab1427c91075961a0e2376d6..b7c79872b93847025a697f502d73be5ed48adb60 100644
--- a/chrome/browser/android/media/media_throttle_infobar_delegate.cc
+++ b/chrome/browser/android/media/media_throttle_infobar_delegate.cc
@@ -52,6 +52,11 @@ MediaThrottleInfoBarDelegate::~MediaThrottleInfoBarDelegate() {
UMA_THROTTLE_INFOBAR_RESPONSE_COUNT);
}
+infobars::InfoBarDelegate::InfoBarIdentifier
+MediaThrottleInfoBarDelegate::GetIdentifier() const {
+ return MEDIA_THROTTLE_INFOBAR_DELEGATE;
+}
+
MediaThrottleInfoBarDelegate*
MediaThrottleInfoBarDelegate::AsMediaThrottleInfoBarDelegate() {
return this;
« no previous file with comments | « chrome/browser/android/media/media_throttle_infobar_delegate.h ('k') | chrome/browser/apps/window_controls_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698