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

Unified Diff: chrome/browser/media/webrtc/media_stream_infobar_delegate_android.h

Issue 2254763002: Enable the optional permission prompt persistence toggle on grouped infobars (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@permission-infobardelegate-clean
Patch Set: DCHECK -> CHECK Created 4 years, 3 months 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/webrtc/media_stream_infobar_delegate_android.h
diff --git a/chrome/browser/media/webrtc/media_stream_infobar_delegate_android.h b/chrome/browser/media/webrtc/media_stream_infobar_delegate_android.h
index 2670c335516bceecea98eb8bfcb7d08a862a9a2f..e401e4757f0f1610907c048c6aa9f7f9c0fff704 100644
--- a/chrome/browser/media/webrtc/media_stream_infobar_delegate_android.h
+++ b/chrome/browser/media/webrtc/media_stream_infobar_delegate_android.h
@@ -35,6 +35,9 @@ class MediaStreamInfoBarDelegateAndroid
explicit MediaStreamInfoBarDelegateAndroid(
std::unique_ptr<MediaStreamDevicesController> controller);
+ void RecordPermissionAcceptedUma(int position, bool persist);
+ void RecordPermissionDeniedUma(int position, bool persist);
+
// ConfirmInfoBarDelegate:
infobars::InfoBarDelegate::InfoBarIdentifier GetIdentifier() const override;
void InfoBarDismissed() override;

Powered by Google App Engine
This is Rietveld 408576698