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

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: 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/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 04b4e9c59d878bb93f648cb27c93954c6bb441ff..2db28347d879f4d62269951c15558d2b2fb00d2b 100644
--- a/chrome/browser/media/media_stream_infobar_delegate_android.cc
+++ b/chrome/browser/media/media_stream_infobar_delegate_android.cc
@@ -68,6 +68,10 @@ bool MediaStreamInfoBarDelegateAndroid::IsRequestingMicrophoneAccess() const {
return controller_->IsAskingForAudio();
}
+std::string MediaStreamInfoBarDelegateAndroid::GetIdentifier() const {
+ return "MediaStreamInfoBarDelegateAndroid";
+}
+
MediaStreamInfoBarDelegateAndroid::MediaStreamInfoBarDelegateAndroid(
scoped_ptr<MediaStreamDevicesController> controller)
: ConfirmInfoBarDelegate(), controller_(controller.Pass()) {

Powered by Google App Engine
This is Rietveld 408576698