| Index: chrome/browser/policy/policy_browsertest.cc
|
| diff --git a/chrome/browser/policy/policy_browsertest.cc b/chrome/browser/policy/policy_browsertest.cc
|
| index 2ffa65ef8ee43dbf1bbefa3c9554669cf2a7fe54..77cd82734424f053aaf59c66340a4020b1538d93 100644
|
| --- a/chrome/browser/policy/policy_browsertest.cc
|
| +++ b/chrome/browser/policy/policy_browsertest.cc
|
| @@ -3128,16 +3128,16 @@ class MediaStreamDevicesControllerBrowserTest
|
| // we should remove PermissionPromptDelegate and just use
|
| // MockPermissionPromptFactory instead. The APIs are the same.
|
| class TestPermissionPromptDelegate
|
| - : public ::internal::PermissionPromptDelegate {
|
| + : public MediaStreamDevicesController::PermissionPromptDelegate {
|
| public:
|
| - void ShowPrompt(
|
| - bool user_gesture,
|
| - content::WebContents* web_contents,
|
| - std::unique_ptr<MediaStreamDevicesController> controller) override {
|
| + void ShowPrompt(bool user_gesture,
|
| + content::WebContents* web_contents,
|
| + std::unique_ptr<MediaStreamDevicesController::Request>
|
| + request) override {
|
| if (response_type_ == PermissionRequestManager::ACCEPT_ALL)
|
| - controller->PermissionGranted();
|
| + request->PermissionGranted();
|
| else if (response_type_ == PermissionRequestManager::DENY_ALL)
|
| - controller->PermissionDenied();
|
| + request->PermissionDenied();
|
| }
|
|
|
| void set_response_type(
|
|
|