Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4924)

Unified Diff: chrome/browser/ui/media_stream_infobar_delegate.cc

Issue 10912004: Begin adding support for tab mirroring via the MediaStream audio/video capturing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: REBASE Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/media_stream_infobar_delegate.cc
diff --git a/chrome/browser/ui/media_stream_infobar_delegate.cc b/chrome/browser/ui/media_stream_infobar_delegate.cc
index 0e71b34a81920f9e427bfbbf6fedd5332b28840e..ae0ccf0b1a1b93ec1d3e7c533e654083a7d77154 100644
--- a/chrome/browser/ui/media_stream_infobar_delegate.cc
+++ b/chrome/browser/ui/media_stream_infobar_delegate.cc
@@ -46,8 +46,16 @@ content::MediaStreamDevices
return controller_->GetVideoDevices();
}
-const GURL& MediaStreamInfoBarDelegate::GetSecurityOrigin() const {
- return controller_->GetSecurityOrigin();
+const std::string& MediaStreamInfoBarDelegate::GetSecurityOriginSpec() const {
+ return controller_->GetSecurityOriginSpec();
+}
+
+bool MediaStreamInfoBarDelegate::IsSafeToAlwaysAllowAudio() const {
+ return controller_->IsSafeToAlwaysAllowAudio();
+}
+
+bool MediaStreamInfoBarDelegate::IsSafeToAlwaysAllowVideo() const {
+ return controller_->IsSafeToAlwaysAllowVideo();
}
void MediaStreamInfoBarDelegate::Accept() {
« no previous file with comments | « chrome/browser/ui/media_stream_infobar_delegate.h ('k') | chrome/browser/ui/views/infobars/media_stream_infobar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698