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

Unified Diff: content/common/media/media_stream_messages.h

Issue 185863003: [Media] Add user gesture reporting for API calls to midi and media streams. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: try 2 Created 6 years, 10 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: content/common/media/media_stream_messages.h
diff --git a/content/common/media/media_stream_messages.h b/content/common/media/media_stream_messages.h
index 965d68e8bdb8baa86fdd61b1c857d6fee946f57d..01492c788615bee72b6d8ed4f4798a8a49236441 100644
--- a/content/common/media/media_stream_messages.h
+++ b/content/common/media/media_stream_messages.h
@@ -109,11 +109,12 @@ IPC_MESSAGE_CONTROL0(MediaStreamMsg_DisableAecDump)
// Messages sent from the renderer to the browser.
// Request a new media stream.
-IPC_MESSAGE_CONTROL4(MediaStreamHostMsg_GenerateStream,
+IPC_MESSAGE_CONTROL5(MediaStreamHostMsg_GenerateStream,
int /* render view id */,
int /* request id */,
content::StreamOptions /* components */,
- GURL /* security origin */)
+ GURL /* security origin */,
+ bool /* user_gesture */)
// Request to cancel the request for a new media stream.
IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CancelGenerateStream,

Powered by Google App Engine
This is Rietveld 408576698