| 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 62144e7c308eaf60e18acc8b73213dcef83ba819..11d6df9543535a0caf3181bbc1b53d847fec3ef2 100644
|
| --- a/chrome/browser/media/media_stream_devices_controller.cc
|
| +++ b/chrome/browser/media/media_stream_devices_controller.cc
|
| @@ -72,14 +72,20 @@ bool ContentTypeIsRequested(content::PermissionType type,
|
| }
|
|
|
| using PermissionActionCallback =
|
| - base::Callback<void(content::PermissionType, const GURL&, Profile*)>;
|
| + base::Callback<void(content::PermissionType,
|
| + PermissionRequestGestureType,
|
| + 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);
|
| + // TODO(stefanocs): Pass the actual |gesture_type| once this file has been
|
| + // refactored into PermissionContext.
|
| + callback.Run(permission_type, PermissionRequestGestureType::UNKNOWN,
|
| + request.security_origin, profile);
|
| }
|
| }
|
|
|
|
|