| Index: chrome/browser/media/media_stream_infobar_delegate.cc
|
| diff --git a/chrome/browser/media/media_stream_infobar_delegate.cc b/chrome/browser/media/media_stream_infobar_delegate.cc
|
| index 7db4ea4bcca23f3af3848f7a6bf0ed282ce6a71f..d6abff7abbb162b174eda22fc92851d607d96021 100644
|
| --- a/chrome/browser/media/media_stream_infobar_delegate.cc
|
| +++ b/chrome/browser/media/media_stream_infobar_delegate.cc
|
| @@ -82,16 +82,16 @@ void MediaStreamInfoBarDelegate::InfoBarDismissed() {
|
| controller_->Deny(false, content::MEDIA_DEVICE_PERMISSION_DISMISSED);
|
| }
|
|
|
| +infobars::InfoBarDelegate::Type
|
| +MediaStreamInfoBarDelegate::GetInfoBarType() const {
|
| + return PAGE_ACTION_TYPE;
|
| +}
|
| +
|
| int MediaStreamInfoBarDelegate::GetIconID() const {
|
| return controller_->HasVideo() ?
|
| IDR_INFOBAR_MEDIA_STREAM_CAMERA : IDR_INFOBAR_MEDIA_STREAM_MIC;
|
| }
|
|
|
| -infobars::InfoBarDelegate::Type MediaStreamInfoBarDelegate::GetInfoBarType()
|
| - const {
|
| - return PAGE_ACTION_TYPE;
|
| -}
|
| -
|
| MediaStreamInfoBarDelegate*
|
| MediaStreamInfoBarDelegate::AsMediaStreamInfoBarDelegate() {
|
| return this;
|
|
|