summaryrefslogtreecommitdiffstats
path: root/chrome/browser/media/media_stream_infobar_delegate.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/media/media_stream_infobar_delegate.h')
-rw-r--r--chrome/browser/media/media_stream_infobar_delegate.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/chrome/browser/media/media_stream_infobar_delegate.h b/chrome/browser/media/media_stream_infobar_delegate.h
index 2860c54..5f3de56 100644
--- a/chrome/browser/media/media_stream_infobar_delegate.h
+++ b/chrome/browser/media/media_stream_infobar_delegate.h
@@ -22,10 +22,10 @@ class MediaStreamInfoBarDelegate : public ConfirmInfoBarDelegate {
virtual ~MediaStreamInfoBarDelegate();
// Handles a permission request (in |request|) for |web_contents|. If this
- // involves prompting the user, creates a media stream infobar delegate, then
- // checks for an existing infobar for |web_contents| and replaces it if found,
- // or just adds the new infobar otherwise. Returns whether an infobar was
- // created.
+ // involves prompting the user, creates a media stream infobar and delegate,
+ // then checks for an existing infobar for |web_contents| and replaces it if
+ // found, or just adds the new infobar otherwise. Returns whether an infobar
+ // was created.
static bool Create(content::WebContents* web_contents,
const content::MediaStreamRequest& request,
const content::MediaResponseCallback& callback);
@@ -33,8 +33,7 @@ class MediaStreamInfoBarDelegate : public ConfirmInfoBarDelegate {
private:
friend class WebRtcTestBase;
- MediaStreamInfoBarDelegate(
- InfoBarService* infobar_service,
+ explicit MediaStreamInfoBarDelegate(
scoped_ptr<MediaStreamDevicesController> controller);
// ConfirmInfoBarDelegate: