| Index: content/public/common/media_stream_request.h
|
| diff --git a/content/public/common/media_stream_request.h b/content/public/common/media_stream_request.h
|
| index c4c838fb6e376a216a3bbc1c979896ff95ee423e..24a8798394aa93c42e941b0e19067a1b9d97a041 100644
|
| --- a/content/public/common/media_stream_request.h
|
| +++ b/content/public/common/media_stream_request.h
|
| @@ -165,6 +165,7 @@ struct CONTENT_EXPORT MediaStreamRequest {
|
| int render_view_id,
|
| int page_request_id,
|
| const GURL& security_origin,
|
| + bool user_gesture,
|
| MediaStreamRequestType request_type,
|
| const std::string& requested_audio_device_id,
|
| const std::string& requested_video_device_id,
|
| @@ -193,6 +194,9 @@ struct CONTENT_EXPORT MediaStreamRequest {
|
| // The WebKit security origin for the current request (e.g. "html5rocks.com").
|
| GURL security_origin;
|
|
|
| + // Set to true if the call was made in the context of a user gesture.
|
| + bool user_gesture;
|
| +
|
| // Stores the type of request that was made to the media controller. Right now
|
| // this is only used to distinguish between WebRTC and Pepper requests, as the
|
| // latter should not be subject to user approval but only to policy check.
|
|
|