Change MediaStreamDevicesController::RequestPermissions to use the requesting WebContents
This changes MediaStreamDevicesController::RequestPermissions to use the
WebContents associated with the RenderFrameHost specified in the
request. This is important because we will be switching
RequestPermissions to call into PermissionManager::GetPermissionStatus
and PermissionManager::RequestPermissions which will take a
RenderFrameHost and not a WebContents. Some tests are fixed to work
correctly.
BUG=
596786
Review-Url:
https://codereview.chromium.org/2746853002
Cr-Commit-Position: refs/heads/master@{#463467}
Committed:
https://chromium.googlesource.com/chromium/src/+/3bc708ecbaf8b268843a706e50de59a7bc7905f2