Chromium Code Reviews| Index: chrome/browser/permissions/permission_dialog_delegate.h |
| diff --git a/chrome/browser/permissions/permission_dialog_delegate.h b/chrome/browser/permissions/permission_dialog_delegate.h |
| index 6215383d9ca7bd013c51333008e03bd1845677b5..de9c47d82abc7f9d74b10810ab0ae70dfc905338 100644 |
| --- a/chrome/browser/permissions/permission_dialog_delegate.h |
| +++ b/chrome/browser/permissions/permission_dialog_delegate.h |
| @@ -21,6 +21,7 @@ namespace content { |
| class WebContents; |
| } |
| +class MediaStreamDevicesController; |
| class GURL; |
| class PermissionInfoBarDelegate; |
| class Profile; |
| @@ -46,6 +47,12 @@ class PermissionDialogDelegate : content::WebContentsObserver { |
| Profile* profile, |
| const PermissionSetCallback& callback); |
| + // Creates a modal dialog for a media stream permission request. |
| + // TODO: remove this when media stream requests are eventually folded in with |
|
raymes
2016/11/02 08:09:04
nit: Please add yourself as the TODO(author). Havi
dominickn
2016/11/03 00:34:09
Done.
|
| + // other permission requests. |
| + static void CreateMediaStreamDialog( |
| + content::WebContents* web_contents, |
| + std::unique_ptr<MediaStreamDevicesController> controller); |
| // Returns true if we should show the user a modal permission prompt rather |
| // than an infobar. |