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. |