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

Unified Diff: chrome/browser/android/media/media_throttle_infobar_delegate.h

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.h
diff --git a/chrome/browser/android/media/media_throttle_infobar_delegate.h b/chrome/browser/android/media/media_throttle_infobar_delegate.h
index 0df3b793de89bb2a16ba6c28afcfc20cedf576d9..6a11348a8ab9ac5e22bccb50ddf64719b0694c86 100644
--- a/chrome/browser/android/media/media_throttle_infobar_delegate.h
+++ b/chrome/browser/android/media/media_throttle_infobar_delegate.h
@@ -40,6 +40,7 @@ class MediaThrottleInfoBarDelegate : public ConfirmInfoBarDelegate {
const DecodeRequestGrantedCallback& callback);
// ConfirmInfoBarDelegate:
+ std::string GetIdentifier() const override;
MediaThrottleInfoBarDelegate* AsMediaThrottleInfoBarDelegate() override;
base::string16 GetMessageText() const override;
int GetIconId() const override;

Powered by Google App Engine
This is Rietveld 408576698