| Index: chrome/browser/media/webrtc/media_permission.h
|
| diff --git a/chrome/browser/media/webrtc/media_permission.h b/chrome/browser/media/webrtc/media_permission.h
|
| index 708ae39877ac20dd05e61dd105158de7514164ba..1ab54717a243b81ff139bebf3c8c17e5ec4fcaae 100644
|
| --- a/chrome/browser/media/webrtc/media_permission.h
|
| +++ b/chrome/browser/media/webrtc/media_permission.h
|
| @@ -15,13 +15,18 @@
|
|
|
| class Profile;
|
|
|
| +namespace content {
|
| +class WebContents;
|
| +}
|
| +
|
| // Represents a permission for microphone/camera access.
|
| class MediaPermission {
|
| public:
|
| MediaPermission(ContentSettingsType content_type,
|
| const GURL& requesting_origin,
|
| const GURL& embedding_origin,
|
| - Profile* profile);
|
| + Profile* profile,
|
| + content::WebContents* web_contents);
|
|
|
| // Returns the status of the permission. If the setting is
|
| // CONTENT_SETTING_BLOCK, |denial_reason| will output the reason for it being
|
| @@ -43,6 +48,7 @@ class MediaPermission {
|
| const GURL embedding_origin_;
|
| const std::string device_id_;
|
| Profile* const profile_;
|
| + content::WebContents* const web_contents_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(MediaPermission);
|
| };
|
|
|