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

Unified Diff: chrome/browser/media/media_stream_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: 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/media/media_stream_infobar_delegate_android.cc
diff --git a/chrome/browser/media/media_stream_infobar_delegate_android.cc b/chrome/browser/media/media_stream_infobar_delegate_android.cc
index bcbc4290dc4960e9b0a0fc09cb87be1d87320489..ab1c0462ce75f77661041a019754354ee6c6d86e 100644
--- a/chrome/browser/media/media_stream_infobar_delegate_android.cc
+++ b/chrome/browser/media/media_stream_infobar_delegate_android.cc
@@ -71,6 +71,11 @@ bool MediaStreamInfoBarDelegateAndroid::IsRequestingMicrophoneAccess() const {
return controller_->IsAskingForAudio();
}
+infobars::InfoBarDelegate::InfoBarIdentifier
+MediaStreamInfoBarDelegateAndroid::GetIdentifier() const {
+ return MEDIA_STREAM_INFOBAR_DELEGATE_ANDROID;
+}
+
MediaStreamInfoBarDelegateAndroid::MediaStreamInfoBarDelegateAndroid(
scoped_ptr<MediaStreamDevicesController> controller)
: ConfirmInfoBarDelegate(), controller_(std::move(controller)) {

Powered by Google App Engine
This is Rietveld 408576698