Use WebContents instead of Browser to construct PermissionPrompt
Currently we use PermissionRequestManager and PermissionPrompt to manage permission requests on desktop, and PermissionPrompt is constructed using Browser. Since now we are going to reuse PermissionPrompt on Android, and Browser is not for Android, so change to use WebContents for constructor instead. BUG=606138 Review-Url: https://codereview.chromium.org/2335623002 Cr-Commit-Position: refs/heads/master@{#419634}
Showing
Please register or sign in to comment