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

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

Issue 2463393003: Record permission prompt gesture metrics on Android. (Closed)
Patch Set: Record Accepted and Denied Created 4 years, 1 month 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 5ed74282b584ee518dfc44f7809c4adb5692b998..84ce88d6ac86390525ff469203a79cf54d4e780a 100644
--- a/chrome/browser/media/webrtc/media_stream_infobar_delegate_android.h
+++ b/chrome/browser/media/webrtc/media_stream_infobar_delegate_android.h
@@ -24,10 +24,12 @@ class MediaStreamInfoBarDelegateAndroid : public PermissionInfoBarDelegate {
// found, or just adds the new infobar otherwise. Returns whether an infobar
// was created.
static bool Create(content::WebContents* web_contents,
+ bool user_gesture,
std::unique_ptr<MediaStreamDevicesController> controller);
MediaStreamInfoBarDelegateAndroid(
Profile* profile,
+ bool user_gesture,
std::unique_ptr<MediaStreamDevicesController> controller);
private:
friend class WebRtcTestBase;

Powered by Google App Engine
This is Rietveld 408576698