Chromium Code Reviews| Index: chrome/browser/media/media_stream_devices_controller.cc |
| diff --git a/chrome/browser/media/media_stream_devices_controller.cc b/chrome/browser/media/media_stream_devices_controller.cc |
| index 8995a288f6f048a886b8ebdd4f77ae328890427f..2afc087e33a150f5a74064e5b7db3ae021c3de0c 100644 |
| --- a/chrome/browser/media/media_stream_devices_controller.cc |
| +++ b/chrome/browser/media/media_stream_devices_controller.cc |
| @@ -72,14 +72,15 @@ bool ContentTypeIsRequested(content::PermissionType type, |
| } |
| using PermissionActionCallback = |
| - base::Callback<void(content::PermissionType, const GURL&, Profile*)>; |
| + base::Callback<void(content::PermissionType, bool, const GURL&, Profile*)>; |
| void RecordSinglePermissionAction(const content::MediaStreamRequest& request, |
| content::PermissionType permission_type, |
| Profile* profile, |
| PermissionActionCallback callback) { |
| if (ContentTypeIsRequested(permission_type, request)) { |
| - callback.Run(permission_type, request.security_origin, profile); |
| + callback.Run(permission_type, false /* user_gesture */, |
|
raymes
2016/07/18 00:58:43
Do we need to add a comment that this needs to be
stefanocs
2016/07/18 04:28:44
Done.
|
| + request.security_origin, profile); |
| } |
| } |