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

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

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: Created 8 years, 4 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.h
diff --git a/chrome/browser/ui/media_stream_infobar_delegate.h b/chrome/browser/ui/media_stream_infobar_delegate.h
index 62981983b475e77bb1a3c51b6c4584ec53a28ef8..0d0d720713cd78641b88faa6f870dc102ac1e376 100644
--- a/chrome/browser/ui/media_stream_infobar_delegate.h
+++ b/chrome/browser/ui/media_stream_infobar_delegate.h
@@ -39,8 +39,13 @@ class MediaStreamInfoBarDelegate : public InfoBarDelegate {
// Returns the security origin (e.g. "www.html5rocks.com") at the origin
// of this request.
- const GURL& GetSecurityOrigin() const;
+ const std::string& GetSecurityOriginSpec() const;
+ // These determine whether all audio (or video) devices (i.e., those returned
+ // by GetAudioDevices() and GetVideoDevices()) can be auto-accepted in the
+ // future should the user accept them this time.
+ bool IsSafeToAlwaysAllowAudio() const;
+ bool IsSafeToAlwaysAllowVideo() const;
// Callbacks to handle accepting devices or denying the request. |audio_id|
// and |video_id| are the device IDs of the accepted audio and video devices.

Powered by Google App Engine
This is Rietveld 408576698